/* ═══════════════════════════════════════════════════════════════
   CORESTREAM — ROG GAMER AESTHETIC
   Palette pulled from the actual app's Theme.xaml
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-dark: #070709;
    --bg-surface: #111217;
    --bg-surface-alt: #191B22;
    --neon-red: #FF1E3C;
    --neon-magenta: #FF0066;
    --neon-cyan: #00E5FF;
    --neon-green: #38E07B;
    --neon-warn: #FFB020;
    --neon-crit: #FF3B3B;
    --track: #23262F;
    --text-primary: #F2F5FA;
    --text-muted: #7E8696;
    --surface-border: rgba(255, 30, 60, 0.25);
    --card-gradient: linear-gradient(135deg, rgba(20, 22, 33, 0.45) 0%, rgba(10, 12, 18, 0.35) 100%);
    --accent-gradient: linear-gradient(90deg, #FF1E3C 0%, #FF0066 100%);
    --font-main: 'Rajdhani', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(7, 7, 9, 0.35), rgba(7, 7, 9, 0.55)), url('images/bf6_gamer_backdrop.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-left: 80px;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
}

.neon-text {
    color: var(--neon-red);
}

/* ─── Sidebar Dock ─── */
.sidebar-dock {
    position: fixed;
    left: 0;
    top: 0;
    width: 85px;
    height: 100vh;
    background: rgba(10, 11, 17, 0.75);
    border-right: 1px solid rgba(255, 30, 60, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    z-index: 1000;
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 5px 0 30px rgba(255, 30, 60, 0.25);
    transition: all 0.4s ease;
}

.sidebar-dock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 30, 60, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.dock-logo {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.dock-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.dock-logo img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 12px rgba(255, 30, 60, 0.8));
    transition: all 0.3s ease;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
}

.dock-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--neon-red);
    opacity: 0.3;
    filter: blur(10px);
    animation: pulse-glow 2s infinite ease-in-out;
    z-index: 3;
    pointer-events: none;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.dock-logo img:hover {
    filter: drop-shadow(0 0 22px rgba(255, 30, 60, 1));
    transform: rotate(18deg) scale(1.1);
}

.dock-links {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    flex: 1;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.dock-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Elite ROG HUD Nav Buttons */
.dock-icon.rog-hud-btn {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 22, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
}

.dock-icon.rog-hud-btn svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}

.dock-icon.rog-hud-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-magenta));
    border-color: var(--neon-red);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 30, 60, 0.8), inset 0 0 12px rgba(255, 255, 255, 0.4);
}

.dock-icon.rog-hud-btn:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.dock-icon.rog-hud-btn.download-icon {
    color: var(--neon-red);
    border-color: rgba(255, 30, 60, 0.4);
    background: rgba(255, 30, 60, 0.1);
}

.dock-icon.rog-hud-btn.download-icon:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--neon-red), #ff7300);
    border-color: var(--neon-red);
    box-shadow: 0 0 30px rgba(255, 30, 60, 0.9);
}

.dock-icon.rog-hud-btn.secure-icon:hover {
    background: linear-gradient(135deg, var(--neon-cyan), #0077ff);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.8);
}

/* Cybernetic Tooltip */
.dock-tooltip {
    position: absolute;
    left: 70px;
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-red);
    color: #fff;
    padding: 6px 14px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 30, 60, 0.5);
    clip-path: polygon(0 0, 92% 0, 100% 25%, 100% 100%, 0 100%);
    z-index: 1001;
}

.dock-icon.rog-hud-btn:hover .dock-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.dock-icon.rog-hud-btn.secure-icon .dock-tooltip {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    min-height: 48px;
}

.btn-primary .play-logo {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.btn-primary:hover .play-logo {
    transform: scale(1.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover::after {
    left: 200%;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 30, 60, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.rog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #FFF;
    border: 2px solid var(--neon-red);
    padding: 14px 40px;
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: all 0.35s ease;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    animation: rog-breathing 3s ease-in-out infinite;
}

@keyframes rog-breathing {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 30, 60, 0.2), inset 0 0 5px rgba(255, 30, 60, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 30, 60, 0.6), inset 0 0 12px rgba(255, 30, 60, 0.4);
    }
}

.rog-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.rog-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.rog-btn:hover::before {
    opacity: 1;
}

.rog-btn:hover::after {
    left: 200%;
}

.rog-btn:hover {
    box-shadow: 0 0 30px rgba(255, 30, 60, 0.6);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ─── Hero ─── */
.cyber-hero {
    min-height: 65vh;
    padding: 5rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── Hero App Info Panel ─── */
.hero-app-info {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    max-width: 420px;
}

.info-glass-panel {
    background: rgba(15, 17, 26, 0.35);
    backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--neon-red);
    padding: 2.2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 30, 60, 0.15);
}

.info-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.info-tag {
    font-size: 0.75rem;
    color: var(--neon-red);
    letter-spacing: 3px;
    font-weight: 700;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.info-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rog-epic-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px currentColor);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.info-item:hover .rog-epic-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px currentColor);
}

.info-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.info-text strong {
    color: var(--neon-cyan);
    font-weight: 700;
}

/* ─── Gauges Backdrop ─── */
.gauges-backdrop {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
    z-index: 5;
    opacity: 1;
    pointer-events: none;
}

.gauge {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 26, 0.55);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 5;
}

.gauge-fill {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    transition: stroke-dasharray 1.2s ease;
}

.gauge-fill.red {
    stroke: var(--neon-red);
    filter: drop-shadow(0 0 6px var(--neon-red));
}

.gauge-fill.cyan {
    stroke: var(--neon-cyan);
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.gauge-fill.green {
    stroke: var(--neon-green);
    filter: drop-shadow(0 0 6px var(--neon-green));
}

.gauge-fill.warn {
    stroke: var(--neon-warn);
    filter: drop-shadow(0 0 6px var(--neon-warn));
}

.gauge-label {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-main);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 700;
}

.gauge-value {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-terminal-overlay {
    z-index: 3;
    text-align: center;
    background: rgba(7, 7, 9, 0.9);
    padding: 2.5rem 4rem;
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-left: 4px solid var(--neon-red);
    position: relative;
    backdrop-filter: blur(8px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 40px) 100%, 0 100%);
}

/* Corner accents on terminal overlay */
.hero-terminal-overlay::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--neon-red);
    border-left: 2px solid var(--neon-red);
    pointer-events: none;
}

.hero-terminal-overlay::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 12px;
    width: 40px;
    height: 2px;
    background: var(--neon-red);
    opacity: 0.3;
    transform: skewX(-25deg);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: 'Courier New', monospace;
    color: var(--neon-green);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════
   NATIVE ANDROID APP DISPLAY — Sleek borderless flagship frame
   ═══════════════════════════════════════════════════════════════ */
.tablet-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #0c0d12;
    border-radius: 16px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 30, 60, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

/* Glass highlight sweep across device body */
.tablet-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 35%,
            transparent 65%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Remove fake tablet camera notch */
.tablet-camera {
    display: none;
}

