/* ============================================
   GİRİŞ & KAYIT SAYFALARI STİLLERİ
   ============================================ */

.auth-hero {
    background: var(--bg-dark);
    padding: 110px 5% 50px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.auth-hero h1 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.auth-hero p {
    color: #aaa;
    font-size: 15px;
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

/* ============ DÖNEN IŞIK EFEKTLİ KUTU ============ */
.auth-glow-wrapper {
    position: relative;
    border-radius: 25px;
    padding: 4px;
    overflow: hidden;
    background: #fff;
}

.auth-glow-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 60deg,
        var(--gold) 90deg,
        #FFD700 120deg,
        var(--gold) 150deg,
        transparent 180deg,
        transparent 240deg,
        var(--gold) 270deg,
        #FFD700 300deg,
        var(--gold) 330deg,
        transparent 360deg
    );
    animation: rotateGlow 4s linear infinite;
    z-index: 1;
}

.auth-glow-wrapper::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 21px;
    z-index: 2;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-box {
    position: relative;
    z-index: 3;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 35px;
}

/* ============ KÜÇÜK KUTULAR (IŞIK NOKTALARI) ============ */
.auth-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.auth-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotPulse 2s infinite;
}

.auth-dot:nth-child(1) { animation-delay: 0s; }
.auth-dot:nth-child(2) { animation-delay: 0.3s; }
.auth-dot:nth-child(3) { animation-delay: 0.6s; }
.auth-dot:nth-child(4) { animation-delay: 0.9s; }
.auth-dot:nth-child(5) { animation-delay: 1.2s; }

@keyframes dotPulse {
    0%, 100% {
        background: var(--gold);
        box-shadow: 0 0 5px var(--gold);
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        background: #FFD700;
        box-shadow: 0 0 20px #FFD700, 0 0 40px var(--gold);
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Form Stilleri */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    margin-bottom: 0;
}

.auth-form .form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-body);
    transition: var(--transition-fast);
}

.auth-form .form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: #fff;
}

.auth-form .form-group input::placeholder {
    color: #aaa;
}

.auth-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-success {
    text-align: center;
    padding: 30px 10px;
}

.auth-success i {
    font-size: 50px;
    color: #15a015;
    margin-bottom: 15px;
    animation: popIn 0.5s ease;
}

.auth-success p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-gray);
}

.auth-link a {
    color: var(--gold-dark);
    font-weight: 800;
    text-decoration: none;
}

.auth-link a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    letter-spacing: 1.5px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.auth-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

/* ============ MOBİL ============ */
@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-container {
        padding: 30px 15px 60px;
    }
}