/* ── MOBILE BACKGROUND PARTICLE CANVAS ─────────────── */
.mobile-particle-canvas {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* ── MOBILE BOOT LOADER ─────────────────────────── */
.mobile-loader {
    position: fixed; inset: 0;
    background: var(--bg, #080b12);
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 20px;
    transition: opacity 0.5s, visibility 0.5s;
}
.mobile-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-loader .loader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem; letter-spacing: 6px;
    color: var(--muted, #3a4256);
    text-transform: uppercase;
}
.mobile-loader .loader-bar {
    width: 160px; height: 2px;
    background: var(--border, #1a2035);
    border-radius: 2px; overflow: hidden;
}
.mobile-loader .loader-bar-fill {
    width: 40%; height: 100%;
    background: linear-gradient(90deg, var(--accent, #00ffc8), var(--accent2, #00b4d8));
    border-radius: 2px;
    animation: mobileLoaderPulse 1.2s ease-in-out infinite;
}
@keyframes mobileLoaderPulse {
    0%   { transform: translateX(-100%); width: 40%; }
    50%  { transform: translateX(180%);  width: 60%; }
    100% { transform: translateX(-100%); width: 40%; }
}
.mobile-loader .loader-boot-logs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--accent, #00ffc8);
    text-align: center;
    display: flex; flex-direction: column;
    gap: 4px; margin-top: 8px;
    min-height: 48px;
}
.mobile-loader .boot-log-line {
    opacity: 0; transform: translateY(6px);
    transition: all 0.3s ease;
}
.mobile-loader .boot-log-line.vis {
    opacity: 1; transform: translateY(0);
}

/* ╔═══════════════════════════════════════════════╗
   ║  MOBILE CSS — Abhijay Chauhan Portfolio       ║
   ║  Electric Mint Theme — Touch-Optimised        ║
   ╚═══════════════════════════════════════════════╝ */

/* ── CSS VARIABLES ────────────────────────────── */
:root {
    --bg:          #050811;
    --surface:     rgba(10, 16, 28, 0.32);
    --card:        rgba(12, 18, 32, 0.26);
    --card-hover:  rgba(16, 25, 45, 0.42);
    --border:      rgba(255, 255, 255, 0.14);
    --border-lt:   rgba(255, 255, 255, 0.25);
    --text:        #ffffff;
    --text-dim:    #cbd5e1;
    --muted:       #94a3b8;
    --accent:      #00ffc8;
    --accent-rgb:  0, 255, 200;
    --accent2:     #fbbf24;
    --accent2-rgb: 251, 191, 36;
    --success:     #22c55e;
    --danger:      #ef4444;
}

/* ── RESET ────────────────────────────────────── */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
/* iOS smooth scroll without the global scroll-behavior bug */
html { scroll-behavior: auto; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    /* header 60px + bottom nav 65px */
    padding: 60px 0 65px 0;
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ── TYPOGRAPHY UTILITIES ─────────────────────── */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
.clr-accent  { color: var(--accent); }
.clr-accent2 { color: var(--accent2); }
.text-dim    { color: var(--text-dim); }
.accent-dot  { color: var(--accent); }

/* ── SCROLL PROGRESS BAR (Mobile-exclusive) ───── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    background-size: 200% 100%;
    z-index: 1001;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8);
    animation: progress-shimmer 2s linear infinite;
}
@keyframes progress-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ── SECTION LAYOUT ───────────────────────────── */
.mobile-main {
    padding: 0 18px calc(90px + env(safe-area-inset-bottom, 20px));
    min-height: 100vh;
    overflow-x: hidden;
}
.mobile-section {
    margin-bottom: 2.8rem;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.mobile-section.vis { opacity: 1; transform: translateY(0); }

/* Hero is visible immediately — no flash */
.hero-section {
    opacity: 1 !important;
    transform: none !important;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.section-label span {
    border: 1px solid var(--border);
    padding: 2px 10px;
    border-radius: 20px;
}
.section-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text);
}
.section-subtitle { font-size: 0.9rem; margin-bottom: 1.4rem; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.12s, opacity 0.12s;
}
.btn:active { transform: scale(0.95); opacity: 0.85; }
.btn-primary   { background: var(--accent); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-full      { width: 100%; justify-content: center; }
.btn-share {
    background: var(--surface);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    padding: 10px 14px;
}

/* Tap Ripple Effect (Mobile-exclusive) */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.25);
    transform: scale(0);
    animation: ripple-expand 0.55s ease-out forwards;
    pointer-events: none;
    width: 10px; height: 10px;
}
@keyframes ripple-expand {
    to { transform: scale(40); opacity: 0; }
}

/* ── HEADER ───────────────────────────────────── */
.mobile-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: rgba(8, 11, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    z-index: 900;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional #64e59a Mint Header Shade (Toggled via CONFIG.headerShade) */
.mobile-header.has-shade {
    background: linear-gradient(180deg, rgba(100, 229, 154, 0.14) 0%, rgba(8, 14, 22, 0.88) 100%), rgba(8, 13, 20, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(100, 229, 154, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(100, 229, 154, 0.12), 0 8px 16px -8px rgba(100, 229, 154, 0.2);
}
.header-left { display: flex; align-items: center; gap: 8px; }
.header-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}
.header-resume-btn {
    background: var(--accent);
    color: var(--bg);
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.header-resume-btn:active { opacity: 0.8; }

/* Instagram Glow */
.insta-glow {
    font-size: 1.1rem;
    cursor: pointer;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(220, 39, 67, 0.55));
    transition: filter 0.2s;
}
.insta-glow:active { filter: drop-shadow(0 0 10px rgba(220, 39, 67, 0.9)); }

/* ── HERO ─────────────────────────────────────── */
.hero-section {
    text-align: center;
    padding: 0.5rem 0 1rem;
}
.hero-avatar { margin-bottom: 1rem; }
.hero-avatar img {
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3), 0 0 40px rgba(var(--accent-rgb), 0.1);
    object-fit: cover;
    animation: avatar-glow 3s ease-in-out infinite;
}
@keyframes avatar-glow {
    0%, 100% { box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.3), 0 0 40px rgba(var(--accent-rgb), 0.1); }
    50%       { box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.5), 0 0 60px rgba(var(--accent-rgb), 0.2); }
}
.hero-initials {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--accent);
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}
.status-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}
@keyframes pulse-status {
    0%, 100% { box-shadow: 0 0 4px var(--success); }
    50%       { box-shadow: 0 0 12px var(--success), 0 0 20px rgba(34,197,94,0.3); }
}
.hero-name {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.hero-role {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    min-height: 1.5em;
    font-family: 'Space Grotesk', sans-serif;
}
.hero-tagline {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
}
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── TYPING CURSOR ────────────────────────────── */
.typing-cursor {
    display: inline-block;
    color: var(--accent);
    animation: blink 0.9s step-end infinite;
    margin-left: 1px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── STATS ────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 16px 12px;
    border-radius: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s;
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.04), transparent);
}
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }

