/* Auth & Landing Screen Styles */

.full-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Arkaplanın görünmesi için şeffaf yapıldı */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Courier New', monospace;
    overflow-y: auto; /* İçerik taşarsa kaydırılabilir olsun */
    touch-action: auto; 
}

/* Auth pages (login/register) - Formları dikeyde ortala */
body.full-screen-overlay {
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.full-screen-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 251, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 251, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 5; /* Above background layers, below HUD */
    animation: gridMovement 20s linear infinite;
}

@keyframes gridMovement {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.cyber-btn {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid var(--neon-pink);
    color: #fff;
    padding: clamp(12px, 3vh, 15px) clamp(20px, 5vw, 30px);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
    width: 80%;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1.5px;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.cyber-btn:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 25px var(--neon-pink);
    transform: translateY(-2px);
    text-shadow: 0 0 8px #fff;
}

.cyber-btn.secondary {
    border-color: var(--cyber-blue);
    color: var(--cyber-blue);
    background: rgba(0, 251, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 251, 255, 0.2);
}

.cyber-btn.secondary:hover {
    background: var(--cyber-blue);
    color: #000;
    box-shadow: 0 0 25px var(--cyber-blue);
    text-shadow: none;
}

.cyber-btn.danger {
    border-color: #f55;
    color: #f55;
    background: rgba(20, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 85, 85, 0.1);
}

.cyber-btn.danger:hover {
    background: rgba(255, 85, 85, 0.2);
    box-shadow: 0 0 20px rgba(255, 85, 85, 0.4);
    text-shadow: 0 0 5px #f55;
}

.logo-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--cyber-blue);
    text-shadow: 0 0 20px rgba(0, 251, 255, 0.4);
    margin-bottom: clamp(20px, 5vh, 50px);
    text-align: center;
    line-height: 1.1;
    letter-spacing: 4px;
    font-weight: 900;
    animation: cyberLogoPulse 4s ease-in-out infinite;
}

@keyframes cyberLogoPulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        text-shadow: 0 0 20px rgba(0, 251, 255, 0.4);
        filter: brightness(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-6px) scale(1.01); 
        text-shadow: 0 0 35px rgba(0, 251, 255, 0.8), 0 0 15px rgba(0, 251, 255, 0.5);
        filter: brightness(1.2);
    }
    80% { opacity: 0.8; transform: translateY(-1px) translateX(1px); }
    81% { opacity: 1; transform: translateY(0) translateX(0); }
}

/* Auth Card & Container */
.auth-container {
    background: var(--panel-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 251, 255, 0.2);
    padding: clamp(0.5rem, 1.5vw, 0.8rem);
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 251, 255, 0.05);
}

.auth-container::-webkit-scrollbar {
    width: 8px;
}

.auth-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.auth-container::-webkit-scrollbar-thumb {
    background: var(--cyber-blue);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--cyber-blue);
}

.auth-container::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--cyber-blue));
    box-shadow: 0 0 15px var(--neon-pink);
}

.auth-header {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: clamp(0.5rem, 2vh, 0.8rem);
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1.5px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Form Styles */
.form-group {
    margin-bottom: clamp(0.8rem, 2vh, 1.2rem);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--cyber-blue);
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}

.form-control {
    width: 100%;
    padding: clamp(10px, 2.5vh, 12px);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 251, 255, 0.2);
    color: #fff;
    font-family: inherit;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
    background: rgba(255, 0, 85, 0.05);
}

/* Select Dropdown Styles */
select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300fbff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

select.form-control option {
    background: rgba(0, 10, 20, 0.95);
    color: #fff;
    padding: 10px;
    font-weight: normal;
}

select.form-control option:hover,
select.form-control option:checked,
select.form-control option:focus {
    background: linear-gradient(90deg, rgba(0, 251, 255, 0.2), rgba(255, 0, 85, 0.2));
    color: var(--cyber-blue);
}

