/* Premium Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.auth-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.auth-modal {
    background: #0d0d0d;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 200, 83, 0.2);
    position: relative;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 200, 83, 0.1);
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0);
}

.auth-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.auth-close:hover { color: #ff3232; }

.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo-icon {
    width: 60px; height: 60px;
    background: var(--nexus-primary, #00c853);
    color: #000;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.auth-logo h2 { font-size: 1.5rem; font-weight: 800; color: #fff; }
.auth-logo span { color: var(--nexus-primary, #00c853); }

.auth-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 30px;
}

.auth-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-field { margin-bottom: 20px; }
.auth-field label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input-wrap { position: relative; }
.auth-input-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s;
}

.auth-input-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px 12px 45px;
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.auth-input-wrap input:focus {
    border-color: #00c853;
    background: rgba(0, 200, 83, 0.05);
}

.auth-input-wrap input:focus + i { color: #00c853; }

.auth-submit {
    width: 100%;
    padding: 15px;
    background: #00c853;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.auth-switch a {
    color: #69ff47;
    text-decoration: none;
    font-weight: 700;
}

.auth-error {
    background: rgba(255, 50, 50, 0.1);
    color: #ff3232;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    display: none;
    align-items: center;
    gap: 8px;
}

/* Mobile Auth Modal Responsive */
@media (max-width: 576px) {
    .auth-modal {
        padding: 30px 20px !important;
        margin: 15px !important;
        border-radius: 18px !important;
        max-width: calc(100vw - 30px) !important;
    }
    .auth-logo h2 {
        font-size: 1.4rem !important;
    }
    .auth-field label {
        font-size: 0.82rem !important;
    }
    .auth-input-wrap input {
        padding: 12px 14px 12px 40px !important;
        font-size: 0.88rem !important;
    }
}

/* ══════════════════════════════════════════════════════════
   GOOGLE PLAY AUTHENTICATION STYLES
   ══════════════════════════════════════════════════════════ */
.auth-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 16px;
    position: relative;
}

.auth-social-divider::before,
.auth-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-social-divider span {
    padding: 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.btn-googleplay-auth {
    width: 100%;
    padding: 13px 18px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.12), rgba(0, 168, 70, 0.22));
    border: 1.5px solid rgba(0, 200, 83, 0.45);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-googleplay-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-googleplay-auth:hover::before {
    left: 150%;
}

.btn-googleplay-auth:hover {
    background: linear-gradient(135deg, #00c853, #00963e);
    border-color: #00e676;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

.btn-googleplay-auth i {
    font-size: 1.35rem;
    color: #00e676;
    transition: all 0.28s ease;
    filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.5));
}

.btn-googleplay-auth:hover i {
    color: #000000;
    filter: none;
}

/* Google Play Custom Toast Notification */
.gp-toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #0d1410;
    border: 1.5px solid #00c853;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    z-index: 999999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 200, 83, 0.35);
    animation: gpToastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes gpToastSlideIn {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

.gp-toast-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 200, 83, 0.18);
    border: 1px solid rgba(0, 200, 83, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e676;
    font-size: 1.4rem;
}

.gp-toast-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #00e676;
    margin-bottom: 2px;
}

.gp-toast-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
}

/* ══════════════════════════════════════════════════════════
   GÖRSEL 2: CYBER SPLIT AUTH MODAL (V2)
   ══════════════════════════════════════════════════════════ */
.auth-v2-modal-container {
    display: flex;
    flex-direction: row;
    width: 92%;
    max-width: 880px;
    min-height: 540px;
    background: #090b0e;
    border: 1px solid rgba(0, 230, 118, 0.28);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 230, 118, 0.14);
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.auth-modal-overlay.active .auth-v2-modal-container {
    transform: translateY(0);
}

/* Floating Green Close Button (Matching Görsel 2 top-right) */
.auth-v2-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: #00e676;
    color: #000000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 230, 118, 0.5);
}

.auth-v2-close-btn:hover {
    background: #00c853;
    color: #ffffff;
    transform: scale(1.08);
}