/* ── ABOUT ────────────────────────────────────── */
.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.about-card p { margin-bottom: 0.9rem; font-size: 0.9rem; }

.avail-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--accent-rgb), 0.05);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 1rem 0 0.8rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.avail-photo img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent); object-fit: cover; }
.avail-name { font-size: 0.85rem; font-weight: 600; }
.avail-status {
    font-size: 0.75rem; color: var(--success);
    display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.pulse-dot {
    width: 7px; height: 7px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot-anim 1.5s ease-in-out infinite;
}
@keyframes pulse-dot-anim {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.5; }
}
.social-links-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 0.8rem; }
.social-link {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.social-link:active {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.5);
}

/* Terminal */
.terminal {
    background: rgba(8, 13, 24, 0.35);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.terminal-header {
    background: rgba(18, 25, 40, 0.45);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-title { font-size: 0.78rem; color: var(--muted); margin-left: 6px; font-family: 'JetBrains Mono', monospace; }
.terminal-body { padding: 14px; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; line-height: 1.8; }
/* BUG FIX: lines start invisible, animated in by JS */
.t-line { display: block; opacity: 0; }
.t-line.vis { animation: fadeInLine 0.3s ease forwards; }
@keyframes fadeInLine {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}
.t-prompt { color: var(--accent); }
.t-cmd    { color: var(--text); }
.t-key    { color: var(--accent2); }
.t-val    { color: var(--accent); }
.t-dim    { color: var(--muted); }

/* ── SKILLS ───────────────────────────────────── */
.skill-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}
/* Mobile-exclusive tap glow */
.skill-item.tapped {
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.25);
}
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.88rem; font-weight: 500; }
.skill-icon { margin-right: 7px; color: var(--accent); }
.skill-level { color: var(--text-dim); font-size: 0.8rem; }
.skill-bar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    width: 0;
    border-radius: 2px;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── PROJECTS ─────────────────────────────────── */
