/* ═══════════════════════════════════════════════════════
   MOBILE FULLSCREEN FIX — Tam Ekran Sığma Garantisi
   Tüm mobil cihazlarda ekran boyutuna tam uyum sağlar.
   --vh: JavaScript ile hesaplanan gerçek viewport yüksekliği
   ═══════════════════════════════════════════════════════ */

/* --vh fallback: JS'den hesaplanan gerçek viewport yüksekliği */
:root {
    --vh: 1vh;
}

/* Sadece mobilde görünen elemanlar (Desktopta gizli) */
.mobile-only {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════
   MOBİL HAMBURGER BUTONU
   ═══════════════════════════════════════════════════════ */
.mobile-hamburger {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.7));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-hamburger:active {
    transform: scale(0.92);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger açıkken X olsun */
.mobile-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════
   YANDAN AÇILIR MENÜ (SIDE MENU)
   ═══════════════════════════════════════════════════════ */
.side-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1300;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.active {
    right: 0;
}

/* Header */
.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-menu-logo {
    font-size: 1.6rem;
}

.side-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}

.side-menu-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.side-menu-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.15);
}

/* Body */
.side-menu-body {
    flex: 1;
    padding: 12px 10px;
    overflow-y: auto;
}

.side-menu-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-menu-section-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    padding: 8px 14px 6px;
}

.side-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 14px;
}