.auth-footer {
    margin-top: clamp(1rem, 3vh, 1.5rem);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.auth-footer p {
    margin: 0.3rem 0;
}

.auth-link {
    color: var(--cyber-blue);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.auth-link:hover {
    color: var(--neon-pink);
    border-bottom-color: var(--neon-pink);
}

.version-tag {
    position: absolute;
    bottom: 20px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Social/Alt Login */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
/* Password Strength Indicator */
.password-strength {
    margin-top: 5px;
}

.strength-bar {
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 251, 255, 0.1);
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px currentColor;
    position: relative;
}

.strength-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.strength-fill.weak {
    background: linear-gradient(90deg, #ff0055, #ff4466);
    color: #ff0055;
}

.strength-fill.medium {
    background: linear-gradient(90deg, #ffa500, #ffbb33);
    color: #ffa500;
}

.strength-fill.strong {
    background: linear-gradient(90deg, #00fbff, #44ffff);
    color: #00fbff;
}

.strength-fill.legendary {
    background: linear-gradient(90deg, #a0f, #d055ff, #a0f);
    color: #a0f;
    animation: legendaryPulse 1.5s ease-in-out infinite;
}

@keyframes legendaryPulse {
    0%, 100% { box-shadow: 0 0 10px #a0f; }
    50% { box-shadow: 0 0 20px #a0f, 0 0 30px #d055ff; }
}

.strength-text {
    display: block;
    margin-top: 3px;
    font-size: clamp(0.6rem, 1.8vw, 0.68rem);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

#strengthLevel {
    font-weight: bold;
    color: var(--cyber-blue);
    text-shadow: 0 0 5px var(--cyber-blue);
}

/* Password Match Hint */
.password-match-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.password-match-hint.match {
    color: #00fbff;
    text-shadow: 0 0 5px #00fbff;
}

.password-match-hint.no-match {
    color: #ff0055;
    text-shadow: 0 0 5px #ff0055;
}

/* Form Hints */
.form-hint {
    display: block;
    margin-top: 2px;
    font-size: clamp(0.6rem, 1.8vw, 0.65rem);
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}

/* Responsive Adjustments */
@media (max-height: 700px) {
    .auth-container {
        padding: 1rem;
        max-height: 95vh;
    }
    
    .auth-header {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 0.7rem;
    }
    
    .form-group label {
        margin-bottom: 0.3rem;
    }
    
    .cyber-btn {
        padding: 10px 20px;
        margin: 5px;
    }
    
    .auth-footer {
        margin-top: 0.8rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        width: 95%;
        padding: 0.5rem;
    }
    
    .form-control {
        padding: 9px;
        font-size: 0.85rem;
    }
    
    select.form-control {
        padding: 8px;
    }
}

/* CAPTCHA Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.captcha-question {
    background: rgba(0, 251, 255, 0.1);
    border: 2px solid var(--cyber-blue);
    padding: 10px 15px;
    border-radius: 4px;
    color: var(--cyber-blue);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 5px var(--cyber-blue);
    letter-spacing: 2px;
    min-width: 100px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 251, 255, 0.1);
}

.captcha-container .form-control {
    flex: 1;
    max-width: 120px;
}

.captcha-refresh {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.captcha-refresh:hover {
    background: rgba(255, 0, 85, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
    transform: rotate(180deg);
}

.captcha-refresh i {
    transition: transform 0.3s ease;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.checkbox-custom {
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyber-blue);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    border: solid var(--cyber-blue);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

input[type="checkbox"]:checked + .checkbox-label .checkbox-custom {
    background: rgba(0, 251, 255, 0.2);
    border-color: var(--cyber-blue);
    box-shadow: 0 0 10px rgba(0, 251, 255, 0.4);
}

input[type="checkbox"]:checked + .checkbox-label .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--cyber-blue);
    text-decoration: underline;
    font-weight: bold;
}

.checkbox-text a:hover {
    color: var(--neon-pink);
}

/* Slider CAPTCHA Styles */
.slider-captcha-container {
    margin-top: clamp(8px, 2vw, 12px);
}

.captcha-instruction {
    text-align: center;
    color: var(--cyber-blue);
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    margin-bottom: clamp(5px, 1.5vw, 8px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.captcha-canvas-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    min-height: 150px;
}

.captcha-piece {
    position: absolute !important;
    pointer-events: none;
}

.captcha-refresh {
    display: block;
    margin: clamp(8px, 2vw, 10px) auto 0;
    background: linear-gradient(135deg, rgba(0, 251, 255, 0.2), rgba(255, 0, 85, 0.2));
    border: 2px solid var(--cyber-blue);
    border-radius: 5px;
    color: var(--cyber-blue);
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 16px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-refresh:hover {
    background: linear-gradient(135deg, rgba(0, 251, 255, 0.4), rgba(255, 0, 85, 0.4));
    box-shadow: 0 0 15px rgba(0, 251, 255, 0.5);
    transform: scale(1.05);
}

#captchaCanvas {
    width: 100%;
    max-width: 300px;
    height: 150px;
    border: 2px solid var(--cyber-blue);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 251, 255, 0.3);
    background: rgba(0, 10, 20, 0.9);
    display: block;
    margin: 0 auto;
}

#captchaPiece {
    position: absolute;
    border: 2px solid var(--cyber-blue);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 251, 255, 0.5);
    cursor: move;
    z-index: 10;
    transition: left 0.1s ease;
}

.slider-track {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 40px;
    background: rgba(0, 10, 20, 0.6);
    border: 2px solid var(--cyber-blue);
    border-radius: 5px;
    margin: clamp(8px, 2vw, 12px) auto;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 251, 255, 0.3), rgba(0, 251, 255, 0.5));
    pointer-events: none;
    transition: width 0.1s ease;
}

.slider-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 38px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--neon-pink));
    border: 3px solid #fff;
    border-radius: 8px;
    cursor: grab;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0, 251, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: box-shadow 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none;
}

.slider-button:hover {
    box-shadow: 0 0 25px rgba(0, 251, 255, 0.8);
}

.slider-button:active {
    cursor: grabbing;
    box-shadow: 0 0 30px rgba(0, 251, 255, 1);
}

.captcha-status {
    text-align: center;
    margin-top: clamp(5px, 1.5vw, 8px);
    font-size: clamp(0.7rem, 1.8vw, 0.85rem);
    font-weight: bold;
    min-height: 20px;
}

.captcha-status.success {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.captcha-status.error {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055;
}

/* Terms Modal */
.terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2vw, 20px);
}