.project-card {
    background: rgba(14, 20, 34, 0.88);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.project-img {
    height: 160px;
    background-size: cover; background-position: center;
    background-color: var(--border);
    display: flex; align-items: center; justify-content: center;
}
.project-img i { font-size: 2.5rem; color: var(--muted); }
.project-info { padding: 14px; }
.project-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.project-desc  { font-size: 0.83rem; color: var(--text-dim); margin-bottom: 10px; line-height: 1.5; }
.project-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tag {
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
    padding: 2px 8px; border-radius: 12px;
    font-size: 0.72rem; font-weight: 500;
}

/* ── EDUCATION TIMELINE ───────────────────────── */
.timeline-item {
    position: relative;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: rgba(12, 18, 32, 0.32);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.timeline-dot {
    position: absolute; left: -6px; top: 4px;
    width: 10px; height: 10px;
    background: var(--accent2); border-radius: 50%;
    box-shadow: 0 0 8px var(--accent2);
}
.timeline-badge {
    display: inline-block; font-size: 0.72rem;
    background: rgba(var(--accent2-rgb), 0.1); color: var(--accent2);
    border: 1px solid rgba(var(--accent2-rgb), 0.25);
    padding: 2px 8px; border-radius: 12px; margin-bottom: 4px;
}
.timeline-degree { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.timeline-school { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 4px; }
.timeline-gpa    { font-size: 0.78rem; color: var(--accent); margin-bottom: 4px; }
.timeline-highlights { list-style: none; margin-top: 6px; }
.timeline-highlights li {
    font-size: 0.78rem; color: var(--text-dim);
    padding: 2px 0 2px 14px; position: relative;
}
.timeline-highlights li::before { content: '›'; position: absolute; left: 0; color: var(--accent); }

/* ── CERTIFICATIONS ───────────────────────────── */
.cert-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 14px;
    position: relative; overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s;
}
.cert-card.tapped { border-color: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb),0.2); }
.cert-icon-num {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace; font-weight: 700;
}
.cert-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 2px; }
.cert-meta {
    font-size: 0.75rem; color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
}

/* ── ACHIEVEMENTS ─────────────────────────────── */
.achievement-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px;
    position: relative; overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.achievement-icon { color: var(--accent2); font-size: 1rem; flex-shrink: 0; }
.achievement-title { font-size: 0.88rem; color: var(--text-dim); }

/* ── CONTACT ──────────────────────────────────── */
.mobile-contact-form { display: flex; flex-direction: column; margin-bottom: 1.4rem; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.82rem; color: var(--accent); margin-bottom: 5px; font-weight: 700; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 14px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text);
    font-family: inherit; font-size: 0.9rem; outline: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.contact-info-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.2rem; margin-top: 1.4rem; }
