/* Temel Ayarlar & Fontlar */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');
@import url('../../ags/colors.css');

@font-face {
    font-family: 'Azonix';
    src: url('../../../fonts/Azonix.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

a {
    text-decoration: none;
}

body,
html {
    height: 100%;
    background-color: var(--background);
    /* Siyah yerine ana arka plan */
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- ANA KONTEYNER --- */
.auth-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- SOL PANEL (Marka - Masaüstü) --- */
.brand-panel {
    display: none;
}

/* --- SAĞ PANEL (Form) --- */
.form-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    /* Mobilde üstten gelen hafif bir tema rengi degrade */
    background: radial-gradient(circle at top, var(--theme-alt) 0%, var(--background) 70%);
    background-attachment: fixed;
    animation: spotlight-sweep 8s ease-in-out infinite;
}

.form-wrapper {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

/* Mobil Logo */
.mobile-logo-container {
    margin-bottom: 30px;
}

.mobile-logo {
    width: 160px;
    height: 160px;
    color: var(--main-theme);
    /* Spotify yeşili yerine ana tema rengi */
}

/* Başlıklar */
h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-color);
}

/* Buton Grupları */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Buton Temel Stili */
.btn {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Ana Kayıt Butonu (Tema Rengi) */
.btn-primary {
    background-color: var(--main-theme);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: var(--theme-alt);
    transform: scale(1.02);
}

/* Sosyal Butonlar */
.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-color);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-alpha);
    background-color: var(--thirdy);
}

/* Ayırıcı (OR) */
.divider {
    display: flex;
    align-items: center;
    width: 50%;
    /* Üst-alt 15px, sağ-sol otomatik */
    margin: 15px auto;
    color: var(--text-alt-color);
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider span {
    padding: 0 10px;
}

/* Alt Metin */
.footer-note {
    margin-top: 50px;
    font-size: 13px;
    color: var(--text-alt-color);
}

.footer-note a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-note a:hover {
    color: var(--s-main-theme);
    /* Hover olunca ikincil tema rengi */
    text-decoration: underline;
}

@keyframes spotlight-sweep {
    0% {
        background-position: 0% 0%;
        background-size: 100% 100%;
    }

    25% {
        background-position: 0% 0%;
        background-size: 100% 100%;
        /* Işığın genişleyip daralması için */
    }

    50% {
        background-position: 0% 0%;
        background-size: 100% 100%;
        /* Işığın genişleyip daralması için */
    }

    75% {
        background-position: 0% 0%;
        background-size: 100% 100%;
        /* Işığın genişleyip daralması için */
    }

    100% {
        background-position: 0% 0%;
        background-size: 100% 100%;
    }
}

.azonix {
    font-family: 'Azonix', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* --- MASAÜSTÜ SÜRÜMÜ --- */
@media (min-width: 1024px) {
    .brand-panel {
        display: flex;
        /* Sol paneli aç */
        flex: 1;
        /* %50 yer kapla */
        justify-content: center;
        align-items: center;
        padding: 40px;
        /* Çok daha yumuşak ve modern bir yeşil geçişi */
        background: radial-gradient(circle at 20% 20%, var(--theme-alt) 0%, var(--background) 70%);
        background-size: 120% 120%;
        animation: spotlight-sweep 12s ease-in-out infinite;
        overflow: hidden;
        background-size: cover;
        width: auto;
    }

    .brand-content {
        max-width: 100%;
        text-align: left;
    }

    .brand-logo {
        width: 240px;
        height: 240px;
        margin-bottom: 40px;
        /* Logoya hafif bir gölge ekleyerek öne çıkar */
    }

    .brand-title {
        font-size: 56px;
        font-weight: 800;
        margin-bottom: 15px;
        letter-spacing: -2px;
        line-height: 1.1;
    }

    .brand-text {
        font-size: 16px;
        color: var(--text-alt-color);
    }

    .form-panel {
        flex: 1;
        background: var(--background);
    }

    .mobile-logo-container {
        display: none;
    }

    .form-wrapper {
        text-align: left;
        max-width: 400px;
        padding-left: 60px;
    }

    h1 {
        font-size: 48px;
        margin-bottom: 60px;
    }
}