.tablet-screen {
    width: 100%;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Screen reflection / glare effect on hover */
.tablet-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 25%,
            transparent 75%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tablet-frame:hover::after,
.feature-showcase:hover .tablet-frame::after {
    opacity: 1;
}

/* Hover states for feature showcases */
.feature-showcase:hover .tablet-frame {
    transform: perspective(800px) rotateY(-2deg) translateY(-10px) scale(1.03);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(255, 30, 60, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-showcase.reverse .tablet-frame {
    transform: perspective(800px) rotateY(5deg);
}

.feature-showcase.reverse:hover .tablet-frame {
    transform: perspective(800px) rotateY(2deg) translateY(-10px) scale(1.03);
}

/* Neon glow on hover */
.feature-showcase:hover .tablet-frame .tablet-screen {
    box-shadow: 0 6px 25px rgba(255, 30, 60, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   ROG CYBERPUNK TELEMETRY VIDEO FRAME — Aggressive Gamer Aesthetics
   ═══════════════════════════════════════════════════════════════ */
.rog-cyber-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
}

.rog-cyber-frame {
    position: relative;
    width: 100%;
    max-width: 285px; /* Smaller, controlled width for perfect proportion */
    background: #090a0f;
    border-radius: 12px;
    border: 1px solid rgba(255, 30, 60, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(255, 30, 60, 0.25),
        inset 0 0 15px rgba(255, 30, 60, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: rogPulse 4s infinite ease-in-out;
}

.feature-showcase:hover .rog-cyber-frame {
    transform: perspective(1000px) rotateY(-2deg) translateY(-8px) scale(1.04);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.95),
        0 0 50px rgba(255, 30, 60, 0.45),
        inset 0 0 25px rgba(255, 30, 60, 0.25);
    border-color: rgba(255, 30, 60, 0.7);
}

@keyframes rogPulse {
    0%, 100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 30, 60, 0.2), inset 0 0 15px rgba(255, 30, 60, 0.15);
    }
    50% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 30, 60, 0.4), inset 0 0 25px rgba(255, 30, 60, 0.25);
    }
}

.rog-frame-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(90deg, #12131a 0%, #1a151b 100%);
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    border-bottom: 1px solid rgba(255, 30, 60, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.rog-live-indicator {
    display: flex;
    align-items: center;
    color: #ff1e3c;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 30, 60, 0.6);
}

.rog-dot {
    width: 8px;
    height: 8px;
    background-color: #ff1e3c;
    border-radius: 50%;
    margin-right: 7px;
    box-shadow: 0 0 10px #ff1e3c;
    animation: rogBlink 1.5s infinite ease-in-out;
}

@keyframes rogBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.rog-model-text {
    color: #a0a5b5;
    font-size: 0.7rem;
    font-weight: 600;
    border-left: 2px solid #ff1e3c;
    padding-left: 6px;
}

.rog-video-wrapper {
    position: relative;
    width: 100%;
    background: #050508;
    overflow: hidden;
    padding: 0;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
}

.rog-video-screen {
    width: 100%;
    max-height: 560px;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.rog-image-screen {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.rog-cyber-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 40%, transparent 60%, rgba(255, 30, 60, 0.03) 100%);
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Scanline effect */
.rog-cyber-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(18, 19, 26, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
}

.rog-frame-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 12px;
    background: #0f1017;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    border-top: 1px solid rgba(255, 30, 60, 0.2);
}

.rog-stat-pill {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8a8e9e;
    padding: 3px 8px;
    background: #161823;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.rog-stat-pill.active {
    color: #fff;
    background: rgba(255, 30, 60, 0.15);
    border-color: #ff1e3c;
    text-shadow: 0 0 8px rgba(255, 30, 60, 0.6);
    box-shadow: 0 0 10px rgba(255, 30, 60, 0.2);
}

.feature-showcase:hover .rog-stat-pill.active {
    background: #ff1e3c;
    color: #fff;
    box-shadow: 0 0 15px #ff1e3c;
}

/* Futuristic corner crosshairs / brackets */
.rog-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: #ff1e3c;
    border-style: solid;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}

.rog-top-left { top: -5px; left: -5px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.rog-top-right { top: -5px; right: -5px; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.rog-bottom-left { bottom: -5px; left: -5px; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.rog-bottom-right { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════
   DUAL TABLET SHOWCASE — Interactive Staggered Multi-Display
   ═══════════════════════════════════════════════════════════════ */
.dual-tablet-showcase {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.dual-tablet-showcase .tablet-frame {
    margin: 0;
    max-width: 250px; /* Perfectly sized for dual side-by-side display */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.tablet-frame.compact {
    max-width: 250px;
    margin: 0 auto;
}

.dual-tablet-showcase .tablet-main {
    transform: perspective(1000px) rotateY(8deg) translateY(-10px);
    z-index: 2;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(255, 30, 60, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dual-tablet-showcase .tablet-sub {
    transform: perspective(1000px) rotateY(15deg) translateY(20px) scale(0.92);
    z-index: 1;
    opacity: 0.75;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 30, 60, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Dynamic interactive hover states */
.dual-tablet-showcase:hover .tablet-main:not(:hover) {
    transform: perspective(1000px) rotateY(12deg) translateY(10px) scale(0.92);
    z-index: 1;
    opacity: 0.75;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 30, 60, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dual-tablet-showcase .tablet-frame:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-15px) scale(1.05) !important;
    z-index: 3 !important;
    opacity: 1 !important;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.95),
        0 0 60px rgba(255, 30, 60, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 768px) {
    .dual-tablet-showcase {
        flex-direction: column;
        gap: 2.5rem;
    }
    .dual-tablet-showcase .tablet-main,
    .dual-tablet-showcase .tablet-sub {
        transform: perspective(1000px) rotateY(0deg) translateY(0) scale(1);
        max-width: 280px;
        opacity: 1;
    }
}

/* ─── Platform Logos ─── */
.platform-section {
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.platform-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.platform-badge span {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.platform-badge:hover {
    background: rgba(255, 30, 60, 0.1);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 30, 60, 0.3);
    transform: translateY(-3px);
}

.platform-badge svg {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.platform-badge:hover svg {
    transform: scale(1.15);
}

/* ─── Sections ─── */
.features {
    padding: 10rem 5% 6rem;
    position: relative;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    z-index: 5;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    margin-top: -40px;
}

.how-it-works {
    padding: 10rem 5% 6rem;
    background: var(--bg-surface);
    z-index: 4;
    position: relative;
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
    margin-top: -40px;
}

.download {
    padding: 10rem 5% 5rem;
    background: linear-gradient(0deg, var(--bg-dark) 0%, var(--bg-surface-alt) 100%);
    z-index: 6;
    position: relative;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 6px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Angled underline accent */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0.8rem auto 0;
    transform: skewX(-25deg);
}

.section-desc {
    text-align: center;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px #000000, 0 4px 15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.8);
    background: rgba(7, 7, 12, 0.75);
    padding: 12px 24px;
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ─── Feature Showcases ─── */
.feature-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin: 5rem 0;
    padding: 2.5rem 3rem;
    border-radius: 0;
    background: rgba(17, 18, 23, 0.5);
    border: 1px solid rgba(255, 30, 60, 0.08);
    border-left: 3px solid var(--neon-red);
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

/* Diagonal accent slash */
.feature-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 30, 60, 0.04) 50%);
    pointer-events: none;
}

/* Bottom-right corner cut */
.feature-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255, 30, 60, 0.2);
    border-bottom: 2px solid rgba(255, 30, 60, 0.2);
    pointer-events: none;
}

.feature-showcase:hover {
    border-color: rgba(255, 30, 60, 0.3);
    box-shadow: 0 4px 40px rgba(255, 30, 60, 0.08);
    transform: translateX(4px);
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 3px;
}

.showcase-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.showcase-list {
    list-style: none;
}

.showcase-list li {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
}

.showcase-list li .neon-text {
    font-size: 0.9rem;
    filter: drop-shadow(0 0 4px rgba(255, 30, 60, 0.5));
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* ─── Phone Mockup (legacy compat) ─── */
.premium-mockup {
    width: 100%;
    max-width: 280px;
    border-radius: 24px;
    border: 6px solid #1a1a22;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 30, 60, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(800px) rotateY(-8deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-showcase:hover .premium-mockup {
    transform: perspective(800px) rotateY(-3deg) translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(255, 30, 60, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ─── Desktop Mockup ─── */
.desktop-mockup {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 229, 255, 0.1);
    transform: perspective(800px) rotateY(-6deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-showcase:hover .desktop-mockup {
    transform: perspective(800px) rotateY(-2deg) translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 255, 0.2);
}

/* ─── Feature Cards Grid ─── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--neon-red);
    padding: 2rem;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Diagonal slash decoration */
.feature-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 20px;
    width: 2px;
    height: 60px;
    background: var(--neon-red);
    transform: rotate(35deg);
    opacity: 0.15;
    transition: opacity 0.35s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 30px;
    width: 2px;
    height: 40px;
    background: var(--neon-red);
    transform: rotate(35deg);
    opacity: 0.08;
    transition: opacity 0.35s ease;
}

.feature-card:hover::before {
    opacity: 0.4;
}

.feature-card:hover::after {
    opacity: 0.2;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 30, 60, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 30, 60, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

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

/* ─── ROG Panel ─── */
.rog-panel {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--neon-red);
    padding: 2rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    transition: all 0.35s ease;
}

.rog-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 30, 60, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 30, 60, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   EPIC SCREENSHOT GALLERY — Carousel Section
   ═══════════════════════════════════════════════════════════════ */
.gallery-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0b10 30%, #0d0e15 70%, var(--bg-surface) 100%);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

/* Ambient glow behind gallery */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 30, 60, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Scanline texture over gallery */
.gallery-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.005) 3px,
            rgba(255, 255, 255, 0.005) 6px);
    pointer-events: none;
    z-index: 0;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    z-index: 1;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 33.333%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.4;
    transform: scale(0.88);
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide.adjacent {
    opacity: 0.6;
    transform: scale(0.92);
}

/* Gallery phone frames — slightly larger */
.gallery-frame {
    width: 260px;
    margin: 0 auto;
}

/* Slide Captions */
.slide-caption {
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.carousel-slide.active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--neon-red);
    letter-spacing: 3px;
    padding: 2px 10px;
    border: 1px solid rgba(255, 30, 60, 0.3);
    background: rgba(255, 30, 60, 0.05);
    margin-bottom: 0.5rem;
}

.slide-caption h3 {
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
}

.slide-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 30, 60, 0.1);
    border: 1px solid rgba(255, 30, 60, 0.3);
    color: var(--neon-red);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    font-family: var(--font-main);
    line-height: 1;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-arrow:hover {
    background: rgba(255, 30, 60, 0.25);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 30, 60, 0.3);
    color: #fff;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
    z-index: 1;
    position: relative;
}

.carousel-dot {
    width: 32px;
    height: 4px;
    background: var(--track);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carousel-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.carousel-dot.active {
    width: 48px;
}

.carousel-dot.active::after {
    transform: scaleX(1);
}

.carousel-dot:hover {
    background: rgba(255, 30, 60, 0.3);
}

/* ─── Epic Network Diagram ─── */
.net-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 3rem 2rem;
    margin-top: 2rem;
    background: rgba(7, 7, 9, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--neon-red);
    position: relative;
    overflow: hidden;
}

/* Scanline overlay */
.net-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.008) 2px,
            rgba(255, 255, 255, 0.008) 4px);
    pointer-events: none;
}

/* ── Device Nodes ── */
.net-node {
    text-align: center;
    position: relative;
    min-width: 160px;
    z-index: 2;
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 30, 60, 0.15) 0%, transparent 70%);
    animation: pulse-node 3s ease-in-out infinite;
    z-index: 0;
}