.info-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px;
    display: flex; align-items: center; gap: 14px;
    position: relative; overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s;
}
.info-card.tapped { border-color: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.2); }
.info-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
}
.ic-accent  { background: rgba(var(--accent-rgb), 0.1);  color: var(--accent); }
.ic-accent2 { background: rgba(var(--accent2-rgb), 0.1); color: var(--accent2); }
.info-label {
    font-size: 0.75rem; color: var(--accent2); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.copy-hint { font-size: 0.6rem; color: rgba(var(--accent-rgb), 0.6); text-transform: none; letter-spacing: 0; }
.info-value { font-size: 0.85rem; color: var(--text); text-decoration: none; word-break: break-all; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 0.5rem; }

/* ── AI STATEMENT ─────────────────────────────── */
.ai-statement-section { margin-bottom: 1.5rem; }
.ai-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 22px; text-align: center;
    position: relative; overflow: hidden;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.ai-card::before {
    content: '';
    position: absolute; top: 0; left: -100%; right: -100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: ai-shine 4s linear infinite;
}
@keyframes ai-shine { to { left: 100%; right: -200%; } }
.ai-icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 12px; }
.ai-line1 { font-size: 0.85rem; color: var(--text-dim); font-style: italic; margin-bottom: 8px; line-height: 1.6; }
.ai-line2 { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── FOOTER ───────────────────────────────────── */
.mobile-footer {
    text-align: center;
    padding: 24px 0 calc(30px + env(safe-area-inset-bottom, 15px));
    color: var(--muted);
    font-size: 0.82rem;
}
.footer-status { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: 0.75rem; }
.footer-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 6px var(--success); display: inline-block; }

/* ── BACK TO TOP (Mobile-exclusive) ──────────────*/
.back-to-top {
    position: fixed;
    bottom: 80px; right: 16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0) translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5), 0 4px 12px rgba(0,0,0,0.3);
    z-index: 800;
}
.back-to-top.visible { opacity: 1; transform: scale(1) translateY(0); }
.back-to-top:active { transform: scale(0.9); }

