:root {
    --bg-main: #0b130e;
    --bg-card: #121f17;
    --bg-card-hover: #182a20;
    --forest: #2d5a43;
    --forest-light: #3d7a5b;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.25);
    --gold: #f59e0b;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
    background: 
        radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(45, 90, 67, 0.18) 0%, transparent 45%),
        var(--bg-main);
}

/* Üst Mini Header (Geri Dönüş & Marka) */
.login-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.back-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateX(-2px);
}

/* Ana Kapsayıcı */
.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 5rem 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

.auth-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* Sol Vitrin (Masaüstü) */
.auth-showcase {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--emerald);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

.showcase-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #34d399, #10b981, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.feature-pills {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.feature-pill-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(18, 31, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s, background-color 0.2s;
}

.feature-pill-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(24, 42, 32, 0.7);
}

.pill-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.pill-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pill-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Sağ Giriş Kartı */
.auth-card-container {
    flex: 0.9;
    max-width: 440px;
    width: 100%;
}

.auth-card {
    background: rgba(18, 31, 23, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 35px var(--emerald-glow);
    text-align: center;
    position: relative;
}

/* Marka Başlığı */
.brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    user-select: none;
}

.brand-logo-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px var(--emerald-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-titles {
    text-align: left;
    line-height: 1.1;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--emerald);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-card-heading {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Google Giriş Butonu */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    outline: none;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    background: #f9fafb;
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-google:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-google svg, .btn-google img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Ayraç (Divider) */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 0.75rem;
}

/* Misafir Girişi Butonu */
.btn-guest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(16, 185, 129, 0.08);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 9999px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-guest:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-guest:active {
    transform: translateY(0);
}

.btn-guest:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-guest .guest-icon {
    font-size: 1.15rem;
}

/* Yükleniyor Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #10b981;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Bildirim / Alert Kutusu */
.auth-alert {
    display: none;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.auth-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.auth-alert.info {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

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

/* Alt Bilgiler */
.auth-card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-card-footer a {
    color: var(--emerald-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-card-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
}

/* Mobilde Özellik Hapları */
.mobile-quick-features {
    display: none;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.mobile-feature-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Mobil Responsive (960px altı) */
@media (max-width: 960px) {
    .login-header {
        padding: 1.25rem 1rem;
    }

    .auth-layout {
        flex-direction: column;
        gap: 0;
    }

    .auth-showcase {
        display: none; /* Mobilde doğrudan giriş kartına odaklan */
    }

    .auth-wrapper {
        padding: 4.5rem 1rem 2rem;
        align-items: center;
    }

    .auth-card {
        padding: 2.25rem 1.5rem;
        border-radius: 1.25rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    .mobile-quick-features {
        display: flex;
    }

    .auth-card-heading {
        font-size: 1.25rem;
    }

    .auth-card-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.75rem 1.25rem;
    }
    .btn-google {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }
}