.node-glow.pc-glow {
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
}

.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(255, 30, 60, 0.3);
    animation: pulse-ring 3s ease-in-out infinite;
    z-index: 0;
}

.node-ring.pc-ring {
    border-color: rgba(0, 229, 255, 0.25);
}

@keyframes pulse-node {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.node-device {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 12px rgba(255, 30, 60, 0.4));
}

.net-node:last-child .node-device {
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

.node-label {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 0.2rem;
}

.node-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.node-stat {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: var(--neon-red);
    letter-spacing: 2px;
    padding: 3px 10px;
    background: rgba(255, 30, 60, 0.08);
    border: 1px solid rgba(255, 30, 60, 0.15);
    display: inline-block;
}

.node-stat.online {
    color: var(--neon-green);
    background: rgba(56, 224, 123, 0.08);
    border-color: rgba(56, 224, 123, 0.2);
}

/* ── Connection Pipeline ── */
.net-pipe {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.pipe-label {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--neon-cyan);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.pipe-track {
    width: 100%;
    height: 4px;
    position: relative;
    margin-bottom: 1rem;
}

.pipe-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    opacity: 0.15;
    border-radius: 2px;
}

/* Animated data packets */
.pipe-packet {
    position: absolute;
    top: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px rgba(0, 229, 255, 0.3);
    animation: packet-flow 2.5s linear infinite;
}

.pipe-packet.p2 {
    animation-delay: 0.8s;
    background: var(--neon-red);
    box-shadow: 0 0 12px var(--neon-red);
}

.pipe-packet.p3 {
    animation-delay: 1.6s;
}

@keyframes packet-flow {
    0% {
        left: -10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% + 10px);
        opacity: 0;
    }
}

.pipe-protocols {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.proto {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.proto.accent {
    color: var(--neon-red);
    border-color: rgba(255, 30, 60, 0.2);
    background: rgba(255, 30, 60, 0.05);
}

.pipe-latency {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: var(--neon-green);
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(56, 224, 123, 0.3);
}

/* ─── Glass Panel ─── */
.glass-panel {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid var(--neon-red);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    position: relative;
    backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* ─── Download ─── */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ─── Download Count Badge ─── */
.download-count-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 30, 60, 0.2);
    border-left: 3px solid var(--neon-red);
    border-radius: 8px;
    padding: 12px 24px;
    margin: 0.5rem auto 2rem;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.download-count-badge:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.4);
    border-left-color: var(--neon-cyan);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.15);
    transform: translateY(-3px);
}

.count-icon {
    font-size: 2.2rem;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    line-height: 1;
    transition: transform 0.3s ease;
}

.download-count-badge:hover .count-icon {
    transform: translateY(3px);
}

.count-details {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.count-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-main);
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.count-number.updated {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

.count-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation: live-pulse 2s infinite ease-in-out;
    align-self: flex-start;
    margin-top: 4px;
}

@keyframes live-pulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 6px var(--neon-green);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 14px var(--neon-green);
    }
}

.req-text {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.6;
}

.highlight-card {
    border-color: rgba(56, 224, 123, 0.3) !important;
    box-shadow: 0 0 30px rgba(56, 224, 123, 0.08);
}

.highlight-card .btn-primary {
    background: linear-gradient(90deg, var(--neon-green), #20C060);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.highlight-card .btn-primary:hover {
    box-shadow: 0 0 30px rgba(56, 224, 123, 0.4);
}

/* ─── Footer ─── */
.footer {
    border-top: 1px solid rgba(255, 30, 60, 0.25);
    padding: 3rem 5% 2rem;
    margin-top: 0;
    background: rgba(7, 7, 12, 0.35);
    backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

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

.footer-brand {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    flex: 0 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    white-space: nowrap;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2rem;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* ─── Animations & ROG Effects ─── */
/* 1. ROG Aura Edge Scan */
.rog-edge-scan {
    position: relative;
    overflow: hidden;
}

.rog-edge-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-red), var(--neon-cyan), transparent);
    animation: rog-edge-anim 4s linear infinite;
}