/* ── BOTTOM NAV ───────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 65px;
    background: rgba(8, 11, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border);
    z-index: 900;
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--muted); font-size: 1rem;
    text-decoration: none; padding: 6px 10px;
    border-radius: 10px; min-width: 52px;
    transition: color 0.18s;
}
.nav-item span { font-size: 0.6rem; letter-spacing: 0.5px; }
.nav-item.active {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8);
}
.nav-item.active i {
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.9));
}
.nav-item.active span {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.7);
}

/* ── TOAST ────────────────────────────────────── */
.mobile-toast {
    position: fixed;
    top: -70px; left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    z-index: 1000;
    transition: top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-toast.show { top: 72px; }

/* ── CYBERPUNK PINK & GREEN MODE (Theme Toggle) ─ */
body.matrix-mode {
    --bg:          #060810;
    --surface:     rgba(22, 10, 28, 0.32);
    --card:        rgba(20, 8, 26, 0.25);
    --card-hover:  rgba(35, 14, 44, 0.42);
    --border:      rgba(255, 42, 133, 0.28);
    --border-lt:   rgba(0, 255, 136, 0.45);
    --text:        #fdf4f8;
    --text-dim:    #f1c6df;
    --muted:       #c488ad;
    --accent:      #ff2a85;
    --accent-rgb:  255, 42, 133;
    --accent2:     #00ff88;
    --accent2-rgb: 0, 255, 136;
    --success:     #00ff88;
    --danger:      #ff2a85;
}
/* Keep profile photo natural in cyberpunk mode — no filter */
body.matrix-mode .hero-avatar img { filter: none; }

/* ── NEW FEATURES (v2.0) ───────────────────────── */

/* 1. Header Right & Theme Toggle */
.header-right { display: flex; align-items: center; gap: 12px; }
/* Theme Toggle — red bolt in standard mode, hot pink & neon green pulse in cyberpunk mode */
.theme-toggle {
    background: transparent; border: none;
    color: #ff3344;
    font-size: 1.35rem; cursor: pointer;
    text-shadow: 0 0 0.5px #ff0000;
    filter: drop-shadow(0 0 0.5px #ff0000);
    animation: redBlink 2s infinite;
    transition: transform 0.2s;
}
.theme-toggle i {
    filter: drop-shadow(0 0 0.5px #ff0000);
}
.theme-toggle:active {
    transform: scale(0.9);
}

body.matrix-mode .theme-toggle {
    color: #ff2a85;
    text-shadow: 0 0 10px #ff2a85, 0 0 20px #00ff88;
    filter: drop-shadow(0 0 8px #00ff88);
    animation: cyberPinkGreenPulse 1.8s ease-in-out infinite alternate;
}
body.matrix-mode .theme-toggle i {
    filter: drop-shadow(0 0 6px #00ff88);
}

@keyframes cyberPinkGreenPulse {
    0% {
        color: #ff2a85;
        text-shadow: 0 0 12px #ff2a85, 0 0 24px #00ff88;
        filter: drop-shadow(0 0 6px #00ff88);
        transform: scale(1);
    }
    100% {
        color: #00ff88;
        text-shadow: 0 0 12px #00ff88, 0 0 24px #ff2a85;
        filter: drop-shadow(0 0 6px #ff2a85);
        transform: scale(1.08);
    }
}

@keyframes redBlink {
    0%, 50% {
        text-shadow: 0 0 0.5px #ff0000, 0 0 1px #ff0000;
        filter: drop-shadow(0 0 0.5px #ff0000);
        opacity: 1;
    }
    51%, 100% {
        text-shadow: none;
        filter: none;
        opacity: 0.6;
    }
}

/* Hero Badges (Battery + Streak) */
.hero-badges { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 1rem; }
.hero-badges .hero-status { margin-bottom: 0; }
.streak-status { color: var(--accent2); background: rgba(var(--accent2-rgb), 0.05); border-color: rgba(var(--accent2-rgb), 0.2); }
/* Removed: time-status (replaced with streak) */

/* Questions Button (replaces deploy in hero) */
.btn-questions {
    margin-top: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid rgba(var(--accent-rgb), 0.35);
    color: var(--accent); font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem; font-weight: 600;
    padding: 10px 22px; border-radius: 20px;
    cursor: pointer; letter-spacing: 1px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-questions:active { border-color: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.3); }

/* Deploy Section (at page bottom) */
.deploy-section {
    text-align: center;
    padding: 2.2rem 18px 1.5rem;
    border-top: 1px dashed var(--border);
    margin-top: 1.5rem;
}
.deploy-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}
.deploy-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.btn-deploy {
    position: relative;
    overflow: hidden;
    background: rgba(14, 22, 38, 0.85);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 36px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
}
.btn-deploy:active, .btn-deploy.charging {
    transform: scale(0.98);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.5), inset 0 0 15px rgba(var(--accent-rgb), 0.3);
    border-color: #00f0ff;
}
.deploy-text {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}
.deploy-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(0, 255, 200, 0.4), rgba(0, 240, 255, 0.55), rgba(251, 191, 36, 0.65));
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.7);
    z-index: 1;
    border-radius: 36px;
    transition: width 0.04s linear;
}
.btn-deploy.launching {
    animation: rocketLiftOff 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    background: linear-gradient(135deg, #00ffc8, #00b4d8);
    color: #080b12;
    border-color: #ffffff;
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.8);
}
@keyframes rocketLiftOff {
    0% { transform: scale(1) translateY(0); filter: brightness(1); }
    30% { transform: scale(1.08) translateY(4px); filter: brightness(1.3); }
    100% { transform: scale(0.9) translateY(-60px); opacity: 0; filter: brightness(2); }
}

/* ── MOBILE QUICK CONNECT (Desktop-style QuickLink) ── */
.mobile-quicklinks-container {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.mobile-quicklink-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 22, 38, 0.65);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 24px;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}
.mobile-quicklink-btn:active {
    transform: scale(0.96);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.35);
}
.mq-chevron {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}
.mobile-quicklink-btn.open .mq-chevron {
    transform: rotate(180deg);
}
.mobile-quicklink-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(10, 16, 30, 0.75);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 320px;
    animation: fadeInQuickLink 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInQuickLink {
    from { opacity: 0; transform: translateY(-8px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mq-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
}
.mq-btn:active {
    transform: scale(0.94);
}
.mq-telegram:active {
    color: #0088cc;
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.15);
}
.mq-instagram:active {
    color: #e1306c;
    border-color: #e1306c;
    background: rgba(225, 48, 108, 0.15);
}
.mq-email:active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.15);
}

