@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@400;600;700;800&display=swap');

#phet-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 720px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #020617;
    transform-origin: top left;
}

:root {
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.75);
    --border: rgba(255, 255, 255, 0.07);
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --purple: #a855f7;
    --green: #4ade80;
    --amber: #fbbf24;
    --red: #f87171;
    --text: #f8fafc;
    --muted: #64748b;
}

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

body.sim-page {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #020617;
}

/* NAV */
.cm-nav {
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.5rem;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 200;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
}

/* INFO NAV BTN */
.info-nav-btn {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: var(--cyan);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: 0.2s;
    font-family: inherit;
}

.info-nav-btn:hover {
    background: var(--cyan);
    color: #020617;
    transform: translateY(-1px);
}

/* MAIN */
.cm-main {
    padding: 10px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
}

/* ANALOGY BANNER */
.analogy-banner {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 18px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.analogy-icons {
    font-size: 2rem;
    flex-shrink: 0;
    letter-spacing: 0.3rem;
}

.analogy-text {
    flex: 1;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
    min-width: 200px;
}

.analogy-text strong {
    color: var(--text);
}

.analogy-text em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 700;
}

.guided-btn {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #020617;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
    flex-shrink: 0;
    font-family: inherit;
}

.guided-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

/* CONTROLS BAR */
.controls-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.6rem 1rem;
}

.ctrl-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.bar-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pat-btn,
.rep-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.28rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.pat-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.pat-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #020617;
}

.rep-btn:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.rep-btn.active {
    background: var(--amber);
    border-color: var(--amber);
    color: #020617;
}

.ctrl-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s;
}

.ctrl-btn.step {
    background: var(--blue);
    color: #fff;
}

.ctrl-btn.step:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.ctrl-btn.auto {
    background: var(--green);
    color: #020617;
}

.ctrl-btn.auto:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.ctrl-btn.reset {
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.ctrl-btn.reset:hover {
    background: rgba(248, 113, 113, 0.2);
}

/* SIM AREA */
.sim-area {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 0.8rem;
    align-items: start;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* PANEL BOX */
.panel-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.panel-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}

/* LEFT COL */
.left-col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.left-col::-webkit-scrollbar {
    width: 2px;
}

.left-col::-webkit-scrollbar-thumb {
    background: #334155;
}

/* CPU BOX */
.cpu-box {
    padding: 0.55rem 0.8rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(59, 130, 246, 0.06));
    border-color: rgba(34, 211, 238, 0.2);
}

.cpu-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.cpu-request-label {
    font-size: 0.6rem;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.1rem;
}

.cpu-request-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.15rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cpu-arrow {
    font-size: 1rem;
    color: var(--muted);
    animation: arrow-bounce 1s ease infinite;
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* RESULT BADGE */
.result-badge {
    text-align: center;
    padding: 0.35rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    transition: all 0.3s;
}

.result-badge.hit {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: var(--green);
    opacity: 1 !important;
}

.result-badge.miss {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: var(--red);
    opacity: 1 !important;
}

/* EXPLAIN BOX */
.explain-box {
    padding: 0.55rem 0.7rem;
}

.explain-body {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.explain-body strong {
    color: var(--text);
}

.explain-body .hl {
    color: var(--cyan);
    font-weight: 700;
}

.explain-body .hl-g {
    color: var(--green);
    font-weight: 700;
}

.explain-body .hl-r {
    color: var(--red);
    font-weight: 700;
}

.explain-body .hl-a {
    color: var(--amber);
    font-weight: 700;
}

/* STATS PANEL */
.stats-panel {
    padding: 0.55rem 0.7rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}

.stat-box {
    border-radius: 8px;
    padding: 0.3rem;
    text-align: center;
    border: 1px solid var(--border);
}

.hit-stat {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.2);
}

.miss-stat {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
}

.rate-stat {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.2);
}

.total-stat {
    background: rgba(255, 255, 255, 0.03);
}

.stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 800;
    color: var(--cyan);
}

.hit-stat .stat-num {
    color: var(--green);
}

.miss-stat .stat-num {
    color: var(--red);
}

.rate-stat .stat-num {
    color: var(--cyan);
}

.stat-lbl {
    font-size: 0.6rem;
    color: var(--muted);
    margin-top: 1px;
}

.hit-bar-wrap {
    margin-top: 0.4rem;
}

.hit-bar-track {
    height: 8px;
    background: rgba(248, 113, 113, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.hit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--cyan));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.hit-bar-label {
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 0.3rem;
    text-align: center;
}

/* CENTER COL */
.center-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* CACHE PANEL */
.cache-panel {
    padding: 0.6rem 0.7rem;
}

.cache-size-badge {
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    margin-left: auto;
}