@keyframes rog-edge-anim {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* 2. ROG Cyber Grid Scan Overlay */
.rog-grid-scan {
    position: relative;
    overflow: hidden;
}

.rog-grid-scan::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 95%, rgba(255, 30, 60, 0.2) 98%, transparent 100%);
    pointer-events: none;
    animation: rog-grid-anim 6s ease-in-out infinite;
}

@keyframes rog-grid-anim {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: -100%;
    }
}

/* 3. ROG Cybertext Glitch */
.rog-glitch {
    animation: rog-glitch-anim 5s infinite;
}

@keyframes rog-glitch-anim {

    0%,
    90%,
    94%,
    98%,
    100% {
        opacity: 1;
        transform: none;
        filter: none;
    }

    92% {
        opacity: 0.8;
        transform: skewX(-5deg);
        filter: drop-shadow(0 0 15px var(--neon-cyan));
    }

    96% {
        opacity: 0.9;
        transform: skewX(5deg);
        filter: drop-shadow(0 0 20px var(--neon-red));
    }
}

/* 4. Base Fade-in / Staggered */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.staggered {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.staggered.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}


/* ─── AGENT REPLICA v1.0.0 ─── */
.agent-replica {
    background: #0b0c10;
    background-image: linear-gradient(rgba(255, 30, 60, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 30, 60, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(255, 30, 60, 0.2);
    border-top: 3px solid var(--neon-red);
    border-radius: 4px;
    width: 380px;
    max-width: 100%;
    padding: 16px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 30, 60, 0.15);
    transform: perspective(800px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

.agent-replica::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 30, 60, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.feature-showcase:hover .agent-replica {
    transform: perspective(800px) rotateY(-3deg) rotateX(1deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 30, 60, 0.25);
}

.agent-replica.compact-replica {
    width: 350px;
    margin: 0 auto;
    transform: perspective(800px) rotateY(-5deg) scale(0.88);
    transform-origin: center;
}

.feature-showcase:hover .agent-replica.compact-replica {
    transform: perspective(800px) rotateY(-2deg) translateY(-5px) scale(0.91);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 30, 60, 0.25);
}

/* ─── Security Notice Box ─── */
.security-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(20, 22, 31, 0.88);
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-left: 4px solid var(--neon-cyan);
    border-radius: 6px;
    padding: 14px 16px;
    margin: 1.2rem 0 0.5rem;
    text-align: left;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.35), 0 8px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    animation: security-pulse-glow 3s infinite alternate;
    transition: all 0.3s ease;
}

.security-notice-box:hover {
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.6), 0 8px 35px rgba(0, 0, 0, 0.8);
    border-color: var(--neon-cyan);
}

@keyframes security-pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.25), 0 8px 25px rgba(0, 0, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 8px 30px rgba(0, 0, 0, 0.8);
    }
}

.security-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 12px var(--neon-cyan));
    animation: shield-pulse 2s infinite alternate;
}

@keyframes shield-pulse {
    0% { filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5)); transform: scale(1); }
    100% { filter: drop-shadow(0 0 16px var(--neon-cyan)); transform: scale(1.08); }
}

.security-text {
    font-size: 0.82rem;
    color: #cbd0e2;
    line-height: 1.45;
}

.security-text strong {
    color: var(--neon-cyan);
    display: block;
    margin-bottom: 4px;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.download-replica {
    transform: perspective(800px) rotateY(-8deg) rotateX(3deg) scale(0.72);
    transform-origin: top center;
    margin-bottom: -140px !important;
    margin-top: 1.5rem !important;
}

.download-card:hover .download-replica {
    transform: perspective(800px) rotateY(-3deg) rotateX(1deg) scale(0.75);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 30, 60, 0.25);
}

@media (max-width: 900px) {
    .download-replica {
        transform: scale(0.72) !important;
        transform-origin: top center;
    }

    .download-card:hover .download-replica {
        transform: scale(0.75) !important;
    }
}

/* ─── INTERACTIVE DIALS & GRAB HANDLES ─── */
.interactive-dial {
    cursor: pointer;
    touch-action: none;
    position: relative;
}

.dial-grab-handle {
    display: none !important;
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 3px solid var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    cursor: grab;
    z-index: 10;
    transition: transform 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dial-grab-handle:hover {
    box-shadow: 0 0 18px var(--neon-cyan), 0 0 25px #ffffff;
}

.green-chart .dial-grab-handle {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.green-chart .dial-grab-handle:hover {
    box-shadow: 0 0 18px var(--neon-green), 0 0 25px #ffffff;
}

.yellow-chart .dial-grab-handle {
    border-color: #ffab00;
    box-shadow: 0 0 10px #ffab00;
}

.yellow-chart .dial-grab-handle:hover {
    box-shadow: 0 0 18px #ffab00, 0 0 25px #ffffff;
}

.cyan-chart .circle {
    stroke: var(--neon-cyan);
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.cyan-chart .dial-grab-handle {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.cyan-chart .dial-grab-handle:hover {
    box-shadow: 0 0 18px var(--neon-cyan), 0 0 25px #ffffff;
}

.interactive-dial.dragging .dial-grab-handle {
    cursor: grabbing !important;
    transition: none !important;
    filter: brightness(1.3);
    box-shadow: 0 0 25px #ffffff, 0 0 35px var(--neon-cyan);
}

.interactive-dial.dragging .circle {
    transition: none !important;
}

.agent-header {
    display: flex;
    align-items: center;
    padding: 5px 5px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    position: relative;
}

.agent-logo-wrapper {
    width: 42px;
    height: 42px;
    margin-right: 14px;
    background: radial-gradient(circle, rgba(255, 30, 60, 0.4) 0%, transparent 80%);
    border-radius: 50%;
    padding: 4px;
}

.agent-logo-img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px var(--neon-red));
}

.agent-title {
    flex-grow: 1;
    text-align: left;
}

.agent-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
}

.agent-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 2px;
}

.agent-version {
    color: var(--neon-cyan);
    font-weight: 700;
}