.terms-modal-content {
    background: var(--panel-bg);
    border: 2px solid var(--cyber-blue);
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    box-shadow: 0 0 30px rgba(0, 251, 255, 0.5);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid rgba(0, 251, 255, 0.3);
}

.terms-modal-header h2 {
    color: var(--cyber-blue);
    text-shadow: 0 0 10px var(--cyber-blue);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin: 0;
}

.terms-close {
    background: none;
    border: none;
    color: var(--neon-pink);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 85, 0.3);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.terms-close:hover {
    color: #fff;
    background: rgba(255, 0, 85, 0.1);
    border-color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.terms-modal-body {
    padding: clamp(1rem, 3vw, 1.5rem);
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
}

.terms-modal-body h3 {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
}

.terms-modal-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
}

.terms-updated {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: clamp(0.75rem, 2vw, 0.85rem) !important;
    font-style: italic;
}

.terms-modal-footer {
    padding: clamp(1rem, 3vw, 1.5rem);
    border-top: 1px solid rgba(0, 251, 255, 0.3);
    display: flex;
    justify-content: center;
}

.terms-modal-footer .cyber-btn {
    width: 100%;
    max-width: 300px;
}

/* Mobile adjustments for terms modal */
@media (max-width: 768px) {
    .terms-modal-content {
        max-height: 85vh;
    }
    
    .terms-modal-body {
        padding: 1rem;
    }
}

/* ==========================================================================
   ADVANCED SPACE COMBAT HUD & CYBERPUNK VISUALS
   ========================================================================== */

/* Space Background Layering */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10; /* En arkaya çekildi */
    background: radial-gradient(circle at center, #0a0a20 0%, #050510 100%);
    overflow: hidden;
    pointer-events: none;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    transform-style: preserve-3d;
    z-index: -11; /* Yıldızlar da arka planda kalsın */
}

.stars-1 {
    box-shadow: 15vw 10vh #fff, 35vw 45vh #fff, 65vw 15vh #fff, 85vw 80vh #fff, 20vw 90vh #fff, 50vw 50vh #fff, 40vw 10vh #fff, 55vw 85vh #fff;
    width: 2px;
    height: 2px;
    animation: starsForward 10s linear infinite;
}

.stars-2 {
    box-shadow: 25vw 25vh rgba(255,255,255,0.8), 75vw 75vh rgba(255,255,255,0.8), 10vw 80vh rgba(255,255,255,0.8);
    width: 3px;
    height: 3px;
    animation: starsForward 7s linear infinite;
}

