/* ============================================
   TEMA DEĞİŞKENLERİ (MODERN UI)
   ============================================ */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #f0fdf9;
    --primary-glow: rgba(16, 185, 129, 0.25);
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sayfanın sağa sola kaymasını tamamen engeller */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================
   GENEL & AÇILIŞ SAYFASI
   ============================================ */
#lp-wrapper {
    font-family: var(--font, 'Poppins', sans-serif);
    color: var(--gray);
    line-height: 1.6;
    background-color: var(--light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Test ekranının altında yer alan SEO giriş alanı */
.iq-seo-overview { padding-top: 56px; }
.iq-seo-overview-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0,1.25fr) minmax(310px,.75fr); gap: 42px;
    padding: 44px; border-radius: 28px;
    background: #0f172a; color: #fff;
    box-shadow: 0 22px 55px rgba(15,23,42,.14);
}
.iq-seo-overview-card::after {
    content: ''; position: absolute; right: -90px; top: -130px; width: 360px; height: 360px;
    border-radius: 50%; background: rgba(16,185,129,.12); filter: blur(6px); pointer-events: none;
}
.iq-seo-copy,.iq-seo-stats { position: relative; z-index: 1; }
.iq-seo-kicker {
    display: inline-flex; padding: 7px 12px; margin-bottom: 15px; border-radius: 999px;
    background: rgba(52,211,153,.12); border: 1px solid rgba(110,231,183,.22);
    color: #6ee7b7; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.iq-seo-copy h2 { margin: 0 0 14px; color: #fff; font-size: clamp(26px,3vw,38px); line-height: 1.18; letter-spacing: -.025em; }
.iq-seo-copy p { margin: 0; max-width: 680px; color: #cbd5e1; font-size: 15px; line-height: 1.8; }
.iq-seo-stats { display: grid; gap: 10px; }
.iq-seo-stats div {
    padding: 15px 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px;
    background: rgba(255,255,255,.055); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.iq-seo-stats strong { display: block; margin-bottom: 2px; color: #fff; font-size: 16px; }
.iq-seo-stats span { display: block; color: #94a3b8; font-size: 12px; line-height: 1.4; }

/* ============================================
   BUTONLAR
   ============================================ */
.btn-modern-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1em;
    padding: 16px 36px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 280px;
}
.btn-modern-cta::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: var(--transition);
}
.btn-modern-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--primary-glow); color: #fff; }
.btn-modern-cta:hover::after { opacity: 1; }

.open-test-btn {
    width: 100% !important;
    max-width: 280px !important;
    margin: 30px auto 0 auto !important;
}
@media (max-width: 768px) {
    .open-test-btn {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ============================================
   HERO BÖLÜMÜ
   ============================================ */
.lp-hero-modern {
    position: relative;
    padding: 80px 0 60px;
    background-image: url("https://testmerkezim.com/wp-content/uploads/2025/11/blue-brain.webp");
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}
.lp-hero-modern::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-radius: 0 0 32px 32px;
}
.lp-hero-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.lp-hero-content { max-width: 650px; }
.lp-hero-content h1 {
    color: var(--white); font-weight: 600; line-height: 1.2;
    margin: 0 0 20px 0; letter-spacing: -0.5px; text-wrap: balance;
}
/* h1 parçalı yapı: masaüstünde eski görünümün birebir aynısı —
   .h1-slogan kırmızı ve ayrı satırda, (Zeka Testi) beyaz kalır.
   Mobilde ise .h1-slogan/.h1-colon gizlenip (Zeka Testi) yeşile döner. */
.lp-hero-content h1 .h1-slogan { color: var(--primary); display: block; }
.lp-hero-content p { font-size: 1.25em; color: #e2e8f0; margin: 0 0 35px 0; font-weight: 400; }

/* Sadece mobilde görünen landing öğeleri (rozet, mini özellikler,
   adım göstergesi, vurgu kutusu, güven satırı) — masaüstü değişmez. */
.m-only { display: none; }
.hero-float-img { max-width: 100%; animation: floatCard 4s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3)); }

/* Hero Floating Glass Card */
.hero-float-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    animation: floatCard 5s ease-in-out infinite alternate;
}
.hfc-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #fff; }
.hfc-item:last-child { margin-bottom: 0; }
.hfc-icon { background: var(--primary); width: 36px; height: 36px; border-radius: 10px; display: flex; justify-content: center; align-items: center; font-weight: bold; }
.hfc-text h4 { margin: 0; font-size: 0.95em; font-weight: 500; color: #fff; }
.hfc-text p { margin: 0; font-size: 0.85em; color: #cbd5e1; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   ÖZELLİKLER BARI (GLASSMORPHISM)
   ============================================ */
.features-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: var(--radius);
    padding: 20px 32px;
    box-shadow: var(--shadow-sm);
    display: flex; justify-content: space-between; align-items: center;
    margin-top: -80px; position: relative; z-index: 10;
    max-width: 1100px; margin-left: auto; margin-right: auto;
}
.feature-item {
    display: flex; gap: 10px;
    color: var(--dark); font-size: 14px; font-weight: 600;
    padding: 8px 16px; border-radius: 10px;
    transition: var(--transition); cursor: default;
}
.feature-item span { font-size: 1.4em; color: var(--primary); }

/* ============================================
   3D BİLGİ KARTLARI (NASIL ÇALIŞIR)
   ============================================ */
.section-title { font-size: 2.2em; color: var(--dark); font-weight: 600; margin-bottom: 40px; text-align: center; }
.steps-3d-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0;
}
.step-card-3d {
    background: var(--white);
    border: 1px solid #eef0f2;
    border-radius: var(--radius);
    padding: 35px 25px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; align-items: center;
}
.step-card-3d::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-light), rgba(16, 185, 129, 0.03));
    opacity: 0; transition: var(--transition); border-radius: var(--radius);
}
.step-number-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1.1em; box-shadow: 0 4px 10px var(--primary-glow); z-index: 3;
}
.step-icon-3d { font-size: 2.8em; margin-bottom: 20px; transition: var(--transition); position: relative; z-index: 2; }
.step-card-3d h4 { margin: 0 0 10px 0; color: var(--dark); font-weight: 600; position: relative; z-index: 2; font-size: 1.2em;}
.step-card-3d p { font-size: 0.95em; color: var(--gray); margin: 0; line-height: 1.5; position: relative; z-index: 2; }

/* ============================================
   BİLGİ & SSS BÖLÜMÜ
   ============================================ */
.info-section { padding: 60px 0; }
.flex-grid { display: flex; gap: 40px; align-items: flex-start; }
.content-left { flex: 1.5; }
.content-left h2 { font-size: 2em; color: var(--dark); font-weight: 600; margin-top: 0; margin-bottom: 15px; }
.modern-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.modern-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; color: var(--gray); font-weight: 500;}
.modern-list li::before {
    content: '✓'; color: var(--primary); font-weight: 600; background: var(--primary-light);
    border-radius: 50%; width: 28px; height: 28px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 0.9em;
}

