/* ==================== ÖDEVMAT - ÇOCUKLARA ÖZEL TASARIM ==================== */
/* odevmat.com */

:root {
    /* Beyaz & Pastel Palette */
    --bg-primary: #f8faff;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f7ff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Canlı Renkler */
    --color-red: #ef4444;
    --color-orange: #f97316;
    --color-yellow: #eab308;
    --color-green: #22c55e;
    --color-cyan: #06b6d4;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    --color-pink: #ec4899;
    
    /* Ana Renkler */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #f472b6;
    --accent: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --gradient-rainbow: linear-gradient(135deg, #f472b6, #8b5cf6, #6366f1, #06b6d4, #22c55e);
    --gradient-warm: linear-gradient(135deg, #f97316, #f472b6);
    --gradient-cool: linear-gradient(135deg, #06b6d4, #6366f1);
    
    /* Text */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Fonts */
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    
    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-color: 0 8px 24px rgba(99, 102, 241, 0.2);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ==================== EĞLENCELİ ARKA PLAN ==================== */
.fun-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: 
        radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(34, 197, 94, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f0f4ff 0%, #fef3f2 25%, #f0fdf4 50%, #f0f9ff 75%, #faf5ff 100%);
}

/* Bulutlar */
.cloud {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border-radius: 100px;
    filter: blur(2px);
    animation: float-cloud 40s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(255,255,255,0.5);
}
.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
}
.cloud-1 { width: 120px; height: 40px; top: 8%; left: 10%; animation-delay: 0s; }
.cloud-1::before { width: 50px; height: 50px; top: -25px; left: 20px; }
.cloud-1::after { width: 35px; height: 35px; top: -15px; left: 55px; }
.cloud-2 { width: 100px; height: 35px; top: 15%; right: 15%; animation-delay: 5s; }
.cloud-2::before { width: 40px; height: 40px; top: -20px; left: 15px; }
.cloud-2::after { width: 30px; height: 30px; top: -12px; left: 45px; }
.cloud-3 { width: 80px; height: 30px; top: 25%; left: 60%; animation-delay: 10s; }
.cloud-3::before { width: 35px; height: 35px; top: -18px; left: 10px; }
.cloud-3::after { width: 25px; height: 25px; top: -10px; left: 35px; }

@keyframes float-cloud {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

/* Yıldızlar ve Noktalar */
.stars {
    position: absolute;
    inset: 0;
}
.star {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: twinkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}
.star:nth-child(1) { top: 12%; left: 25%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; right: 30%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 35%; left: 15%; animation-delay: 1s; }
.star:nth-child(4) { top: 45%; right: 20%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 60%; left: 35%; animation-delay: 2s; }
.star:nth-child(6) { top: 75%; right: 25%; animation-delay: 2.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.3) rotate(180deg); }
}

@keyframes float-dot {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(-15px) translateX(3px); }
}

/* Renkli Noktalar */
.dots {
    position: absolute;
    inset: 0;
}
.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
    animation: float-dot 8s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dot:nth-child(1) { background: var(--color-red); top: 15%; left: 5%; }
.dot:nth-child(2) { background: var(--color-blue); top: 25%; right: 8%; }
.dot:nth-child(3) { background: var(--color-green); top: 40%; left: 12%; }
.dot:nth-child(4) { background: var(--color-yellow); top: 55%; right: 15%; }
.dot:nth-child(5) { background: var(--color-purple); top: 70%; left: 8%; }
.dot:nth-child(6) { background: var(--color-pink); top: 80%; right: 10%; }
.dot:nth-child(7) { background: var(--color-cyan); top: 30%; left: 45%; }
.dot:nth-child(8) { background: var(--color-orange); top: 65%; right: 40%; }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 5s ease infinite;
}
@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn svg { width: 1.25rem; height: 1.25rem; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-color);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-success { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.btn-accent { background: var(--gradient-warm); color: white; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-xl { padding: 1.25rem 2.75rem; font-size: 1.2rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==================== FORMS ==================== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.form-group label svg { width: 1rem; height: 1rem; color: var(--primary); }

.input-field, .select-field {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus, .select-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.select-field {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236366f1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.75rem;
}

/* Toggle */
.toggle {
    position: relative;
    width: 3rem;
    height: 1.75rem;
    background: var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s;
}
.toggle.active { background: var(--primary); }
.toggle-knob {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.toggle.active .toggle-knob { transform: translateX(1.25rem); }
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-light);
}
.toggle-info strong { font-size: 0.9rem; color: var(--text-primary); }

.divider { border: none; border-top: 2px dashed var(--border-color); margin: 1.5rem 0; }

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}
@media (min-width: 768px) { .header-content { height: 5rem; } }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-color);
    animation: bounce-soft 3s ease-in-out infinite;
}
@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.logo-text h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-text span { font-size: 0.7rem; color: var(--text-muted); display: block; margin-top: -0.1rem; }

.nav-desktop { display: none; gap: 0.5rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.nav-link svg { width: 1rem; height: 1rem; }
.nav-link:hover { color: var(--primary); background: rgba(99, 102, 241, 0.08); }
.nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-color);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
}
.mobile-menu-btn svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 2px solid var(--border-light);
    background: white;
}
.nav-mobile.show { display: flex; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }

/* ==================== MAIN ==================== */
.main { padding-top: 5.5rem; min-height: 100vh; }
@media (min-width: 768px) { .main { padding-top: 6rem; } }

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 3rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 50%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .hero { padding: 4rem 0 5rem; } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-color);
    animation: pulse-badge 2s ease-in-out infinite;
}
.hero-badge svg { width: 1rem; height: 1rem; }

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-color); }
    50% { transform: scale(1.05); box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
@media (min-width: 640px) { .hero-title { font-size: 3.5rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--primary); }

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; } }
@media (min-width: 900px) { .hero-buttons { flex-wrap: nowrap; } }

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 650px;
    margin: 3rem auto 0;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
    background: white;
    border: 3px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-color);
}
.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 600; }

/* ==================== SECTIONS ==================== */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-subtitle { color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ==================== GRADE CARDS ==================== */
.grade-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) { .grade-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.grade-card {
    position: relative;
    background: white;
    border: 3px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}
.grade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-rainbow);
}
.grade-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}
.grade-card:hover::after {
    opacity: 1;
}
.grade-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-color);
}
.grade-card:hover .grade-arrow { opacity: 1; }
.grade-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s;
}
.grade-card:hover .grade-icon { transform: scale(1.15) rotate(5deg); }
.grade-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}
.grade-subjects { display: flex; gap: 0.3rem; justify-content: center; margin-top: 0.6rem; }
.subj-badge { font-size: 1rem; }
.grade-arrow {
    display: inline-flex;
    color: var(--primary);
    margin-top: 0.6rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.grade-arrow svg { width: 1.25rem; height: 1.25rem; }

/* ==================== FEATURE CARDS ==================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-color);
}
.feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: white; }
.feature-icon.cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.feature-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.feature-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text-primary); }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ==================== CTA ==================== */
.cta-card {
    position: relative;
    background: white;
    border: 3px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 3rem 1.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-rainbow);
}
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.cta-card h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
@media (min-width: 768px) { .cta-card h2 { font-size: 2.25rem; } }
.cta-card p { color: var(--text-secondary); max-width: 450px; margin: 0 auto 1.5rem; }

/* ==================== FOOTER ==================== */
.footer {
    background: white;
    border-top: 2px solid var(--border-light);
    padding: 1.5rem 0;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}
@media (min-width: 768px) { .footer-content { flex-direction: row; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo span { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.footer p, .footer span { font-size: 0.85rem; color: var(--text-muted); }

/* ==================== VISITOR STATS ==================== */
.visitor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .visitor-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

.visitor-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: none;
}

.visitor-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.25));
    border: 2px solid rgba(34, 197, 94, 0.35);
}

.visitor-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.25));
    border: 2px solid rgba(99, 102, 241, 0.35);
}

.visitor-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.25));
    border: 2px solid rgba(139, 92, 246, 0.35);
}

.visitor-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.25));
    border: 2px solid rgba(249, 115, 22, 0.35);
}

.visitor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.visitor-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visitor-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    color: white;
}

.visitor-icon.online {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.visitor-icon.today {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.visitor-icon.yesterday {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.visitor-icon.total {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.visitor-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.visitor-count {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
}

.visitor-card:nth-child(1) .visitor-count {
    color: #16a34a;
}

.visitor-card:nth-child(2) .visitor-count {
    color: #4f46e5;
}

.visitor-card:nth-child(3) .visitor-count {
    color: #7c3aed;
}

.visitor-card:nth-child(4) .visitor-count {
    color: #ea580c;
}

.visitor-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer Bottom - Tek Satır */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.footer-links a:nth-child(1) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.25));
    color: #4f46e5;
    border: 2px solid rgba(99, 102, 241, 0.35);
}

.footer-links a:nth-child(2) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.25));
    color: #16a34a;
    border: 2px solid rgba(34, 197, 94, 0.35);
}

.footer-links a:nth-child(3) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.25));
    color: #7c3aed;
    border: 2px solid rgba(139, 92, 246, 0.35);
}

.footer-links a:nth-child(4) {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.25));
    color: #ea580c;
    border: 2px solid rgba(249, 115, 22, 0.35);
}

.footer-links a:nth-child(5) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(219, 39, 119, 0.25));
    color: #db2777;
    border: 2px solid rgba(236, 72, 153, 0.35);
}

.footer-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    .footer-left {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* ==================== PAGE HEADER ==================== */
.page-header { text-align: center; margin-bottom: 2rem; }
.page-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 0.35rem; }
.page-header p { color: var(--text-secondary); }

/* ==================== CREATOR LAYOUT ==================== */
.creator-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .creator-layout { grid-template-columns: 320px 1fr; } }

.settings-panel {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) { .settings-panel { position: sticky; top: 6rem; } }
.settings-panel h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.settings-panel h2 svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--border-color);
}

.preview-panel {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.preview-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-light);
    background: var(--bg-primary);
}
.preview-header-bar h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 700; }
.preview-header-bar h2 svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.preview-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.preview-content { padding: 1.25rem; min-height: 450px; background: var(--bg-primary); }

.empty-preview { text-align: center; padding: 4rem 2rem; }
.empty-preview svg { width: 4rem; height: 4rem; color: var(--text-muted); margin-bottom: 1rem; opacity: 0.4; }
.empty-preview h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 0.35rem; }
.empty-preview p { color: var(--text-muted); }

/* ==================== PRINT ==================== */
@media print {
    .no-print, .header, .footer, .settings-panel, .preview-header-bar, .fun-background { display: none !important; }
    .main { padding-top: 0 !important; }
    body { background: white !important; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Preset Buttons */
.question-count-presets { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.preset-btn {
    padding: 0.6rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}
.preset-btn:hover { border-color: var(--primary); color: var(--primary); }
.preset-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-color);
}

.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