.agent-close {
    color: var(--text-muted);
    font-size: 1.1rem;
    background: #111218;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.agent-box-notch {
    background: #14161f;
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-top: 2px solid var(--neon-red);
    border-bottom: 2px solid var(--neon-cyan);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.agent-connection {
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.conn-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.accent-bar {
    width: 3px;
    height: 12px;
    background: var(--neon-red);
    display: inline-block;
    box-shadow: 0 0 6px var(--neon-red);
}

.conn-url {
    color: var(--neon-cyan);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.conn-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.pc-name {
    color: var(--text-muted);
    letter-spacing: 1px;
}

.paired-count {
    color: var(--neon-green);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(56, 224, 123, 0.4);
}

.agent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.agent-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.agent-card:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.card-header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-label {
    font-size: 0.75rem;
    color: #e2e4ec;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.card-dots {
    display: grid;
    grid-template-columns: repeat(2, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 3px;
}

.card-dots span {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.circular-chart {
    position: relative;
    width: 85px;
    height: 85px;
    margin: 5px 0;
}

.circle-bg {
    fill: #0f1118;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}

.circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.green-chart .circle {
    stroke: var(--neon-green);
    filter: drop-shadow(0 0 6px var(--neon-green));
}

.yellow-chart .circle {
    stroke: #ffab00;
    filter: drop-shadow(0 0 6px #ffab00);
}

.gray-chart .circle {
    stroke: var(--track);
}

.chart-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.val-num {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-main);
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.val-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.agent-btn-notch {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.agent-btn-red {
    width: 100%;
    background: #ff004f;
    color: #fff;
    border: none;
    padding: 14px;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 1.05rem;
    margin-bottom: 12px;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 0, 79, 0.4);
    transition: all 0.3s ease;
}

.agent-btn-red:hover {
    box-shadow: 0 0 25px rgba(255, 0, 79, 0.7);
    filter: brightness(1.1);
}

.agent-btn-dark {
    width: 100%;
    background: #151722;
    color: #fff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-bottom: 2px solid var(--neon-cyan);
    padding: 12px;
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 1rem;
    margin-bottom: 12px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.agent-btn-dark:hover {
    background: #1c1f2e;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.agent-btn-row {
    display: flex;
    gap: 12px;
}

.agent-btn-row .half {
    flex: 1;
    margin-bottom: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1450px) {
    .cyber-hero {
        min-height: 75vh;
    }

    .cyber-hero .gauges-backdrop,
    .cyber-hero .gauges-backdrop.fade-in-up.visible {
        left: 2%;
        top: 90px;
        transform: scale(0.8);
        transform-origin: left top;
    }

    .cyber-hero .hero-app-info,
    .cyber-hero .hero-app-info.fade-in-up.visible {
        right: 2%;
        top: 90px;
        transform: scale(0.8);
        transform-origin: right top;
    }

    .hero-terminal-overlay {
        max-width: 480px;
        padding: 2rem 2.5rem !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 900px) {
    body {
        padding-left: 0;
        padding-bottom: 75px;
    }

    .sidebar-dock {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 70px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        padding: 0 1rem;
        border-right: none;
        border-top: 1px solid rgba(255, 30, 60, 0.4);
        box-shadow: 0 -5px 30px rgba(255, 30, 60, 0.25);
        z-index: 1000;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none;
    }

    .sidebar-dock::-webkit-scrollbar {
        display: none;
    }

    .dock-logo {
        display: none;
    }

    .dock-links {
        display: flex;
        flex-direction: row;
        flex: 0 0 auto;
        gap: 0.5rem;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
    }

    .dock-bottom {
        display: flex;
        flex-direction: row;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: auto;
        margin: 0;
    }

    .sidebar-toggle-group {
        display: flex;
        flex-direction: row;
        flex: 0 0 auto;
        gap: 0.5rem;
        margin-top: 0;
        align-items: center;
        justify-content: center;
    }

    .dock-icon.rog-hud-btn,
    .sidebar-toggle {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .dock-tooltip {
        display: none !important;
    }

    .cyber-hero {
        min-height: 40vh;
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-app-info,
    .gauges-backdrop {
        display: none;
    }

    .feature-showcase {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .feature-showcase.reverse {
        flex-direction: column;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .diagram {
        flex-direction: column;
        gap: 2rem;
    }

    .arrow-line {
        width: 2px;
        height: 50px;
        background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
    }

    .arrow-line::after {
        content: '▼';
        top: auto;
        bottom: 10%;
        right: -5px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-links a {
        margin: 0;
    }

    .footer-copy {
        margin-top: 1rem;
        padding-top: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .premium-mockup {
        max-width: 220px;
        transform: none;
    }

    .agent-replica {
        width: 100%;
        max-width: 360px;
        transform: none;
    }

    /* Gallery responsive */
    .carousel-slide {
        min-width: 80%;
    }

    .gallery-carousel {
        padding: 0 40px;
    }

    .tablet-frame {
        max-width: 100%;
        transform: none;
    }

    .feature-showcase .tablet-frame {
        transform: none;
    }

    .feature-showcase.reverse .tablet-frame {
        transform: none;
    }

    .net-diagram {
        flex-direction: column;
        gap: 2rem;
    }

    .net-pipe {
        padding: 1rem 0;
    }

    .pipe-track {
        height: 60px;
        width: 4px;
    }

    .pipe-line {
        background: linear-gradient(180deg, var(--neon-red), var(--neon-cyan));
    }

    .pipe-packet {
        top: auto;
        left: -3px !important;
        animation: packet-flow-vertical 2.5s linear infinite;
    }

    .pipe-packet.p2 {
        animation-delay: 0.8s;
    }

    .pipe-packet.p3 {
        animation-delay: 1.6s;
    }

    @keyframes packet-flow-vertical {
        0% {
            top: -10px;
            opacity: 0;
        }

        10% {
            opacity: 1;
        }

        90% {
            opacity: 1;
        }

        100% {
            top: calc(100% + 10px);
            opacity: 0;
        }
    }

    .pipe-protocols {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }

    .gallery-carousel {
        padding: 0 15px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .tablet-frame,
    .gallery-frame {
        max-width: 100%;
    }

    .feature-showcase {
        margin: 2rem 0;
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-terminal-overlay {
        padding: 1.5rem 1rem !important;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
    }

    .sidebar-dock {
        padding: 0 0.15rem;
        gap: 0.15rem;
    }

    .dock-links,
    .sidebar-toggle-group {
        gap: 0.15rem;
        flex: 0 1 auto;
    }

    .dock-bottom {
        margin: 0;
        flex: 0 1 auto;
    }

    .dock-icon.rog-hud-btn,
    .sidebar-toggle {
        width: 34px;
        height: 34px;
    }

    .dock-icon.rog-hud-btn svg,
    .sidebar-toggle svg {
        width: 17px;
        height: 17px;
    }

    .agent-replica {
        padding: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COMMUNITY DECK LAYOUTS & REVIEWS — ROG Epic Aesthetic
   ═══════════════════════════════════════════════════════════════ */
.community-section,
.reviews-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    width: 100%;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.upload-toggle-container {
    margin-bottom: 3rem;
}

.custom-modal {
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-left: 4px solid var(--neon-red);
    border-radius: 12px;
    background: rgba(12, 13, 18, 0.75);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 30, 60, 0.15);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--neon-red);
}

.epic-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.2rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 2px;
}

.epic-form input[type="text"],
.epic-form textarea,
.epic-select,
.file-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.epic-select {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .epic-form input[type="text"],
    .epic-form textarea,
    .epic-select,
    .file-input {
        padding: 12px 14px;
        font-size: 1rem;
    }
}

.epic-form input[type="text"]:focus,
.epic-form textarea:focus,
.epic-select:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    outline: none;
}

.epic-select option {
    background: #0c0d12;
    color: #fff;
    padding: 10px;
}

.file-input {
    padding: 10px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px dashed rgba(0, 229, 255, 0.4);
    cursor: pointer;
}

.file-input:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.1);
}

.full-width {
    width: 100%;
}

.form-status {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 231, 116, 0.15);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.form-status.error {
    display: block;
    background: rgba(255, 30, 60, 0.15);
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
}

/* Layouts Grid Display */
.layouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    max-height: 720px;
    overflow-y: auto;
    padding: 1rem 1rem 2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 20, 0.3);
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.layouts-grid::-webkit-scrollbar {
    width: 8px;
}

.layouts-grid::-webkit-scrollbar-track {
    background: rgba(15, 17, 26, 0.6);
    border-radius: 8px;
}

.layouts-grid::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.layout-card {
    background: rgba(15, 17, 26, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.layout-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.2);
}

.layout-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #070709;
}

.layout-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.layout-card:hover .layout-img {
    transform: scale(1.08);
}

.layout-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    justify-content: space-between;
}

.layout-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.layout-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.layout-author span {
    color: var(--neon-cyan);
    font-weight: 700;
}

.layout-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
}

.stars-display {
    color: #ffd500;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-display span {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.rate-action {
    display: flex;
    gap: 6px;
    align-items: center;
}

.star-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #ffd500;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.star-btn:hover {
    background: #ffd500;
    color: #000;
    border-color: #ffd500;
    transform: scale(1.1);
}

/* Reviews Feed */
.review-box {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: rgba(15, 17, 26, 0.45);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--neon-cyan);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.review-box h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.reviews-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2.5rem;
    max-height: 680px;
    overflow-y: auto;
    padding: 1rem 1rem 2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 20, 0.3);
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.reviews-feed::-webkit-scrollbar {
    width: 8px;
}

.reviews-feed::-webkit-scrollbar-track {
    background: rgba(15, 17, 26, 0.6);
    border-radius: 8px;
}

.reviews-feed::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.review-card {
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.15);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.review-author {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.review-stars {
    color: #ffd500;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-comment {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: auto;
}

/* ─── Social Share Bar ─── */
.social-share-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: rgba(15, 17, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--neon-green);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.social-share-container h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.social-share-container p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.share-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.share-btn.facebook {
    background: #1877F2;
    border-color: #1877F2;
}

.share-btn.twitter {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.3);
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.share-btn.tiktok {
    background: #010101;
    border-color: #00f2fe;
    text-shadow: 1px 1px 0px #ff007f;
}

.share-btn.whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.reddit {
    background: #FF4500;
    border-color: #FF4500;
}

.share-btn.copylink {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.share-toast {
    margin-top: 1.5rem;
    padding: 12px;
    background: rgba(0, 231, 116, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.share-toast.show {
    display: block;
}

.layout-actions-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.mini-share-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--neon-cyan);
    padding: 6px 12px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.mini-share-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* ─── Epic Download Build Modal ─── */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 6, 9, 0.85);
    backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: modal-fade-in 0.3s ease-out;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

.epic-build-modal {
    width: 100%;
    max-width: 680px;
    background: rgba(12, 13, 19, 0.85);
    border: 1px solid var(--neon-red);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(255, 30, 60, 0.4), inset 0 0 20px rgba(255, 30, 60, 0.1);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.epic-build-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 30, 60, 0.3);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.epic-build-modal .modal-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.epic-build-modal .modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.epic-build-modal .modal-close:hover {
    color: var(--neon-red);
}

.build-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.build-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: step-fade-in 0.4s ease-out;
}

@keyframes step-fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.matrix-spinner {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.spinner-ring.outer {
    border-top-color: var(--neon-red);
    border-bottom-color: var(--neon-magenta);
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 15px var(--neon-red);
}

.spinner-ring.inner {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-left-color: var(--neon-cyan);
    border-right-color: var(--neon-cyan);
    animation: spin 1s linear infinite reverse;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.spinner-ring.outer.reverse {
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-cyan);
    animation: spin 1.2s linear infinite reverse;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.spinner-ring.inner.fast {
    border-left-color: var(--neon-red);
    border-right-color: var(--neon-magenta);
    animation: spin 0.7s linear infinite;
    box-shadow: 0 0 15px var(--neon-red);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner-icon {
    font-size: 2.5rem;
    z-index: 2;
    animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.matrix-success-badge {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(56, 224, 123, 0.15);
    border: 3px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(56, 224, 123, 0.5);
    animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

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

.success-icon {
    font-size: 3.5rem;
    color: var(--neon-green);
    font-weight: bold;
}

.step-label {
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.step-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    transition: width 0.2s ease;
}

.progress-bar-fill.red-bar {
    background: linear-gradient(90deg, var(--neon-red), var(--neon-magenta));
    box-shadow: 0 0 10px var(--neon-red);
}

.progress-bar-fill.cyan-bar {
    background: linear-gradient(90deg, var(--neon-cyan), #0077ff);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.terminal-log-window {
    width: 100%;
    margin-top: 2.5rem;
    background: rgba(5, 6, 9, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85rem;
}

.term-header {
    background: rgba(20, 22, 31, 0.8);
    padding: 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: bold;
    letter-spacing: 1px;
}

.term-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-red);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.term-body {
    padding: 16px;
    height: 140px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #00e5ff;
}

.term-body div {
    animation: log-line 0.2s ease-out;
}

@keyframes log-line {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

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

.ready-actions {
    width: 100%;
    margin-top: 1rem;
}

/* ─── Beta Testing Card Styles ─── */
.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

.card-header-flex h3 {
    margin: 0 !important;
    white-space: nowrap !important;
}

.beta-badge {
    background: linear-gradient(90deg, #ff7b00, #ffae00);
    color: #000;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.5);
    animation: beta-pulse 2s infinite;
}

@keyframes beta-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 153, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 153, 0, 0.8);
    }
}

.beta-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.beta-step {
    background: rgba(10, 11, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--neon-cyan);
    border-radius: 6px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.beta-step:hover {
    border-left-color: #ff9900;
    background: rgba(15, 17, 24, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.beta-step .step-num {
    display: inline-block;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.beta-step:hover .step-num {
    color: #ff9900;
}

.beta-step p {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.beta-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1.05rem;
    white-space: nowrap !important;
}

@media (max-width: 1024px) {
    .card-header-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
    .card-header-flex h3 {
        font-size: 1.7rem !important;
        white-space: nowrap !important;
        letter-spacing: 1px !important;
    }
    .beta-badge {
        display: inline-block;
        margin: 0 auto;
    }
    .beta-action-btn {
        padding: 12px 16px !important;
        font-size: 1rem !important;
        white-space: nowrap !important;
        gap: 8px !important;
        letter-spacing: 0px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 600px) {
    .card-header-flex h3 {
        font-size: 1.6rem !important;
    }
    .beta-action-btn {
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
        gap: 6px !important;
        max-width: 280px !important;
    }
}

.beta-action-btn.group-btn {
    background: linear-gradient(45deg, #1a2a6c, #b21f1f, #fdbb2d);
    border: 1px solid #fdbb2d;
    box-shadow: 0 0 15px rgba(253, 187, 45, 0.3);
}

.beta-action-btn.group-btn:hover {
    box-shadow: 0 0 25px rgba(253, 187, 45, 0.6);
}

.beta-action-btn.tester-btn {
    background: linear-gradient(45deg, #00b4db, #0083b0);
    border: 1px solid #00b4db;
    box-shadow: 0 0 15px rgba(0, 180, 219, 0.3);
}

.beta-action-btn.tester-btn:hover {
    box-shadow: 0 0 25px rgba(0, 180, 219, 0.6);
}

/* ─── Google Beta Notice ─── */
.google-beta-notice {
    background: rgba(255, 30, 60, 0.1);
    border: 1px solid rgba(255, 30, 60, 0.4);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
    box-shadow: 0 0 20px rgba(255, 30, 60, 0.2);
    animation: notice-pulse 3s infinite;
}

@keyframes notice-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 30, 60, 0.2);
        border-color: rgba(255, 30, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 30, 60, 0.5);
        border-color: rgba(255, 30, 60, 0.8);
    }
}

.google-beta-notice .notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
}

.google-beta-notice .notice-header h4 {
    color: var(--neon-red);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.google-beta-notice p {
    color: #e2e4ec;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.google-beta-notice p strong {
    color: var(--neon-red);
    font-weight: 800;
}

.test-card-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(0, 231, 116, 0.08);
    border-left: 3px solid var(--neon-green);
    padding: 1rem;
    border-radius: 4px;
}

.test-card-notice .info-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.test-card-notice .notice-text {
    color: #e2e4ec;
    font-size: 0.92rem;
    line-height: 1.5;
}

.test-card-notice .notice-text strong {
    color: var(--neon-green);
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════
   ROG ENHANCEMENT PACK — ALL 15 FEATURES
   ═══════════════════════════════════════════════════════════════ */

/* ─── Image Lightbox Modal ─── */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding: 40px 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 6, 9, 0.92);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 30, 60, 0.3), 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #e2e4ec;
    font-size: 40px;
    font-weight: bold;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: #fff;
    background: var(--neon-red);
    border-color: var(--neon-red);
    transform: scale(1.1);
}

#lightbox-caption {
    margin-top: 20px;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

/* ─── 1. Custom ROG Cursor ─── */
body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23FF1E3C' stroke-width='1'/%3E%3Cline x1='12' y1='0' x2='12' y2='8' stroke='%23FF1E3C' stroke-width='1'/%3E%3Cline x1='12' y1='16' x2='12' y2='24' stroke='%23FF1E3C' stroke-width='1'/%3E%3Cline x1='0' y1='12' x2='8' y2='12' stroke='%23FF1E3C' stroke-width='1'/%3E%3Cline x1='16' y1='12' x2='24' y2='12' stroke='%23FF1E3C' stroke-width='1'/%3E%3C/svg%3E") 12 12, crosshair;
}

a,
button,
.rog-btn,
.btn-primary,
.dock-icon,
.interactive-dial,
.dial-grab-handle,
.carousel-arrow,
select,
input,
textarea {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23FF1E3C'/%3E%3Cline x1='12' y1='1' x2='12' y2='7' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='12' y1='17' x2='12' y2='23' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='1' y1='12' x2='7' y2='12' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='17' y1='12' x2='23' y2='12' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, pointer !important;
}

/* ─── 2. Scroll Progress Bar ─── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent-gradient);
    z-index: 10001;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(255, 30, 60, 0.8), 0 0 20px rgba(255, 0, 102, 0.4);
}

/* ─── 3. Animated Section Dividers ─── */
.section-divider {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    pointer-events: none;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section-divider .divider-line {
    fill: none;
    stroke: var(--neon-red);
    stroke-width: 1;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px rgba(255, 30, 60, 0.6));
}

.section-divider .divider-fill {
    fill: var(--bg-dark);
}

.section-divider .divider-slash {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--neon-red) 20%, var(--neon-magenta) 50%, var(--neon-red) 80%, transparent 100%);
    opacity: 0.5;
    animation: divider-pulse 3s ease-in-out infinite;
}

@keyframes divider-pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* ─── 4. Glitch Text Effect on Section Headings ─── */
.section-title {
    position: relative;
}

.section-title.glitch-active::before,
.section-title.glitch-active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.section-title.glitch-active::before {
    color: var(--neon-cyan);
    animation: glitch-shift-1 0.15s steps(2) 1;
    clip-path: inset(20% 0 40% 0);
}

.section-title.glitch-active::after {
    color: var(--neon-red);
    animation: glitch-shift-2 0.15s steps(2) 1;
    clip-path: inset(60% 0 10% 0);
}

@keyframes glitch-shift-1 {
    0% {
        transform: translate(-3px, -1px);
    }

    50% {
        transform: translate(3px, 1px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitch-shift-2 {
    0% {
        transform: translate(3px, 1px);
    }

    50% {
        transform: translate(-3px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

/* ─── 5. Boot Sequence Splash Screen ─── */
#boot-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020204;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#boot-splash.fade-out {
    opacity: 0;
    visibility: hidden;
}

.boot-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 30, 60, 0.03) 2px,
            rgba(255, 30, 60, 0.03) 4px);
    pointer-events: none;
    animation: scanline-scroll 8s linear infinite;
}

@keyframes scanline-scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 200px;
    }
}

.boot-content {
    text-align: center;
    z-index: 2;
}

.boot-logo {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--text-primary);
    margin-bottom: 2rem;
    animation: boot-flicker 0.5s ease-in-out 3;
}

.boot-logo .neon-text {
    color: var(--neon-red);
}

@keyframes boot-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.boot-status {
    font-family: var(--font-main);
    color: var(--neon-green);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: boot-text-blink 0.8s step-end infinite;
}

@keyframes boot-text-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.boot-progress {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.boot-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 30, 60, 0.6);
}

.boot-version {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 1.5rem;
}

/* ─── 6. Typing Cursor Animation ─── */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--neon-red);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursor-blink 0.7s step-end infinite;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ─── 7. Stats Counter Section ─── */
.stats-section {
    padding: 3rem 2rem;
    background: rgba(10, 11, 17, 0.6);
    border-top: 1px solid rgba(255, 30, 60, 0.15);
    border-bottom: 1px solid rgba(255, 30, 60, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat-card {
    padding: 2rem 1rem;
    background: var(--card-gradient);
    border: 1px solid rgba(255, 30, 60, 0.2);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    clip-path: polygon(12px 0%, 100% 0%, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0% 100%, 0% 12px);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-red);
    box-shadow: 0 8px 30px rgba(255, 30, 60, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
}

.stat-number {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ─── 8. FAQ Accordion ─── */
.faq-section {
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 30, 60, 0.15);
    border-radius: 6px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
    clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--neon-red);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23FF1E3C'/%3E%3Cline x1='12' y1='1' x2='12' y2='7' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='12' y1='17' x2='12' y2='23' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='1' y1='12' x2='7' y2='12' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3Cline x1='17' y1='12' x2='23' y2='12' stroke='%23FF1E3C' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 30, 60, 0.05);
}

.faq-question h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question h4 .faq-icon {
    color: var(--neon-red);
    font-size: 0.85rem;
    width: 22px;
    text-align: center;
}

.faq-chevron {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--neon-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.2rem 3.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── 9. Changelog Timeline ─── */
.changelog-section {
    padding: 5rem 2rem;
}

.changelog-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.changelog-container::before {
    content: '';
    position: absolute;
    left: calc(2.5rem + 20px);
    top: calc(2.5rem + 4px);
    bottom: 2.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-red), var(--neon-magenta), transparent);
}

.changelog-entry {
    position: relative;
    padding-left: 55px;
    margin-bottom: 2.5rem;
}

.changelog-marker {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 10px rgba(255, 30, 60, 0.6);
    z-index: 1;
}

.changelog-entry:first-child .changelog-marker {
    background: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 30, 60, 0.8), 0 0 30px rgba(255, 30, 60, 0.4);
}

.changelog-date {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}

.changelog-version {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.changelog-body {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 30, 60, 0.15);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    clip-path: polygon(6px 0%, 100% 0%, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0% 100%, 0% 6px);
}

.changelog-body ul {
    list-style: none;
    padding: 0;
}

.changelog-body li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.changelog-body li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--neon-red);
    font-size: 0.6rem;
    top: 3px;
}

.changelog-body li .tag-new {
    background: rgba(56, 224, 123, 0.15);
    color: var(--neon-green);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 6px;
}

.changelog-body li .tag-fix {
    background: rgba(255, 176, 32, 0.15);
    color: var(--neon-warn);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 6px;
}

.changelog-body li .tag-perf {
    background: rgba(0, 229, 255, 0.15);
    color: var(--neon-cyan);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 6px;
}

/* ─── 10. Live & Total Visitor Counters ─── */
#visitor-counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 11, 17, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 30, 60, 0.3);
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9998;
    font-family: var(--font-main);
    clip-path: polygon(6px 0%, 100% 0%, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0% 100%, 0% 6px);
    opacity: 1;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    max-width: 95vw !important;
}

.visitor-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.visitor-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    #visitor-counter {
        top: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 6px 10px !important;
        gap: 6px !important;
    }
    #visitor-counter .visitor-count {
        font-size: 0.75rem !important;
        letter-spacing: 0px !important;
    }
    #visitor-counter .visitor-item {
        gap: 5px !important;
    }
}