/* Accordion SSS */
.modern-accordion details { background: var(--white); border: 1px solid #eef0f2; border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.modern-accordion details:hover { border-color: rgba(16, 185, 129,0.3); }
.modern-accordion summary { padding: 20px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.modern-accordion summary::-webkit-details-marker { display: none; }
.modern-accordion summary::after { content: '+'; color: var(--primary); font-size: 1.5em; font-weight: normal; transition: transform 0.3s;}
.modern-accordion details[open] summary::after { content: '-'; }
.modern-accordion .faq-content { padding: 0 20px 20px; color: var(--gray); line-height: 1.7;}
/* SSS cevabındaki linkler metinden ayrışsın */
.modern-accordion .faq-content a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.modern-accordion .faq-content a:hover { color: var(--primary-dark); }

/* Sağ Taraf - Sabit Kutu */
.sticky-card {
    flex: 1; background: var(--white); padding: 35px; border-radius: var(--radius);
    box-shadow: var(--shadow-md); border: 1px solid #eef0f2;
    position: sticky; top: 20px; text-align: center;
}
.sticky-card h4 { color: var(--primary-dark); font-size: 1.3em; font-weight: 600; margin-bottom: 15px; }
.sticky-card p { color: var(--gray); margin-bottom: 25px; line-height: 1.6; }

.iq-summary-card {
    flex: 1; position: sticky; top: 88px; padding: 30px; border-radius: 20px;
    background: #fff; border: 1px solid #e2e8f0; box-shadow: var(--shadow-md);
}
.iq-summary-label { display: inline-block; margin-bottom: 12px; color: var(--primary-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.iq-summary-card h3 { margin: 0 0 22px; color: var(--dark); font-size: 21px; line-height: 1.35; }
.iq-summary-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 15px; }
.iq-summary-card li { position: relative; padding-left: 22px; }
.iq-summary-card li::before { content: '✓'; position: absolute; left: 0; top: 1px; color: var(--primary); font-weight: 700; }
.iq-summary-card strong,.iq-summary-card span { display: block; }
.iq-summary-card strong { margin-bottom: 2px; color: var(--dark); font-size: 13px; }
.iq-summary-card span { color: var(--gray); font-size: 12px; line-height: 1.5; }
.iq-summary-card a { color: var(--primary-dark); font-size: 12.5px; font-weight: 700; }
.iq-summary-card a:hover { color: var(--primary); }

/* SEO Makale Alanı */
.seo-article-card {
    background: var(--white); border-radius: var(--radius); padding: 45px;
    border: 1px solid #eef0f2; box-shadow: var(--shadow-md); margin-top: 40px; margin-bottom: 60px;
}
.seo-article-card h2 { color: var(--dark); font-size: 1.8em; font-weight: 600; margin: 30px 0 15px; }
.seo-article-card h2:first-child { margin-top: 0; }
.seo-article-card p { color: var(--gray); font-size: 1.05em; line-height: 1.8; margin-bottom: 20px; }
.seo-article-card ul { color: var(--gray); font-size: 1.05em; line-height: 1.8; margin-bottom: 20px; padding-left: 20px; }
.seo-iq-table { width: 100%; border-collapse: collapse; margin-bottom: 25px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eef0f2;}
.seo-iq-table th { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; padding: 15px; text-align: left; }
.seo-iq-table td { padding: 15px; border-bottom: 1px solid #eef0f2; color: var(--gray); font-weight: 500; vertical-align: top;}

/* ============================================
   MOBİL UYUM (RESPONSIVE)
   ============================================ */
@media (max-width: 992px) {
    .flex-grid { flex-direction: column; }
    .sticky-card { width: 100%; position: static; }
    .steps-3d-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bar { flex-wrap: wrap; justify-content: center; gap: 15px; margin: 20px 24px; }
    .lp-hero-modern { border-radius: 0; margin-bottom: 0; }
    .lp-hero-modern::before { border-radius: 0; }
}

@media (max-width: 768px) {
    /* ---- HERO: sola dayalı, rozetli, yeşil vurgulu düzen ---- */
    .lp-hero-modern { padding: 30px 0 56px; }
    .lp-hero-inner { flex-direction: column; text-align: left; }
    .hero-float-card { display: none; }
    .hero-badge {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(16, 185, 129, 0.16); border: 1px solid rgba(52, 211, 153, 0.35);
        color: #6ee7b7; font-size: 0.66em; font-weight: 500;
        letter-spacing: 0.07em; text-transform: uppercase;
        padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
    }
    .lp-hero-content h1 { font-size: 1.9em; line-height: 1.14; margin-bottom: 12px; letter-spacing: -0.8px; }
    .lp-hero-content h1 .h1-zeka { display: block; color: #34d399; }
    .lp-hero-content h1 .h1-colon,
    .lp-hero-content h1 .h1-slogan { display: none; }
    .lp-hero-content p { font-size: 0.9em; line-height: 1.6; color: #cbd5e1; margin-bottom: 4px; }
    .btn-modern-cta {
        width: auto; max-width: 100%; font-size: 0.95em; padding: 12px 26px;
        border-radius: 12px;
        background: linear-gradient(90deg, #10b981, #059669) !important;
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    }
    .open-test-btn { width: auto !important; max-width: 100% !important; margin: 16px 0 0 0 !important; }
    .hero-mini-feats { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
    .hmf-item { display: flex; align-items: center; gap: 9px; }
    .hmf-item svg { color: #34d399; flex-shrink: 0; }
    .hmf-item:nth-child(2) svg { color: #facc15; }
    .hmf-item strong { display: block; color: #f1f5f9; font-size: 0.8em; font-weight: 600; line-height: 1.35; }
    .hmf-item span { display: block; color: #94a3b8; font-size: 0.76em; line-height: 1.35; }

    /* ---- NASIL ÇALIŞIR: hero üstüne binen beyaz yuvarlak panel ---- */
    .steps-section {
        background: var(--white); border-radius: 28px 28px 0 0;
        margin-top: -28px; position: relative; z-index: 3;
        padding: 5px 13px 12px !important;
    }
    .section-title { font-size: 1em; margin-bottom: 6px; }
    .section-sub { display: block; text-align: center; color: var(--gray); font-size: 0.72em; margin: 0 0 22px; }
    .steps-progress { display: flex; align-items: center; margin: 0 11% 24px; }
    .sp-dot {
        width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
        display: inline-flex; align-items: center; justify-content: center;
        background: #eef1f6; color: #94a3b8; font-weight: 500; font-size: 0.9em;
    }
    .sp-dot.active { background: #10b981; color: #fff; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); }
    .sp-line { flex: 1; border-top: 2px dashed #d3dce8; margin: 0 10px; }
    .steps-3d-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 0 6px; }
    .steps-3d-grid .step-card-3d:nth-child(4) { display: none; }
    .step-card-3d { background: transparent; border: none; box-shadow: none; padding: 0 4px; }
    .step-card-3d::before { display: none; }
    .step-number-badge { display: none; }
    .step-icon-3d {
        font-size: initial; background: #e7f6ee; color: #10b981;
        border-radius: 16px; padding: 13px; margin-bottom: 12px;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .step-icon-3d svg { width: 24px; height: 24px; }
    .step-card-3d h4 { font-size: 0.75em; margin-bottom: 6px; }
    .step-card-3d p { font-size: 0.65em; line-height: 1.45; }
    .why-highlight {
        display: flex; align-items: center; gap: 14px;
        background: #e7f6ee; border-radius: 16px; padding: 16px; margin-top: 22px;
    }
    .wh-icon {
        flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
        background: #d1fae5; color: #059669;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .wh-text h3 { font-size: 0.9em; color: var(--dark); font-weight: 600; margin: 0 0 4px; }
    .wh-text p { font-size: 0.8em; color: var(--gray); line-height: 1.5; margin: 0; }
    .lp-trust-row { display: flex; justify-content: space-between; gap: 8px; margin: 20px 2px 8px; }
    .trust-item { display: flex; align-items: center; gap: 8px; }
    .ti-icon {
        flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px;
        background: #e7f6ee; color: #059669;
        display: inline-flex; align-items: center; justify-content: center;
    }
    /* Yalnızca metin bloğunu hedefle — .ti-icon da bir span olduğundan
       genel "span" seçicisi ikonun flex ortalamasını bozuyordu. */
    .trust-item div strong { display: block; font-size: 0.65em; color: var(--dark); font-weight: 500; line-height: 1.35; }
    .trust-item div span { display: block; font-size: 0.6em; color: var(--gray); line-height: 1.35; }

    /* ---- Sayfanın kalanı ---- */
    .info-section { padding: 36px 0; }
    .content-left h2 { font-size: 1.35em; }
    .modern-accordion summary { padding: 16px; font-size: 0.95em; }
    .modern-accordion .faq-content { padding: 0 16px 16px; font-size: 0.95em; }
    .sticky-card { padding: 25px; }
    .sticky-card h4 { font-size: 1.15em; }
    .sticky-card p { font-size: 0.95em; margin-bottom: 18px; }
    .seo-article-card { padding: 25px 20px; margin-top: 28px; margin-bottom: 40px; }
    .seo-article-card h2 { font-size: 1.3em; margin: 24px 0 12px; }
    .seo-article-card p, .seo-article-card ul { font-size: 0.95em; line-height: 1.7; }
    .features-bar { display: none; }
    .seo-iq-table th, .seo-iq-table td { padding: 10px; font-size: 0.9em; }
}

/* -------------------------------------------------------------
   KAYIT / TESTE BAŞLAMA (INITIAL INFO SCREEN) STİLLERİ
------------------------------------------------------------- */
#initial-info-screen { 
    background-color: transparent; box-shadow: none; padding: 0; 
    max-width: 1280px; margin: 40px auto; display: flex;
    flex-direction: column; gap: 30px; 
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.mss-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 50px;
    display: flex; gap: 50px;
    border: 1px solid #eef0f2;
    position: relative;
    overflow: hidden;
}
.mss-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.mss-left { 
    flex: 1.2; display: flex; flex-direction: column; align-items: flex-start; 
    text-align: left; padding-right: 40px; border-right: 1px solid #f1f5f9; 
}
.mss-right { flex: 1; display: flex; flex-direction: column; }

.mss-icon-wrapper { 
    width: 80px; height: 80px; 
    background: linear-gradient(135deg, var(--primary-light), #ffffff); 
    border: 1px solid rgba(16, 185, 129, 0.15); border-radius: 20px; 
    display: flex; justify-content: center; align-items: center; 
    margin-bottom: 25px; box-shadow: var(--shadow-sm); 
}
.mss-icon-wrapper img, .mss-icon-wrapper svg { width: 45px; height: 45px; object-fit: contain; }

.mss-left h1 { font-size: 2.2em; color: var(--dark); margin: 0 0 12px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.2; }
.mss-title-break { color: #6366f1; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .mss-title-break { background: linear-gradient(95deg, #4f5ff0 0%, #7c5cf5 55%, #a855f7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.mss-subtitle { color: var(--gray) !important; font-size: 1.1em; margin-bottom: 18px !important; line-height: 1.6; }

/* Sosyal kanıt rozeti */
.mss-social-proof { display: inline-flex; align-items: center; gap: 10px; background: var(--light); border: 1px solid #e2e8f0; border-radius: 50px; padding: 6px 18px 6px 8px; margin-bottom: 28px; }
.mss-avatars { display: flex; }
.mss-avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); display: flex; justify-content: center; align-items: center; color: #fff; font-size: 12px; font-weight: 600; }
.mss-avatars span:nth-child(1) { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.mss-avatars span:nth-child(2) { background: linear-gradient(135deg, #3b82f6, #2563eb); margin-left: -10px; }
.mss-avatars span:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #d97706); margin-left: -10px; }
.mss-social-text { font-size: 0.9em; font-weight: 500; color: var(--gray); }

/* Güven kartları (mobilde güvenlik kutusunun yerini alır) */
.mss-trust-row { display: none; }
.mss-trust-item { background: var(--light); border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; text-align: left; }
.mss-trust-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.mss-trust-icon svg { width: 22px; height: 22px; }
.mss-trust-text strong { display: block; color: var(--dark); font-size: 0.92em; font-weight: 600; margin-bottom: 2px; }
.mss-trust-text span { color: var(--gray); font-size: 0.8em; line-height: 1.4; }

.mss-input-group { width: 100%; text-align: left; margin-bottom: 25px; }
/* Etiket görsel olarak gizli (placeholder yeterli); ekran okuyucular için DOM'da kalır */
.mss-input-group label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mss-input-wrapper { position: relative; display: flex; align-items: center; }
.mss-input-wrapper svg { 
    position: absolute; left: 16px; width: 22px; height: 22px; 
    color: #94a3b8; transition: var(--transition); pointer-events: none;
}
.mss-input-wrapper input { 
    width: 100%; padding: 16px 16px 16px 50px !important; 
    border: 1px solid #e2e8f0; border-radius: 12px; 
    font-size: 1.05em; color: var(--dark); outline: none; 
    transition: var(--transition); background: #f8fafc5e; 
    box-sizing: border-box !important;
}
.mss-input-wrapper input:focus {
    border-color: rgba(16, 185, 129, 0.4); background: #f8fafc5e;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.07), 0 4px 14px rgba(15, 23, 42, 0.06);
}
.mss-input-wrapper input:focus ~ svg { color: var(--primary); }

#initial-start-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; padding: 18px; border-radius: 12px; font-size: 1em; font-weight: 600;
    display: flex; justify-content: center; align-items: center; gap: 10px; border: none;
    cursor: pointer; transition: var(--transition); box-shadow: 0 8px 25px var(--primary-glow);
    margin: 0 0 25px 0; position: relative; overflow: hidden;
}
#initial-start-button::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent); opacity: 0; transition: var(--transition);
}
#initial-start-button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px var(--primary-glow); }
#initial-start-button:hover::after { opacity: 1; }

.mss-security-box { 
    background: var(--light); border: 1px solid #e2e8f0; border-radius: 12px; 
    padding: 18px; display: flex; gap: 16px; align-items: flex-start; 
    text-align: left; width: 100%; box-sizing: border-box; 
}
.mss-security-box svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.mss-sec-text strong { display: block; color: var(--dark); font-size: 0.95em; margin-bottom: 4px; font-weight: 500;}
.mss-sec-text span { color: var(--gray); font-size: 0.85em; line-height: 1.5; }

.mss-scores-header { display: flex; align-items: center; gap: 16px; margin-bottom: 25px; }
.mss-trophy { 
    background: linear-gradient(135deg, #fef3c7, #fde68a); width: 54px; height: 54px; 
    border-radius: 16px; display: flex; justify-content: center; align-items: center; 
    font-size: 1.6em; flex-shrink: 0; box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2); 
    border: 1px solid #fcd34d;
}
.mss-scores-title h3 { margin: 0 0 6px 0; font-size: 1.25em; color: var(--dark); font-weight: 600; line-height: 0.5;}
.mss-scores-title p { margin: 0 !important; font-size: 0.9em; color: var(--gray); }

#weekly-high-scores { list-style: none; padding: 0; margin: 0 0 20px 0; border: none; }
#weekly-high-scores li { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 14px 16px; font-weight: 500; margin-bottom: 10px; border-radius: 12px; 
    transition: var(--transition); border: 1px solid transparent;
}
#weekly-high-scores li:hover { transform: translateX(4px); border-color: rgba(16, 185, 129, 0.2); }

.score-rank-1 { background: linear-gradient(90deg, #fffbeb, #ffffff) !important; border: 1px solid #fde68a !important; box-shadow: 0 4px 10px rgba(251, 191, 36, 0.1); }
.score-rank-2 { background: linear-gradient(90deg, #f8fafc, #ffffff) !important; border: 1px solid #e2e8f0 !important; }
.score-rank-3 { background: linear-gradient(90deg, #fff7ed, #ffffff) !important; border: 1px solid #fed7aa !important; }
.score-normal { border-bottom: 1px solid #f1f5f9 !important; padding: 12px 8px !important; border-radius: 0 !important; }

.score-left { display: flex; align-items: center; gap: 15px; }
.score-right { font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--primary-dark); font-size: 1.05em;}

.rank-badge { 
    width: 30px; height: 30px; border-radius: 10px; display: flex; 
    justify-content: center; align-items: center; font-size: 0.9em; 
    font-weight: 600; color: white; box-shadow: var(--shadow-sm); 
}
.rank-badge-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); } 
.rank-badge-2 { background: linear-gradient(135deg, #94a3b8, #64748b); } 
.rank-badge-3 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.rank-badge-normal { background: var(--light); color: var(--gray); font-size: 0.9em; width: 30px; text-align: center; border-radius: 8px; box-shadow: none;}

.toggle-scores-btn { 
    width: 100%; background-color: var(--primary-light); color: var(--primary); 
    border: 1px solid rgba(16, 185, 129, 0.2); padding: 14px; border-radius: 12px; 
    font-weight: 600; display: flex; justify-content: center; align-items: center; 
    gap: 8px; cursor: pointer; transition: var(--transition); 
}
.toggle-scores-btn:hover { background-color: var(--primary); color: white; }

.mss-bottom-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mss-feat-item { 
    background: var(--white); border: 1px solid #eef0f2; border-radius: 16px; 
    padding: 24px; display: flex; align-items: center; gap: 16px; 
    box-shadow: var(--shadow-sm); transition: var(--transition); 
}
.mss-feat-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; justify-content: center; align-items: center; flex-shrink: 0;}
.mss-feat-icon svg { width: 28px; height: 28px; }

.bg-blue { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; } 
.bg-green { background: linear-gradient(135deg, #dcfce3, #bbf7d0); color: #16a34a; } 
.bg-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #9333ea; }

.mss-feat-text strong { display: block; color: var(--dark); font-size: 1.05em; margin-bottom: 4px; font-weight: 600;}
.mss-feat-text span { color: var(--gray); font-size: 0.9em; }

/* Masaüstü hero: beyin görseli sol sütunun sağ üstünde, radyal maskeyle beyaza karışarak süzülür */
@media (min-width: 993px) {
    #initial-info-screen { padding: 0 24px; box-sizing: border-box; }
    /* CTA masaüstünde tam genişlik değil: sola dayalı, metin kadar */
    #initial-start-button { width: auto; padding: 16px 42px; }
    .mss-card {
        background-color: var(--white);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }
    .mss-icon-wrapper { display: none; }
    /* Sağ sütun: lavanta panel — skor satırları bunun üstünde buzlu cam kart olur */
    .mss-left { border-right: none; position: relative; z-index: 0; }
    .mss-left::after {
        content: ''; position: absolute; z-index: -1; pointer-events: none;
        top: -12px; right: -16px; width: 290px; height: 320px;
        background: url('https://testmerkezim.com/wp-content/uploads/2026/07/testmerkezim-iq-testi.webp') -377px -41px / 691px auto no-repeat;
        -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
        mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    }
    .mss-right {
        background: linear-gradient(180deg, rgb(172 255 228 / 10%) 0%, rgba(16, 185, 129, 0.03) 100%);
        border: 1px solid rgba(16, 185, 129, 0.12);
        border-radius: 20px;
        padding: 24px;
    }
    #weekly-high-scores li.score-normal {
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.85) !important;
        border-radius: 12px !important; padding: 13px 16px !important; margin-bottom: 8px;
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.06);
    }
    .score-rank-1, .score-rank-2, .score-rank-3 { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
    .mss-scores-header { position: relative; z-index: 1; }
}

@media (max-width: 992px) {
    /* Header ile hero arasındaki boşluk kalksın */
    #initial-info-screen { margin-top: 0; }
    .mss-card::before { display: none; }
    .mss-card { border-top-left-radius: 0; border-top-right-radius: 0; }
    .mss-card {
        flex-direction: column; padding: 35px; gap: 40px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
        /* Hero arka planı: beyin görseli üstte, alta doğru beyaza karışır */
        background-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 45vw, var(--white) 55vw), url('https://testmerkezim.com/wp-content/uploads/2026/07/iq-testi-testmerkezim.webp');
        background-repeat: no-repeat, no-repeat;
        background-size: 100% auto, 100% auto;
        background-position: top center, top center;
    }
    /* Mobil tasarım (mockup): ikon yok, sola yaslı başlık, güvenlik kutusu yerine 3'lü güven kartları */
    .mss-left { padding-right: 0; border-right: none; border-bottom: 1px solid #f1f5f9; padding-bottom: 35px; align-items: flex-start; text-align: left; }
    .mss-icon-wrapper { display: none; }
    .mss-security-box { display: none; }
    .mss-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
    .mss-bottom-features { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px; }
}
/* Skor listesi: ilk 3'e madalya (tüm ekranlar) */
.score-rank-1 .score-right::after { content: '🏆'; }
.score-rank-2 .score-right::after { content: '🥈'; }
.score-rank-3 .score-right::after { content: '🥉'; }
@media (max-width: 768px) {
    .mss-card { padding: 22px; gap: 25px; border-radius: 0 0 16px 16px; }
    .mss-left { padding-bottom: 22px; }
    /* Hero öğeleri mockup ölçülerinde: başlık ve alt yazı beyinle çakışmadan dar sütunda kırılır */
    .mss-left h1 { font-size: 1.9em; margin-bottom: 10px; line-height: 1.1; font-weight: 700; }
    .mss-title-break { display: block; }
	.mss-subtitle { font-size: 0.92em; margin-bottom: 14px !important; max-width: 250px; line-height: 1.5; }
    .mss-social-proof { padding: 4px 14px 4px 6px; gap: 8px; margin-bottom: 20px; }
    .mss-avatars span { width: 24px; height: 24px; font-size: 10px; }
    .mss-social-text { font-size: 0.8em; }
    .mss-input-group { margin-bottom: 16px; }
    .mss-input-wrapper input { padding: 13px 13px 13px 44px !important; font-size: 0.95em; }
    .mss-input-wrapper svg { width: 18px; height: 18px; left: 14px; }
    #initial-start-button { padding: 14px; font-size: 1em; margin-bottom: 18px; }
    /* Güven kartları telefonda da mockup'taki gibi yan yana: içerik dikey dizilir */
    .mss-trust-row { gap: 8px; }
    .mss-trust-item { flex-direction: column; align-items: center; text-align: center; padding: 12px 8px; gap: 6px; }
    .mss-trust-icon { width: 38px; height: 38px; border-radius: 10px; }
    .mss-trust-icon svg { width: 20px; height: 20px; }
    .mss-trust-text strong { font-size: 0.82em; margin-bottom: 2px; line-height: 1.3; }
    .mss-trust-text span { font-size: 0.72em; line-height: 1.35; display: block; }
    /* Alt bilgi kartları (15-20 Dakika / 28 Soru / Anında Sonuç) da yan yana kompakt */
    .mss-bottom-features { gap: 8px; }
    .mss-feat-item { flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; gap: 6px; }
    .mss-feat-icon { width: 40px; height: 40px; border-radius: 12px; }
    .mss-feat-icon svg { width: 22px; height: 22px; }
    .mss-feat-text strong { font-size: 0.85em; margin-bottom: 2px; line-height: 1.3; }
    .mss-feat-text span { font-size: 0.72em; line-height: 1.35; display: block; }
}
/* Çok dar ekran (375px ve altı sınıfı): kart başlıkları tek satırda kalsın */
@media (max-width: 400px) {
    .mss-trust-row, .mss-bottom-features { gap: 6px; }
    .mss-trust-item { padding: 11px 5px; }
    .mss-feat-item { padding: 12px 5px; }
    .mss-trust-text strong, .mss-feat-text strong { font-size: 0.72em; white-space: nowrap; }
    .mss-trust-text span, .mss-feat-text span { font-size: 0.65em; }
    .mss-trust-icon { width: 34px; height: 34px; }
    .mss-trust-icon svg { width: 18px; height: 18px; }
    .mss-feat-icon { width: 36px; height: 36px; }
    .mss-feat-icon svg { width: 20px; height: 20px; }
}

/* -------------------------------------------------------------
   OYUN EKRANI STİLLERİ (YENİ GÖZ YORMAYAN ARKA PLAN İLE)
------------------------------------------------------------- */
body.focus-mode-active { overflow: hidden !important; background-color: #f0f2f5 !important;  }
body.focus-mode-active #page > header, body.focus-mode-active #page > footer, body.focus-mode-active .site-header, body.focus-mode-active .site-footer, body.focus-mode-active .entry-header, body.focus-mode-active #game-wrapper + .disclaimer, body.focus-mode-active .entry-content > *:not(#game-wrapper):not(#initial-info-screen) { display: none !important; }

/* Sonuc ekraninda SEO rehber blogu gizlenir (giris ekraninda ve kaynak kodda kalir) */
body.iq-finished #lp-wrapper { display: none; }

#game-wrapper { 
    display: none; position: relative; 
    background-color: #f0f2f5; 
    background-image: radial-gradient(rgba(100,116,139,0.12) 1.5px, transparent 1.5px);
    background-size: 24px 24px; padding: 0; text-align: center; 
    width: 100%; /* DİKKAT: Sağa sola kayma sorununu çözmek için 100vw yerine 100% yapıldı */
    min-height: calc(var(--vh, 1vh) * 100);
    margin: 0; flex-direction: column; justify-content: flex-start; align-items: center; opacity: 1; box-sizing: border-box;
    overflow-x: hidden; /* DİKKAT: Taşmaları gizler */
    /* Çift dokunma zoom'u kapalı, PINCH ZOOM AÇIK. Eskiden 'pan-x pan-y' idi;
       o değer iki parmak yakınlaştırmayı da kesiyordu ve az gören kullanıcı
       soruları büyütemiyordu (WCAG 2.1 / 1.4.4). 'manipulation' kazara zoom'u
       yine önler ama erişilebilirliği bozmaz. */
    touch-action: manipulation;
}
/* Mobilde dokununca çıkan varsayılan gri parlamayı (tap highlight) test alanında kapat */
#game-wrapper, #game-wrapper * { -webkit-tap-highlight-color: transparent; }

body.focus-mode-active #game-wrapper { position: fixed !important; top: 0 !important; left: 0 !important; z-index: 999999 !important; overflow-y: auto !important; height: 100vh !important; height: calc(var(--vh, 1vh) * 100) !important; }

/* Üst Timeline (Header) - Glassmorphism eklendi */
#iq-header-bar { 
    width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; 
    padding: 15px 30px; box-sizing: border-box; flex-shrink: 0; position: relative; z-index: 50; 
    background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.logo-area { font-size: 1.6em; font-weight: 400; color: var(--dark); display: flex; align-items: baseline; gap: 8px;}
.logo-area span { font-weight: 600; }
.brand-area { font-size: 1.3em; font-weight: 600; color: var(--primary); }

.timeline-area { flex-grow: 1; margin: 0 40px; position: relative; display: flex; align-items: center; min-height: 32px; }
.timeline-track { position: absolute; width: 100%; height: 10px; background-color: #e2e8f0; border-radius: 6px; z-index: 1; }
.timeline-fill { position: absolute; width: 0%; height: 10px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); border-radius: 6px; z-index: 2; transition: width 0.4s ease-in-out; }
.timeline-nodes { position: absolute; width: 100%; display: flex; justify-content: space-between; z-index: 3; }
.timeline-nodes .node { 
    width: 32px; height: 32px; border-radius: 50%; color: #94a3b8; display: flex; justify-content: center; align-items: center; 
    font-weight: 600; font-size: 1.1em; border: 3px solid var(--white); box-shadow: 0 0 0 2px #cbd5e1; 
    background-color: #e2e8f0; transition: all 0.3s ease; 
}
.node.active { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; 
    color: white !important; transform: scale(1.15); box-shadow: 0 0 12px var(--primary-glow) !important; border-color: white !important; 
}

/* Header ile tam aynı genişliği yakalamak için ana kapsayıcının limitini açıyoruz */
#game-main-area { flex-grow: 1; width: 100%; max-width: 1200px !important; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; padding: 0 20px; box-sizing: border-box; }
#instruction-area { 
    width: 100%; 
    max-width: 1200px; 
    text-align: center; 
    margin: 0 auto 20px auto; 
    padding: 20px 20px; 
    position: relative;
    background: rgba(255,255,255,0.7); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #eef0f2;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    z-index: 49;
    box-sizing: border-box;
}

#game-instructions { 
    color: #0f172a; 
    font-size: 1.7em; 
    font-weight: 600; 
    margin: 0; 
    line-height: 1.4; 
    font-family: 'Poppins', sans-serif;
}

.highlight-text {
    color: #ef4444;
}

#game-container, #puzzle-game-container {   
    display: flex; width: 100%; position: relative; opacity: 1; transform: translateX(0); transition: opacity 0.4s ease-in, transform 0.4s ease-in;
}
#game-container { flex-direction: row; justify-content: center; align-items: center; gap: 60px; }
.puzzle-layout-wrapper { display: flex; flex-direction: row; gap: 40px; justify-content: center; align-items: center; width: 100%; }
.game-locked { pointer-events: none; }

.grid-container { display: grid; gap: 2px; }
#player-grid { order: 1; } 
#target-wrapper { order: 2; display: flex; flex-direction: column; align-items: center; max-width: 300px; } 

/* IZGARA HÜCRELERİ */
.grid-cell { 
    background-color: var(--white); border: 1px solid #cbd5e1; position: relative; cursor: pointer; transition: all 0.2s ease; 
    display: flex; justify-content: center; align-items: center; overflow: hidden; box-sizing: border-box;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    /* pan-x pan-y -> manipulation: hücreye hızlı iki kez dokunmak zoom yapmasın,
       ama iki parmakla yakınlaştırma engellenmesin (bkz. #game-wrapper notu). */
    touch-action: manipulation;
}
#target-grid .grid-cell { cursor: default; }

#player-grid.grid-container-4x4 { grid-template-columns: repeat(4, 115px); grid-template-rows: repeat(4, 115px); }
#target-grid.grid-container-4x4 { grid-template-columns: repeat(4, 60px); grid-template-rows: repeat(4, 60px); }

/* Seçenek Hücreleri */
.option-cell { transition: var(--transition); border-width: 2px; border-color: #cbd5e1;}
.option-cell:hover { box-shadow: var(--shadow-md); border-color: rgba(16, 185, 129, 0.4); }
.option-cell.selected { border-color: var(--primary); box-shadow: 0 6px 15px var(--primary-glow); background-color: var(--primary-light); }

/* Sembol arama: beyaz tahta içinde yumuşak hücreler */
.symbol-search-layout .grid-container { gap: 8px; padding: 14px; background: var(--white); border-radius: 18px; border: 1px solid #eef0f2; box-shadow: var(--shadow-md); }
.symbol-cell { transition: var(--transition); border-width: 1.5px; border-color: #e2e8f0; border-radius: 10px; background-color: #fbfcfe;}
.symbol-cell img { max-width: 76%; max-height: 76%; object-fit: contain; pointer-events: none; }
.symbol-cell:hover { box-shadow: var(--shadow-md); border-color: rgba(16, 185, 129, 0.4); }
.symbol-cell.selected { border-width: 2.5px; border-color: var(--primary); background-color: var(--primary-light); transform: scale(1.05); box-shadow: 0 6px 15px var(--primary-glow);}

.pattern-0 { background-color: var(--white); }
#player-grid .pattern-1::before { content: ''; position: absolute; top: 0; right: 0; border-top: 115px solid var(--primary); border-left: 115px solid transparent; }
#player-grid .pattern-2::before { content: ''; position: absolute; bottom: 0; left: 0; border-bottom: 115px solid var(--primary); border-right: 115px solid transparent; }
#player-grid .pattern-3::before { content: ''; position: absolute; top: 0; left: 0; border-top: 115px solid var(--primary); border-right: 115px solid transparent; }
#player-grid .pattern-4::before { content: ''; position: absolute; bottom: 0; right: 0; border-bottom: 115px solid var(--primary); border-left: 115px solid transparent; }
#player-grid .pattern-5 { background-color: var(--primary); }

#target-grid .pattern-1::before { content: ''; position: absolute; top: 0; right: 0; border-top: 60px solid var(--primary); border-left: 60px solid transparent; }
#target-grid .pattern-2::before { content: ''; position: absolute; bottom: 0; left: 0; border-bottom: 60px solid var(--primary); border-right: 60px solid transparent; }
#target-grid .pattern-3::before { content: ''; position: absolute; top: 0; left: 0; border-top: 60px solid var(--primary); border-right: 60px solid transparent; }
#target-grid .pattern-4::before { content: ''; position: absolute; bottom: 0; right: 0; border-bottom: 60px solid var(--primary); border-left: 60px solid transparent; }
#target-grid .pattern-5 { background-color: var(--primary); }

/* Alt Kontroller ve Butonlar */
#controls {
    display: flex; justify-content: space-between; align-items: center;
    width: calc(100% - 40px); max-width: 760px; padding: 10px 12px;
    box-sizing: border-box; margin: 14px auto 24px; z-index: 50; position: relative;
    background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid #eef0f2; border-radius: 60px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}
.timer-wrapper {
    display: flex; align-items: center; background: transparent;
    padding: 4px 12px; border: none; box-shadow: none; margin-right: 10px;
}
.icon.clock { font-size: 1.6em; color: var(--gray); margin-right: 10px; }
#timer { font-size: 1.6em; color: var(--dark); font-weight: 500; font-family: monospace;}

.btn-fullscreen {
    background: #f1f5f9; border: none; width: 46px; height: 46px; padding: 0; flex-shrink: 0;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center;
    justify-content: center; margin-right: 6px; transition: var(--transition);
}
.btn-fullscreen svg { width: 22px; height: 22px; fill: var(--gray); transition: var(--transition);}
.btn-fullscreen:hover:enabled { background: #e2e8f0; }
.btn-fullscreen:hover:enabled svg { fill: var(--primary); }

button.skip {
    background: var(--white); color: var(--gray); border: 1px solid #e2e8f0;
    padding: 13px 30px; border-radius: 50px; cursor: pointer; font-size: 1.2em;
    font-weight: 500; box-shadow: var(--shadow-sm); display: flex; align-items: center;
    gap: 8px; transition: var(--transition);
}
/* Hover sadece gerçek fare imlecinde: dokunmatikte tıklama sonrası hover takılı kalmasın */
@media (hover: hover) and (pointer: fine) {
    button.skip:hover:enabled { background: var(--primary-light); color: var(--primary); border-color: var(--primary); box-shadow: 0 4px 15px var(--primary-glow); }
    button#puzzle-continue-button:hover:enabled { transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }
}

button#puzzle-continue-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border: none; padding: 13px 30px; border-radius: 50px;
    cursor: pointer; font-size: 1.2em; font-weight: 500; box-shadow: 0 6px 20px var(--primary-glow);
    display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
button:disabled { opacity: 0.5; cursor: not-allowed; }

/* Bulmaca Stilleri */
.grid-container-3x3 { grid-template-columns: repeat(3, 135px); grid-template-rows: repeat(3, 135px); }
.grid-container-4x4 { grid-template-columns: repeat(4, 105px); grid-template-rows: repeat(4, 105px); }
.grid-container-2x3 { display: grid; grid-template-columns: repeat(2, 145px); grid-template-rows: repeat(3, 145px); }
.grid-container-5x5 { grid-template-columns: repeat(5, 90px); grid-template-rows: repeat(5, 90px); }
.grid-container-6x6 { grid-template-columns: repeat(6, 74px); grid-template-rows: repeat(6, 74px); gap: 10px; }

.logic-cell-content { position: relative; width: 100%; height: 100%; }
.base-shape { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #94a3b8; }
.shape-square { width: 50%; height: 50%; border-radius: 8px; }
.shape-circle { width: 50%; height: 50%; border-radius: 50%; }
.question-mark { font-size: 5em; color: var(--gray); font-weight: bold; }
.shape-triangle { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid #94a3b8; background-color: transparent; }
.corner-dot { position: absolute; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.dot-tl { top: 10px; left: 10px; } .dot-tr { top: 10px; right: 10px; } .dot-bl { bottom: 10px; left: 10px; } .dot-br { bottom: 10px; right: 10px; }

.options-panel { text-align: center; padding: 10px; }
.options-panel h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.1em; color: var(--dark); font-weight: 500; }
.symbol-right-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.target-symbols-container { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
.target-symbol-cell { width: 75px; height: 75px; background-color: #f8fafc; cursor: default; border: 2px dashed #cbd5e1; border-radius: 12px; box-shadow: none;}
.target-symbol-cell img { max-width: 70%; max-height: 70%; object-fit: contain; }
.shape-assembly-layout .option-cell img { max-width: 90%; max-height: 90%; object-fit: contain; width: auto; height: auto; }
/* Renkler gösterilirken tabloya tıklanamaz; gösterim bitince .clickable geliyor */
.leaf-cell { cursor: default; }
.leaf-cell.clickable { cursor: pointer; }
.leaf-cell img { transition: opacity 0.2s ease; }
.target-image-container { 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    background: var(--white); padding: 30px; border-radius: 20px; 
    box-shadow: var(--shadow-md); border: 1px solid #eef0f2;
}
.target-image-container::before { content: "Hedef Şekil"; font-weight: 600; color: var(--gray); margin-bottom: 15px; font-size: 1em; text-transform: uppercase; letter-spacing: 1px; }
.target-image-container img { max-width: 450px !important; width: 100%; height: auto; }


/* Hafıza Digits & Play Butonu Düzeltmeleri */
.memory-layout { display: flex; justify-content: center; align-items: center; gap: 50px; }
.memory-display-panel { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.memory-display-box { width: 260px; height: 260px; background-color: var(--white); border: 2px solid #eef0f2; border-radius: 24px; box-shadow: var(--shadow-md); position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden;}
.pattern-memory-container { position: relative; display: inline-block; padding: 15px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-md); border: 1px solid #eef0f2;}
.memory-play-button { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(248, 250, 252, 0.55); border-radius: inherit; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--dark); z-index: 10; transition: var(--transition); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.memory-play-button .play-icon { font-size: 3.5em; margin-bottom: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); width: 85px; height: 85px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px var(--primary-glow); padding-left: 6px; color: white; animation: playPulse 2s ease-out infinite; }
@keyframes playPulse {
    0%, 100% { box-shadow: 0 8px 25px var(--primary-glow), 0 0 0 0 rgba(16, 185, 129, 0.35); }
    50% { box-shadow: 0 8px 25px var(--primary-glow), 0 0 0 18px rgba(16, 185, 129, 0); }
}
.memory-play-button p { font-size: 1em; margin: 0; font-weight: 500; color: var(--dark); background: var(--white); border: 1px solid #e2e8f0; padding: 8px 20px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.memory-play-button .play-sub { margin-top: 8px; font-size: 0.85em; font-weight: 600; color: var(--gray); }
.memory-play-button:hover { background-color: rgba(248, 250, 252, 0.75); }
.memory-play-button:hover .play-icon { transform: scale(1.05); }
/* Rakam ezberleme: küçük kutuda (260px) yazılar kompakt kalsın */
.memory-display-box .memory-play-button p { font-size: 0.78em; padding: 6px 14px; }
.memory-display-box .memory-play-button .play-sub { font-size: 0.72em; margin-top: 6px; }
.memory-digit-display { font-size: 8em; font-weight: 600; color: var(--dark); z-index: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); letter-spacing: -3px;}
.memory-keypad-panel { display: flex; flex-direction: column; align-items: center; gap: 20px; }
#memory-user-input-display { width: 280px; height: 60px; background: var(--white); font-size: 2em; font-weight: 500; color: var(--dark); letter-spacing: 10px; text-align: center; border: 2px solid #e2e8f0; border-radius: 12px; box-shadow: inset 0 2px 6px rgba(0,0,0,0.02); }
#memory-user-input-display.correct-flash { background-color: #10b981 !important; color: white; border-color: #059669;}
.memory-keypad-grid { display: grid; grid-template-columns: repeat(3, 85px); gap: 12px; }
.memory-keypad-btn { width: 85px; height: 70px; border-radius: 12px; border: 2px solid #e2e8f0; background-color: var(--white); font-size: 2em; font-weight: 500; color: var(--dark); cursor: pointer; transition: var(--transition); box-shadow: 0 4px 10px rgba(0,0,0,0.03);}
.memory-keypad-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(16, 185, 129, 0.15);}
.memory-keypad-btn:disabled { background-color: var(--light); color: #cbd5e1; border-color: #eef0f2; cursor: not-allowed; box-shadow: none;}
.memory-keypad-btn:active:not(:disabled) { transform: scale(0.95); background-color: var(--primary-light); }
.pattern-memory-grid { gap: 8px; }
.pattern-memory-grid.grid-container-3x3 { grid-template-columns: repeat(3, 135px); grid-template-rows: repeat(3, 135px); }
.pattern-memory-grid.grid-container-4x4 { grid-template-columns: repeat(4, 100px); grid-template-rows: repeat(4, 100px); }
.pattern-memory-grid.grid-container-5x5 { grid-template-columns: repeat(5, 80px); grid-template-rows: repeat(5, 80px); }
.pm-cell { pointer-events: none; border-radius: 8px; background-color: #eef2f7; border-color: #e2e8f0; } .pm-cell.clickable { pointer-events: auto; }
.pm-cell.highlighted { background-color: #3b82f6 !important; transform: scale(1.05); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);} .pm-cell.selected { background-color: #10b981 !important; }
.pm-cell.correct-flash { background-color: #10b981 !important; box-shadow: 0 0 25px #10b981; }
#retry-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.85); display: none; justify-content: center; align-items: center; z-index: 99; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);}
.retry-content { background-color: var(--white); padding: 40px; border-radius: 20px; text-align: center; border-top: 6px solid var(--primary); box-shadow: var(--shadow-lg);}
.retry-content h2 { margin-top: 0; font-weight: 600;}
#retry-button { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 14px 32px; font-weight: 500; font-size: 1.1em; border:none; cursor: pointer; border-radius: 12px; box-shadow: 0 8px 20px var(--primary-glow); margin-top: 15px; transition: var(--transition);}
#retry-button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px var(--primary-glow);}

/* Soru Atlama Onay Modalı */
#skip-confirm-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.85); display: none; justify-content: center; align-items: center; z-index: 99; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.skip-confirm-content { background-color: var(--white); padding: 38px 40px; border-radius: 20px; text-align: center; border-top: 6px solid #f59e0b; box-shadow: var(--shadow-lg); max-width: 460px; margin: 0 20px; }
.skip-confirm-icon { width: 62px; height: 62px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background-color: #fef3c7; border-radius: 50%; }
.skip-confirm-content h2 { margin: 0 0 12px; font-weight: 600; color: var(--dark); font-size: 1.35em; }
.skip-confirm-content p { margin: 0 0 28px; color: var(--gray); line-height: 1.65; font-size: 1em; }
.skip-confirm-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#skip-cancel-button { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 14px 30px; font-weight: 500; font-size: 1.05em; border: none; cursor: pointer; border-radius: 12px; box-shadow: 0 8px 20px var(--primary-glow); transition: var(--transition); }
#skip-cancel-button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px var(--primary-glow); }
#skip-confirm-button { background: transparent; color: var(--gray); padding: 14px 24px; font-weight: 500; font-size: 1.05em; border: 2px solid #e2e8f0; cursor: pointer; border-radius: 12px; transition: var(--transition); }
#skip-confirm-button:hover { border-color: #cbd5e1; color: var(--dark); background-color: #f8fafc; }

/* Sözel Anlama Tasarımı */
.text-comprehension-layout { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 800px; margin: 0 auto; }
.text-comprehension-question { background-color: var(--white); border-left: 6px solid var(--primary); padding: 35px; margin-bottom: 30px; font-size: 1.15em; color: var(--dark); font-weight: 500; border-radius: 16px; box-shadow: var(--shadow-md); text-align: center; width: 100%; box-sizing: border-box; line-height: 1.6;}
.text-comprehension-options-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.text-comprehension-option { background-color: var(--white); border: 2px solid #e2e8f0; border-radius: 16px; padding: 20px 25px; cursor: pointer; transition: var(--transition); font-size: 1em; font-weight: 500; color: var(--gray); box-shadow: var(--shadow-sm); }
.text-comprehension-option:hover { border-color: rgba(16, 185, 129, 0.3); box-shadow: var(--shadow-md); color: var(--dark);}
.text-comprehension-option.selected { background-color: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); box-shadow: 0 6px 20px var(--primary-glow); transform: translateY(-2px);}

/* Sayı Dizisi Tasarımı */
.number-sequence-layout { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; max-width: 800px; margin: 0 auto; }
.ns-sequence-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ns-box { width: 78px; height: 78px; display: flex; justify-content: center; align-items: center; background-color: var(--white); border: 2px solid #e2e8f0; border-radius: 16px; font-size: 1.7em; font-weight: 600; color: var(--dark); box-shadow: var(--shadow-sm); }
.ns-box.ns-question { background-color: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); box-shadow: 0 6px 20px var(--primary-glow); }
.answer-divider { display: flex; align-items: center; gap: 14px; width: 100%; color: var(--gray); font-weight: 500; font-size: 0.85em; text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.answer-divider::before, .answer-divider::after { content: ''; flex: 1; min-width: 28px; height: 2px; background: #e2e8f0; border-radius: 2px; }
.options-panel .answer-divider, .symbol-right-panel .answer-divider { margin-bottom: 14px; }
.ns-options-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ns-option { min-width: 92px; padding: 16px 24px; display: flex; justify-content: center; align-items: center; background-color: var(--white); border: 2px solid #cbd5e1; border-radius: 50px; font-size: 1.3em; font-weight: 500; color: var(--dark); box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition); }
.ns-option:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: var(--shadow-md); }
.ns-option.selected { background-color: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); box-shadow: 0 6px 20px var(--primary-glow); transform: translateY(-2px); }

/* RESPONSIVE (MOBİLE/TABLET SIĞDIRMA) AYARLARI */
@media (max-width: 920px) {
    .puzzle-layout-wrapper { flex-direction: column; gap: 20px; }
    /* Alt alta dizilimde cevap panelleri tam genişlik alsın ki ayraç çizgileri uzasın */
    .symbol-right-panel, .options-panel { align-self: stretch; }
    .options-panel { display: flex; flex-direction: column; align-items: center; }
    #game-container { flex-direction: column; gap: 30px; }
    #player-grid { order: 2; }
    #target-wrapper { order: 1; flex-direction: row; gap: 20px; max-width: 100%; }
    .grid-container-2x3 { grid-template-columns: repeat(3, 100px) !important; grid-template-rows: repeat(2, 100px) !important; }
    .grid-container-3x3 { grid-template-columns: repeat(3, 100px); grid-template-rows: repeat(3, 100px); }
    .grid-container-4x4 { grid-template-columns: repeat(4, 78px); grid-template-rows: repeat(4, 78px); }
    .logic-matrix-layout .shape-triangle { border-left-width: 35px; border-right-width: 35px; border-bottom-width: 60px; }
    .corner-dot { width: 20px; height: 20px; }
    .question-mark { font-size: 4em; }
    #player-grid.grid-container-4x4 { grid-template-columns: repeat(4, 80px); grid-template-rows: repeat(4, 80px); }
    #player-grid .pattern-1::before { border-top-width: 80px; border-left-width: 80px; }
    #player-grid .pattern-2::before { border-bottom-width: 80px; border-right-width: 80px; }
    #player-grid .pattern-3::before { border-top-width: 80px; border-right-width: 80px; }
    #player-grid .pattern-4::before { border-bottom-width: 80px; border-left-width: 80px; }
    #target-grid.grid-container-4x4 { grid-template-columns: repeat(4, 40px); grid-template-rows: repeat(4, 40px); }
    #target-grid .pattern-1::before { border-top-width: 40px; border-left-width: 40px; }
    #target-grid .pattern-2::before { border-bottom-width: 40px; border-right-width: 40px; }
    #target-grid .pattern-3::before { border-top-width: 40px; border-right-width: 40px; }
    #target-grid .pattern-4::before { border-bottom-width: 40px; border-left-width: 40px; }
    #iq-header-bar { padding: 15px 15px 10px 15px; min-height: 55px; display: flex; align-items: center; }
    .logo-link { display: none; } /* Mobilde logoyu gizleyerek timeline'a yer açıyoruz */
    .brand-area { display: none; } /* Soru sayacını da gizleyerek timeline'a maksimum alan bırakıyoruz */
    .timeline-area { margin: 0; width: 100%; }
    .timeline-nodes .node { width: 30px; height: 30px; font-size: 0.95em; }
    .target-image-container img { max-width: 100% !important; }
    .target-symbols-container { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .symbol-right-panel { flex-direction: column; }
}

@media (max-width: 600px) {
    #game-wrapper { padding: 0; }
    #target-wrapper { flex-direction: column; text-align: center; gap:10px; }
    #instruction-area { padding: 15px 15px; margin: 0 auto 15px auto; max-width: 100%; border-radius: 0 0 16px 16px; }
    #game-instructions { font-size: 1.1em; }
    .puzzle-layout-wrapper { gap: 15px; }
    .grid-container-3x3 { grid-template-columns: repeat(3, 95px); grid-template-rows: repeat(3, 95px); gap: 4px; }
    .grid-container-4x4 { grid-template-columns: repeat(4, calc(85vw / 4)); grid-template-rows: repeat(4, calc(85vw / 4)); gap: 4px; }
    .grid-container-2x3 { grid-template-columns: repeat(3, 95px) !important; grid-template-rows: repeat(2, 95px) !important; gap: 4px;}
    .grid-container-5x5 { grid-template-columns: repeat(5, calc(85vw / 5)); grid-template-rows: repeat(5, calc(85vw / 5)); gap: 4px;}
    .grid-container-6x6 { grid-template-columns: repeat(6, calc(85vw / 6)); grid-template-rows: repeat(6, calc(85vw / 6)); gap: 4px;}
    .symbol-search-layout .grid-container-5x5 { grid-template-columns: repeat(5, calc((90vw - 52px) / 5)); grid-template-rows: repeat(5, calc((90vw - 52px) / 5)); gap: 5px; padding: 8px; }
    .symbol-search-layout .grid-container-6x6 { grid-template-columns: repeat(6, calc((90vw - 58px) / 6)); grid-template-rows: repeat(6, calc((90vw - 58px) / 6)); gap: 5px; padding: 8px; }
    .pattern-memory-grid { gap: 5px; }
    .pattern-memory-grid.grid-container-3x3 { grid-template-columns: repeat(3, calc(80vw / 3)); grid-template-rows: repeat(3, calc(80vw / 3)); }
    .pattern-memory-grid.grid-container-4x4 { grid-template-columns: repeat(4, calc(80vw / 4)); grid-template-rows: repeat(4, calc(80vw / 4)); }
    .pattern-memory-grid.grid-container-5x5 { grid-template-columns: repeat(5, calc(80vw / 5)); grid-template-rows: repeat(5, calc(80vw / 5)); }
    .logic-matrix-layout .shape-triangle { border-left-width: 25px; border-right-width: 25px; border-bottom-width: 45px; }
    .corner-dot { width: 15px; height: 15px; }
    .dot-tl { top: 5px; left: 5px; } .dot-tr { top: 5px; right: 5px; } .dot-bl { bottom: 5px; left: 5px; } .dot-br { bottom: 5px; right: 5px; }
    .question-mark { font-size: 3em; }
    /* Aranan şekiller: 5 hedef bile tek satırda kalsın (gerekirse küçülür) */
    .target-symbols-container { flex-wrap: nowrap; gap: 8px; }
    .target-symbol-cell { width: min(66px, calc((92vw - 32px) / 5)); height: auto; aspect-ratio: 1 / 1; }
    #player-grid.grid-container-4x4 { grid-template-columns: repeat(4, calc(85vw / 4)); grid-template-rows: repeat(4, calc(85vw / 4)); }
    #player-grid .pattern-1::before { border-top-width: calc(85vw / 4); border-left-width: calc(85vw / 4); }
    #player-grid .pattern-2::before { border-bottom-width: calc(85vw / 4); border-right-width: calc(85vw / 4); }
    #player-grid .pattern-3::before { border-top-width: calc(85vw / 4); border-right-width: calc(85vw / 4); }
    #player-grid .pattern-4::before { border-bottom-width: calc(85vw / 4); border-left-width: calc(85vw / 4); }
    #controls { padding: 8px 10px; width: calc(100% - 24px); margin-bottom: 14px; justify-content: space-between; flex-wrap: nowrap;}
    .timer-wrapper { margin-right: 5px; padding: 4px 8px; font-size: 0.9em;}
    .btn-fullscreen { margin-right: 5px; width: 40px; height: 40px;}
    button.skip, button#puzzle-continue-button { padding: 11px 22px; font-size: 1.05em; }
    /* Sozel sorular: 4 sira yerine 2x2 + kompakt fontlar (yukseklik dussun, scale ~1 kalsin) */
    .text-comprehension-options-container { grid-template-columns: 1fr 1fr; gap: 10px; }
    .text-comprehension-question { padding: 16px 18px; font-size: 0.95em; margin-bottom: 16px; line-height: 1.45; }
    .text-comprehension-option { padding: 12px 14px; font-size: 0.9em; border-radius: 12px; display: flex; justify-content: center; align-items: center; text-align: center; }
    .skip-confirm-content { padding: 26px 22px; }
    .skip-confirm-buttons { flex-direction: column; }
    #skip-cancel-button, #skip-confirm-button { width: 100%; }
    .number-sequence-layout { gap: 22px; width: 92vw; }
    .ns-sequence-row { width: 100%; flex-wrap: nowrap; gap: 6px; }
    .ns-box { flex: 1 1 0; width: auto; height: auto; min-width: 0; aspect-ratio: 1 / 1; font-size: 1.25em; border-radius: 12px; }
    .answer-divider { font-size: 0.75em; letter-spacing: 1px; }
    .ns-options-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
    .ns-option { min-width: 0; padding: 14px 10px; font-size: 1.15em; }
    .target-image-container { padding: 15px; }
    .memory-layout { flex-direction: column; gap: 20px;}
    .memory-display-box { width: 200px; height: 200px;}
    .memory-digit-display { font-size: 6em;}
}

/* -------------------------------------------------------------
   DEV EKRANLAR İÇİN OTOMATİK ÖLÇEKLENDİRME
------------------------------------------------------------- */
@media (min-width: 1440px) and (min-height: 850px) {
    #game-main-area {
        transform: scale(1.15); 
        transform-origin: center center;
    }
}

@media (min-width: 1920px) and (min-height: 1000px) {
    #game-main-area {
        transform: scale(1.50); 
        transform-origin: center center;
    }
}

@media (min-width: 2560px) and (min-height: 1300px) {
    #game-main-area {
        transform: scale(1.65); 
        transform-origin: center center;
    }
}

/* ============================================
   YATAY SONUÇ EKRANI (TAM GENİŞLİK & FERAH DÜZEN)
   ============================================ */
#final-results-wrapper.horizontal-layout {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Header ile aynı boy */
    margin: 0 auto;
    margin-bottom: 30px;
	margin-top: 40px;
    animation: slideInUp 0.6s ease-out;
    box-sizing: border-box; /* DİKKAT: Kutuyu sabitlemek için eklendi */
}

.horizontal-layout .result-panel {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: var(--white);
    border: 1px solid #eef0f2;
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: var(--shadow-md);
    border-top: 6px solid var(--primary);
    position: relative;
    overflow: hidden;
    overflow: clip; /* hidden'dan farkı: scrollIntoView paneli içten kaydıramaz (kupa üstteki boşluğunu korur) */
    gap: 40px;
    align-items: stretch;
    box-sizing: border-box; /* DİKKAT: Paddingin taşırmaması için */
}

.horizontal-layout .result-panel::after {
    content: '🧠';
    position: absolute;
    font-size: 14em;
    opacity: 0.02;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
}

/* --- SOL BLOK (Geniş, Ortalı ve Renkli) --- */
.horizontal-layout .result-left {
    flex: 0.8;
    min-width: 360px; /* Sıkışmayı kesin olarak engeller */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.06);
    padding-right: 40px;
    justify-content: flex-start;
    gap: 12px;
    z-index: 1;
    box-sizing: border-box;
}

.horizontal-layout .result-left-top,
.horizontal-layout .result-left-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.horizontal-layout .result-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.horizontal-layout .col-trophy {
    font-size: 2.5em;
    margin: 0;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.4));
}

.horizontal-layout .header-text h2 {
    font-size: 1.1em;
    margin: 0 0 4px 0;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
}

.horizontal-layout .success-text {
    color: #10b981;
    font-size: 0.65em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e7f6ee;
    padding: 4px 10px;
    border-radius: 12px;
    margin: 0;
}

.horizontal-layout .iq-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    width: 100%;
}

/* Görselliği kaybolan Skor Yuvarlağı Geri Getirildi */
.horizontal-layout .iq-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    box-shadow: 0 8px 20px var(--primary-glow);
    border: 3px solid var(--white);
    margin: 0;
}

.horizontal-layout .iq-level-name {
    color: var(--primary-dark);
    font-size: 0.75em;
    font-weight: 600;
    background: var(--primary-light);
    padding: 6px 18px;
    border-radius: 24px;
    margin: 0;
}

.horizontal-layout .result-rank-line {
    background: #f4f6fb;
    border: 1px solid rgba(16,185,129,0.18);
    border-radius: 12px;
    padding: 12px 10px;
    font-size: 0.7em;
    color: #334155;
    line-height: 1.5;
    width: 100%;
    margin: 0 0 16px 0;
}
/* Bilgi kutusu içi mini istatistikler: Doğru · Yanlış · Süre */
.horizontal-layout .result-mini-stats {
    display: flex; justify-content: center; align-items: center; gap: 12px;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px dashed rgba(16, 185, 129, 0.3);
    font-weight: 800; white-space: nowrap;
}
.horizontal-layout .rms-item { display: inline-flex; align-items: center; gap: 4px; }
.horizontal-layout .rms-good { color: #16a34a; }
.horizontal-layout .rms-bad { color: #dc2626; }
.horizontal-layout .rms-sep { width: 1px; height: 13px; background: #cbd5e1; }

.horizontal-layout #replay-button {
    margin: 0;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1.1em;
    border-radius: 12px;
    background: var(--dark);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.horizontal-layout #replay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.3);
    background: #1e293b;
}

/* --- SAĞ BLOK (İstatistikler) --- */
.horizontal-layout .result-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    box-sizing: border-box;
}

.horizontal-layout .iq-share-box {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
}

.horizontal-layout .iq-share-title { margin: 0 0 10px 0; font-size: 0.95em; color: #555; font-weight: 600; }
.horizontal-layout .iq-share-buttons { 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
    flex-wrap: wrap; /* DİKKAT: Butonların dışarı taşmasını engeller */
}

.horizontal-layout .iq-share-btn {
    padding: 10px 14px;
    font-size: 0.9em;
    border-radius: 10px;
    gap: 6px;
    flex: 1;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
    color: #fff;
}

.horizontal-layout .iq-share-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.horizontal-layout .iq-share-wa { background: #25D366; }
.horizontal-layout .iq-share-x { background: #000000; }
.horizontal-layout .iq-share-copy { background: #6366f1; }

/* Dar masaüstü + mobil: yan yana düzen 1150px altında sıkışıyor
   (sol sütun min 360px yer kaplayınca oyun kartlarına ~160px kalıyor
   ve kartlar dar-uzun görünüyor) — o yüzden alt alta dizilime erken geçilir. */
@media (max-width: 1150px) {
    #final-results-wrapper.horizontal-layout { margin-top: 0; }
    /* Kırmızı üst şerit ve üst köşe yuvarlaklığı mobilde yok — kart header'a yapışık */
    .horizontal-layout .result-panel { flex-direction: column; padding: 20px; gap: 18px; border-top: none; border-radius: 0 0 24px 24px; }
    .horizontal-layout .result-left { display: contents; }
    .horizontal-layout .result-left-top { order: 1; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 20px; width: 100%; gap: 8px; }
    .horizontal-layout .result-right { order: 2; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 25px; width: 100%; padding: 0; gap: 15px; }
    .horizontal-layout .result-left-bottom { order: 3; width: 100%; }
    /* Üst bölümdeki gereksiz boşlukları topla */
    .horizontal-layout .col-trophy { font-size: 2em; }
    .horizontal-layout .iq-score-display { margin: 4px 0; gap: 10px; }
    .horizontal-layout .result-rank-line { margin-bottom: 4px; }
}

/* Mobilde oyun vitrinine kaydırma daveti (masaüstünde oyunlar sağda görünür — buton gizli) */
#games-scroll-cue { display: none; }
@media (max-width: 1150px) {
    #games-scroll-cue {
        display: inline-flex; align-items: center; gap: 8px;
        margin: 6px auto 0; padding: 12px 24px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
        border: none; border-radius: 50px; font-weight: 500; font-size: 0.8em;
        cursor: pointer; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
        animation: cueBounce 2.2s ease-in-out infinite;
    }
    #games-scroll-cue .cue-arrow { font-size: 1.1em; animation: arrowNudge 1.4s ease-in-out infinite; }
}
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes arrowNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ================================================================
   MOBIL TAM-EKRAN OLCEKLEME  (masaustu etkilenmez)
   #game-stage masaustunde #game-main-area'nin kolon rolunu devralir;
   olcekleme sadece @media (max-width:920px) icinde devreye girer.
================================================================ */
#game-stage { width: 100%; display: flex; flex-direction: column; align-items: center; }

@media (max-width: 920px) {
    #game-wrapper {
        height: calc(var(--vh, 1vh) * 100); /* eski tarayici yedegi */
        height: 100dvh;                      /* adres cubugu acilip kapaninca uyum saglar */
        overflow: hidden;                    /* kaydirma yok */
    }
    body.focus-mode-active #game-wrapper {
        overflow: hidden !important;
        height: 100dvh !important;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }
    #iq-header-bar, #controls { flex-shrink: 0; }  /* timer + Atla her zaman gorunur */
    #game-main-area {
        flex: 1 1 auto; overflow: hidden;
        display: flex; align-items: center; justify-content: center;
        padding: 0 8px;
    }
    #game-stage {                                  /* SADECE bu olceklenir */
        transform: scale(var(--game-scale, 1));
        transform-origin: center center;
        transition: transform .15s ease;
    }
}


/* === Sonuc sayfasi olcekleme disinda: normal akis + kaydirma === */
@media (max-width: 920px) {
    body.iq-finished #game-wrapper { height: auto; overflow: visible; }
    body.iq-finished #game-main-area { overflow: visible; padding: 0; }
    body.iq-finished #game-stage { transform: none; width: 100%; }
}

/* --- YENI ZEKÂ OYUNLARI CSS (Schulte, Hafıza, Stroop) --- */

/* Schulte Tablosu */
.schulte-grid { display: grid; gap: 5px; max-width: 420px; margin: 0 auto; width: 88%; aspect-ratio: 1/1; }
.schulte-cell { aspect-ratio: 1; border: 1.5px solid #e2e8f0; background: #fff; border-radius: 8px; font-size: clamp(16px, 5vw, 24px); font-weight: 500; color: #1e293b; cursor: pointer; font-family: 'Poppins', sans-serif; display: flex; align-items: center; justify-content: center; transition: transform .08s, background .15s, border-color .15s; user-select: none; }
.schulte-cell:hover { border-color: #6ee7b7; }
.schulte-cell.correct { background: #dcfce7; border-color: #86efac; color: #16a34a; pointer-events: none; }
.schulte-cell.wrong { background: #fee2e2; border-color: #fca5a5; animation: iqShake 0.25s; }

/* Hafıza Kartları */
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 450px; margin: 0 auto; width: 88%; }
.memory-card { aspect-ratio: 1/1; perspective: 1000px; cursor: pointer; border-radius: 14px; position: relative; transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.memory-card:active { transform: scale(0.95); }
.memory-card.is-flipped { transform: rotateY(180deg); }
.memory-card.is-matched { transform: rotateY(180deg) scale(1.05); pointer-events: none; z-index: 2; }
.card-face { width: 100%; height: 100%; position: absolute; inset: 0; backface-visibility: hidden; border-radius: 14px; display: flex; justify-content: center; align-items: center; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border: 2px solid #e2e8f0; }
.card-front { transform: rotateY(180deg); background: #fff; }
.card-back { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); border: 3px solid rgba(255, 255, 255, 0.3); transition: filter 0.2s; }
.memory-card:hover .card-back { filter: brightness(1.1); }
.memory-card.is-matched .card-front { border-color: #22c55e; }
.card-back img, .card-front img { max-width: 75%; max-height: 75%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.card-back img { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); opacity: 0.9; }

/* Stroop Testi */
.stroop-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; height: 100%; width: 100%; padding: 20px;}
.st-word-card { min-width: min(560px, 92%); min-height: 170px; background: #ffffff; border-radius: 28px; display: flex; align-items: center; justify-content: center; padding: 26px 40px; box-shadow: 0 18px 45px rgba(15,23,42,.08); border: 3px solid #eef2ff; position: relative; transition: border-color .18s, box-shadow .18s, background .3s; }
.st-word-card.good { border-color: #86efac; box-shadow: 0 18px 45px rgba(34,197,94,.18); }
.st-word-card.bad  { border-color: #fca5a5; box-shadow: 0 18px 45px rgba(239,68,68,.18); animation: stShake .3s; }
@keyframes stShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.st-word { font-size: clamp(5rem, 12vw, 6rem); font-weight: 700; letter-spacing: 2px; line-height: 1; user-select: none; animation: stPop .22s cubic-bezier(.34,1.56,.64,1); text-transform: uppercase; text-shadow: 0 4px 20px rgba(0,0,0,0.05); }
@keyframes stPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.stroop-options { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.stroop-btn { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #fff; cursor: pointer; position: relative; box-shadow: 0 10px 24px rgba(15,23,42,.18), inset 0 -6px 12px rgba(0,0,0,.18), inset 0 6px 10px rgba(255,255,255,.35); transition: transform .14s cubic-bezier(.34,1.56,.64,1), box-shadow .14s; }
.stroop-btn::after { content: ''; position: absolute; top: 14%; left: 18%; width: 34%; height: 22%; background: rgba(255,255,255,.75); border-radius: 50%; transform: rotate(-25deg); }
@media (hover: hover) { .stroop-btn:hover { border-color: #7c3aed; } }
.stroop-btn:active { transform: scale(.94); }
.stroop-btn.wrong { animation: iqShake 0.3s; opacity: 0.5; }
/* Dar ekran: 4 renk topu tek satırda kalsın (gerekirse küçülür).
   NOT: Bu blok, aynı seçicili temel kurallardan SONRA gelmeli (media query öncelik eklemez). */
@media (max-width: 600px) {
    .stroop-options { flex-wrap: nowrap; gap: 10px; }
    .stroop-btn { width: min(80px, calc((90vw - 30px) / 4 - 8px)); height: auto; aspect-ratio: 1 / 1; }
}

@keyframes iqShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Oyun Vitrini (Sonuç Sayfası) */
.iq-games-showcase { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); scroll-margin-top: 76px; /* scrollIntoView'da sticky header'ın altında kalmasın */ }
.iq-games-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px 0; }
.iq-games-title { flex: 1; min-width: 0; font-size: 0.82em; font-weight: 500; color: #1e293b; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.iq-games-head .iq-games-title { margin: 0; }
.iq-games-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; font-size: 0.78em; font-weight: 600; color: #6366f1; background: #eef2ff; border: 1px solid #e0e7ff; border-radius: 50px; padding: 6px 14px; transition: var(--transition); }
@media (hover: hover) { .iq-games-all:hover { background: #6366f1; border-color: #6366f1; color: #fff; } }
.iq-games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Yeni Oyun Vitrini Kartları (zeka-oyunlari.php stili) */
.tm-game-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all .3s ease; text-decoration: none!important; color: inherit!important; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 4px 10px rgba(0,0,0,.03); }
.tm-game-card:hover { border-color: #10b981; box-shadow: 0 12px 25px rgba(16,185,129,.1) }
.tm-game-card:hover .tm-game-img img { transform: scale(1.05); }
.tm-game-img { aspect-ratio: 16/9; overflow: hidden; background: #f8fafc; position: relative; width: 100%; }
.tm-game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tm-game-body { padding: 16px 14px 14px; flex: 1; display: flex; flex-direction: column; position: relative; }
.tm-game-tag { position: absolute; top: -12px; right: 14px; background: #6366f1; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 50px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 2; }
.tm-game-tag.tag-dik { background: #ec4899; }
.tm-game-tag.tag-haf { background: #8b5cf6; }
.tm-game-tag.tag-man { background: #0ea5e9; }
.tm-game-tag.tag-kel { background: #f59e0b; }
.tm-game-tag.tag-dil { background: #10b981; }
.tm-game-tag.tag-mat { background: #f59e0b; }
.tm-game-body h2 { font-size: 14px; font-weight: 600; color: #1e1b4b; margin: 0 0 6px; line-height: 1.3; font-family: 'Poppins', sans-serif;}
.tm-game-body p { font-size: 12px; color: #64748b; line-height: 1.4; flex: 1; font-weight: 500; margin: 0;}

/* Mobil: vitrin ikili kompakt ızgara (zeka-oyunlari sayfasındaki desenle aynı —
   açıklama gizli, görsel+başlık+etiket) */
@media (max-width: 600px) {
    .iq-games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .iq-games-showcase { padding: 16px 12px; }
    .iq-games-head { gap: 8px; }
    .iq-games-title { font-size: 0.78em; }
    .iq-games-all { font-size: 0.72em; padding: 5px 11px; }
    .tm-game-card { border-radius: 12px; }
    .tm-game-body { padding: 10px 10px 12px; }
    .tm-game-body h2 { font-size: 12.5px; margin: 0; line-height: 1.35; }
    .tm-game-body p { display: none; }
    .tm-game-tag { top: -10px; right: 8px; padding: 3px 8px; font-size: 9px; }
}

/* =============================================================
   KISA MASAÜSTÜ EKRANLAR (21-24 inç / 1080p): giriş ekranı tek
   ekrana sığsın — boşluk ve dolgular sıkışır, içerik kırpılmaz.
============================================================= */
@media (min-width: 993px) and (max-height: 1080px) {
    #initial-info-screen { margin: 18px auto; gap: 28px; }
    .mss-card { padding: 30px 40px; }
    .mss-left h1 { font-size: 1.9em; margin-bottom: 8px; }
    .mss-subtitle { font-size: 1em; margin-bottom: 12px !important; }
    .mss-social-proof { margin-bottom: 18px; padding: 5px 16px 5px 7px; }
    .mss-input-group { margin-bottom: 16px; }
    .mss-input-group label { margin-bottom: 6px; }
    .mss-input-wrapper input { padding: 13px 13px 13px 46px !important; }
    #initial-start-button { padding: 14px; margin-bottom: 16px; font-size: 1.1em; }
    .mss-security-box { padding: 12px 14px; }
    .mss-right { padding: 18px; }
    .mss-scores-header { margin-bottom: 14px; }
    .mss-trophy { width: 46px; height: 46px; font-size: 1.4em; }
    #weekly-high-scores { margin-bottom: 12px; }
    #weekly-high-scores li { padding: 10px 14px !important; margin-bottom: 7px; }
    #weekly-high-scores li.score-normal { padding: 10px 14px !important; margin-bottom: 7px; }
    .toggle-scores-btn { padding: 10px; }
    .mss-bottom-features { gap: 16px; }
    .mss-feat-item { padding: 14px 16px; }
    .mss-feat-icon { width: 42px; height: 42px; border-radius: 12px; }
    .mss-feat-icon svg { width: 22px; height: 22px; }
}

/* ===== Sonuç ekranı isim yakalama — sağ kenar sekmesi + açılır panel (ekranı kapatmaz) ===== */
.iq-name-tab {
    position: fixed; right: 0; top: 50%; z-index: 9999;
    transform: translate(112%, -50%); transition: transform .42s cubic-bezier(.22,1,.36,1);
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 16px 9px; border: none; cursor: pointer;
    background: linear-gradient(160deg, #10b981, #059669); color: #fff;
    border-radius: 16px 0 0 16px; box-shadow: -6px 8px 24px rgba(16,185,129,.4);
}
.iq-name-tab.show   { transform: translate(0, -50%); }
.iq-name-tab.hidden { transform: translate(112%, -50%); }
.iq-nt-emoji { font-size: 23px; line-height: 1; }
.iq-nt-text  { writing-mode: vertical-rl; text-orientation: upright; font-weight: 800; font-size: 12px; letter-spacing: 3px; }
.iq-nt-arrow { font-size: 17px; line-height: 1; }

.iq-name-panel {
    position: fixed; right: 12px; top: 50%; z-index: 10000;
    transform: translate(135%, -50%); transition: transform .42s cubic-bezier(.22,1,.36,1);
    width: 380px; max-width: calc(100vw - 24px);
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
    box-shadow: 0 18px 55px rgba(79,70,229,.28); padding: 18px;
}
/* Mobilde panel sol kenara kadar uzansın (isim alanı geniş olsun) */
@media (max-width: 640px) {
    .iq-name-panel { left: 12px; right: 12px; width: auto; max-width: none; }
}
.iq-name-panel.show { transform: translate(0, -50%); }
.iq-name-panel-x { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 22px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 2px 6px; }
.iq-name-panel-x:hover { color: #4b5563; }
.iq-name-panel-head { display: flex; gap: 11px; align-items: center; margin-bottom: 14px; padding-right: 18px; }
.iq-np-emoji { font-size: 24px; flex-shrink: 0; }
.iq-name-panel-head strong { display: block; font-size: 15px; color: #111827; font-weight: 700; }
.iq-name-panel-head span { font-size: 12.5px; color: #6b7280; line-height: 1.4; }
.iq-name-panel-row { display: flex; flex-direction: column; gap: 10px; }
#iq-name-prompt-input { height: 46px; padding: 0 14px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 15px; font-family: inherit; outline: none; transition: border-color .15s; }
#iq-name-prompt-input:focus { border-color: #6366f1; }
#iq-name-prompt-save { height: 46px; border: none; border-radius: 12px; background: linear-gradient(135deg,#10b981,#059669); color: #fff; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: transform .12s; box-shadow: 0 6px 16px rgba(16,185,129,.32); }
#iq-name-prompt-save:hover { transform: translateY(-1px); }
.iq-np-done { padding: 10px 4px; font-size: 15px; color: #065f46; text-align: center; font-weight: 700; }

/* Yeni akış: başlangıç ekranının altındaki içerik alanının responsive düzeni */
@media (max-width: 992px) {
    .iq-seo-overview-card { grid-template-columns: 1fr; gap: 24px; }
    .iq-seo-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .iq-summary-card { width: 100%; position: static; box-sizing: border-box; }
}
@media (max-width: 768px) {
    .iq-seo-overview { padding: 28px 14px 0; }
    .iq-seo-overview-card { gap: 20px; padding: 24px 20px; border-radius: 22px; }
    .iq-seo-kicker { margin-bottom: 12px; font-size: 9.5px; letter-spacing: .07em; }
    .iq-seo-copy h2 { font-size: 23px; }
    .iq-seo-copy p { font-size: 13px; line-height: 1.7; }
    .iq-seo-stats { gap: 7px; }
    .iq-seo-stats div { padding: 11px 8px; border-radius: 12px; }
    .iq-seo-stats strong { font-size: 12px; }
    .iq-seo-stats span { font-size: 9.5px; }
    #lp-wrapper .steps-section {
        margin-top: 24px; padding: 24px 13px 14px !important;
        border-radius: 24px; box-shadow: 0 8px 28px rgba(15,23,42,.06);
    }
    .iq-summary-card { padding: 22px; border-radius: 16px; }
    .iq-summary-card h3 { font-size: 18px; }
}
@media (max-width: 360px) {
    .iq-seo-stats { grid-template-columns: 1fr; }
    .iq-seo-stats div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .iq-seo-stats strong,.iq-seo-stats span { margin: 0; }
    .iq-seo-stats span { text-align: right; }
}

/* ==============================================================
   IQ REHBERİ — başlangıç kartının altındaki yeni editoryal tasarım
   ============================================================== */
#lp-wrapper {
    padding: 0 0 76px;
    background: #f5f7f7;
    color: #475569;
}
#lp-wrapper .lp-container { max-width: 1280px; padding-left: 32px; padding-right: 32px; }

.iq-guide-intro { padding-top: 76px; }
.iq-guide-heading {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.82fr);
    align-items: end; gap: 72px; padding-bottom: 34px;
    border-bottom: 1px solid #dce4e2;
}
.iq-guide-eyebrow,.iq-card-kicker,.iq-section-heading > span {
    display: inline-block; margin-bottom: 12px;
    color: #059669; font-size: 12px; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
}
.iq-guide-heading h2 {
    margin: 0; color: #0f172a; font-size: clamp(34px,3.2vw,48px);
    line-height: 1.12; letter-spacing: -.035em;
}
.iq-guide-heading > p {
    margin: 0; color: #526072; font-size: 16px; line-height: 1.85;
}
.iq-skill-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.iq-skill-grid article {
    min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 14px;
    padding: 22px; border: 1px solid #e2e8e6; border-radius: 18px;
    background: #fff; box-shadow: 0 7px 24px rgba(15,23,42,.045);
}
.iq-skill-grid article > div { min-width: 0; }
.iq-skill-grid article > span {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #047857; background: #e8f8f1; font-size: 12px; font-weight: 700;
}
.iq-skill-grid h3 { margin: 1px 0 5px; color: #172033; font-size: 15px; line-height: 1.3; }
.iq-skill-grid p { margin: 0; color: #64748b; font-size: 12.5px; line-height: 1.55; }

.iq-process { padding-top: 78px; padding-bottom: 78px; }
.iq-section-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.iq-section-heading h2 { margin: 0 0 10px; color: #0f172a; font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
.iq-section-heading p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.7; }
.iq-process .steps-progress,.iq-process .section-sub,.iq-process .why-highlight,.iq-process .lp-trust-row { display: none !important; }
.iq-process .steps-3d-grid { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.iq-process .step-card-3d {
    min-width: 0; position: relative; padding: 28px 22px 24px;
    align-items: stretch; text-align: center; background: transparent; border: 0; border-top: 1px solid #cfd9d6;
    border-radius: 0; box-shadow: none;
}
.iq-process .step-card-3d::before { display: none; }
.iq-process .step-number-badge {
    position: static; transform: none; width: 30px; height: 30px; margin: -44px 0 20px;
    align-self: center;
    display: flex !important; align-items: center; justify-content: center;
    background: #fff; color: #059669; border: 1px solid #a7d8c9;
    box-shadow: 0 0 0 7px #f5f7f7; font-size: 12px;
}
.iq-process .step-icon-3d {
    width: 44px; height: 44px; margin: 0 0 14px; padding: 0;
    align-self: center;
    display: flex; align-items: center; justify-content: center;
    color: #059669; background: #e8f8f1; border-radius: 13px;
}
.iq-process .step-icon-3d svg { width: 23px; height: 23px; }
.iq-process .step-card-3d h4 { margin: 0 0 7px; color: #172033; font-size: 15px; }
.iq-process .step-card-3d p { margin: 0; color: #64748b; font-size: 12.5px; line-height: 1.6; }

.iq-guide-details { padding: 76px 0; background: #fff; border-top: 1px solid #e7eceb; border-bottom: 1px solid #e7eceb; }
.iq-guide-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 28px; align-items: start; }
.iq-definition-card {
    padding: 38px; border: 1px solid #e4e9e8; border-radius: 24px;
    background: #fbfcfc;
}
.iq-definition-card > h2 { margin: 0 0 14px; color: #0f172a; font-size: 30px; letter-spacing: -.025em; }
.iq-definition-card > p { margin: 0; color: #526072; font-size: 15.5px; line-height: 1.8; }
.iq-definition-card > .modern-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 16px; margin: 26px 0 38px; }
.iq-definition-card > .modern-list li { margin: 0; font-size: 13.5px; }
.iq-definition-card > .modern-list li::before { width: 25px; height: 25px; flex: 0 0 25px; }
.iq-faq-title { margin: 38px 0 16px !important; padding-top: 34px; border-top: 1px solid #e2e8e6; color: #0f172a; font-size: 25px !important; }
.iq-definition-card .modern-accordion details { margin-bottom: 9px; border-color: #e2e8e6; box-shadow: none; }
.iq-definition-card .modern-accordion summary { padding: 16px 18px; font-size: 13.5px; }
.iq-definition-card .modern-accordion .faq-content { padding: 0 18px 18px; font-size: 13.5px; }

.iq-guide-grid .iq-summary-card {
    position: sticky; top: 96px; width: auto; padding: 30px;
    background: #0f3b32; border: 0; border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15,59,50,.16);
}
.iq-guide-grid .iq-summary-label { color: #6ee7b7; }
.iq-guide-grid .iq-summary-card h3 { color: #fff; font-size: 23px; }
.iq-guide-grid .iq-summary-card li { padding: 15px 0 15px 30px; border-top: 1px solid rgba(255,255,255,.1); }
.iq-guide-grid .iq-summary-card li::before { left: 0; top: 17px; color: #6ee7b7; }
.iq-guide-grid .iq-summary-card strong { color: #fff; font-size: 13.5px; }
.iq-guide-grid .iq-summary-card span { color: #b9d4cc; font-size: 12.5px; }
.iq-guide-grid .iq-summary-card a {
    display: inline-flex; margin-top: 3px; padding: 11px 14px; border-radius: 10px;
    background: rgba(110,231,183,.12); color: #a7f3d0; font-size: 12px;
}

.iq-knowledge { padding-top: 76px; }
.iq-knowledge-body { max-width: 1120px; margin: 0 auto; }
.iq-knowledge-body > h2 { margin: 66px 0 14px; color: #0f172a; font-size: 29px; line-height: 1.25; letter-spacing: -.025em; }
.iq-knowledge-body > h2:first-child { margin-top: 0; }
.iq-knowledge-body > h2:not(:first-child) { padding-top: 56px; border-top: 1px solid #dce4e2; }
.iq-knowledge-body > p { max-width: 920px; margin: 0 0 25px; color: #526072; font-size: 15.5px; line-height: 1.8; }
.iq-knowledge-body .seo-iq-table {
    margin: 0; border: 1px solid #dfe7e4; border-radius: 18px;
    background: #fff; box-shadow: 0 8px 26px rgba(15,23,42,.05); font-size: 14px;
}
.iq-knowledge-body .seo-iq-table th { padding: 16px 18px; background: #eaf8f3; font-size: 12.5px; }
.iq-knowledge-body .seo-iq-table td { padding: 15px 18px; line-height: 1.55; }
.iq-dual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 66px; padding-top: 56px; border-top: 1px solid #dce4e2; }
.iq-list-card { padding: 28px; background: #fff; border: 1px solid #dfe7e4; border-radius: 20px; box-shadow: 0 8px 26px rgba(15,23,42,.045); }
.iq-list-card h2 { margin: 0 0 10px; color: #0f172a; font-size: 23px; line-height: 1.3; }
.iq-list-card p { margin: 0 0 20px; color: #64748b; font-size: 13.5px; line-height: 1.7; }
.iq-list-card .modern-list { margin: 0; }
.iq-list-card .modern-list li { margin-bottom: 10px; font-size: 13px; }
.iq-list-card .modern-list li::before { width: 24px; height: 24px; flex: 0 0 24px; }
.iq-disclaimer {
    max-width: none !important; margin: 24px 0 0 !important; padding: 18px 22px;
    color: #526072 !important; background: #edf7f3; border-left: 4px solid #10b981;
    border-radius: 0 12px 12px 0; font-size: 13px !important; text-align: left;
}

@media (max-width: 992px) {
    #lp-wrapper .lp-container { padding-left: 22px; padding-right: 22px; }
    .iq-guide-heading { grid-template-columns: 1fr; gap: 18px; }
    .iq-skill-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .iq-process .steps-3d-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 12px; }
    .iq-process .steps-3d-grid .step-card-3d:nth-child(4) { display: block; }
    .iq-guide-grid { grid-template-columns: 1fr; }
    .iq-guide-grid .iq-summary-card { position: static; }
}

@media (max-width: 600px) {
    #lp-wrapper { padding-bottom: 48px; }
    #lp-wrapper .lp-container { padding-left: 18px; padding-right: 18px; }
    .iq-guide-intro { padding-top: 48px; }
    .iq-guide-heading { padding-bottom: 25px; }
    .iq-guide-eyebrow,.iq-card-kicker,.iq-section-heading > span { font-size: 10.5px; }
    .iq-guide-heading h2 { font-size: 29px; line-height: 1.16; }
    .iq-guide-heading > p { font-size: 14.5px; line-height: 1.75; }
    .iq-skill-grid { gap: 9px; margin-top: 20px; }
    .iq-skill-grid article { display: block; padding: 15px; border-radius: 15px; }
    .iq-skill-grid article > span { width: 31px; height: 31px; margin-bottom: 12px; }
    .iq-skill-grid h3 { font-size: 14px; }
    .iq-skill-grid p { font-size: 12px; line-height: 1.5; }
    .iq-process { padding-top: 58px; padding-bottom: 54px; }
    .iq-section-heading { margin-bottom: 38px; text-align: left; }
    .iq-section-heading h2 { font-size: 25px; }
    .iq-section-heading p { font-size: 14px; }
    .iq-process .steps-3d-grid { gap: 38px 8px; padding: 0; }
    .iq-process .step-card-3d { padding: 24px 8px 0; text-align: left; }
    .iq-process .step-number-badge,
    .iq-process .step-icon-3d { align-self: flex-start; }
    .iq-process .step-number-badge { margin-top: -40px; }
    .iq-process .step-card-3d h4 { font-size: 14px; }
    .iq-process .step-card-3d p { font-size: 12px; }
    .iq-guide-details { padding: 48px 0; }
    .iq-guide-grid { gap: 14px; }
    .iq-definition-card { padding: 23px 19px; border-radius: 19px; }
    .iq-definition-card > h2 { font-size: 25px; }
    .iq-definition-card > p { font-size: 14.5px; line-height: 1.75; }
    .iq-definition-card > .modern-list { grid-template-columns: 1fr; margin: 22px 0 30px; }
    .iq-definition-card > .modern-list li { font-size: 13.5px; }
    .iq-faq-title { margin-top: 30px !important; padding-top: 28px; font-size: 22px !important; }
    .iq-definition-card .modern-accordion summary { padding: 15px; font-size: 13px; }
    .iq-definition-card .modern-accordion .faq-content { padding: 0 15px 16px; font-size: 13px; line-height: 1.65; }
    .iq-guide-grid .iq-summary-card { padding: 23px 20px; border-radius: 18px; }
    .iq-guide-grid .iq-summary-card h3 { font-size: 20px; }
    .iq-knowledge { padding-top: 50px; }
    .iq-knowledge-body > h2 { margin-top: 48px; font-size: 24px; }
    .iq-knowledge-body > h2:not(:first-child) { padding-top: 42px; }
    .iq-knowledge-body > p { font-size: 14.5px; line-height: 1.75; }
    .iq-knowledge-body .seo-iq-table { table-layout: fixed; font-size: 12px; border-radius: 14px; }
    .iq-knowledge-body .seo-iq-table th { padding: 11px 8px; font-size: 10.5px; line-height: 1.35; }
    .iq-knowledge-body .seo-iq-table td { padding: 11px 8px; line-height: 1.45; word-break: normal; overflow-wrap: anywhere; }
    .iq-dual-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; padding-top: 42px; }
    .iq-list-card { padding: 22px 19px; border-radius: 17px; }
    .iq-list-card h2 { font-size: 21px; }
    .iq-list-card p { font-size: 14px; }
    .iq-list-card .modern-list li { font-size: 13.5px; }
    .iq-disclaimer { padding: 16px 17px; font-size: 12.5px !important; line-height: 1.65 !important; }
}
