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

html,
body
{
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.experience
{
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.credits
{
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    opacity: 0.55;
    z-index: 100;
}

.credits a { color: inherit; }

/* ===== TOP BAR ===== */
.top-bar
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    pointer-events: none;
    gap: 1rem;
}
.top-bar > * { pointer-events: auto; }

.brand-name
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 16px #ff44cc;
}
.brand-domain
{
    font-family: 'JetBrains Mono', monospace;
    font-size: .62rem;
    letter-spacing: .22em;
    color: #00e5ff;
    margin-top: .25rem;
    text-shadow: 0 0 8px #00e5ff;
}

.top-nav
{
    display: flex;
    gap: .3rem;
    background: rgba(10, 4, 24, .55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 99px;
    padding: .45rem;
}
.top-nav a
{
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .7rem 1.2rem;
    border-radius: 99px;
    transition: all .25s;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.top-nav a:hover { background: rgba(255, 68, 204, .15); color: #ff44cc; }

.top-tools
{
    display: flex;
    align-items: center;
    gap: .5rem;
}
.tool-btn
{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 4, 24, .55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all .25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tool-btn:hover
{
    background: rgba(255, 68, 204, .15);
    border-color: #ff44cc;
    transform: translateY(-2px);
}

.status
{
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .65rem;
    letter-spacing: .18em;
    color: #39ff14;
    background: rgba(10, 4, 24, .55);
    border: 1px solid rgba(57, 255, 20, .4);
    padding: .55rem 1rem;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    text-shadow: 0 0 8px #39ff14;
}
.status span
{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39ff14;
    box-shadow: 0 0 12px #39ff14;
    animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ============================================================
   90's ARCADE MODAL — fullscreen game hub
============================================================ */
.arcade-modal
{
    position: fixed;
    inset: 0;
    z-index: 750;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
}
.arcade-modal.show { opacity: 1; pointer-events: auto; }
.arcade-modal.hidden { display: none !important; }

.arcade-bg
{
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,68,204,0.18) 0%, rgba(5,2,16,0.94) 60%, rgba(5,2,16,0.98) 100%);
    backdrop-filter: blur(18px);
    cursor: pointer;
}

.arcade-stage
{
    position: relative;
    width: min(980px, 96vw);
    height: min(720px, 92vh);
    max-height: 92vh;
    margin: auto;
    margin-top: 4vh;
    background: rgba(10, 4, 22, 0.85);
    border: 1px solid rgba(255, 68, 204, 0.45);
    border-radius: 24px;
    box-shadow:
        0 0 60px rgba(255, 68, 204, 0.3),
        0 0 140px rgba(0, 229, 255, 0.18),
        inset 0 0 40px rgba(255, 68, 204, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: arcadeIn .55s cubic-bezier(.2,.8,.2,1);
}
@keyframes arcadeIn
{
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.arcade-top
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 68, 204, 0.25);
    background: rgba(10, 4, 22, 0.6);
}
.arcade-title
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.2rem;
    color: #ff44cc;
    text-shadow: 0 0 18px #ff44cc;
    letter-spacing: .08em;
    flex: 1;
}
.arcade-stats
{
    display: flex;
    gap: 1.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
}
.arcade-stat
{
    color: #00e5ff;
    text-shadow: 0 0 8px #00e5ff;
    letter-spacing: .12em;
}
.arcade-stat span { color: #fff; margin-left: .3rem; }
.arcade-close
{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    background: rgba(255, 68, 204, 0.2);
    border: 1px solid #ff44cc;
    cursor: pointer;
    transition: all .25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.arcade-close:hover { background: #ff44cc; transform: rotate(90deg); }

#arcade-canvas
{
    flex: 1;
    width: 100%;
    height: 100%;
    display: block;
    background: #0a0418;
    touch-action: none;
}

/* ----- Game picker menu — premium animated background ----- */
.arcade-menu
{
    position: absolute;
    inset: 56px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background:
        radial-gradient(ellipse at center, rgba(255, 68, 204, 0.18) 0%, rgba(10, 4, 22, 0.96) 70%),
        linear-gradient(180deg, #1a0438 0%, #05010f 100%);
    overflow: hidden;
}
.arcade-menu::before
{
    /* Animated retro grid */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 68, 204, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 68, 204, 0.18) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(20%);
    transform-origin: center bottom;
    animation: gridScroll 4s linear infinite;
    opacity: 0.55;
    pointer-events: none;
}
.arcade-menu::after
{
    /* Bottom glow */
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(0deg, rgba(255, 68, 204, 0.4) 0%, transparent 100%);
    pointer-events: none;
}
@keyframes gridScroll
{
    from { background-position: 0 0; }
    to   { background-position: 0 60px; }
}
.arcade-menu.hidden { display: none; }
.arcade-menu-title
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 2rem;
    color: #00e5ff;
    text-shadow:
        0 0 14px #00e5ff,
        0 0 28px #00e5ff,
        0 0 48px rgba(0, 229, 255, 0.7);
    letter-spacing: .14em;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 2;
    animation: titlePulse 2.2s ease-in-out infinite;
}
@keyframes titlePulse
{
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px #00e5ff); }
    50%      { transform: scale(1.04); filter: drop-shadow(0 0 18px #00e5ff); }
}
.arcade-menu-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    width: 100%;
    max-width: 760px;
    position: relative;
    z-index: 2;
}
.arcade-card
{
    background: linear-gradient(135deg, rgba(255, 68, 204, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
    border: 2px solid rgba(255, 68, 204, 0.55);
    border-radius: 18px;
    padding: 1.8rem 1rem 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    text-align: center;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-shadow:
        0 0 24px rgba(255, 68, 204, 0.18),
        inset 0 0 30px rgba(255, 68, 204, 0.08);
    position: relative;
    overflow: hidden;
}
.arcade-card::before
{
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transition: left .5s;
}
.arcade-card:hover
{
    background: linear-gradient(135deg, rgba(255, 68, 204, 0.2) 0%, rgba(0, 229, 255, 0.12) 100%);
    border-color: #ff44cc;
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 16px 40px rgba(255, 68, 204, 0.5),
        inset 0 0 40px rgba(255, 68, 204, 0.15);
}
.arcade-card:hover::before { left: 100%; }
.arc-card-icon
{
    font-size: 3.4rem;
    margin-bottom: .6rem;
    filter: drop-shadow(0 0 14px rgba(255, 68, 204, 0.8));
    transition: transform .3s;
}
.arcade-card:hover .arc-card-icon { transform: scale(1.15) rotate(-5deg); }
.arc-card-name
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.15rem;
    color: #ff44cc;
    text-shadow: 0 0 18px #ff44cc, 0 0 32px rgba(255, 68, 204, 0.6);
    letter-spacing: .05em;
    margin-bottom: .55rem;
}
.arc-card-desc
{
    font-family: 'JetBrains Mono', monospace;
    font-size: .58rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ----- Game over overlay ----- */
.arcade-overlay
{
    position: absolute;
    inset: 56px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(5, 2, 16, 0.78);
    backdrop-filter: blur(8px);
}
.arcade-overlay.hidden { display: none; }
.arcade-overlay-title
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 2.4rem;
    color: #ff44cc;
    text-shadow: 0 0 28px #ff44cc;
    letter-spacing: .04em;
    margin-bottom: .6rem;
}
.arcade-overlay-sub
{
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #00e5ff;
    text-shadow: 0 0 12px #00e5ff;
    letter-spacing: .12em;
    margin-bottom: 1.6rem;
}
.arcade-overlay-buttons
{
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    justify-content: center;
}
.arcade-btn
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: .9rem;
    letter-spacing: .04em;
    color: #fff;
    background: rgba(255, 68, 204, 0.18);
    border: 1px solid #ff44cc;
    padding: .8rem 1.4rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all .25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.arcade-btn:hover { background: #ff44cc; color: #05060d; transform: translateY(-2px); }
.arcade-btn.small { font-size: .72rem; padding: .55rem 1rem; }

/* Touch controls removed — games use canvas touch with glowing arrow hints */

.arcade-bottombar
{
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}
.arcade-bottombar.hidden { display: none; }

/* ============================================================
   Mobile + tablet — make the arcade modal usable on every device
============================================================ */
@media (max-width: 820px)
{
    .arcade-stage
    {
        width: 96vw;
        height: 92vh;
        margin-top: 4vh;
        border-radius: 18px;
    }
    .arcade-title { font-size: .9rem; }
    .arcade-stats { gap: .9rem; font-size: .6rem; }
    .arcade-stat { letter-spacing: .08em; }
    .arcade-close { width: 36px; height: 36px; font-size: 1.2rem; }

    .arcade-menu-title { font-size: 1.3rem; margin-bottom: 1.2rem; }
    .arcade-menu-grid { grid-template-columns: 1fr; gap: .8rem; max-width: 320px; }
    .arcade-card { padding: 1.1rem .8rem .9rem; }
    .arc-card-icon { font-size: 2.2rem; margin-bottom: .3rem; }
    .arc-card-name { font-size: .95rem; }
    .arc-card-desc { font-size: .52rem; }

    .arcade-overlay-title { font-size: 1.8rem; }
    .arcade-overlay-sub { font-size: .85rem; }
    .arcade-btn { font-size: .78rem; padding: .65rem 1.1rem; }
    .arcade-btn.small { font-size: .62rem; padding: .45rem .85rem; }

    /* No button controls — canvas touch with glow hints instead */
    .arcade-stage { display: flex; flex-direction: column; }
    .arcade-top { order: 0; flex-shrink: 0; }
    #arcade-canvas { order: 1; flex: 1; min-height: 0; touch-action: none; }
    .arcade-menu, .arcade-overlay
    {
        top: 56px;   /* below top bar */
    }
    .arcade-bottombar { display: none !important; }   /* save space, MENU button moves to top close button area */
}

/* Very small screens (≤420px) */
@media (max-width: 420px)
{
    .arcade-stage { height: 90vh; margin-top: 5vh; }
    .arcade-title { font-size: .78rem; }
    .arcade-stats { gap: .5rem; font-size: .55rem; }
    .arcade-stat span { margin-left: .15rem; }
}

/* Landscape phone (short height) — keep cube compact */
@media (max-height: 500px) and (orientation: landscape)
{
    .arcade-stage { height: 96vh; margin-top: 2vh; }
    .arcade-top { padding: .6rem 1rem; }
    .arcade-title { font-size: .85rem; }
    .arcade-menu-grid { grid-template-columns: repeat(3, 1fr); max-width: 700px; gap: .6rem; }
    .arcade-card { padding: .8rem .6rem; }
    .arc-card-icon { font-size: 1.8rem; }
    .arc-card-name { font-size: .85rem; }
}

/* ===== ROOM HINT (small text bottom-left, slightly above the credits line) ===== */
.room-hint
{
    position: fixed;
    bottom: 2.8rem;
    left: 1.6rem;
    z-index: 200;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: .56rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .42);
    pointer-events: none;
    text-shadow: 0 0 6px rgba(255, 68, 204, .25);
    letter-spacing: .04em;
}

/* ===== ROOM HOVER TOOLTIP (just above the static hint) ===== */
.room-tooltip
{
    position: fixed;
    bottom: 5.2rem;
    left: 1.6rem;
    z-index: 250;
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    font-weight: 600;
    color: #ff44cc;
    text-shadow: 0 0 8px #ff44cc;
    letter-spacing: .08em;
    pointer-events: none;
    opacity: 0.85;
    transition: opacity .2s;
}
.room-tooltip.hidden { opacity: 0; }

/* ===== Mobile: relocate hint and tooltip so they don't get cut off ===== */
@media (max-width: 760px)
{
    .room-hint
    {
        bottom: 2.2rem;
        left: 0.9rem;
        font-size: .5rem;
        line-height: 1.55;
    }
    .room-tooltip
    {
        bottom: 4.4rem;
        left: 0.9rem;
        font-size: .62rem;
    }
}

/* ===== SIGNATURE ===== */
.signature
{
    position: fixed;
    bottom: 1.6rem;
    right: 2rem;
    z-index: 200;
    text-align: right;
    pointer-events: none;
}
.sig-name
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: .9;
    color: #fff;
    text-shadow: 0 0 22px #ff44cc, 0 0 40px #ff44cc;
    letter-spacing: -.02em;
}
.sig-titles
{
    position: relative;
    height: 1.4em;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    letter-spacing: .18em;
    color: #00e5ff;
    text-shadow: 0 0 10px #00e5ff;
    margin-top: .4rem;
    text-transform: uppercase;
}
.sig-titles .t
{
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
}
.sig-titles .t.show { opacity: 1; transform: translateY(0); }

/* ===== MODAL ===== */
.hidden { display: none !important; }

.modal
{
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-bg
{
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 13, .7);
    backdrop-filter: blur(16px);
}
.modal-card
{
    position: relative;
    max-width: 720px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.6rem;
    background: #0a0410;
    border: 1px solid rgba(255, 68, 204, .4);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(255, 68, 204, .3), 0 0 100px rgba(0, 229, 255, .15);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 68, 204, .5) transparent;
}
.modal-card::-webkit-scrollbar { width: 6px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(255, 68, 204, .35); border-radius: 99px; }
.modal-card::-webkit-scrollbar-thumb:hover { background: rgba(255, 68, 204, .6); }
.modal-close
{
    position: absolute;
    top: .9rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    background: rgba(255, 68, 204, .2);
    border: 1px solid #ff44cc;
    cursor: pointer;
    transition: all .25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.modal-close:hover { background: #ff44cc; transform: rotate(90deg); }
.modal-tag
{
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .65rem;
    letter-spacing: .22em;
    color: #ffd60a;
    margin-bottom: 1rem;
    padding: .5rem .8rem;
    border: 1px solid rgba(255, 214, 10, .5);
    border-radius: 6px;
    background: rgba(255, 214, 10, .06);
}
#modal-title
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: .9;
    letter-spacing: -.02em;
    margin-bottom: 1.4rem;
    color: #fff;
    text-shadow: 0 0 24px #ff44cc;
}
#modal-body p
{
    font-size: .96rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 1rem;
}
#modal-body strong { color: #ffd60a; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1rem 0; }
.stats > div { padding: .9rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; text-align: center; }
.stats b { display: block; font-family: 'Bagel Fat One', sans-serif; font-size: 1.7rem; line-height: 1; }
.stats > div:nth-child(1) b { color: #ff44cc; text-shadow: 0 0 12px #ff44cc; }
.stats > div:nth-child(2) b { color: #ffd60a; text-shadow: 0 0 12px #ffd60a; }
.stats > div:nth-child(3) b { color: #00e5ff; text-shadow: 0 0 12px #00e5ff; }
.stats > div:nth-child(4) b { color: #39ff14; text-shadow: 0 0 12px #39ff14; }
.stats span { font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .15em; color: rgba(255, 255, 255, .55); margin-top: .3rem; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.chips span { font-family: 'JetBrains Mono', monospace; font-size: .66rem; padding: .4rem .7rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .15); border-radius: 99px; color: rgba(255, 255, 255, .85); transition: all .3s; }
.chips span:hover { border-color: #ffd60a; color: #ffd60a; }

.job { padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.job:first-child { border-top: none; padding-top: 0; }
.job-h { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
.job-h h3 { font-family: 'Bagel Fat One', sans-serif; font-size: 1.3rem; font-weight: 400; }
.job-h span { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: #ffd60a; letter-spacing: .1em; }
.job-co { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: #00e5ff; margin-bottom: .7rem !important; }
.job ul { list-style: none; }
.job li { position: relative; padding-left: 1.2rem; font-size: .88rem; line-height: 1.6; color: rgba(255, 255, 255, .78); margin-bottom: .4rem; }
.job li::before { content: '▸'; position: absolute; left: 0; color: #00e5ff; }
.job li b { color: #ffd60a; }

.proj-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.proj-list .p { padding: .9rem 1rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; transition: all .3s; }
.proj-list .p:hover { border-color: #ff44cc; background: rgba(255, 68, 204, .05); transform: translateY(-2px); }
.proj-list .p b { display: block; font-size: .92rem; font-weight: 700; margin-bottom: .3rem; }
.proj-list .p span { display: block; font-size: .72rem; color: rgba(255, 255, 255, .65); line-height: 1.5; margin-bottom: .4rem; }
.proj-list .p i { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: .6rem; color: #00e5ff; text-transform: uppercase; letter-spacing: .05em; }

.big-mail { display: inline-block; font-family: 'Bagel Fat One', sans-serif; font-size: 1.4rem; color: #ffd60a; border-bottom: 2px solid #ffd60a; padding-bottom: .3rem; margin: .8rem 0 1.6rem; transition: all .3s; text-shadow: 0 0 14px #ffd60a; text-decoration: none; }
.big-mail:hover { color: #fff; border-color: #fff; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.contact-row a { padding: .9rem 1rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; transition: all .3s; text-decoration: none; color: inherit; }
.contact-row a:hover { border-color: #00e5ff; transform: translateY(-2px); }
.contact-row span { display: block; font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .18em; color: #00e5ff; margin-bottom: .3rem; }
.contact-row b { font-size: .84rem; font-weight: 600; }

/* ===== CONTACT OVERLAY (real interactive UI when zoomed to phone) ===== */
.contact-overlay
{
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.contact-card
{
    pointer-events: auto;
    width: 380px;
    max-width: 92vw;
    padding: 1.6rem 1.4rem 1.4rem;
    background: rgba(10, 4, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 68, 204, .35);
    border-radius: 24px;
    box-shadow: 0 0 80px rgba(255, 68, 204, .4), 0 0 140px rgba(0, 229, 255, .15);
    animation: contactIn .5s cubic-bezier(.2,.8,.2,1);
}
@keyframes contactIn
{
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-title
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.4rem;
    color: #ff44cc;
    text-align: center;
    text-shadow: 0 0 16px #ff44cc;
    letter-spacing: .12em;
    margin-bottom: .3rem;
}
.contact-name
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 18px #ff44cc;
    letter-spacing: -.01em;
}
.contact-role
{
    font-family: 'JetBrains Mono', monospace;
    font-size: .68rem;
    letter-spacing: .22em;
    color: #00e5ff;
    text-align: center;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 8px #00e5ff;
}

.contact-action
{
    display: block;
    width: 100%;
    text-align: left;
    padding: .85rem 1rem;
    margin-bottom: .55rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-left: 4px solid var(--accent, #ff44cc);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}
.contact-action[data-color="#ff44cc"] { border-left-color: #ff44cc; }
.contact-action[data-color="#ffd60a"] { border-left-color: #ffd60a; }
.contact-action[data-color="#00e5ff"] { border-left-color: #00e5ff; }
.contact-action[data-color="#39ff14"] { border-left-color: #39ff14; }

.contact-action:hover:not(.contact-static)
{
    background: rgba(255, 68, 204, .08);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.contact-static { cursor: default; }

.ca-label
{
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .58rem;
    letter-spacing: .2em;
    color: #00e5ff;
    margin-bottom: .25rem;
}
.contact-action[data-color="#ff44cc"] .ca-label { color: #ff44cc; }
.contact-action[data-color="#ffd60a"] .ca-label { color: #ffd60a; }
.contact-action[data-color="#00e5ff"] .ca-label { color: #00e5ff; }
.contact-action[data-color="#39ff14"] .ca-label { color: #39ff14; }

.ca-value
{
    display: block;
    font-size: .98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .2rem;
}
.ca-hint
{
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .58rem;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, .45);
    text-transform: uppercase;
}

/* Copy toast — very small subtle pill */
.copy-toast
{
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(.9);
    z-index: 800;
    padding: .35rem .75rem;
    background: rgba(10, 4, 20, .92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(57, 255, 20, .6);
    border-radius: 99px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .58rem;
    font-weight: 600;
    color: #39ff14;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(57, 255, 20, .8);
    box-shadow: 0 4px 14px rgba(57, 255, 20, .25);
    opacity: 0;
    pointer-events: none;
    transition: all .25s cubic-bezier(.2,.8,.2,1);
    white-space: nowrap;
}
.copy-toast.show
{
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* ===== RUBIK'S CUBE FRAMELESS OVERLAY ===== */
.rubiks-modal
{
    position: fixed;
    inset: 0;
    z-index: 700;
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s ease;
}
.rubiks-modal.show
{
    opacity: 1;
    pointer-events: auto;
}
.rubiks-modal.hidden { display: none !important; }

.rubiks-bg
{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(255,68,204,0.22) 0%, rgba(5,2,16,0.85) 55%, rgba(5,2,16,0.96) 100%);
    backdrop-filter: blur(18px);
    cursor: pointer;
}

.rubiks-cube-floating
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, 70vw);
    aspect-ratio: 1;
    max-height: 65vh;
    pointer-events: auto;
    animation: cubeFloatIn .7s cubic-bezier(.2,.8,.2,1);
}
@keyframes cubeFloatIn
{
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
rubiks-cube
{
    width: 100%;
    height: 100%;
    display: block;
}

.rubiks-timer
{
    position: absolute;
    top: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.6rem;
    font-weight: 700;
    color: #00e5ff;
    text-shadow: 0 0 18px #00e5ff, 0 0 36px rgba(0,229,255,0.5);
    letter-spacing: .05em;
    pointer-events: none;
}

.rubiks-close
{
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    background: rgba(255, 68, 204, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid #ff44cc;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rubiks-close:hover { background: #ff44cc; transform: rotate(90deg); }

.rubiks-controls
{
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    justify-content: center;
    pointer-events: auto;
}

/* Floating face-rotation buttons (left & right of the cube) */
.rubiks-moves
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    pointer-events: auto;
    background: rgba(10, 4, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 68, 204, 0.25);
    border-radius: 18px;
    padding: .9rem .7rem;
    animation: movesIn .6s cubic-bezier(.2,.8,.2,1);
}
.rubiks-moves-left  { left: 1.2rem; }
.rubiks-moves-right { right: 1.2rem; }
@keyframes movesIn
{
    from { opacity: 0; transform: translateY(-50%) translateX(-12px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.rubiks-moves-right { animation-name: movesInRight; }
@keyframes movesInRight
{
    from { opacity: 0; transform: translateY(-50%) translateX(12px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.rubiks-moves-label
{
    font-family: 'JetBrains Mono', monospace;
    font-size: .55rem;
    letter-spacing: .25em;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: .3rem;
}
.rubiks-move-btn
{
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 68, 204, 0.08);
    border: 1px solid rgba(255, 68, 204, 0.35);
    color: #fff;
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all .2s;
    text-shadow: 0 0 8px rgba(255, 68, 204, 0.6);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rubiks-move-btn:hover
{
    background: rgba(255, 68, 204, 0.25);
    color: #ff44cc;
    border-color: #ff44cc;
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(255, 68, 204, 0.4);
}
.rubiks-move-btn:active { transform: scale(0.95); }

.rubiks-btn
{
    font-family: 'Bagel Fat One', sans-serif;
    font-size: .85rem;
    letter-spacing: .05em;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: .7rem 1.2rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all .25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rubiks-btn:hover
{
    background: rgba(255, 68, 204, 0.18);
    border-color: #ff44cc;
    color: #ff44cc;
    text-shadow: 0 0 8px #ff44cc;
    transform: translateY(-2px);
}
.rubiks-btn-stop
{
    background: rgba(255, 68, 102, 0.18);
    border-color: rgba(255, 68, 102, 0.5);
    color: #ff4466;
}
.rubiks-btn-stop:hover
{
    background: #ff4466;
    color: #fff;
    border-color: #ff4466;
    text-shadow: 0 0 8px #ff4466;
}

.rubiks-hint
{
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: .62rem;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

/* ===== Tablet (≤900px) — shrink move buttons + cube area ===== */
@media (max-width: 900px)
{
    .rubiks-cube-floating { width: 60vw; max-height: 60vh; }
    .rubiks-moves { padding: .55rem .45rem; gap: .35rem; }
    .rubiks-moves-left  { left: .5rem; }
    .rubiks-moves-right { right: .5rem; }
    .rubiks-move-btn { width: 40px; height: 40px; font-size: .9rem; border-radius: 10px; }
    .rubiks-moves-label { font-size: .48rem; }
    .rubiks-timer { font-size: 2rem; top: 1.6rem; }
    .rubiks-close { width: 44px; height: 44px; top: 1rem; right: 1rem; font-size: 1.4rem; }
}

/* ===== Phone (≤600px portrait) — compact everything ===== */
@media (max-width: 600px)
{
    .rubiks-cube-floating
    {
        width: 88vw;
        max-height: 50vh;
        /* Lift the cube slightly so the bottom controls don't overlap it */
        top: 46%;
    }
    .rubiks-timer { font-size: 1.5rem; top: 1.1rem; letter-spacing: .03em; }
    .rubiks-close { width: 38px; height: 38px; top: .8rem; right: .8rem; font-size: 1.2rem; }
    .rubiks-controls { bottom: 1.2rem; gap: .4rem; }
    .rubiks-btn { font-size: .68rem; padding: .55rem .85rem; }
    .rubiks-hint { display: none; }
    .rubiks-moves
    {
        padding: .4rem .35rem;
        gap: .3rem;
        border-radius: 14px;
    }
    .rubiks-moves-left  { left: .35rem; }
    .rubiks-moves-right { right: .35rem; }
    .rubiks-move-btn
    {
        width: 32px;
        height: 32px;
        font-size: .72rem;
        border-radius: 8px;
    }
    .rubiks-moves-label { font-size: .42rem; margin-bottom: .15rem; }
}

/* ===== Very small phone (≤380px) — even tighter ===== */
@media (max-width: 380px)
{
    .rubiks-cube-floating { width: 84vw; max-height: 46vh; top: 47%; }
    .rubiks-timer { font-size: 1.3rem; top: .9rem; }
    .rubiks-move-btn { width: 28px; height: 28px; font-size: .65rem; }
    .rubiks-controls { bottom: .8rem; }
    .rubiks-btn { font-size: .62rem; padding: .5rem .75rem; }
}

/* ===== Landscape phone — left/right move buttons would crowd the cube,
   so move them to the top and bottom strips instead ===== */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px)
{
    .rubiks-cube-floating { width: 50vh; max-height: 80vh; }
    .rubiks-timer { font-size: 1.3rem; top: .6rem; }
    .rubiks-close { width: 36px; height: 36px; top: .6rem; right: .6rem; }
    .rubiks-controls { bottom: .8rem; }
    .rubiks-btn { font-size: .65rem; padding: .45rem .8rem; }
    .rubiks-move-btn { width: 30px; height: 30px; font-size: .7rem; }
    .rubiks-hint { display: none; }
}

/* ===== BACK BUTTON (appears when zoomed into a screen) ===== */
.back-btn
{
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    font-family: 'Bagel Fat One', sans-serif;
    font-size: 1rem;
    letter-spacing: .05em;
    color: #fff;
    background: rgba(10, 4, 24, .7);
    backdrop-filter: blur(14px);
    border: 1px solid #ff44cc;
    padding: .9rem 1.4rem;
    border-radius: 99px;
    box-shadow: 0 0 24px rgba(255, 68, 204, .4);
    cursor: pointer;
    transition: all .25s;
    /* Make sure tap goes to the button, not the canvas behind */
    touch-action: manipulation;
}
.back-btn:hover { background: #ff44cc; color: #05060d; transform: translateY(-50%) scale(1.05); }

/* On mobile / narrow screens move BACK to the top so it never overlaps the phone screen */
@media (max-width: 760px), (orientation: portrait) {
    .back-btn
    {
        top: 5.5rem;
        left: 1rem;
        transform: none;
        font-size: .85rem;
        padding: .75rem 1.1rem;
    }
    .back-btn:hover { transform: scale(1.05); }
}

@media (max-width: 760px) {
    .top-bar { padding: 1rem; flex-wrap: wrap; }
    .top-nav { order: 3; width: 100%; justify-content: center; gap: 0.15rem; padding: 0.35rem; }
    .top-nav a { font-size: 0.55rem; padding: 0.55rem 0.6rem; letter-spacing: 0.08em; }
    .signature { right: 1rem; bottom: 1rem; }
    .status { display: none; }
    .proj-list { grid-template-columns: 1fr; }
    .contact-row { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   DIGITAL PRODUCTS — iPad modal + product list + detail popup
============================================================= */
.dp-modal {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease;
}
.dp-modal.hidden { display: none !important; }
.dp-modal.show { opacity: 1; }

.dp-bg {
    position: absolute; inset: 0; z-index: 0;
    background: rgba(5, 1, 15, 0.85);
    backdrop-filter: blur(12px);
}

.dp-stage {
    position: relative; z-index: 1;
    width: 90vw; max-width: 520px;
    max-height: 88vh;
    background: linear-gradient(145deg, #0f0428 0%, #1a0838 100%);
    border: 1px solid rgba(255, 68, 204, 0.3);
    border-radius: 24px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 0 60px rgba(255, 68, 204, 0.15), 0 0 120px rgba(155, 93, 229, 0.08);
}

.dp-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 68, 204, 0.15);
}

.dp-title {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 1rem; font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #ff44cc, #ffd60a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.dp-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 68, 204, 0.12); border: 1px solid rgba(255, 68, 204, 0.3);
    color: #fff; font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.dp-close:hover { background: #ff44cc; }

.dp-list {
    flex: 1; overflow-y: auto; padding: 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 68, 204, 0.3) transparent;
}
.dp-list::-webkit-scrollbar { width: 6px; }
.dp-list::-webkit-scrollbar-track { background: transparent; }
.dp-list::-webkit-scrollbar-thumb {
    background: rgba(255, 68, 204, 0.3);
    border-radius: 3px;
}
.dp-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 68, 204, 0.5); }

/* Product Card in list */
.dp-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 68, 204, 0.08), rgba(155, 93, 229, 0.06));
    border: 1px solid rgba(255, 68, 204, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.dp-card:hover {
    border-color: #ff44cc;
    box-shadow: 0 0 30px rgba(255, 68, 204, 0.2);
    transform: translateY(-2px);
}

.dp-card-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 0.6rem; font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #ff44cc, #9b5de5);
    color: #fff; border-radius: 20px;
    margin-bottom: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

.dp-card-icon { font-size: 2.8rem; margin-bottom: 0.6rem; }

.dp-card-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem; font-weight: 800;
    color: #fff; margin-bottom: 0.4rem;
}

.dp-card-desc {
    font-family: 'Consolas', monospace;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.8rem;
}

.dp-card-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem; font-weight: 900;
    color: #ffd60a;
    text-shadow: 0 0 12px rgba(255, 214, 10, 0.4);
    margin-bottom: 0.6rem;
}

.dp-card-cta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem; font-weight: 600;
    color: #ff44cc; letter-spacing: 0.1em;
}

/* ===== Product Detail Popup ===== */
.dp-popup {
    position: fixed; inset: 0; z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease;
}
.dp-popup .dp-popup-card {
    transform: scale(0.7) translateY(40px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.dp-popup.hidden { display: none !important; }
.dp-popup.show { opacity: 1; }
.dp-popup.show .dp-popup-card {
    transform: scale(1) translateY(0);
}

.dp-popup-bg {
    position: absolute; inset: 0;
    background: rgba(5, 1, 15, 0.7);
    backdrop-filter: blur(8px);
}

.dp-popup-card {
    position: relative; z-index: 1;
    width: 92vw; max-width: 560px;
    max-height: 88vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    background: linear-gradient(145deg, #12052e 0%, #1e0a42 100%);
    border: 1px solid rgba(255, 68, 204, 0.35);
    border-radius: 24px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 0 80px rgba(255, 68, 204, 0.2), 0 0 160px rgba(155, 93, 229, 0.1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 68, 204, 0.3) transparent;
}
.dp-popup-card::-webkit-scrollbar { width: 6px; }
.dp-popup-card::-webkit-scrollbar-track { background: transparent; }
.dp-popup-card::-webkit-scrollbar-thumb {
    background: rgba(255, 68, 204, 0.3);
    border-radius: 3px;
}
.dp-popup-card::-webkit-scrollbar-thumb:hover { background: rgba(255, 68, 204, 0.5); }

.dp-popup-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 68, 204, 0.12); border: 1px solid rgba(255, 68, 204, 0.3);
    color: #fff; font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.dp-popup-close:hover { background: #ff44cc; }

.dp-popup-badge {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    font-size: 0.6rem; font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #ff44cc, #9b5de5);
    color: #fff; border-radius: 20px;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.dp-popup-icon { font-size: 3.5rem; margin-bottom: 0.8rem; }

.dp-popup-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem; font-weight: 800;
    color: #fff; margin-bottom: 1rem;
}

.dp-popup-desc {
    font-family: 'Consolas', monospace;
    font-size: 0.8rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.2rem;
}

.dp-popup-includes {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.dp-inc-item {
    font-family: 'Consolas', monospace;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 68, 204, 0.06);
    border: 1px solid rgba(255, 68, 204, 0.12);
    border-radius: 8px;
}

.dp-popup-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem; font-weight: 900;
    color: #ffd60a;
    text-shadow: 0 0 16px rgba(255, 214, 10, 0.5);
    margin-bottom: 1.2rem;
}

.dp-popup-buy {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem; font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, #ff44cc, #9b5de5);
    color: #fff; border: none; border-radius: 12px;
    cursor: pointer; transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 68, 204, 0.3);
}
.dp-popup-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 68, 204, 0.5);
}
.dp-popup-buy span { font-size: 1.1rem; }

.dp-popup-note {
    font-family: 'Consolas', monospace;
    font-size: 0.65rem; color: rgba(255, 255, 255, 0.35);
    margin-top: 0.8rem;
}

/* ===== Coming Soon Cards ===== */
.dp-coming { padding: 0 1.5rem 1.5rem; }
.dp-coming-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    margin-bottom: 0.8rem;
}
.dp-coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.dp-coming-card {
    text-align: center;
    padding: 0.8rem 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}
.dp-coming-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.dp-coming-name {
    font-family: 'Consolas', monospace;
    font-size: 0.6rem; color: rgba(255, 255, 255, 0.3);
}

/* Mobile adjustments */
@media (max-width: 820px) {
    .dp-stage { width: 96vw; max-width: none; max-height: 94vh; border-radius: 18px; }
    .dp-top { padding: 1rem 1.2rem; }
    .dp-title { font-size: 0.85rem; }
    .dp-list { padding: 1.2rem; }
    .dp-popup-card { width: 94vw; max-height: 90vh; padding: 1.5rem 1.2rem; border-radius: 18px; }
    .dp-popup-title { font-size: 1.1rem; }
    .dp-popup-desc { font-size: 0.75rem; }
    .dp-popup-buy { padding: 0.8rem 1.5rem; font-size: 0.8rem; }
    .dp-popup-price { font-size: 1.6rem; }
    .dp-card-icon { font-size: 2.2rem; }
    .dp-card-title { font-size: 1rem; }
    .dp-card-price { font-size: 1.2rem; }
    .dp-coming-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 420px) {
    .dp-stage { width: 98vw; max-height: 96vh; border-radius: 14px; }
    .dp-list { padding: 1rem; gap: 0.8rem; }
    .dp-card { padding: 1.2rem; }
    .dp-popup-card { padding: 1.2rem 1rem; }
    .dp-inc-item { font-size: 0.7rem; padding: 0.35rem 0.6rem; }
    .dp-coming-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}

/* ===== Animated Robot ===== */
.dp-card-robot, .dp-popup-robot {
    display: flex; justify-content: center; margin-bottom: 0.8rem;
    pointer-events: none;
}
.dp-robot, .dp-robot * { pointer-events: none; }
.dp-robot {
    position: relative; width: 60px; height: 70px;
    animation: robotBounce 2s ease-in-out infinite;
}
.dp-robot.big { width: 80px; height: 95px; }

/* Head */
.dp-robot-head {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 36px; height: 30px;
    background: linear-gradient(135deg, #ff44cc, #9b5de5);
    border-radius: 10px 10px 8px 8px;
    box-shadow: 0 0 16px rgba(255, 68, 204, 0.4);
}
.dp-robot.big .dp-robot-head { width: 48px; height: 40px; border-radius: 14px 14px 10px 10px; }

/* Eyes */
.dp-robot-eye {
    position: absolute; top: 10px;
    width: 8px; height: 8px;
    background: #fff; border-radius: 50%;
    box-shadow: 0 0 6px #fff;
    animation: robotBlink 3s ease-in-out infinite;
}
.dp-robot-eye.left { left: 7px; }
.dp-robot-eye.right { right: 7px; }
.dp-robot.big .dp-robot-eye { width: 10px; height: 10px; top: 13px; }
.dp-robot.big .dp-robot-eye.left { left: 10px; }
.dp-robot.big .dp-robot-eye.right { right: 10px; }

/* Mouth */
.dp-robot-mouth {
    position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 3px;
    background: #ffd60a; border-radius: 2px;
    box-shadow: 0 0 6px rgba(255, 214, 10, 0.5);
}
.dp-robot-mouth.smile {
    width: 18px; height: 9px;
    border-radius: 0 0 10px 10px;
    background: transparent;
    border: 3px solid #ffd60a;
    border-top: none;
}
.dp-robot.big .dp-robot-mouth { bottom: 8px; }
.dp-robot.big .dp-robot-mouth.smile { width: 22px; height: 11px; }

/* Body */
.dp-robot-body {
    position: absolute; top: 32px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 24px;
    background: linear-gradient(180deg, #9b5de5, #6b3fa0);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(155, 93, 229, 0.3);
}
.dp-robot.big .dp-robot-body { top: 42px; width: 40px; height: 30px; border-radius: 8px; }

/* Arms */
.dp-robot-arm {
    position: absolute; top: 34px;
    width: 8px; height: 20px;
    background: #ff44cc; border-radius: 4px;
    transform-origin: top center;
}
.dp-robot-arm.left { left: 6px; animation: robotArmSwing 1.5s ease-in-out infinite; }
.dp-robot-arm.right { right: 6px; animation: robotArmSwing 1.5s ease-in-out infinite 0.75s; }
.dp-robot-arm.wave { animation: robotWave 1s ease-in-out infinite !important; }
.dp-robot.big .dp-robot-arm { width: 10px; height: 26px; top: 44px; }
.dp-robot.big .dp-robot-arm.left { left: 6px; }
.dp-robot.big .dp-robot-arm.right { right: 6px; }

/* Legs */
.dp-robot-leg {
    position: absolute; bottom: 0;
    width: 10px; height: 18px;
    background: #6b3fa0; border-radius: 4px 4px 6px 6px;
}
.dp-robot-leg.left { left: 14px; animation: robotWalk 0.8s ease-in-out infinite; }
.dp-robot-leg.right { right: 14px; animation: robotWalk 0.8s ease-in-out infinite 0.4s; }
.dp-robot.big .dp-robot-leg { width: 12px; height: 22px; }
.dp-robot.big .dp-robot-leg.left { left: 18px; }
.dp-robot.big .dp-robot-leg.right { right: 18px; }

/* Robot Animations */
@keyframes robotBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes robotBlink {
    0%, 42%, 48%, 100% { transform: scaleY(1); }
    45% { transform: scaleY(0.1); }
}
@keyframes robotArmSwing {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}
@keyframes robotWave {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(20deg); }
}
@keyframes robotWalk {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}


/*# sourceMappingURL=main.css.map*/