/* Menu Items */
.side-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.side-menu-item:hover,
.side-menu-item:active {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.side-menu-icon {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.side-menu-label {
    flex: 1;
}

/* Footer */
.side-menu-footer {
    padding: 12px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-menu-footer .side-menu-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ─── 1. GLOBAL: Full Viewport Reset ─── */
html {
    height: 100%;
    height: 100dvh;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

/* ─── 2. MOBİL: Tam Genişlik & Padding Sıfırlama ─── */
@media (max-width: 768px) {

    /* Desktop toolbar mobilde gizle (artık side-menu var) */
    #topToolbar {
        display: none !important;
    }

    /* Hamburger butonu mobilde görünsün */
    .mobile-hamburger.mobile-only {
        display: flex !important;
    }


    /* Body: Kenar boşluklarını minimize et */
    body {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Container: Tam genişlik */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ─── LANDING PAGE: Tam Ekran ─── */
    .landing-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .landing-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem 1rem !important;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box;
    }

    /* Landing buton daha geniş */
    .landing-btn {
        width: 90% !important;
        max-width: 320px !important;
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }

    /* Quick Action butonları */
    .landing-quick-actions-grid {
        width: 100% !important;
        padding: 0 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin-top: 15px !important;
    }

    .quick-action-btn {
        width: 100% !important;
        min-height: 80px !important;
        padding: 16px 12px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .quick-action-btn .qa-icon {
        font-size: 1.8rem !important;
    }

    .quick-action-btn .qa-label {
        font-size: 0.9rem !important;
    }

    /* Info tags */
    .landing-info {
        width: 100% !important;
        padding: 0 0.5rem !important;
        gap: 6px !important;
    }

    .info-tag {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }

    /* ─── SETUP MENU: Tam Ekran ─── */
    .setup-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .setup-top-bar {
        padding: 1rem !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }

    .setup-top-bar h2 {
        margin-left: 1rem !important;
        font-size: 1.2rem !important;
    }

    .btn-icon-back {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .setup-scroll-area {
        padding: 1rem !important;
        flex: 1 !important;
    }

    .setup-group {
        margin-bottom: 1.5rem !important;
    }

    .setup-group h3 {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    /* Pill selector tam genişlik */
    .pill-selector {
        max-width: 100% !important;
        gap: 0.5rem !important;
    }

    .pill-btn {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }

    /* Mode ve Difficulty kartları mobilde 1 kolon */
    .setup-container .game-mode,
    .setup-container .difficulty {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .setup-container .mode-card,
    .setup-container .diff-card {
        padding: 1rem !important;
    }

    .setup-actions {
        padding: 1rem !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
    }

    .start-btn-large {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem !important;
        font-size: 1.1rem !important;
        border-radius: 12px !important;
    }

    .setup-secondary-actions {
        gap: 0.75rem !important;
        margin-top: 1rem !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }

    .setup-secondary-actions .btn-link {
        flex: 1 !important;
        max-width: 50% !important;
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
    }

    /* ─── GAME AREA: Tam Ekran ─── */
    .game-area {
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 12px !important;
        min-height: calc(100vh - 60px) !important;
        min-height: calc(100dvh - 60px) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Soru alanı */
    .question {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }

    .question h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .question p {
        font-size: 0.95rem !important;
    }

    /* Kelime havuzu */
    .word-pool {
        padding: 10px !important;
        min-height: 70px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }

    .word-pool h4,
    .answer-area h4 {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    /* Cevap alanı */
    .answer-area {
        padding: 10px !important;
        min-height: 70px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }

    /* Kelimeler: Touch-friendly */
    .word {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 20px !important;
        min-height: 40px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        touch-action: manipulation !important;
    }

    /* Kontrol butonları */
    .controls {
        gap: 6px !important;
        margin-top: 10px !important;
        flex-wrap: nowrap !important;
    }

    .controls .btn {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    /* İpucu butonu */
    .hint-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }

    /* İpucu alanı */
    .hint-area {
        width: 95% !important;
        max-width: calc(100vw - 30px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 0.85rem !important;
    }

    /* Feedback */
    .feedback {
        padding: 10px !important;
        margin-top: 8px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
    }

    /* Game footer */
    .game-footer {
        padding: 6px 8px !important;
        margin-top: 8px !important;
    }

    .game-footer .score {
        font-size: 0.75rem !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    .game-footer .score button {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        margin: 0 2px !important;
    }

    /* Game footer'daki belli butonları mobilde gizle (artık yukarıda olacaklar) */
    .game-footer #socialBtn,
    .game-footer #mobileMenuBtn,
    .game-footer #miniGamesBtn {
        display: none !important;
    }

    /* Gramer buton text gizle */
    #grammarModeBtn .btn-text {
        display: none !important;
    }

    #grammarModeBtn {
        padding: 8px 12px !important;
        min-width: 44px !important;
        justify-content: center !important;
    }

    /* ─── MODAL: Tam Ekran ─── */
    .modal {
        padding: 0 !important;
    }

    .modal-content {
        margin: 0 !important;
        border-radius: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .modal-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background: inherit !important;
        backdrop-filter: blur(10px) !important;
        padding: 12px 16px !important;
    }

    .modal-header h2 {
        font-size: 1.1rem !important;
    }

    .modal-body {
        padding: 12px 16px !important;
    }

    .modal-footer {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
        background: inherit !important;
        padding: 12px 16px !important;
    }

    /* ─── ORB ANİMASYON: Mobilde küçült ─── */
    .orb-1 {
        width: 150px !important;
        height: 150px !important;
    }

    .orb-2 {
        width: 120px !important;
        height: 120px !important;
    }

    .orb-3 {
        width: 100px !important;
        height: 100px !important;
    }
}

/* ─── 3. KÜÇÜK TELEFON (< 375px) ─── */
@media (max-width: 375px) {
    .landing-content {
        padding: 1rem 0.75rem !important;
    }

    .landing-btn {
        font-size: 1rem !important;
        padding: 0.85rem 1.5rem !important;
    }

    .quick-action-btn {
        min-height: 52px !important;
        padding: 0.4rem !important;
    }

    .quick-action-btn .qa-icon {
        font-size: 1.1rem !important;
    }

    .quick-action-btn .qa-label {
        font-size: 0.6rem !important;
    }

    .word {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        min-height: 36px !important;
    }

    .controls .btn {
        padding: 8px 6px !important;
        font-size: 0.75rem !important;
    }

    .question h3 {
        font-size: 1rem !important;
    }

    .question p {
        font-size: 0.85rem !important;
    }
}

/* ─── 4. ÇOK KÜÇÜK TELEFON (< 320px) ─── */
@media (max-width: 320px) {
    .landing-quick-actions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
    }

    .landing-btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.25rem !important;
    }

    .word {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
    }
}

/* ─── 5. LANDSCAPE MOBİL: Kompakt mod ─── */
@media (max-width: 768px) and (orientation: landscape) {
    .landing-content {
        padding: 0.5rem 1rem !important;
        min-height: auto !important;
    }

    .animated-logo {
        transform: scale(0.7) !important;
        margin-bottom: 0 !important;
    }

    .landing-btn {
        padding: 0.6rem 2rem !important;
        font-size: 0.9rem !important;
        margin: 4px 0 !important;
    }

    .landing-quick-actions-grid {
        gap: 0.3rem !important;
    }

    .quick-action-btn {
        min-height: 44px !important;
        padding: 0.3rem !important;
    }

    .game-area {
        min-height: auto !important;
        padding: 8px !important;
    }

    .question {
        padding: 8px !important;
        margin-bottom: 6px !important;
    }

    .word-pool,
    .answer-area {
        min-height: 50px !important;
        padding: 6px !important;
    }

    .controls .btn {
        padding: 6px 8px !important;
    }
}

/* ─── 6. iOS SAFE AREA ─── */
@supports (padding-top: env(safe-area-inset-top)) {

    .landing-container,
    .setup-container {
        padding-top: env(safe-area-inset-top) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    .game-area {
        padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    }

    .setup-actions {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }

    .game-footer {
        padding-bottom: calc(6px + env(safe-area-inset-bottom)) !important;
    }
}

/* ─── 7. PWA STANDALONE: Address bar yok ─── */
@media (display-mode: standalone) {

    .landing-container,
    .setup-container {
        height: 100vh !important;
    }

    body {
        height: 100vh !important;
    }
}

/* ─── 8. SCROLLBAR GİZLE (mobilde) ─── */
@media (max-width: 768px) {

    body::-webkit-scrollbar,
    .setup-scroll-area::-webkit-scrollbar,
    .modal-content::-webkit-scrollbar,
    .landing-container::-webkit-scrollbar {
        display: none;
    }

    body,
    .setup-scroll-area,
    .modal-content,
    .landing-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

/* ─── 9. SPLASH SCREEN MOBİL ─── */
@media (max-width: 768px) {
    #page-loader {
        padding: 1rem !important;
    }

    .splash-logo-text {
        font-size: 1.5rem !important;
    }

    .splash-subtitle {
        font-size: 0.85rem !important;
    }

    .splash-progress-wrap {
        width: 80% !important;
        max-width: 250px !important;
    }
}

/* ─── 10. LOGO ANİMASYON: Mobil uyumu ─── */
@media (max-width: 768px) {
    .animated-logo {
        margin-bottom: 1rem !important;
    }

    .logo-ring {
        width: 80px !important;
        height: 80px !important;
    }

    .logo-inner-icon {
        font-size: 2rem !important;
    }

    .logo-title {
        font-size: 1.5rem !important;
    }

    .logo-tagline {
        font-size: 0.85rem !important;
    }
}

/* ═══════════════════════════════════════════════════════
   11. TABLET (769px — 1024px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ─── LANDING PAGE: Tablet ─── */
    .landing-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 2rem;
    }

    .landing-content {
        max-width: 900px;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        gap: 40px;
    }

    .landing-left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .landing-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .animated-logo {
        margin-bottom: 0;
    }

    .logo-ring {
        width: 110px;
        height: 110px;
    }

    .logo-inner-icon {
        font-size: 2.8rem;
    }

    .logo-title {
        font-size: 2rem;
    }

    .logo-tagline {
        font-size: 1rem;
    }

    .landing-btn {
        width: 80%;
        max-width: 360px;
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }

    .landing-quick-actions-grid {
        max-width: 600px;
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px;
    }

    .quick-action-btn {
        min-height: 100px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .qa-icon {
        font-size: 2.2rem;
    }

    .qa-label {
        font-size: 1.05rem;
    }

    .landing-info {
        margin-top: 20px;
    }

    .info-tag {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    /* ─── SETUP MENU: Tablet ─── */
    .setup-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .setup-scroll-area {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        padding: 2rem;
    }

    .setup-actions {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .start-btn-large {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    /* ─── GAME AREA: Tablet ─── */
    .game-area {
        max-width: 700px;
        margin: 0 auto;
        border-radius: 16px;
        padding: 24px;
    }

    /* ─── MODAL: Tablet ─── */
    .modal-content {
        max-width: 650px;
        max-height: 85vh;
        border-radius: 20px;
    }
}

/* ─── TABLET DİKEY (PORTRAIT) ÖZEL ─── */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .landing-content {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 40px !important;
        padding: 3rem 2rem !important;
    }

    .landing-left,
    .landing-right {
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .animated-logo {
        margin-bottom: 1rem !important;
    }

    .landing-btn {
        width: 100% !important;
        max-width: 400px !important;
        padding: 1.2rem 2.5rem !important;
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
    }

    .landing-quick-actions-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 20px !important;
    }

    .quick-action-btn {
        min-height: 110px !important;
        padding: 18px 12px !important;
        border-radius: 20px !important;
    }

    .qa-icon {
        font-size: 2.2rem !important;
        margin-bottom: 6px !important;
    }

    .qa-label {
        font-size: 1.1rem !important;
    }

    .landing-info {
        margin-top: 24px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   12. MASAÜSTÜ (1025px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1025px) {

    /* ─── LANDING PAGE: Masaüstü ─── */
    .landing-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 2rem;
    }

    .landing-content {
        max-width: 1100px;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        gap: 60px;
    }

    .landing-left {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .landing-right {
        flex: 1.2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .animated-logo {
        margin-bottom: 0;
    }

    .logo-ring {
        width: 130px;
        height: 130px;
    }

    .logo-inner-icon {
        font-size: 3.2rem;
    }

    .logo-title {
        font-size: 2.4rem;
        margin-top: 12px;
    }

    .logo-tagline {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .landing-btn {
        width: auto;
        min-width: 320px;
        padding: 1.3rem 3rem;
        font-size: 1.3rem;
        border-radius: 18px;
        margin: 8px 0;
        transition: all 0.3s ease;
    }

    .landing-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
    }

    .landing-quick-actions-grid {
        max-width: 100%;
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
        margin-top: 28px;
    }

    .quick-action-btn {
        min-height: 110px;
        padding: 24px 20px;
        border-radius: 22px;
        transition: all 0.3s ease;
    }

    .quick-action-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .qa-icon {
        font-size: 2.4rem;
    }

    .qa-label {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .landing-info {
        margin-top: 24px;
        gap: 12px;
    }

    .info-tag {
        font-size: 0.9rem;
        padding: 6px 16px;
    }

    /* ─── SETUP MENU: Masaüstü ─── */
    .setup-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .setup-top-bar {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }

    .setup-scroll-area {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
        padding: 2rem 3rem;
    }

    .setup-group h3 {
        font-size: 1rem;
    }

    .game-mode,
    .difficulty {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .mode-card,
    .diff-card {
        padding: 1.5rem;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mode-card:hover,
    .diff-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .setup-actions {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
        padding: 1.5rem 3rem;
    }

    .start-btn-large {
        max-width: 450px;
        margin: 0 auto;
        display: block;
        padding: 1.3rem;
        font-size: 1.2rem;
        border-radius: 16px;
        transition: all 0.3s ease;
    }

    .start-btn-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    }

    .setup-secondary-actions {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .setup-secondary-actions .btn-link {
        padding: 16px 32px;
        font-size: 1.05rem;
        border-radius: 16px;
        min-width: 200px;
    }

    /* ─── GAME AREA: Masaüstü ─── */
    .game-area {
        max-width: 800px;
        margin: 1rem auto;
        border-radius: 20px;
        padding: 2rem;
    }

    .question h3 {
        font-size: 1.3rem;
    }

    .word {
        padding: 10px 18px;
        font-size: 1rem;
        transition: all 0.2s ease;
    }

    .word:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .controls .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .controls .btn:hover {
        transform: translateY(-2px);
    }

    /* ─── MODAL: Masaüstü ─── */
    .modal-content {
        max-width: 700px;
        max-height: 80vh;
        border-radius: 24px;
    }
}