/* ==========================================
   OFFLINE CSS (TAILWIND/BOOTSTRAP GEREKTİRMEZ)
   ==========================================
*/
:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --primary-gold: #D4AF37;
    --primary-gold-dim: #997f29;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border-glass: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(255, 255, 255, 0.03);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
    
    /* Premium System Fonts (İndirme gerektirmez) */
    --font-display: 'Cinzel', 'Times New Roman', serif; /* Eğer Cinzel yoksa serif kullanır */
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Premium Noise Texture */
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 70%);
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

/* Sol Taraf: Metinler */
.hero-text {
    flex: 1;
    padding-right: 2rem;
    animation: fadeIn 1s ease-out;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary-gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.status-dot {
    width: 6px; height: 6px; background: var(--primary-gold); border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-gold);
    animation: pulse 2s infinite;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -1px;
}

h1 span {
    font-family: var(--font-display);
    color: var(--primary-gold);
    font-style: italic;
    display: block;
    margin-top: 10px;
}

.hero-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Sağ Taraf: Form */
.form-wrapper {
    flex: 0 0 420px;
    perspective: 1000px;
    animation: slideUp 1s ease-out 0.2s backwards;
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Form Işıltısı */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.form-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.form-title { font-size: 1.5rem; font-weight: 400; color: #fff; }
.form-subtitle { font-size: 0.75rem; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 1px; }

/* Inputs */
.input-group { position: relative; margin-bottom: 20px; }

.custom-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-glass);
    padding: 18px 20px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.custom-input:focus {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.02);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.05);
}

.custom-input::placeholder { color: #555; font-size: 14px; }

/* Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { background: #333; color: #555; cursor: not-allowed; }

/* Footer / KVKK */
.footer-note {
    margin-top: 20px;
    font-size: 11px;
    color: #444;
    line-height: 1.4;
    display: flex;
    gap: 8px;
}
.footer-note svg { width: 14px; height: 14px; flex-shrink: 0; fill: var(--primary-gold-dim); }

/* Marquee (Kayan Yazı) */
.marquee-container {
    border-top: 1px solid var(--border-glass);
    padding: 15px 0;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}
.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}
.marquee-item {
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 40px;
}

/* Loader */
.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

/* NEW PREMIUM TOAST STYLES */
#toast {
    position: fixed; 
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%) translateY(40px) scale(0.9);
    
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    
    padding: 14px 24px; 
    border-radius: 50px;
    
    font-weight: 500; 
    font-size: 14px;
    letter-spacing: 0.3px;
    
    opacity: 0; 
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6), 
        0 0 0 1px rgba(255,255,255,0.05);
    
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 14px;
}

#toast.show { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0) scale(1); 
}

/* Durum Renkleri (Border Bottom kaldırıldı, ikon renklendirildi) */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

#toast.success .toast-icon { 
    background: rgba(16, 185, 129, 0.2); 
    color: #34D399; 
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

#toast.error .toast-icon { 
    background: rgba(239, 68, 68, 0.2); 
    color: #F87171; 
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile Responsive */
@media (max-width: 900px) {
    .container { flex-direction: column; padding: 1.5rem; gap: 2rem; justify-content: flex-start; }
    .hero-text { padding-right: 0; text-align: center; }
    h1 { font-size: 2.5rem; }
    .form-wrapper { width: 100%; flex: auto; }
    .glass-card { padding: 25px; }
    body { height: auto; min-height: 100vh; }
    
    #toast { width: 90%; max-width: 350px; justify-content: center; }
}