@keyframes visitor-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.visitor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(56, 224, 123, 0.8);
    animation: visitor-pulse 2s ease-in-out infinite;
}

.visitor-dot.total-dot {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
    animation: none;
}

@keyframes visitor-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(56, 224, 123, 0.8);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 4px rgba(56, 224, 123, 0.4);
    }
}

.visitor-count {
    font-size: 0.85rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.visitor-count strong {
    color: var(--neon-green);
    font-weight: 700;
}

/* ─── 11. Sound Toggle + Stealth Mode Toggle (Sidebar) ─── */
.sidebar-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 1.6rem;
    width: 100%;
    align-items: center;
}

@media (max-height: 900px) {
    .sidebar-dock {
        padding: 1rem 0;
    }
    .dock-logo {
        margin-bottom: 1.5rem;
    }
    .dock-links {
        gap: 0.8rem;
    }
    .dock-icon.rog-hud-btn,
    .sidebar-toggle {
        width: 44px;
        height: 44px;
    }
    .sidebar-toggle-group {
        gap: 0.8rem;
        margin-top: 0.8rem;
    }
}

.sidebar-toggle {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 22, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
}

.sidebar-toggle svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}

.sidebar-toggle:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-magenta));
    border-color: var(--neon-red);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 30, 60, 0.8), inset 0 0 12px rgba(255, 255, 255, 0.4);
}

