
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg:        #080d18;
            --bg2:       #0d1526;
            --surface:   #111c30;
            --surface2:  #172038;
            --border:    rgba(255,255,255,0.06);
            --border2:   rgba(255,255,255,0.12);
            --bullish:   #10b981;
            --bearish:   #ef4444;
            --neutral:   #f59e0b;
            --text:      #f1f5f9;
            --text-muted:#94a3b8;
            --gold:      #f5c842;
            --blue:      #3b82f6;
            --purple:    #a855f7;
            --winfut:    #0ea5e9;
            --ict:       #f5c842;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* ─── SCROLLBAR ─── */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg); }
        ::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--blue); }

        /* ─── ANIMATED BG ─── */
        .bg-mesh {
            position: fixed; inset: 0; z-index: 0; pointer-events: none;
            background:
                radial-gradient(ellipse 80% 50% at 20% 50%, rgba(14,165,233,0.04) 0%, transparent 60%),
                radial-gradient(ellipse 60% 60% at 80% 20%, rgba(245,200,66,0.03) 0%, transparent 50%),
                radial-gradient(ellipse 70% 40% at 50% 90%, rgba(168,85,247,0.03) 0%, transparent 60%);
        }

        /* ─── SITE WRAPPER ─── */
        #app { position: relative; z-index: 1; }

        /* ─── TOP NAV BAR ─── */
        .topbar {
            position: sticky; top: 0; z-index: 200;
            background: rgba(8,13,24,0.92);
            backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 28px;
            height: 64px;
            gap: 20px;
        }

        .topbar-brand {
            display: flex; align-items: center; gap: 12px; flex-shrink: 0;
            text-decoration: none;
        }

        .topbar-logo {
            width: 38px; height: 38px; object-fit: contain;
            filter: drop-shadow(0 0 8px rgba(14,165,233,0.4));
        }

        .topbar-name {
            font-size: 0.95rem; font-weight: 800;
            background: linear-gradient(135deg, #0ea5e9, #10b981);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            letter-spacing: -0.3px;
        }

        .topbar-tagline {
            font-size: 0.7rem; color: var(--text-muted); display: none;
        }

        @media (min-width: 600px) { .topbar-tagline { display: block; } }

        /* ─── TAB NAV ─── */
        .tab-nav {
            display: flex; align-items: center; gap: 2px;
            flex: 1; justify-content: center;
            overflow-x: auto; white-space: nowrap;
            padding: 0 8px;
        }

        .tab-nav::-webkit-scrollbar { display: none; }

        .tab-btn {
            display: flex; align-items: center; gap: 7px;
            padding: 8px 18px;
            background: transparent;
            border: none; border-radius: 8px;
            color: var(--text-muted);
            font-size: 0.85rem; font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            position: relative;
        }

        .tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }

        .tab-btn.active {
            color: var(--text);
            background: rgba(255,255,255,0.07);
        }

        .tab-btn.active::after {
            content: '';
            position: absolute; bottom: -1px; left: 10%; right: 10%;
            height: 2px; border-radius: 2px;
            background: var(--tab-color, var(--blue));
        }

        .tab-btn[data-tab="candlesticks"] { --tab-color: var(--bullish); }
        .tab-btn[data-tab="winfut"]        { --tab-color: var(--winfut); }
        .tab-btn[data-tab="ict"]           { --tab-color: var(--gold); }
        .tab-btn[data-tab="smc"]           { --tab-color: #3b82f6; }

        /* ─── SMC TAB IFRAME ─── */
        #tab-smc { padding: 0; }
        .smc-frame-wrap {
            position: relative;
            width: 100%;
            min-height: 100vh;
        }
        .smc-iframe {
            width: 100%;
            border: none;
            min-height: 100vh;
            height: calc(100vh - 54px);
            display: block;
        }
        .smc-open-btn {
            display: none;
        }
        @media (max-width: 480px) {
            .smc-iframe { height: 80vh; }
        }

        .tab-dot {
            width: 7px; height: 7px; border-radius: 50%;
            background: var(--tab-color, var(--blue));
            flex-shrink: 0;
        }

        .tab-badge {
            font-size: 0.65rem; font-weight: 700;
            padding: 1px 6px; border-radius: 10px;
            background: rgba(245,200,66,0.15);
            color: var(--gold); letter-spacing: 0.5px;
        }

        /* ─── HERO ─── */
        .hero {
            text-align: center;
            padding: 72px 20px 52px;
            background: linear-gradient(180deg, rgba(13,21,38,0.8) 0%, transparent 100%);
            border-bottom: 1px solid var(--border);
        }

        .hero-eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--gold);
            background: rgba(245,200,66,0.08);
            border: 1px solid rgba(245,200,66,0.2);
            padding: 5px 14px; border-radius: 20px;
            margin-bottom: 24px;
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.8rem);
            font-weight: 900;
            line-height: 1.08;
            letter-spacing: -2px;
            margin-bottom: 16px;
        }

        .hero h1 .grad-green {
            background: linear-gradient(135deg, #10b981, #34d399);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }

        .hero h1 .grad-gold {
            background: linear-gradient(135deg, var(--gold), #f8a100);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }

        .hero-sub {
            font-size: 1.05rem; color: var(--text-muted);
            max-width: 580px; margin: 0 auto 36px;
        }

        .stats-row {
            display: flex; justify-content: center; gap: 12px;
            flex-wrap: wrap;
        }

        .stat-pill {
            display: flex; flex-direction: column; align-items: center;
            padding: 14px 24px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            min-width: 100px;
            transition: border-color 0.2s;
        }

        .stat-pill:hover { border-color: var(--border2); }

        .stat-num {
            font-size: 1.9rem; font-weight: 900;
            color: var(--gold);
            line-height: 1;
            font-variant-numeric: tabular-nums;
        }

        .stat-lbl {
            font-size: 0.7rem; color: var(--text-muted);
            text-transform: uppercase; letter-spacing: 1px;
            margin-top: 4px;
        }

        /* ─── TAB CONTENT ─── */
        .tab-content { display: none; }
        .tab-content.active { display: block; }

        /* ─── FILTER BAR ─── */
        .filter-bar {
            display: flex; justify-content: center; gap: 10px;
            padding: 18px 20px;
            flex-wrap: wrap;
            background: rgba(8,13,24,0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            position: sticky; top: 0; z-index: 100;
        }

        .filter-btn {
            display: flex; align-items: center; gap: 7px;
            padding: 9px 20px;
            border: 1px solid var(--border);
            background: rgba(255,255,255,0.02);
            color: var(--text-muted);
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-weight: 600; font-size: 0.82rem; letter-spacing: 0.3px;
            font-family: inherit;
        }

        .filter-btn:hover {
            transform: translateY(-2px);
            border-color: var(--border2);
            background: rgba(255,255,255,0.05);
            color: var(--text);
        }

        .filter-btn.active {
            border-color: currentColor;
            background: rgba(255,255,255,0.08);
            color: var(--text);
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }

        .filter-btn[data-filter="all"]          { color: #e2e8f0; }
        .filter-btn[data-filter="bullish"]       { color: var(--bullish); }
        .filter-btn[data-filter="bearish"]       { color: var(--bearish); }
        .filter-btn[data-filter="continuation"]  { color: var(--neutral); }
        .filter-btn[data-filter="top5"]          { color: var(--gold); }

        /* ─── PATTERNS GRID ─── */
        .patterns-grid {
            max-width: 1440px; margin: 0 auto;
            padding: 36px 24px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 22px;
        }

        @media (max-width: 768px) {
            .patterns-grid { grid-template-columns: 1fr; padding: 20px; }
        }

        /* ─── PATTERN CARD ─── */
        .pattern-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 18px; overflow: hidden;
            position: relative;
            transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275),
                        box-shadow 0.3s ease, border-color 0.3s ease;
            animation: fadeUp 0.5s ease both;
        }

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

        .pattern-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: currentColor; transform: scaleX(0);
            transition: transform 0.3s ease; transform-origin: left;
        }

        .pattern-card.bullish      { color: var(--bullish); }
        .pattern-card.bearish      { color: var(--bearish); }
        .pattern-card.continuation { color: var(--neutral); }

        .pattern-card:hover {
            transform: translateY(-7px) scale(1.015);
            box-shadow: 0 24px 48px rgba(0,0,0,0.5);
            border-color: rgba(255,255,255,0.12);
        }

        .pattern-card:hover::before { transform: scaleX(1); }

        .card-img {
            width: 100%; height: 240px; object-fit: contain;
            padding: 20px; background: rgba(255,255,255,0.015);
            transition: transform 0.3s ease;
            display: block;
        }

        .pattern-card:hover .card-img { transform: scale(1.04); }

        .card-body { padding: 22px; }

        .card-meta {
            display: flex; justify-content: space-between;
            align-items: center; margin-bottom: 12px;
        }

        .card-num {
            font-size: 0.75rem; font-weight: 700;
            font-family: 'JetBrains Mono', monospace;
            color: var(--text-muted);
            background: rgba(255,255,255,0.04);
            padding: 4px 10px; border-radius: 8px;
        }

        .card-badge {
            font-size: 0.68rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.5px;
            padding: 4px 10px; border-radius: 8px;
        }

        .bullish  .card-badge { background: rgba(16,185,129,0.12); color: var(--bullish); }
        .bearish  .card-badge { background: rgba(239,68,68,0.12);  color: var(--bearish); }
        .continuation .card-badge { background: rgba(245,158,11,0.12); color: var(--neutral); }

        .card-name {
            font-size: 1.2rem; font-weight: 800;
            color: #fff; margin-bottom: 4px; line-height: 1.2;
        }

        .card-sub {
            font-size: 0.85rem; color: var(--text-muted);
            font-style: italic; margin-bottom: 12px;
        }

        .card-desc {
            font-size: 0.9rem; color: rgba(241,245,249,0.85);
            line-height: 1.65; margin-bottom: 14px;
        }

        .psych-box {
            background: rgba(0,0,0,0.25);
            border-left: 3px solid currentColor;
            border-radius: 0 8px 8px 0;
            padding: 13px 16px;
        }

        .psych-label {
            font-size: 0.68rem; text-transform: uppercase;
            letter-spacing: 1.2px; font-weight: 700;
            color: var(--text-muted); margin-bottom: 6px;
        }

        .psych-text {
            font-size: 0.87rem; line-height: 1.6;
            color: rgba(241,245,249,0.9);
        }

        .card-footer {
            display: flex; align-items: center; gap: 10px;
            margin-top: 14px; padding-top: 14px;
            border-top: 1px solid var(--border);
        }

        .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }

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

        .top-badge {
            position: absolute; top: 14px; right: 14px; z-index: 10;
            background: linear-gradient(135deg, var(--gold), #ffed4e);
            color: #0a0e1a; font-size: 0.7rem; font-weight: 800;
            padding: 4px 10px; border-radius: 14px;
            box-shadow: 0 4px 14px rgba(245,200,66,0.35);
        }

        /* ─── HIGHLIGHTS (5★) ─── */
        .highlights-wrap {
            max-width: 1440px; margin: 0 auto; padding: 0 24px 10px;
        }

        .highlights-box {
            background: linear-gradient(135deg, rgba(245,200,66,0.06), rgba(245,200,66,0.02));
            border: 1px solid rgba(245,200,66,0.15);
            border-radius: 20px; padding: 28px; margin-bottom: 24px;
        }

        .highlights-title {
            font-size: 1.3rem; font-weight: 800; color: var(--gold);
            margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
        }

        .highlights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 14px;
        }

        .highlight-item {
            display: flex; align-items: center; gap: 14px;
            background: rgba(245,200,66,0.06);
            border: 1px solid rgba(245,200,66,0.12);
            border-radius: 12px; padding: 16px 18px;
            transition: all 0.25s ease;
        }

        .highlight-item:hover {
            background: rgba(245,200,66,0.1);
            transform: translateX(4px);
        }

        .highlight-icon { font-size: 1.8rem; flex-shrink: 0; }

        .highlight-item h4 { font-size: 0.95rem; color: #fff; margin-bottom: 3px; }
        .highlight-item p  { font-size: 0.78rem; color: var(--text-muted); }

        /* ─── WINFUT TAB ─── */
        .winfut-wrap {
            max-width: 1440px; margin: 0 auto; padding: 40px 24px;
        }

        .section-intro {
            text-align: center; padding: 44px 40px; margin-bottom: 44px;
            background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(16,185,129,0.04));
            border: 1px solid rgba(14,165,233,0.18);
            border-radius: 24px;
        }

        .section-intro-icon { font-size: 2.5rem; margin-bottom: 14px; }

        .section-intro h2 {
            font-size: clamp(1.6rem, 3vw, 2.4rem);
            font-weight: 900; color: var(--winfut);
            margin-bottom: 12px; letter-spacing: -0.5px;
        }

        .section-intro p {
            color: var(--text-muted); font-size: 1rem;
            max-width: 720px; margin: 0 auto;
        }

        .winfut-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
            gap: 28px;
        }

        @media (max-width: 720px) { .winfut-grid { grid-template-columns: 1fr; } }

        .winfut-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 20px; overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .winfut-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            border-color: rgba(14,165,233,0.25);
        }

        .winfut-card.full { grid-column: 1 / -1; }

        .winfut-img-wrap { background: #000; overflow: hidden; }

        .winfut-img {
            width: 100%; height: auto; display: block;
            transition: transform 0.3s ease;
        }

        .winfut-card:hover .winfut-img { transform: scale(1.02); }

        .winfut-body { padding: 28px; }

        .winfut-header {
            display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
        }

        .winfut-num {
            width: 38px; height: 38px; flex-shrink: 0;
            background: linear-gradient(135deg, var(--winfut), var(--bullish));
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 0.88rem; color: white;
            font-family: 'JetBrains Mono', monospace;
        }

        .winfut-card h3 {
            font-size: 1.3rem; font-weight: 800; color: #fff;
        }

        .winfut-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.94rem; }

        .tags { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

        .tag {
            padding: 5px 13px; border-radius: 18px;
            font-size: 0.78rem; font-weight: 600;
            border: 1px solid;
        }

        .tag.blue   { background: rgba(59,130,246,0.1);  border-color: rgba(59,130,246,0.3);  color: var(--blue); }
        .tag.green  { background: rgba(16,185,129,0.1);  border-color: rgba(16,185,129,0.3);  color: var(--bullish); }
        .tag.red    { background: rgba(239,68,68,0.1);   border-color: rgba(239,68,68,0.3);   color: var(--bearish); }
        .tag.yellow { background: rgba(245,158,11,0.1);  border-color: rgba(245,158,11,0.3);  color: var(--neutral); }
        .tag.purple { background: rgba(168,85,247,0.1);  border-color: rgba(168,85,247,0.3);  color: var(--purple); }

        /* ─── WINFUT INNER COMPONENTS ─── */
        .index-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 12px; margin-top: 18px;
        }

        .index-item {
            display: flex; align-items: center; gap: 14px;
            padding: 13px 18px;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border); border-radius: 10px;
            transition: all 0.2s ease;
        }

        .index-item:hover { background: rgba(255,255,255,0.04); transform: translateX(4px); }

        .idx-num {
            width: 32px; height: 32px; flex-shrink: 0;
            background: rgba(245,200,66,0.12); border: 2px solid rgba(245,200,66,0.3);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-weight: 700; color: var(--gold); font-size: 0.82rem;
            font-family: 'JetBrains Mono', monospace;
        }

        .idx-text h4 { font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
        .idx-text p  { font-size: 0.78rem; color: var(--text-muted); }

        .data-table {
            width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.88rem;
        }

        .data-table th {
            background: rgba(14,165,233,0.12); color: var(--winfut);
            padding: 12px 14px; text-align: left; font-weight: 700;
            font-size: 0.77rem; text-transform: uppercase; letter-spacing: 0.5px;
        }

        .data-table td {
            padding: 11px 14px; border-bottom: 1px solid var(--border);
            color: var(--text-muted);
        }

        .data-table tr:hover td { background: rgba(255,255,255,0.02); }
        .data-table .c-green { color: var(--bullish); font-weight: 600; }
        .data-table .c-red   { color: var(--bearish); font-weight: 600; }

        .checklist-grid { display: grid; gap: 16px; margin-top: 18px; }

        .checklist-phase {
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border); border-radius: 14px; padding: 22px;
        }

        .checklist-phase h4 {
            font-size: 1rem; color: var(--winfut); margin-bottom: 14px;
            display: flex; align-items: center; gap: 8px; font-weight: 700;
        }

        .checklist-items { list-style: none; display: flex; flex-direction: column; gap: 2px; }

        .checklist-items li {
            padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
            display: flex; align-items: flex-start; gap: 10px;
            color: var(--text-muted); font-size: 0.88rem; line-height: 1.5;
        }

        .checklist-items li:last-child { border-bottom: none; }
        .checklist-items li::before { content: '◻'; color: var(--bullish); flex-shrink: 0; margin-top: 1px; }

        .golden-rules {
            background: linear-gradient(135deg, rgba(245,200,66,0.08), rgba(245,200,66,0.03));
            border: 1px solid rgba(245,200,66,0.25); border-radius: 14px;
            padding: 22px; margin-top: 16px;
        }

        .golden-rules h4 {
            color: var(--gold); font-size: 1rem; font-weight: 700;
            margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
        }

        .golden-rules ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }

        .golden-rules li {
            padding: 7px 0; color: var(--text-muted); font-size: 0.88rem;
            display: flex; align-items: flex-start; gap: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }

        .golden-rules li:last-child { border-bottom: none; }
        .golden-rules li::before { content: '⚡'; flex-shrink: 0; }

        .glossary-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 12px; margin-top: 18px;
        }

        .glossary-item {
            padding: 16px 20px; border-radius: 10px;
            background: rgba(255,255,255,0.02);
            border-left: 3px solid; transition: all 0.2s ease;
        }

        .glossary-item:hover { background: rgba(255,255,255,0.04); transform: translateY(-2px); }
        .glossary-item.c-blue   { border-color: var(--blue); }
        .glossary-item.c-green  { border-color: var(--bullish); }
        .glossary-item.c-red    { border-color: var(--bearish); }
        .glossary-item.c-yellow { border-color: var(--neutral); }
        .glossary-item.c-purple { border-color: var(--purple); }
        .glossary-item.c-orange { border-color: #f97316; }

        .glossary-term {
            font-size: 0.82rem; font-weight: 800; color: #fff;
            text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
            font-family: 'JetBrains Mono', monospace;
        }

        .glossary-def { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

        .flowchart-legend {
            display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px;
        }

        .legend-dot {
            width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0;
        }

        .legend-dot.blue   { background: var(--blue); }
        .legend-dot.green  { background: var(--bullish); }
        .legend-dot.red    { background: var(--bearish); }
        .legend-dot.yellow { background: var(--neutral); }

        .legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-muted); }

        /* ─── ICT TAB ─── */
        .ict-wrap { max-width: 1200px; margin: 0 auto; padding: 44px 24px; }

        .ict-intro {
            text-align: center; padding: 52px 40px; margin-bottom: 52px;
            background: linear-gradient(135deg, rgba(245,200,66,0.07), rgba(245,200,66,0.02));
            border: 1px solid rgba(245,200,66,0.2);
            border-radius: 24px; position: relative; overflow: hidden;
        }

        .ict-intro::before {
            content: 'ICT';
            position: absolute; top: -20px; right: -10px;
            font-size: 9rem; font-weight: 900; color: rgba(245,200,66,0.04);
            line-height: 1; font-family: 'JetBrains Mono', monospace;
            pointer-events: none;
        }

        .ict-intro h2 {
            font-size: clamp(1.6rem, 3vw, 2.6rem);
            font-weight: 900; margin-bottom: 14px; letter-spacing: -0.5px;
        }

        .ict-intro h2 .g { background: linear-gradient(135deg, var(--gold), #f8a100);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        .ict-intro p { color: var(--text-muted); font-size: 1rem; max-width: 680px; margin: 0 auto 24px; }

        .ict-meta {
            display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
        }

        .ict-meta-item {
            display: flex; flex-direction: column; align-items: center; gap: 2px;
        }

        .ict-meta-item .n { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
        .ict-meta-item .l { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

        /* ICT SECTIONS */
        .ict-section { margin-bottom: 60px; }

        .ict-section-header {
            display: flex; align-items: center; gap: 14px;
            margin-bottom: 28px; padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }

        .ict-section-num {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem; font-weight: 700;
            color: var(--gold); letter-spacing: 2px;
        }

        .ict-section-title {
            font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: -0.3px;
        }

        .ict-section-title span { color: var(--gold); }

        /* ICT CHART CARDS */
        .ict-chart {
            background: var(--surface);
            border: 1px solid var(--border); border-radius: 14px;
            padding: 28px; margin-bottom: 24px;
        }

        .ict-chart-title {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem; font-weight: 600;
            color: var(--gold); letter-spacing: 2px;
            text-transform: uppercase; margin-bottom: 18px;
            display: flex; align-items: center; gap: 8px;
        }

        .ict-chart-title::before {
            content: ''; width: 6px; height: 6px; border-radius: 50%;
            background: var(--gold); flex-shrink: 0;
        }

        svg.chart { width: 100%; height: auto; display: block; }

        /* ICT CARDS GRID */
        .ict-card-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 16px; margin: 24px 0;
        }

        .ict-card {
            background: var(--surface);
            border: 1px solid var(--border); border-radius: 12px; padding: 22px;
            position: relative; overflow: hidden;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .ict-card:hover { border-color: var(--border2); transform: translateY(-2px); }

        .ict-card::after {
            content: ''; position: absolute; top: 0; right: 0;
            width: 3px; height: 50px;
            background: var(--card-accent, var(--blue));
        }

        .ict-card.gold   { --card-accent: var(--gold); }
        .ict-card.green  { --card-accent: var(--bullish); }
        .ict-card.red    { --card-accent: var(--bearish); }
        .ict-card.blue   { --card-accent: var(--blue); }
        .ict-card.purple { --card-accent: var(--purple); }

        .ict-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
        .ict-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
        .ict-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

        /* ICT ALERTS */
        .ict-alert {
            border-radius: 10px; padding: 16px 20px; margin: 20px 0;
            border-left: 4px solid; font-size: 0.9rem;
        }

        .ict-alert.tip     { background: rgba(16,185,129,0.06); border-color: var(--bullish); }
        .ict-alert.warning { background: rgba(245,200,66,0.06); border-color: var(--gold); }
        .ict-alert.danger  { background: rgba(239,68,68,0.06);  border-color: var(--bearish); }
        .ict-alert.info    { background: rgba(59,130,246,0.06);  border-color: var(--blue); }

        .ict-alert-label {
            font-weight: 800; font-size: 0.7rem;
            text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
        }

        .ict-alert.tip     .ict-alert-label { color: var(--bullish); }
        .ict-alert.warning .ict-alert-label { color: var(--gold); }
        .ict-alert.danger  .ict-alert-label { color: var(--bearish); }
        .ict-alert.info    .ict-alert-label { color: var(--blue); }
        .ict-alert p { color: var(--text-muted); margin: 0; }

        /* ICT STEPS */
        .ict-steps { display: flex; flex-direction: column; gap: 14px; margin: 22px 0; }

        .ict-step { display: flex; gap: 18px; align-items: flex-start; }

        .ict-step-num {
            flex-shrink: 0; width: 34px; height: 34px;
            background: rgba(245,200,66,0.1);
            border: 1px solid rgba(245,200,66,0.3); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-family: 'JetBrains Mono', monospace; font-weight: 700;
            font-size: 0.85rem; color: var(--gold); margin-top: 2px;
        }

        .ict-step h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
        .ict-step p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

        /* ICT PHASE ROW */
        .phase-row {
            display: flex; border-radius: 12px; overflow: hidden;
            border: 1px solid var(--border); margin: 22px 0;
        }

        .phase { flex: 1; padding: 18px 14px; text-align: center; }
        .phase-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: #fff; }
        .phase p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
        .phase.acc  { background: rgba(148,163,184,0.06); }
        .phase.exp  { background: rgba(59,130,246,0.08); }
        .phase.ret  { background: rgba(245,200,66,0.06); }
        .phase.rev  { background: rgba(239,68,68,0.06); }

        /* ICT TABLE */
        .ict-table {
            width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.86rem;
        }

        .ict-table th {
            background: rgba(245,200,66,0.1); color: var(--gold);
            padding: 12px 16px; text-align: left;
            font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
            border-bottom: 2px solid rgba(245,200,66,0.2);
        }

        .ict-table td {
            padding: 12px 16px; border-bottom: 1px solid var(--border);
            color: var(--text-muted);
        }

        .ict-table tr:hover td { background: rgba(255,255,255,0.02); }

        .itag {
            display: inline-block; padding: 2px 9px; border-radius: 5px;
            font-size: 0.72rem; font-weight: 700;
        }

        .itag.bull { background: rgba(16,185,129,0.12); color: var(--bullish); }
        .itag.bear { background: rgba(239,68,68,0.12);  color: var(--bearish); }
        .itag.neu  { background: rgba(148,163,184,0.1); color: var(--text-muted); }

        /* ICT CHECKLIST COLS */
        .ict-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
        @media (max-width: 620px) { .ict-two-col { grid-template-columns: 1fr; } }

        .ict-list-box {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 20px;
        }

        .ict-list-box h4 { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 12px; }

        .ict-checklist { list-style: none; display: flex; flex-direction: column; gap: 6px; }

        .ict-checklist li {
            display: flex; align-items: flex-start; gap: 10px;
            font-size: 0.85rem; color: var(--text-muted); padding: 4px 0;
        }

        .ict-checklist li::before { content: '✓'; color: var(--bullish); font-weight: 700; flex-shrink: 0; }
        .ict-checklist.cross li::before { content: '✗'; color: var(--bearish); }

        /* ─── FOOTER ─── */
        .site-footer {
            margin-top: 80px;
            background: var(--surface); border-top: 1px solid var(--border);
            padding: 44px 28px;
        }

        .footer-inner {
            max-width: 1200px; margin: 0 auto;
            display: flex; justify-content: space-between;
            align-items: center; flex-wrap: wrap; gap: 20px;
        }

        .footer-brand { display: flex; align-items: center; gap: 14px; }

        .footer-logo { width: 46px; height: 46px; object-fit: contain; }

        .footer-brand h4 {
            font-size: 1rem; font-weight: 800;
            background: linear-gradient(135deg, var(--winfut), var(--bullish));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }

        .footer-brand p { font-size: 0.82rem; color: var(--text-muted); }

        .footer-links { display: flex; gap: 24px; }

        .footer-links a {
            color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
            transition: color 0.2s;
        }

        .footer-links a:hover { color: var(--winfut); }

        .footer-copy {
            width: 100%; text-align: center; padding-top: 20px;
            margin-top: 20px; border-top: 1px solid var(--border);
            font-size: 0.78rem; color: var(--text-muted);
        }

        /* ─── WINFUT CREDITS ─── */
        .winfut-credits {
            margin-top: 50px; padding: 28px; text-align: center;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border); border-radius: 16px;
        }

        .winfut-credits p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 10px; }

        .winfut-credits .disclaimer {
            color: var(--bearish); font-size: 0.84rem; font-weight: 600;
        }

        /* ─── MOBILE ─── */
        @media (max-width: 768px) {
            .topbar { padding: 0 16px; }
            .hero   { padding: 48px 16px 36px; }
            .phase-row { flex-direction: column; }
            .ict-two-col { grid-template-columns: 1fr; }
            .glossary-grid { grid-template-columns: 1fr; }
        }

        /* ─── SMOOTH TRANSITIONS ─── */
        .tab-content { animation: fadeIn 0.25s ease; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* ─── PROGRESS BAR ON LOAD ─── */
        .progress-bar {
            position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
            background: linear-gradient(90deg, var(--bullish), var(--gold), var(--winfut));
            transition: width 0.3s ease;
            width: 0;
        }

        /* ─── ANNOUNCEMENT BANNER ─── */
        .ann-banner {
            background: linear-gradient(90deg, rgba(14,165,233,0.15), rgba(245,200,66,0.12), rgba(16,185,129,0.12));
            border-bottom: 1px solid rgba(14,165,233,0.2);
            padding: 10px 20px;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            font-size: 0.82rem; font-weight: 600; color: var(--text);
            text-align: center; flex-wrap: wrap;
            position: relative;
        }
        .ann-banner span { color: var(--gold); }
        .ann-banner .ann-close {
            position: absolute; right: 14px;
            background: none; border: none; color: var(--text-muted);
            cursor: pointer; font-size: 1rem; line-height: 1;
            padding: 4px; transition: color 0.2s;
        }
        .ann-banner .ann-close:hover { color: var(--text); }

        /* ─── SOCIAL ICONS ─── */
        .social-bar {
            display: flex; align-items: center; gap: 8px; flex-shrink: 0;
        }

        .social-btn {
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 9px;
            border: 1px solid var(--border);
            background: rgba(255,255,255,0.03);
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .social-btn:hover { transform: translateY(-2px); border-color: var(--border2); }
        .social-btn.ig:hover  { color: #e1306c; border-color: rgba(225,48,108,0.4); background: rgba(225,48,108,0.08); }
        .social-btn.fb:hover  { color: #1877f2; border-color: rgba(24,119,242,0.4); background: rgba(24,119,242,0.08); }
        .social-btn.yt:hover  { color: #ff0000; border-color: rgba(255,0,0,0.4);    background: rgba(255,0,0,0.08); }

        .social-btn svg { width: 17px; height: 17px; fill: currentColor; }

        /* ─── SOCIAL FLOATING ─── */
        .social-float {
            position: fixed; right: 18px; bottom: 24px; z-index: 500;
            display: flex; flex-direction: column; gap: 10px;
        }

        .sf-btn {
            width: 46px; height: 46px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 12px; text-decoration: none;
            color: #fff; font-weight: 700;
            box-shadow: 0 4px 18px rgba(0,0,0,0.4);
            transition: all 0.25s cubic-bezier(.175,.885,.32,1.275);
            position: relative;
        }

        .sf-btn:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
        .sf-btn.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
        .sf-btn.fb { background: #1877f2; }
        .sf-btn.yt { background: #ff0000; }
        .sf-btn svg { width: 20px; height: 20px; fill: #fff; }

        .sf-btn .sf-tooltip {
            position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
            background: #0d1526; color: #fff; font-size: 0.75rem; font-weight: 700;
            padding: 5px 10px; border-radius: 7px; white-space: nowrap;
            pointer-events: none; opacity: 0; transition: opacity 0.2s;
            border: 1px solid var(--border);
        }
        .sf-btn:hover .sf-tooltip { opacity: 1; }

        /* ─── FOOTER SOCIAL ─── */
        .footer-social {
            display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
        }

        .fsoc-btn {
            display: flex; align-items: center; gap: 8px;
            padding: 8px 16px; border-radius: 10px;
            text-decoration: none; font-size: 0.82rem; font-weight: 700;
            border: 1px solid; transition: all 0.2s ease;
        }
        .fsoc-btn:hover { transform: translateY(-2px); opacity: 0.9; }
        .fsoc-btn svg { width: 16px; height: 16px; fill: currentColor; }
        .fsoc-btn.ig { color: #e1306c; border-color: rgba(225,48,108,0.3); background: rgba(225,48,108,0.07); }
        .fsoc-btn.fb { color: #1877f2; border-color: rgba(24,119,242,0.3); background: rgba(24,119,242,0.07); }
        .fsoc-btn.yt { color: #ff0000; border-color: rgba(255,0,0,0.3);    background: rgba(255,0,0,0.07); }

        /* ─── QUIZ SECTION ─── */
        .quiz-cta {
            max-width: 900px; margin: 0 auto 40px;
            background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(168,85,247,0.08));
            border: 1px solid rgba(59,130,246,0.2);
            border-radius: 20px; padding: 32px 36px;
            display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
        }

        .quiz-icon { font-size: 3rem; flex-shrink: 0; }

        .quiz-body { flex: 1; min-width: 220px; }
        .quiz-body h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
        .quiz-body p  { color: var(--text-muted); font-size: 0.9rem; }

        .quiz-btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 26px; border-radius: 12px;
            background: linear-gradient(135deg, var(--blue), var(--purple));
            color: #fff; font-weight: 700; font-size: 0.9rem;
            border: none; cursor: pointer; text-decoration: none;
            transition: all 0.2s ease; flex-shrink: 0;
            box-shadow: 0 4px 18px rgba(59,130,246,0.3);
        }
        .quiz-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.4); }

        /* ─── SEARCH BAR ─── */
        .search-wrap {
            display: flex; justify-content: center;
            padding: 14px 20px 0;
        }

        .search-box {
            display: flex; align-items: center; gap: 10px;
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 10px 16px;
            width: 100%; max-width: 420px;
            transition: border-color 0.2s;
        }
        .search-box:focus-within { border-color: var(--blue); }
        .search-box svg { width: 16px; height: 16px; fill: var(--text-muted); flex-shrink: 0; }
        .search-box input {
            flex: 1; background: none; border: none; outline: none;
            color: var(--text); font-size: 0.9rem; font-family: inherit;
        }
        .search-box input::placeholder { color: var(--text-muted); }

        /* ─── BACK TO TOP ─── */
        .back-top {
            position: fixed; left: 18px; bottom: 24px; z-index: 500;
            width: 44px; height: 44px;
            background: var(--surface2); border: 1px solid var(--border2);
            border-radius: 12px; color: var(--text-muted);
            display: none; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s ease;
            box-shadow: 0 4px 14px rgba(0,0,0,0.4);
        }
        .back-top.visible { display: flex; }
        .back-top:hover { color: var(--text); background: var(--surface); transform: translateY(-2px); }
        .back-top svg { width: 18px; height: 18px; fill: currentColor; }
    
        /* ── v5.0 ADDITIONS — Extra Tabs ── */
        .tab-btn[data-tab="ict-avancado"] { --tab-color: #a855f7; }
        .tab-btn[data-tab="alinhamento"]  { --tab-color: #f97316; }
        .tab-btn[data-tab="smc"]          { --tab-color: #3b82f6; }

        .tab-dot {
            background: var(--tab-color, var(--blue)) !important;
        }

        /* Ensure hero inside iframe modules uses correct colors */
        .hero h1 .grad-green {
            background: linear-gradient(135deg, #10b981, #34d399);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero h1 .grad-gold {
            background: linear-gradient(135deg, var(--gold), #f8a100);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-sub {
            color: var(--text-muted); font-size: clamp(0.95rem, 2vw, 1.15rem);
            max-width: 620px; margin: 0 auto 32px;
        }
        .stats-row {
            display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px;
        }
        .stat-pill {
            display: flex; flex-direction: column; align-items: center;
            gap: 2px; padding: 12px 20px;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--border); border-radius: 14px;
        }
        .stat-num { font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1; }
        .stat-lbl { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

        /* Module page hero (standalone) */
        .module-hero {
            text-align: center;
            padding: 52px 20px 36px;
            background: linear-gradient(180deg, rgba(13,21,38,0.8) 0%, transparent 100%);
            border-bottom: 1px solid var(--border);
        }