/* 4. Terminal Chatbot UI */
.terminal-chat-ui {
    background: var(--surface); padding: 10px;
    border-bottom: 1px solid var(--border);
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none;
}
.terminal-chat-ui::-webkit-scrollbar { display: none; }
.chat-btn {
    background: var(--card); border: 1px solid var(--border);
    color: var(--text-dim); padding: 6px 12px; border-radius: 14px;
    font-size: 0.75rem; white-space: nowrap; flex-shrink: 0;
    transition: all 0.2s; cursor: pointer;
}
/* Phone privacy message flip */
.privacy-msg { color: var(--text-dim) !important; font-size: 0.78rem !important; font-style: italic; }

/* Questions Modal */
.questions-modal {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex; align-items: flex-end; justify-content: center;
}
.questions-modal-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    width: 100%; max-height: 70vh;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.qmodal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--card);
}
.qmodal-title { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: var(--accent); }
.qmodal-close { background: none; border: none; color: var(--text-dim); font-size: 1.1rem; cursor: pointer; }
.qmodal-btns {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.qmodal-body {
    flex: 1; overflow-y: auto;
    padding: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem; line-height: 1.9;
    background: rgba(8, 13, 24, 0.45);
    backdrop-filter: blur(16px);
}

/* Swipe-to-unlock puzzle (restored) */
.terminal { position: relative; }
.terminal-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 40px;
    background: rgba(8, 13, 24, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: opacity 0.4s, visibility 0.4s;
}
.terminal-overlay.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }
.puzzle-content { text-align: center; width: 80%; }
.puzzle-icon { font-size: 2rem; color: var(--accent); margin-bottom: 10px; display: block; }
.puzzle-text { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--text); margin-bottom: 20px; }
.swipe-track {
    width: 100%; height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative; overflow: hidden;
}
.swipe-thumb {
    width: 48px; height: 48px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: -1px; left: -1px;
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
    touch-action: none;
    font-size: 1rem;
}

/* 5. Scratch-Off Card */
.scratch-card-container {
    width: 100%; margin-bottom: 1.5rem;
    display: flex; flex-direction: column; align-items: center;
}
.scratch-card-wrapper {
    position: relative; width: 100%; min-height: 170px;
    border-radius: 14px; overflow: hidden;
    background: var(--card); border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.scratch-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px 16px; z-index: 1;
}
.scratch-icon { font-size: 1.4rem; margin-bottom: 6px; }
.scratch-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem; font-weight: 700; color: var(--text);
    margin-bottom: 8px;
}
.scratch-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem; line-height: 1.5; color: var(--text-dim);
    max-width: 90%; margin: 0 auto;
}
.scratch-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
    touch-action: none; transition: opacity 0.4s ease;
}