.sidebar-toggle:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.sidebar-toggle.active {
    color: var(--neon-red);
    border-color: var(--neon-red);
    background: rgba(255, 30, 60, 0.15);
    box-shadow: 0 0 15px rgba(255, 30, 60, 0.4);
}

.sidebar-toggle.active svg {
    filter: drop-shadow(0 0 6px var(--neon-red));
}

.sidebar-toggle .toggle-tooltip {
    position: absolute;
    left: 70px;
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-red);
    color: #fff;
    padding: 6px 14px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 30, 60, 0.5);
    clip-path: polygon(0 0, 92% 0, 100% 25%, 100% 100%, 0 100%);
    z-index: 1001;
}

.sidebar-toggle:hover .toggle-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .sidebar-dock {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-evenly !important;
        align-items: center !important;
        padding: 0 0.25rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none;
    }

    .dock-links,
    .dock-bottom,
    .sidebar-toggle-group {
        display: contents !important;
    }

    .dock-icon.rog-hud-btn,
    .sidebar-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex: 0 0 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .dock-icon.rog-hud-btn svg,
    .sidebar-toggle svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
}

@media (max-width: 600px) {
    .sidebar-dock {
        padding: 0 0.15rem !important;
        justify-content: space-evenly !important;
    }

    .dock-links,
    .dock-bottom,
    .sidebar-toggle-group {
        display: contents !important;
    }

    .dock-icon.rog-hud-btn,
    .sidebar-toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        flex: 0 0 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .dock-icon.rog-hud-btn svg,
    .sidebar-toggle svg {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
    }
}