/* Left Form Column */
.auth-v2-form-col {
    flex: 1.05;
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.auth-v2-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.auth-v2-title .text-glow-green {
    color: #00e676;
    text-shadow: 0 0 16px rgba(0, 230, 118, 0.4);
}

.auth-v2-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0 0 18px 0;
    line-height: 1.4;
}

/* Real Google Button (Matching Görsel 2) */
.btn-google-auth-v2 {
    width: 100%;
    background: #12161f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.btn-google-auth-v2:hover {
    background: #181d28;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.google-icon-svg {
    display: block;
    flex-shrink: 0;
}

/* Divider with VEYA E-POSTA İLE */
.auth-v2-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.auth-v2-divider::before,
.auth-v2-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-v2-divider span {
    padding: 0 12px;
}

/* Input Fields */
.auth-v2-field {
    position: relative;
    margin-bottom: 12px;
}

.auth-v2-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-v2-field input {
    width: 100%;
    background: #0a0d12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 40px 12px 42px;
    color: #ffffff;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
}

.auth-v2-field input:focus {
    border-color: #00e676;
    box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.22);
    background: #0c1017;
}

.auth-v2-field input:focus + .auth-v2-field-icon,
.auth-v2-field:focus-within .auth-v2-field-icon {
    color: #00e676;
}

.auth-v2-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 4px;
    transition: color 0.2s;
}

.auth-v2-eye-btn:hover {
    color: #00e676;
}

/* Options Row: Remember Me & Forgot Password */
.auth-v2-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.82rem;
}

.auth-v2-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
}

.auth-v2-checkbox-label input {
    accent-color: #00e676;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.auth-v2-forgot-link {
    color: #00e676;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.auth-v2-forgot-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Cloudflare Box (Exact Clone from Görsel 2) */
.auth-v2-cloudflare-box {
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.cf-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cf-check-circle {
    width: 20px;
    height: 20px;
    background: #00e676;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.68rem;
    font-weight: 800;
}

.cf-success-txt {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.cf-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.cf-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.cf-legal {
    font-size: 0.64rem;
    color: #64748b;
}

/* Submit Button */
.auth-v2-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
    border: none;
    border-radius: 10px;
    padding: 13px;
    color: #000000;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 230, 118, 0.4);
}

.auth-v2-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.6);
}

.auth-v2-forgot-center {
    text-align: center;
    margin-top: 10px;
}

.auth-v2-forgot-center a {
    color: #00e676;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-v2-forgot-center a:hover {
    text-decoration: underline;
}

/* Bottom Switch to Register */
.auth-v2-bottom-switch {
    text-align: center;
    margin: 12px 0 0 0;
    font-size: 0.84rem;
    color: #94a3b8;
}

.auth-v2-bottom-switch a {
    color: #00e676;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.auth-v2-bottom-switch a:hover {
    text-decoration: underline;
}

/* Right Banner Column (from Görsel 2) */
.auth-v2-banner-col {
    flex: 1.05;
    min-height: 540px;
    background: #080c09 url('../images/auth_banner_full.png') no-repeat right center / cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.auth-v2-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 45%, rgba(4,10,7,0.94) 100%);
    pointer-events: none;
}

.auth-v2-banner-content {
    position: relative;
    z-index: 2;
}

.auth-v2-safe-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 230, 118, 0.14);
    border: 1px solid rgba(0, 230, 118, 0.4);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #00e676;
    margin-bottom: 12px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.auth-v2-banner-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.auth-v2-banner-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Responsive (Mobile & Tablet) */
@media (max-width: 768px) {
    .auth-v2-modal-container {
        width: 94%;
        max-width: 440px;
        min-height: auto;
        flex-direction: column;
        border-radius: 18px;
    }
    .auth-v2-banner-col {
        display: none !important;
    }
    .auth-v2-form-col {
        padding: 30px 22px;
    }
    .auth-v2-title {
        font-size: 1.55rem;
    }
}