/* 6. Skill Sphere */
.skill-sphere {
    width: 100%; height: 260px; position: relative; margin-bottom: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; perspective: 800px;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.sphere-tag {
    position: absolute; top: 50%; left: 50%;
    font-size: 0.85rem; font-weight: 600;
    color: var(--accent); transition: color 0.3s;
    user-select: none; pointer-events: none;
    padding: 4px 10px; border-radius: 12px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.scratch-next-btn {
    margin-top: 12px;
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 18px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer; transition: transform 0.2s, background 0.2s, color 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.scratch-next-btn:active { transform: scale(0.92); background: var(--accent); color: var(--bg); }

/* 7. Swipeable Achievements */
.achievements-list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px; padding-bottom: 16px; scrollbar-width: none;
}
.achievements-list::-webkit-scrollbar { display: none; }
.achievements-list .achievement-card {
    min-width: 80vw; scroll-snap-align: center; flex-shrink: 0; margin-bottom: 0;
}

/* ── TINDER-STYLE PROJECTS STACK ────────────────────── */
.tinder-hint {
    text-align: center; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 14px;
}
.projects-tinder-wrapper {
    position: relative; width: 100%; display: flex; flex-direction: column; align-items: center;
}
.projects-stack {
    position: relative; width: 100%; max-width: 320px; height: 390px;
    margin: 0 auto 16px; perspective: 1000px;
}
.projects-stack .project-card {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border-radius: 16px;
    background: var(--card); border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex; flex-direction: column; overflow: hidden;
    touch-action: none; user-select: none; -webkit-user-select: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    cursor: grab;
}
.projects-stack .project-card:active { cursor: grabbing; }
.projects-stack .project-card.swiped-left {
    transform: translate(-140%, 20px) rotate(-30deg) !important;
    opacity: 0 !important;
    pointer-events: none;
}
.projects-stack .project-card.swiped-right {
    transform: translate(140%, 20px) rotate(30deg) !important;
    opacity: 0 !important;
    pointer-events: none;
}
.tinder-controls {
    display: flex; gap: 28px; justify-content: center; align-items: center; margin-top: 4px;
}
.tinder-btn {
    width: 52px; height: 52px; border-radius: 50%;
    border: none; outline: none; font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.2s, background 0.2s;
}
.tinder-btn:active { transform: scale(0.85); }
.tinder-pass { background: rgba(255, 68, 68, 0.15); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.4); }
.tinder-like { background: rgba(0, 255, 200, 0.15); color: var(--accent); border: 1px solid rgba(0, 255, 200, 0.4); }

/* ── PLAY A GAME ? SECTION (Glowing Yellow Theme) ────────────────────────── */
.mobile-games-section { margin-top: 1.5rem; margin-bottom: 1rem; }
.arcade-trigger-btn {
    position: relative; width: 100%; padding: 16px 18px;
    background: linear-gradient(135deg, rgba(26, 20, 10, 0.95), rgba(13, 17, 23, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.6); border-radius: 14px;
    display: flex; align-items: center; gap: 14px; cursor: pointer;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25), inset 0 0 15px rgba(245, 158, 11, 0.08); overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    animation: arcadeYellowPulse 2.5s infinite alternate;
}
@keyframes arcadeYellowPulse {
    0% { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
    100% { border-color: rgba(251, 191, 36, 0.9); box-shadow: 0 0 30px rgba(245, 158, 11, 0.45); }
}
.arcade-trigger-btn:active { transform: scale(0.97); border-color: #fbbf24; }
.arcade-btn-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
    pointer-events: none; animation: arcadeGlowRotate 6s linear infinite;
}
@keyframes arcadeGlowRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.arcade-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(245, 158, 11, 0.2); border: 1px solid #f59e0b;
    color: #fbbf24; display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; flex-shrink: 0;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.arcade-btn-text { flex: 1; text-align: left; }
.arcade-btn-title { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: #ffffff; }
.arcade-btn-sub { display: block; font-size: 0.76rem; color: #f59e0b; margin-top: 2px; font-weight: 600; }
.arcade-featured-callout {
    display: inline-block; margin-top: 5px; padding: 4px 10px; border-radius: 6px;
    background: rgba(245, 158, 11, 0.2); border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fbbf24; font-size: 0.72rem; font-weight: 700; font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px; box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
    animation: featuredPulse 1.5s infinite alternate;
}
@keyframes featuredPulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 14px rgba(245, 158, 11, 0.5); }
}
.arcade-play-icon { font-size: 1.5rem; color: #fbbf24; transition: transform 0.2s; text-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
.arcade-trigger-btn:hover .arcade-play-icon { transform: scale(1.18); }

/* GAME MODAL */
.game-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 14px;
}
.game-modal-inner {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; width: 100%; max-width: 400px; max-height: 90vh;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}
.game-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--card);
}
.game-modal-back {
    background: none; border: none; color: var(--accent); font-size: 1.1rem; cursor: pointer; padding-right: 8px;
}
.game-modal-title { font-family: 'JetBrains Mono', monospace; font-size: 0.92rem; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.game-modal-close { background: none; border: none; color: var(--text-dim); font-size: 1.25rem; cursor: pointer; }
.game-modal-body { padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto; max-height: 74vh; }

.arcade-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.game-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 12px 14px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25); transition: border-color 0.2s;
}
.game-card:active { border-color: var(--accent); }