/* ─── 12. Stealth Mode (Blue/Cyan palette) ─── */
body.stealth-mode {
    --neon-red: #00B4D8;
    --neon-magenta: #0077B6;
    --neon-cyan: #90E0EF;
    --surface-border: rgba(0, 180, 216, 0.25);
    --accent-gradient: linear-gradient(90deg, #00B4D8 0%, #0077B6 100%);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%2300B4D8' stroke-width='1'/%3E%3Cline x1='12' y1='0' x2='12' y2='8' stroke='%2300B4D8' stroke-width='1'/%3E%3Cline x1='12' y1='16' x2='12' y2='24' stroke='%2300B4D8' stroke-width='1'/%3E%3Cline x1='0' y1='12' x2='8' y2='12' stroke='%2300B4D8' stroke-width='1'/%3E%3Cline x1='16' y1='12' x2='24' y2='12' stroke='%2300B4D8' stroke-width='1'/%3E%3C/svg%3E") 12 12, crosshair;
}

body.stealth-mode a,
body.stealth-mode button,
body.stealth-mode .rog-btn,
body.stealth-mode .btn-primary,
body.stealth-mode .dock-icon,
body.stealth-mode .interactive-dial,
body.stealth-mode .dial-grab-handle,
body.stealth-mode .carousel-arrow,
body.stealth-mode select,
body.stealth-mode input,
body.stealth-mode textarea {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%2300B4D8' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%2300B4D8'/%3E%3Cline x1='12' y1='1' x2='12' y2='7' stroke='%2300B4D8' stroke-width='1.5'/%3E%3Cline x1='12' y1='17' x2='12' y2='23' stroke='%2300B4D8' stroke-width='1.5'/%3E%3Cline x1='1' y1='12' x2='7' y2='12' stroke='%2300B4D8' stroke-width='1.5'/%3E%3Cline x1='17' y1='12' x2='23' y2='12' stroke='%2300B4D8' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, pointer !important;
}

body.stealth-mode .sidebar-dock {
    border-right-color: rgba(0, 180, 216, 0.4);
    box-shadow: 5px 0 30px rgba(0, 180, 216, 0.25);
}

body.stealth-mode #scroll-progress {
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.8), 0 0 20px rgba(0, 119, 182, 0.4);
}

/* Custom Scrollbar (Normal Mode) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF1E3C 0%, #FF0066 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #FF1E3C;
}

/* Custom Scrollbar (Stealth Mode) */
html.stealth-mode::-webkit-scrollbar-thumb,
body.stealth-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00B4D8 0%, #0077B6 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

html.stealth-mode::-webkit-scrollbar-thumb:hover,
body.stealth-mode::-webkit-scrollbar-thumb:hover {
    background: #00B4D8;
}

html:has(body.stealth-mode)::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00B4D8 0%, #0077B6 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}

html:has(body.stealth-mode)::-webkit-scrollbar-thumb:hover {
    background: #00B4D8;
}

/* Firefox scrollbar support */
html {
    scrollbar-color: #FF1E3C var(--bg-dark);
    scrollbar-width: thin;
}

html:has(body.stealth-mode),
body.stealth-mode {
    scrollbar-color: #00B4D8 var(--bg-dark);
}

/* ─── 13. Konami Code Easter Egg ─── */
#konami-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 30, 60, 0.08);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    animation: konami-flash 0.5s ease;
    pointer-events: none;
}

#konami-overlay.active {
    display: flex;
}

.konami-message {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(255, 30, 60, 0.8), 0 0 40px rgba(255, 30, 60, 0.4);
    animation: konami-text 2s ease forwards;
}

@keyframes konami-flash {
    0% {
        background: rgba(255, 30, 60, 0.3);
    }

    100% {
        background: rgba(255, 30, 60, 0.05);
    }
}

@keyframes konami-text {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    30% {
        opacity: 1;
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* ─── Parallax helper ─── */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}