.stars-3 {
    box-shadow: 30vw 60vh #00fbff, 60vw 30vh #ff0055, 10vw 10vh #00fbff, 90vw 90vh #ff0055;
    width: 2px;
    height: 2px;
    animation: starsForward 4s linear infinite;
    opacity: 0.6;
}

@keyframes starsForward {
    0% { transform: translateZ(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateZ(500px) scale(2.5); opacity: 0; }
}

.warp-speed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.warp-ray {
    position: absolute;
    bottom: 0; /* Bottom'un merkeze değmesini sağlar */
    left: -1px; /* 2px genişliğin tam merkezi */
    background: linear-gradient(to top, transparent, rgba(0, 251, 255, 0.8), #fff);
    height: 15vh;
    width: 2px;
    filter: blur(1px);
    opacity: 0;
    transform-origin: bottom center;
    animation: warpForward 1.2s linear infinite;
    animation-delay: var(--delay); /* HTML'den gelen değişkeni kullanıyoruz */
}

@keyframes warpForward {
    0% { 
        transform: rotate(var(--angle)) translateY(0) scaleY(0); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: rotate(var(--angle)) translateY(-120vh) scaleY(3); 
        opacity: 0; 
    }
}

@keyframes starsMove {
    from { transform: translate(0, 0); }
    to { transform: translate(200px, 150px); }
}

.nebula {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 30% 30%, rgba(122, 0, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 251, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 0, 85, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    animation: nebulaPulse 15s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes nebulaPulse {
    from { opacity: 0.4; transform: scale(1) rotate(0deg); }
    to { opacity: 0.8; transform: scale(1.2) rotate(5deg); }
}

.combat-flashes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.combat-flashes::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 85, 0.05);
    opacity: 0;
    animation: combatFlash 5s infinite;
}

@keyframes combatFlash {
    0%, 94%, 100% { opacity: 0; }
    95% { opacity: 1; }
    96% { opacity: 0.2; }
    97% { opacity: 0.8; }
}

/* Tactical HUD Framework */
.tactical-hud {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -5; /* Arka planın (z-10) önünde ama butonların arkasında */
}

.hud-line {
    position: absolute;
    background: rgba(0, 251, 255, 0.2);
}

.hud-line.top { top: 30px; left: 5%; right: 5%; height: 1px; }
.hud-line.bottom { bottom: 30px; left: 5%; right: 5%; height: 1px; }

.hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--cyber-blue);
}

.hud-corner.tl { top: 30px; left: 5%; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 30px; right: 5%; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 30px; left: 5%; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 30px; right: 5%; border-left: 0; border-top: 0; }

.hud-side-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--cyber-blue);
    opacity: 0.6;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hud-side-info.left { left: 2%; text-align: left; }
.hud-side-info.right { right: 2%; text-align: right; }

.hud-stat-blink {
    color: var(--neon-pink);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hud-center-scope {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.3;
}

.scope-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

.scope-crosshair::before, .scope-crosshair::after {
    content: "";
    position: absolute;
    background: var(--cyber-blue);
}

.scope-crosshair::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.scope-crosshair::after { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }

.scope-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--cyber-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Logo Enhancements */
.logo-container {
    margin-bottom: 40px;
    position: relative;
    z-index: 20;
    text-align: center;
}

.logo-glitch {
    position: relative;
    display: inline-block;
}

.logo-glitch::before, .logo-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.8;
}

.logo-glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0055;
    clip: rect(44px, 450px, 56px, 0);
    animation: logo-glitch-1 3s infinite linear alternate-reverse;
}

.logo-glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fbff;
    clip: rect(24px, 450px, 86px, 0);
    animation: logo-glitch-2 2s infinite linear alternate-reverse;
}

@keyframes logo-glitch-1 {
    0% { clip: rect(20px, 9999px, 80px, 0); }
    20% { clip: rect(60px, 9999px, 30px, 0); }
    40% { clip: rect(10px, 9999px, 90px, 0); }
    60% { clip: rect(50px, 9999px, 40px, 0); }
    80% { clip: rect(80px, 9999px, 10px, 0); }
    100% { clip: rect(30px, 9999px, 70px, 0); }
}

