        :root {
            --aras-orange: #E87722;
            --aras-orange-light: #FF9442;
            --aras-orange-dark: #C45F0F;
            --aras-navy: #1B365D;
            --aras-navy-dark: #0F2340;
            --success: #2ecc71;
            --danger: #e74c3c;
            --warning: #f1c40f;
            --info: #3498db;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #0F2340 0%, #1B365D 100%);
            min-height: 100vh;
            min-height: 100dvh;
            color: #fff;
            overflow-x: hidden;
        }

        /* Splash */
        .splash {
            position: fixed; inset: 0;
            background: linear-gradient(135deg, #E87722 0%, #C45F0F 50%, #1B365D 100%);
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            z-index: 1000;
            animation: splashFade 0.5s ease 3.2s forwards;
        }
        @keyframes splashFade { to { opacity: 0; pointer-events: none; } }
        .splash-truck { font-size: 72px; animation: truckDrive 1.5s ease-in-out; }
        @keyframes truckDrive {
            0% { transform: translateX(-200px); opacity: 0; }
            50% { transform: translateX(0); opacity: 1; }
            100% { transform: translateX(0); opacity: 1; }
        }
        .splash-logo { display: flex; gap: 2px; margin: 20px 0 8px; font-family: 'Fredoka', sans-serif; }
        .splash-letter {
            font-size: 56px; font-weight: 700; color: #fff;
            text-shadow: 0 4px 20px rgba(0,0,0,0.4);
            animation: letterBounce 0.5s ease backwards;
            display: inline-block;
        }
        .splash-letter:nth-child(1) { animation-delay: 0.8s; }
        .splash-letter:nth-child(2) { animation-delay: 0.95s; }
        .splash-letter:nth-child(3) { animation-delay: 1.1s; }
        .splash-letter:nth-child(4) { animation-delay: 1.25s; }
        .splash-letter:nth-child(5) { animation-delay: 1.4s; }
        .splash-letter:nth-child(6) { animation-delay: 1.55s; }
        @keyframes letterBounce {
            0% { opacity: 0; transform: translateY(-40px) scale(0); }
            60% { transform: translateY(8px) scale(1.15); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        .splash-tagline {
            font-size: 13px; color: rgba(255,255,255,0.95); font-weight: 500;
            margin-bottom: 24px; letter-spacing: 1.5px; text-transform: uppercase;
            animation: fadeUp 0.5s ease 1.8s backwards;
        }
        .splash-slogan {
            font-size: 14px; color: rgba(255,255,255,0.85);
            font-style: italic; font-weight: 500;
            animation: fadeUp 0.5s ease 2s backwards;
        }
        .splash-loader {
            width: 140px; height: 4px;
            background: rgba(255,255,255,0.2);
            border-radius: 4px; overflow: hidden; margin-top: 24px;
            animation: fadeUp 0.5s ease 2.2s backwards;
        }
        .splash-loader-fill {
            height: 100%; width: 0%; background: #fff;
            animation: loaderFill 1s ease 2.2s forwards;
        }
        @keyframes loaderFill { to { width: 100%; } }
        .splash-brand {
            position: absolute; bottom: 30px;
            font-size: 11px; color: rgba(255,255,255,0.7);
            animation: fadeUp 0.5s ease 2.4s backwards;
            text-align: center;
        }
        .splash-brand-aras {
            display: block; font-size: 13px; font-weight: 700;
            color: #fff; margin-bottom: 4px; letter-spacing: 0.5px;
        }
        .splash-brand-by { color: rgba(255,255,255,0.6); }
        .splash-brand-by b { color: #fff; font-weight: 600; }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Container */
        .container {
            max-width: 520px; margin: 0 auto; padding: 14px;
            min-height: 100vh; min-height: 100dvh;
            display: flex; flex-direction: column;
        }

        /* Header */
        .top-bar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 6px 0 12px;
        }
        .brand-mark {
            display: flex; align-items: center; gap: 8px;
            font-family: 'Fredoka', sans-serif; font-weight: 700;
            font-size: 18px; color: #fff;
        }
        .brand-mark-icon {
            background: linear-gradient(135deg, var(--aras-orange) 0%, var(--aras-orange-dark) 100%);
            width: 32px; height: 32px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center; font-size: 18px;
        }
        .stats-mini { display: flex; gap: 8px; align-items: center; }
        .stat-pill {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 14px; padding: 5px 11px;
            font-size: 12px; font-weight: 600;
            display: flex; align-items: center; gap: 4px;
        }
        .stat-pill.xp {
            background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
            color: #000; border-color: transparent;
        }

        /* Screens */
        .screen {
            flex: 1; display: none; flex-direction: column;
            animation: fadeIn 0.35s ease;
        }
        .screen.active { display: flex; }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Hub */
        .hub-title { text-align: center; margin: 8px 0 4px; }
        .hub-title h1 {
            font-size: 22px; font-weight: 800;
            background: linear-gradient(135deg, #fff 0%, var(--aras-orange-light) 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hub-title p { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
        .hub-progress-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px; padding: 12px 14px; margin: 14px 0;
            display: flex; justify-content: space-between; align-items: center;
        }
        .hub-progress-text { font-size: 12px; color: rgba(255,255,255,0.7); }
        .hub-progress-text b { color: #fff; font-size: 15px; display: block; margin-bottom: 2px; }
        .hub-progress-circle {
            width: 48px; height: 48px; border-radius: 50%;
            background: conic-gradient(var(--aras-orange) 0deg, rgba(255,255,255,0.1) 0deg);
            display: flex; align-items: center; justify-content: center; position: relative;
        }
        .hub-progress-circle::before {
            content: ''; position: absolute; inset: 4px;
            background: #1B365D; border-radius: 50%;
        }
        .hub-progress-circle span {
            position: relative; font-size: 12px; font-weight: 800; color: var(--aras-orange);
        }

        .journey-map { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-bottom: 12px; }
        .station {
            display: flex; align-items: center; gap: 12px;
            background: rgba(255,255,255,0.04);
            border: 2px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 12px; cursor: pointer;
            transition: all 0.25s ease; position: relative;
        }
        .station:hover { background: rgba(255,255,255,0.07); }
        .station.locked { opacity: 0.5; cursor: not-allowed; }
        .station.active {
            border-color: var(--aras-orange);
            background: linear-gradient(135deg, rgba(232,119,34,0.15) 0%, rgba(232,119,34,0.05) 100%);
            box-shadow: 0 0 0 1px rgba(232,119,34,0.3), 0 4px 16px rgba(232,119,34,0.2);
        }
        .station.completed { border-color: var(--success); background: rgba(46,204,113,0.08); }
        .station-num {
            width: 44px; height: 44px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 22px; background: rgba(255,255,255,0.08); flex-shrink: 0;
        }
        .station.active .station-num {
            background: linear-gradient(135deg, var(--aras-orange) 0%, var(--aras-orange-dark) 100%);
            animation: pulse 2s ease infinite;
        }
        .station.completed .station-num { background: var(--success); }
        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(232,119,34,0.5); }
            50% { box-shadow: 0 0 0 10px rgba(232,119,34,0); }
        }
        .station-info { flex: 1; min-width: 0; }
        .station-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
        .station-desc { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.3; }
        .station-badge {
            font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 8px;
            text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
        }
        .station-badge.active-badge { background: var(--aras-orange); color: #fff; }
        .station-badge.completed-badge { background: var(--success); color: #fff; }
        .station-badge.soon-badge { background: rgba(241,196,15,0.2); color: var(--warning); }

        .hub-footer {
            text-align: center; padding: 12px 0;
            font-size: 10px; color: rgba(255,255,255,0.4);
            margin-top: auto;
        }
        .hub-footer b { color: var(--aras-orange); font-weight: 600; }

        /* Module header */
        .module-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
        .back-btn {
            width: 36px; height: 36px; border-radius: 10px;
            background: rgba(255,255,255,0.08); border: none; color: #fff;
            font-size: 18px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
        }
        .back-btn:hover { background: rgba(255,255,255,0.15); }
        .module-tag {
            background: linear-gradient(135deg, var(--aras-orange) 0%, var(--aras-orange-dark) 100%);
            padding: 6px 12px; border-radius: 12px;
            font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
        }
        .progress-wrap { margin-bottom: 14px; }
        .progress-bar {
            height: 6px; background: rgba(255,255,255,0.1);
            border-radius: 8px; overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--aras-orange) 0%, var(--aras-orange-light) 100%);
            border-radius: 8px; transition: width 0.5s ease;
        }
        .progress-text {
            text-align: center; margin-top: 5px;
            font-size: 11px; color: rgba(255,255,255,0.5);
        }

        /* Intro */
        .intro-screen { justify-content: center; align-items: center; text-align: center; padding: 10px 0; }
        .intro-icon {
            font-size: 64px; margin-bottom: 10px;
            animation: introBounce 0.6s ease;
        }
        @keyframes introBounce {
            0% { transform: scale(0) rotate(-20deg); }
            60% { transform: scale(1.15) rotate(5deg); }
            100% { transform: scale(1) rotate(0); }
        }
        .intro-title {
            font-size: 24px; font-weight: 800;
            margin-bottom: 6px; color: var(--aras-orange-light);
        }
        .intro-subtitle {
            font-size: 13px; color: rgba(255,255,255,0.7);
            margin-bottom: 20px; line-height: 1.5; max-width: 380px;
        }
        .intro-stats { display: flex; gap: 8px; margin-bottom: 24px; width: 100%; }
        .intro-stat {
            flex: 1; background: rgba(255,255,255,0.05);
            border-radius: 12px; padding: 12px 8px;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .intro-stat-icon { font-size: 20px; }
        .intro-stat-val { font-size: 13px; font-weight: 700; margin-top: 4px; }
        .intro-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.5); }

        /* Learn */
        .learn-header {
            text-align: center; margin-bottom: 12px; padding: 14px;
            background: linear-gradient(135deg, rgba(232,119,34,0.25) 0%, rgba(232,119,34,0.1) 100%);
            border-radius: 14px; border: 2px solid rgba(232,119,34,0.4);
        }
        .learn-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: var(--aras-orange); color: #fff;
            padding: 4px 10px; border-radius: 10px;
            font-size: 10px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.5px;
            margin-bottom: 8px;
        }
        .learn-title { font-size: 17px; font-weight: 700; color: #fff; }

        .learn-card {
            background: rgba(255,255,255,0.05);
            border-radius: 14px; padding: 14px; margin-bottom: 10px;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .learn-section-label {
            font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
            color: rgba(255,255,255,0.5); margin-bottom: 10px;
            display: flex; align-items: center; gap: 6px;
        }
        .learn-text {
            font-size: 14px; line-height: 1.55;
            color: rgba(255,255,255,0.92); margin-bottom: 10px;
        }
        .learn-text:last-child { margin-bottom: 0; }

        /* SMS mock (in learn) */
        .sms-mock {
            background: #1a1a2e;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px;
            padding: 12px;
            margin: 10px 0;
            font-family: 'Inter', sans-serif;
            position: relative;
        }
        .sms-mock::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--danger), var(--warning));
            border-radius: 14px 14px 0 0;
        }
        .sms-from {
            font-size: 11px; color: var(--danger);
            font-weight: 700; margin-bottom: 4px;
        }
        .sms-body { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.92); }
        .sms-link {
            color: #5dade2; text-decoration: underline;
            word-break: break-all; font-weight: 600;
        }
        .sms-time {
            font-size: 10px; color: rgba(255,255,255,0.4);
            margin-top: 6px; text-align: right;
        }

        /* Real Case Card */
        .real-case {
            background: linear-gradient(135deg, rgba(231,76,60,0.15) 0%, rgba(231,76,60,0.05) 100%);
            border: 1px solid rgba(231,76,60,0.4);
            border-radius: 14px;
            padding: 14px;
            margin-bottom: 10px;
            position: relative;
        }
        .real-case-tag {
            position: absolute; top: -8px; right: 12px;
            background: var(--danger); color: #fff;
            font-size: 9px; font-weight: 800;
            padding: 3px 10px; border-radius: 10px;
            text-transform: uppercase; letter-spacing: 0.8px;
        }
        .real-case-title {
            font-size: 14px; font-weight: 700; color: #fff;
            margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
        }
        .real-case-source {
            font-size: 10px; color: rgba(255,255,255,0.5);
            margin-bottom: 8px; font-family: 'Courier New', monospace;
        }
        .real-case-body { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.9); }
        .real-case-body b { color: var(--warning); }
        .real-case-verdict {
            margin-top: 8px; padding: 8px 10px;
            background: rgba(0,0,0,0.25);
            border-left: 3px solid var(--danger);
            border-radius: 0 8px 8px 0;
            font-size: 12px; line-height: 1.4;
        }

        .domain-compare { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
        .domain-row {
            display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; border-radius: 10px;
            font-family: 'Courier New', monospace;
            font-size: 13px; font-weight: 600;
        }
        .domain-row.bad {
            background: rgba(231,76,60,0.12);
            border: 1px solid rgba(231,76,60,0.3); color: #ff6b6b;
        }
        .domain-row.good {
            background: rgba(46,204,113,0.12);
            border: 1px solid rgba(46,204,113,0.3); color: #6ee7b7;
        }
        .domain-icon { font-size: 16px; flex-shrink: 0; }

        .tip-box {
            background: linear-gradient(135deg, rgba(241,196,15,0.15) 0%, rgba(243,156,18,0.08) 100%);
            border: 1px solid rgba(241,196,15,0.35);
            border-radius: 12px; padding: 12px; margin-top: 8px;
        }
        .tip-label {
            font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
            color: var(--warning); margin-bottom: 4px; font-weight: 700;
        }
        .tip-text { font-size: 13px; color: rgba(255,255,255,0.92); line-height: 1.45; }

        /* Quiz */
        .quiz-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(52,152,219,0.25); color: #5dade2;
            padding: 5px 10px; border-radius: 12px;
            font-size: 10px; font-weight: 700; margin-bottom: 10px;
            align-self: flex-start; text-transform: uppercase; letter-spacing: 0.5px;
        }
        .quiz-context {
            background: rgba(255,255,255,0.05);
            border-left: 3px solid var(--info);
            padding: 10px 12px; border-radius: 0 10px 10px 0;
            margin-bottom: 12px; font-size: 13px; line-height: 1.45;
            color: rgba(255,255,255,0.85);
        }
        .quiz-question { font-size: 16px; font-weight: 600; margin-bottom: 14px; line-height: 1.4; }

        /* Principle Badge */
        .principle-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(46,204,113,0.15); color: #6ee7b7;
            border: 1px solid rgba(46,204,113,0.35);
            padding: 5px 11px; border-radius: 20px;
            font-size: 10px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px;
            margin-bottom: 8px;
        }
        .principle-badge.security { background: rgba(231,76,60,0.15); color: #ff8888; border-color: rgba(231,76,60,0.35); }
        .principle-badge.purpose { background: rgba(52,152,219,0.15); color: #5dade2; border-color: rgba(52,152,219,0.35); }
        .principle-badge.consent { background: rgba(155,89,182,0.15); color: #bb88dd; border-color: rgba(155,89,182,0.35); }
        .principle-badge.verify { background: rgba(241,196,15,0.15); color: #fcd34d; border-color: rgba(241,196,15,0.35); }

        .karar-title {
            font-size: 19px; font-weight: 800; line-height: 1.35;
            margin: 4px 0 8px; color: #fff;
        }
        .karar-instruction {
            font-size: 12px; color: rgba(255,255,255,0.55);
            margin-bottom: 12px; line-height: 1.4;
        }

        /* Multi Select */
        .multi-options { display: flex; flex-direction: column; gap: 8px; }
        .multi-option {
            display: flex; align-items: center; gap: 12px;
            background: rgba(255,255,255,0.05);
            border: 2px solid transparent;
            border-radius: 12px; padding: 12px;
            cursor: pointer; transition: all 0.2s ease;
        }
        .multi-option:hover { background: rgba(255,255,255,0.08); }
        .multi-checkbox {
            width: 22px; height: 22px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 6px; flex-shrink: 0;
            transition: all 0.2s ease; position: relative;
        }
        .multi-option.selected .multi-checkbox {
            background: var(--info); border-color: var(--info);
        }
        .multi-option.selected .multi-checkbox::after {
            content: '✓'; position: absolute; inset: 0;
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 14px; font-weight: 700;
        }
        .multi-option.wrong { border-color: var(--danger); background: rgba(231,76,60,0.1); }
        .multi-option.missed { border-color: var(--success); background: rgba(46,204,113,0.1); }
        .multi-text { font-size: 14px; line-height: 1.4; flex: 1; }

        /* Order */
        .order-target {
            background: rgba(255,255,255,0.05);
            border-radius: 12px; padding: 12px;
            margin-bottom: 12px; min-height: 60px;
            display: flex; flex-direction: column; gap: 6px;
        }
        .order-slot {
            min-height: 38px;
            border: 2px dashed rgba(255,255,255,0.2);
            border-radius: 8px; padding: 8px 10px;
            font-size: 13px;
            display: flex; align-items: center; gap: 8px;
            color: rgba(255,255,255,0.4);
        }
        .order-slot-num {
            background: rgba(255,255,255,0.1);
            width: 22px; height: 22px; border-radius: 6px;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; font-weight: 700; flex-shrink: 0;
        }
        .order-slot.filled {
            background: rgba(46,204,113,0.12);
            border: 2px solid var(--success);
            color: #fff; cursor: pointer;
        }
        .order-slot.filled:hover { background: rgba(46,204,113,0.2); }
        .order-slot.filled .order-slot-num { background: var(--success); }
        .order-pool { display: flex; flex-wrap: wrap; gap: 8px; }
        .order-word {
            background: rgba(52,152,219,0.2);
            border: 2px solid rgba(52,152,219,0.4);
            color: #5dade2;
            padding: 8px 14px; border-radius: 20px;
            font-size: 13px; font-weight: 600;
            cursor: pointer; transition: all 0.2s ease;
            font-family: inherit;
        }
        .order-word:hover { background: rgba(52,152,219,0.3); transform: translateY(-2px); }
        .order-word.used { opacity: 0.3; pointer-events: none; }

        /* Karar Masası — Kart Bazlı */
        .karar-cards { display: flex; flex-direction: column; gap: 10px; }
        .karar-card {
            background: rgba(255,255,255,0.05);
            border: 2px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 14px;
            cursor: pointer; transition: all 0.25s ease;
            font-family: inherit; color: #fff; text-align: left;
            width: 100%;
            display: flex; flex-direction: column; gap: 8px;
        }
        .karar-card:hover:not(.disabled) {
            background: rgba(255,255,255,0.09);
            border-color: rgba(255,255,255,0.18);
            transform: translateY(-2px);
        }
        .karar-card-head { display: flex; align-items: center; gap: 10px; }
        .karar-card-letter {
            width: 32px; height: 32px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 14px; flex-shrink: 0;
        }
        .karar-card-tag {
            font-size: 10px; color: rgba(255,255,255,0.5);
            text-transform: uppercase; letter-spacing: 0.5px;
            font-weight: 600;
        }
        .karar-card-text {
            font-size: 14px; line-height: 1.5;
            color: rgba(255,255,255,0.92);
        }
        .karar-card.correct {
            border-color: var(--success);
            background: rgba(46,204,113,0.12);
        }
        .karar-card.correct .karar-card-letter { background: var(--success); }
        .karar-card.wrong {
            border-color: var(--danger);
            background: rgba(231,76,60,0.12);
        }
        .karar-card.wrong .karar-card-letter { background: var(--danger); }
        .karar-card.partial {
            border-color: var(--warning);
            background: rgba(241,196,15,0.12);
        }
        .karar-card.partial .karar-card-letter { background: var(--warning); color: #000; }
        .karar-card.disabled { pointer-events: none; }
        .karar-card.disabled:not(.correct):not(.wrong):not(.partial) { opacity: 0.5; }

        /* Email mock (scenario) */
        .email-mock {
            background: #fff; border-radius: 10px;
            padding: 14px; margin: 8px 0;
            color: #1B365D; font-size: 12px; line-height: 1.4;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
        .email-from {
            font-size: 11px; color: #555;
            margin-bottom: 6px; font-family: 'Courier New', monospace;
        }
        .email-subj {
            font-size: 13px; font-weight: 700;
            color: #1B365D; margin-bottom: 8px;
        }
        .email-body { color: #333; font-size: 12px; line-height: 1.45; }
        .email-link {
            color: #1976d2; text-decoration: underline;
            word-break: break-all;
        }

        /* Feedback */
        .feedback {
            border-radius: 12px; padding: 14px;
            text-align: center; margin-top: 12px;
            animation: popUp 0.3s ease;
        }
        @keyframes popUp {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        .feedback.correct { background: rgba(46,204,113,0.15); border: 2px solid var(--success); }
        .feedback.wrong { background: rgba(231,76,60,0.15); border: 2px solid var(--danger); }
        .feedback.partial { background: rgba(241,196,15,0.12); border: 2px solid var(--warning); }
        .feedback-icon { font-size: 32px; margin-bottom: 6px; }
        .feedback-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
        .feedback-text {
            font-size: 12.5px; color: rgba(255,255,255,0.88);
            line-height: 1.5; text-align: left;
        }

        .pro-tip {
            background: linear-gradient(135deg, rgba(52,152,219,0.15) 0%, rgba(41,128,185,0.08) 100%);
            border: 1px solid rgba(52,152,219,0.35);
            border-radius: 10px; padding: 12px; margin-top: 10px;
            text-align: left;
        }
        .pro-tip-label {
            font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
            color: var(--info); margin-bottom: 4px; font-weight: 700;
        }
        .pro-tip-text {
            font-size: 12.5px; color: rgba(255,255,255,0.9); line-height: 1.5;
        }

        /* Buttons */
        .btn-primary {
            background: linear-gradient(135deg, var(--aras-orange) 0%, var(--aras-orange-dark) 100%);
            color: #fff; border: none; border-radius: 12px;
            padding: 14px 28px; font-size: 15px; font-weight: 700;
            cursor: pointer; width: 100%; margin-top: auto;
            transition: all 0.2s ease; font-family: inherit;
            letter-spacing: 0.3px;
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,119,34,0.4); }
        .btn-primary:active { transform: translateY(0); }
        .btn-check { background: linear-gradient(135deg, var(--info) 0%, #2980b9 100%); }
        .btn-check:hover { box-shadow: 0 6px 20px rgba(52,152,219,0.4); }

        .spacer { flex: 1; min-height: 10px; }

        /* Completion */
        .completion-screen { justify-content: center; align-items: center; text-align: center; }
        .completion-icon { font-size: 64px; margin-bottom: 12px; animation: bounce 0.6s ease; }
        @keyframes bounce {
            0% { transform: scale(0); }
            60% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }
        .completion-title {
            font-size: 26px; font-weight: 900; margin-bottom: 6px;
            background: linear-gradient(135deg, var(--warning) 0%, var(--aras-orange) 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .completion-subtitle { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
        .final-stats { display: flex; gap: 10px; margin-bottom: 20px; width: 100%; }
        .final-stat {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px; padding: 14px 8px; flex: 1;
        }
        .final-stat-value { font-size: 22px; font-weight: 800; color: var(--warning); }
        .final-stat-label {
            font-size: 10px; color: rgba(255,255,255,0.55);
            text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px;
        }
        .final-message {
            background: rgba(46,204,113,0.1);
            border: 1px solid rgba(46,204,113,0.3);
            border-radius: 12px; padding: 14px;
            margin-bottom: 16px; width: 100%; text-align: left;
        }
        .final-message-text {
            font-size: 13px; color: rgba(255,255,255,0.92); line-height: 1.55;
        }
        .final-message-text div { margin-bottom: 4px; }
        .final-message-text div:last-child { margin-bottom: 0; }

        /* XP Popup */
        .xp-popup {
            position: fixed; top: 40%; left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, var(--warning) 0%, #f39c12 100%);
            color: #000; padding: 14px 28px;
            border-radius: 14px; font-size: 22px; font-weight: 800;
            z-index: 999; animation: xpPop 0.9s ease forwards;
            pointer-events: none;
            box-shadow: 0 10px 30px rgba(241,196,15,0.4);
        }
        @keyframes xpPop {
            0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
            30% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
            60% { transform: translate(-50%, -50%) scale(1); }
            100% { opacity: 0; transform: translate(-50%, -90%) scale(0.8); }
        }

        .hearts { display: flex; gap: 3px; font-size: 14px; }
        .heart { transition: all 0.3s ease; }
        .heart.lost { filter: grayscale(100%); opacity: 0.3; transform: scale(0.8); }

        /* Scene illustration */
        .scene-img {
            width: 100%;
            display: block;
            border-radius: 14px;
            margin: 8px 0 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.08);
        }
        .scene-img.in-learn {
            margin-bottom: 12px;
        }
        .scene-img.in-quiz {
            margin: 0 0 12px;
        }
    
/* ==========================================================================
   BiLiGO Arena eklentileri — can sistemi, mod kartları, ölçme/düello
   ========================================================================== */

.intro-screen {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; justify-content: center;
}

/* Mod kartları (Ölçme / Düello) */
.mode-row { display: flex; gap: 10px; margin: 0 0 16px; }
.mode-card {
    flex: 1; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px; padding: 12px 8px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: #fff; font-family: inherit; cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.mode-card:active { transform: scale(0.97); background: rgba(255,255,255,0.12); }
.mode-icon { font-size: 22px; }
.mode-label { font-size: 13px; font-weight: 700; }
.mode-sub { font-size: 11px; color: rgba(255,255,255,0.55); }

/* Süre göstergesi */
.timer-pill {
    display: flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px; padding: 5px 11px; font-size: 12px; font-weight: 700;
}
.timer-pill.urgent { background: var(--danger); border-color: transparent; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }

/* Can göstergesi */
.stat-pill.lives { cursor: pointer; }
.stat-pill.lives.empty { background: rgba(231,76,60,0.22); border-color: rgba(231,76,60,0.5); }
.stat-pill.shake { animation: shakeX 0.45s ease; }
@keyframes shakeX {
    0%,100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}
.heart { transition: filter 0.3s ease, opacity 0.3s ease; }
.heart.lost { filter: grayscale(1); opacity: 0.3; }
.heart.big { font-size: 26px; }

.life-lost {
    margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600;
    color: #ffb3ab; background: rgba(231,76,60,0.14);
    border: 1px solid rgba(231,76,60,0.3); border-radius: 10px; padding: 8px;
}

/* Can sayfası (alt sayfa) */
.sheet-backdrop {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(6,14,28,0.72); backdrop-filter: blur(3px);
    display: flex; align-items: flex-end; justify-content: center;
    animation: fadeIn 0.25s ease;
}
.sheet {
    width: 100%; max-width: 520px;
    background: linear-gradient(180deg, #17304f 0%, #0F2340 100%);
    border-radius: 22px 22px 0 0;
    padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(0,0,0,0.5);
    animation: sheetUp 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
    max-height: 92dvh; overflow-y: auto;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle {
    width: 42px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,0.25); margin: 4px auto 14px;
}
.lives-hero { text-align: center; margin-bottom: 10px; }
.lives-hero-icon { font-size: 44px; }
.lives-hero-title { font-size: 21px; font-weight: 800; margin: 6px 0 4px; }
.lives-hero-sub { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.lives-hearts { display: flex; justify-content: center; gap: 6px; margin: 14px 0 18px; }

.refill-card {
    width: 100%; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px; padding: 13px; margin-bottom: 10px;
    color: #fff; font-family: inherit; text-align: left; cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.refill-card:active:not(.disabled) { transform: scale(0.98); }
.refill-card.primary {
    background: linear-gradient(135deg, var(--aras-orange) 0%, var(--aras-orange-dark) 100%);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(232,119,34,0.3);
}
.refill-card.muted { cursor: default; opacity: 0.75; }
.refill-card.disabled { opacity: 0.4; pointer-events: none; }
.refill-icon { font-size: 26px; flex-shrink: 0; }
.refill-body { flex: 1; min-width: 0; }
.refill-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.refill-desc { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.45; }
.refill-why { color: rgba(255,255,255,0.6); font-size: 11px; }
.refill-cta { font-size: 14px; font-weight: 800; flex-shrink: 0; }
.sheet-close {
    width: 100%; background: none; border: none; color: rgba(255,255,255,0.5);
    font-family: inherit; font-size: 13px; padding: 12px; cursor: pointer;
}

/* Sonuç ekranı beceri özeti */
.skill-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.skill-row:last-child { border-bottom: none; }
.rec-block {
    margin-top: 14px; background: rgba(232,119,34,0.12);
    border: 1px solid rgba(232,119,34,0.3); border-radius: 12px; padding: 12px;
    text-align: left;
}
.rec-head { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.rec-item { font-size: 12px; color: rgba(255,255,255,0.85); padding: 3px 0; }

/* ==========================================================================
   Mobil: sabit aksiyon çubuğu + alttan yükselen geri bildirim
   Kural: cevaptan sonra kullanıcı düğmeyi görmek için KAYDIRMAMALI.
   ========================================================================== */

.action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
    max-width: 520px; margin: 0 auto;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(12, 28, 52, 0.97);
    border-top: 1px solid rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    animation: barUp 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes barUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.action-bar[hidden] { display: none; }
.action-bar .btn-primary { margin-top: 0; min-height: 50px; }

.action-bar.correct { background: rgba(19, 60, 44, 0.97); border-top-color: rgba(46,204,113,0.55); }
.action-bar.wrong   { background: rgba(66, 24, 22, 0.97); border-top-color: rgba(231,76,60,0.55); }
.action-bar.partial { background: rgba(66, 55, 18, 0.97); border-top-color: rgba(241,196,15,0.55); }

body.has-action-bar .container { padding-bottom: calc(var(--action-h, 84px) + 16px); }

.action-feedback { margin-bottom: 12px; }
.action-feedback[hidden] { display: none; }
.fb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.fb-icon { font-size: 18px; }
.fb-title { font-size: 15px; font-weight: 800; }
.action-bar.correct .fb-title { color: var(--success); }
.action-bar.wrong   .fb-title { color: #ff8a7d; }
.action-bar.partial .fb-title { color: var(--warning); }
.fb-life {
    margin-left: auto; font-size: 11px; font-weight: 700;
    color: #ffb3ab; background: rgba(231,76,60,0.2);
    border-radius: 20px; padding: 3px 9px;
}
.fb-text { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.9); }
.fb-tip {
    margin-top: 8px; font-size: 12px; line-height: 1.45;
    color: rgba(255,255,255,0.75);
    border-left: 2px solid rgba(255,255,255,0.25); padding-left: 9px;
}
.fb-tip b { color: rgba(255,255,255,0.95); }
/* Uzun gerekçelerde panel ekranı yutmasın */
.action-feedback { max-height: 34dvh; overflow-y: auto; }

/* ---- Boşluk doldurma (fill-blank) ---- */
.blank-template {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 16px; font-size: 15px; line-height: 1.9;
    margin-bottom: 16px;
}
.blank-slot {
    display: inline-block; min-width: 90px; text-align: center;
    border-bottom: 2px dashed var(--aras-orange); color: var(--aras-orange);
    font-weight: 700; padding: 0 6px;
}
.blank-slot.filled { border-bottom-style: solid; }
.blank-options { display: flex; flex-wrap: wrap; gap: 9px; }
.blank-option {
    background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.14);
    border-radius: 11px; padding: 12px 16px; min-height: 46px;
    color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: transform 0.12s ease, border-color 0.15s ease;
}
.blank-option:active { transform: scale(0.97); }
.blank-option.picked { border-color: var(--aras-orange); background: rgba(232,119,34,0.18); }
.blank-option.correct { border-color: var(--success); background: rgba(46,204,113,0.18); }
.blank-option.wrong { border-color: var(--danger); background: rgba(231,76,60,0.18); }
.blank-option.disabled { pointer-events: none; }

/* ==========================================================================
   Dar ekran ayarları — hedef cihaz aralığı 320–430 px
   ========================================================================== */
@media (max-width: 400px) {
    .container { padding: 12px 12px 12px; }
    .hub-title h1 { font-size: 20px; }
    .station { padding: 11px; gap: 10px; }
    .station-num { width: 42px; height: 42px; font-size: 20px; }
    .station-title { font-size: 13px; }
    .karar-card { padding: 12px; }
    .karar-card-text { font-size: 13px; line-height: 1.45; }
    .quiz-question { font-size: 15px; }
    .mode-card { padding: 10px 6px; }
    .action-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
    .action-bar .btn-primary { font-size: 14px; padding: 13px 18px; }
    .sheet { padding-inline: 13px; }
}

/* 5 can + XP + marka aynı satıra sığmalı; 360 px altında sıkıştır */
@media (max-width: 360px) {
    .brand-mark span { display: none; }
    .stat-pill { padding: 4px 8px; font-size: 11px; }
    .hearts { font-size: 11px; }
    .stat-pill.xp { font-size: 11px; }
}

/* Alçak ekranlarda (SE, katlanabilir kapak) dikey nefesi kıs */
@media (max-height: 700px) {
    .intro-icon { font-size: 46px; margin-bottom: 6px; }
    .intro-title { font-size: 20px; }
    .intro-subtitle { font-size: 12px; margin-bottom: 14px; }
    .completion-icon { font-size: 46px; }
    .action-feedback { max-height: 28dvh; }
}

/* Dokunma hedefleri en az 44 px (WCAG 2.5.5) */
.multi-option, .karar-card, .order-word, .order-slot, .station, .mode-card { min-height: 44px; }
.back-btn { min-width: 40px; min-height: 40px; }

/* Yatay kaydırma asla olmasın */
html, body { max-width: 100%; overflow-x: hidden; }