.rec-badge {
    font-size: 0.62rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
}
.game-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; flex-shrink: 0;
}
.game-icon.ic-bug { background: rgba(255, 68, 68, 0.15); color: #ff4444; }
.game-icon.ic-snake { background: rgba(0, 255, 200, 0.15); color: var(--accent); }
.game-icon.ic-rocket { background: rgba(255, 189, 46, 0.15); color: #ffbd2e; }
.game-icon.ic-ddos { background: rgba(147, 51, 234, 0.15); color: #a855f7; }
.game-icon.ic-trivia { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.game-icon.ic-opt { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.game-icon.ic-space { background: rgba(236, 72, 153, 0.15); color: #ec4899; }

.game-info { flex: 1; }
.game-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.game-info p { font-size: 0.73rem; color: var(--text-dim); }
.game-play-btn {
    background: rgba(var(--accent-rgb), 0.15); border: 1px solid var(--accent);
    color: var(--accent); padding: 7px 14px; border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 700;
    cursor: pointer; transition: transform 0.2s, background 0.2s; flex-shrink: 0;
}
.game-play-btn:active { transform: scale(0.9); background: var(--accent); color: var(--bg); }

/* BUG SMASHER GAME STYLES */
.smasher-container { width: 100%; text-align: center; }
.smasher-score-bar { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--text); margin-bottom: 12px; }
.smasher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 210px; margin-bottom: 12px; }
.smasher-cell {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    cursor: pointer; user-select: none; touch-action: manipulation; transition: transform 0.1s;
}
.smasher-cell:active { transform: scale(0.85); }
.smasher-cell.has-bug { background: rgba(255, 68, 68, 0.2); border-color: #ff4444; animation: bugPulse 0.5s infinite alternate; }
@keyframes bugPulse { from { transform: scale(0.95); } to { transform: scale(1.05); } }

/* SNAKE GAME STYLES */
.snake-container { width: 100%; display: flex; flex-direction: column; align-items: center; }
.snake-score-bar { display: flex; justify-content: space-between; width: 100%; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--text); margin-bottom: 10px; }
.snake-canvas { background: #080d18; border: 1px solid var(--border); border-radius: 10px; touch-action: none; }
.snake-controls { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; margin-top: 12px; justify-content: center; }
.snake-btn { width: 44px; height: 44px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.snake-btn:active { background: var(--accent); color: var(--bg); }

/* ── MOBILE CERTIFICATION VERIFICATION MODAL ───────────── */
.mobile-cert-modal {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mobile-cert-modal.active {
    opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-cert-modal-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: 100%; max-width: 360px; max-height: 80vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateX(100vw);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.mobile-cert-modal.active .mobile-cert-modal-inner {
    transform: translateX(0);
    opacity: 1;
}
.mobile-cert-modal.prep-left .mobile-cert-modal-inner {
    transform: translateX(-100vw);
    opacity: 0;
    transition: none !important;
}

.mobile-cert-modal-body {
    flex: 1; overflow-y: auto;
    padding: 14px;
    background: var(--surface);
    font-family: 'Space Grotesk', sans-serif;
}
.mcert-image-wrapper {
    width: 100%; height: 170px;
    border: 1px solid var(--border); border-radius: 8px;
    overflow: hidden; background: #05070a;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.mcert-image {
    max-width: 100%; max-height: 100%;
    object-fit: contain; display: block;
}
.mcert-name {
    font-size: 1rem; font-weight: 700; color: #ffffff;
    margin-bottom: 4px; line-height: 1.25;
}
.mcert-issuer {
    font-size: 0.8rem; color: var(--text-dim);
    margin-bottom: 10px;
}
.mcert-issuer strong { color: #ffffff; }
.mcert-id-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 6px; padding: 10px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.8rem; margin-bottom: 10px;
}
.mcert-id-label { font-weight: 600; color: var(--text-dim); }
.mcert-id-value { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--accent); }
.mcert-concepts-title { font-size: 0.8rem; font-weight: 600; color: #ffffff; margin-bottom: 6px; }
.mcert-concepts-grid { display: flex; flex-wrap: wrap; gap: 4px; }
.mcert-concept-tag {
    background: rgba(0, 255, 200, 0.04); border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 4px; padding: 3px 8px; font-size: 0.72rem;
    color: var(--accent); font-family: 'JetBrains Mono', monospace;
}