@keyframes logo-glitch-2 {
    0% { clip: rect(10px, 9999px, 50px, 0); }
    20% { clip: rect(80px, 9999px, 10px, 0); }
    40% { clip: rect(40px, 9999px, 80px, 0); }
    60% { clip: rect(20px, 9999px, 60px, 0); }
    80% { clip: rect(70px, 9999px, 30px, 0); }
    100% { clip: rect(50px, 9999px, 20px, 0); }
}

.logo-container .logo-title {
    margin-bottom: 0;
    text-shadow: 0 0 10px var(--cyber-blue);
}

/* Button & Container Styling */
.auth-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tact-container {
    background: rgba(0, 10, 20, 0.8);
    border: 1px solid rgba(0, 251, 255, 0.3);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    padding: 30px;
}

.main-btn {
    position: relative;
    overflow: hidden !important;
    background: rgba(0, 20, 40, 0.6) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
    margin: 15px 0 !important;
    width: 100% !important;
    border: 1px solid var(--cyber-blue) !important;
    transition: all 0.3s ease !important;
}

.main-btn::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(0, 251, 255, 0.1);
    pointer-events: none;
}

.main-btn:hover {
    background: var(--cyber-blue) !important;
    color: #000 !important;
    box-shadow: 0 0 30px var(--cyber-blue) !important;
    transform: scale(1.05) rotate(-1deg);
}

.main-btn.secondary:hover {
    background: var(--neon-pink) !important;
    border-color: var(--neon-pink) !important;
    box-shadow: 0 0 30px var(--neon-pink) !important;
}

.guest-btn {
    border-color: #555 !important;
}

.guest-btn:hover {
    background: #555 !important;
    box-shadow: 0 0 20px #555 !important;
}

/* Version Tag Decoration */
.version-tag {
    position: absolute;
    bottom: 20px !important;
    right: 5% !important;
    font-size: 0.7rem !important;
    opacity: 0.5;
    padding: 5px 15px;
    border-right: 2px solid var(--neon-pink);
    background: rgba(255, 0, 85, 0.1);
}

/* Scanline Overlay */
.full-screen-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 100;
}

/* Mobile HUD Adjustments */
@media (max-width: 600px) {
    .hud-side-info { display: none; }
    .hud-center-scope { width: 200px; height: 200px; }
    .hud-line { left: 2%; right: 2%; }
}

/* 
   ==========================================================================
   INTERACTION FX: CLICK RIPPLE SYSTEM
   Gelecekte bu efekti değiştirmek isterseniz aşağıdaki bölümü düzenleyebilirsiniz.
   ==========================================================================
*/

/* 1. ANA KONTEYNER: Efektin ekrandaki genel boyutu ve konumu */
.click-ripple {
    position: fixed;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    pointer-events: none;
    z-index: 99999;
}

/* 2. CÖREK/FLAŞ: Tıklama anındaki merkezi parlama veya ana şekil */
.click-ripple::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--cyber-blue);
    transform: translate(-50%, -50%);
    animation: synapseFlash 0.4s ease-out forwards;
}

/* 3. DETAYLAR/PARÇACIKLAR: Merkezin etrafındaki ek süslemeler veya noktalar */
.click-ripple::after {
    content: "";
    position: absolute;
    inset: -10px;
    /* 4 adet minik veri düğümü (renkleri ve konumları buradan ayarlanabilir) */
    background: 
        radial-gradient(circle at 10% 10%, var(--cyber-blue) 1.5px, transparent 2px),
        radial-gradient(circle at 90% 10%, var(--neon-pink) 1.5px, transparent 2px),
        radial-gradient(circle at 10% 90%, var(--neon-pink) 1.5px, transparent 2px),
        radial-gradient(circle at 90% 90%, var(--cyber-blue) 1.5px, transparent 2px);
    opacity: 0;
    animation: nodeDrift 0.4s cubic-bezier(0.1, 1, 0.2, 1) forwards;
}

/* 4. ANİMASYONLAR: Efektin hareketi, hızı ve şeffaflık geçişleri */
@keyframes synapseFlash {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

@keyframes nodeDrift {
    0% { transform: scale(0.2) rotate(-20deg); opacity: 1; }
    100% { transform: scale(2) rotate(20deg); opacity: 0; }
}

/* 
   ==========================================================================
   END OF INTERACTION FX
   ==========================================================================
*/