.cache-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* CACHE SLOT */
.cache-slot {
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    border: 2px solid var(--border);
    background: rgba(2, 6, 23, 0.3);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cache-slot.empty {
    border-style: dashed;
    opacity: 0.5;
    text-align: center;
}

.cache-slot.empty .slot-empty-label {
    font-size: 0.75rem;
    color: var(--muted);
}

.cache-slot.filled {
    animation: slot-fill 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slot-fill {
    from {
        transform: scale(0.9);
        opacity: 0.5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cache-slot.hit-flash {
    animation: hit-flash 0.5s ease;
}

@keyframes hit-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
        transform: scale(1.04);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.cache-slot.miss-flash {
    animation: miss-flash 0.35s ease;
}

@keyframes miss-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(248, 113, 113, 0);
    }

    100% {
        box-shadow: none;
    }
}

.slot-index {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.slot-block-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.slot-tag {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.slot-lru-badge {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-top: 0.2rem;
    width: fit-content;
}

.cache-speed-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.2rem;
    font-weight: 600;
}

/* MIDDLE ARROW */
.middle-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0;
}

.arrow-label {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.arrow-label.hit-label {
    background: rgba(74, 222, 128, 0.15);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.arrow-label.miss-label {
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.arrow-label.idle-label {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.arrow-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

/* RAM PANEL */
.ram-panel {
    padding: 0.6rem 0.7rem;
}

.ram-size-badge {
    background: rgba(251, 191, 36, 0.1);
    color: var(--amber);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    margin-left: auto;
}

.ram-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.3rem;
}

.ram-block {
    aspect-ratio: 1;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.3s;
    cursor: default;
}

.ram-block.in-cache {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
    color: var(--cyan);
}

.ram-block.being-fetched {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    color: var(--amber);
    animation: fetch-pulse 0.6s ease infinite alternate;
}

@keyframes fetch-pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
        box-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
    }
}

.ram-block.requested {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--purple);
}

/* RIGHT COL */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.right-col::-webkit-scrollbar {
    width: 2px;
}

.right-col::-webkit-scrollbar-thumb {
    background: #334155;
}

/* LOG & QUEUE */
.log-panel {
    padding: 0.8rem;
}

.queue-panel {
    padding: 0.8rem;
}

.log-body {
    overflow-y: auto;
    max-height: 200px;
    margin-top: 0.4rem;
}

.log-body::-webkit-scrollbar {
    width: 2px;
}

.log-body::-webkit-scrollbar-thumb {
    background: #334155;
}

.log-entry {
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 3px;
    line-height: 1.5;
}

.log-hit {
    color: var(--green);
}

.log-miss {
    color: var(--red);
}

.log-info {
    color: var(--muted);
}

.queue-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.queue-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: var(--muted);
}

.queue-item.next {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.35);
    color: var(--cyan);
}

/* GUIDED DEMO */
.demo-overlay {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 100%;
    max-width: 480px;
    padding: 0 16px;
    animation: demo-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes demo-up {
    from {
        transform: translateX(-50%) translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.demo-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 2px solid rgba(34, 211, 238, 0.35);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.demo-step-ind {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.demo-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.demo-body {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.demo-body strong {
    color: var(--text);
}

.demo-actions {
    display: flex;
    gap: 0.8rem;
}

/* INFO MODAL */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: mfade 0.25s ease;
}

.info-modal-overlay.hidden {
    display: none;
}

@keyframes mfade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.info-modal-box {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 24px;
    padding: 1.8rem;
    width: 100%;
    max-width: 660px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: mslide 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes mslide {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
}

.info-modal-close:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.info-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.info-modal-icon {
    font-size: 2.2rem;
}

.info-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.info-modal-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.1rem;
}

.why-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.6rem;
}

.why-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.why-tab:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.why-tab.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #020617;
}

.why-section {
    display: none;
}

.why-section.active {
    display: block;
}

.why-section p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.why-section p strong {
    color: var(--text);
}

.modal-big-analogy {
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-big-analogy p {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.6rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

.step-num {
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.step-item strong {
    color: var(--text);
}

/* HIT/MISS CARDS */
.hit-miss-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0.8rem 0;
}

.hm-card {
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    border: 1px solid;
}

.hit-card {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.3);
}

.miss-card {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.3);
}

.hm-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.hm-title {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.hm-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
}

.hm-desc strong {
    color: var(--text);
}

/* REAL EXAMPLES */
.real-examples {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.re-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

.re-item strong {
    color: var(--text);
}

.re-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-modal-box::-webkit-scrollbar {
    width: 3px;
}

.info-modal-box::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

/* RESPONSIVE */
/* Fixed layout */








/* Fixed layout at all sizes */