:root {
    --primary: #00f2ff;
    --primary-rgb: 0, 242, 255;
    --secondary: #7c3aed;
    --dark-bg: #010101;
    --glass: rgba(0, 242, 255, 0.03);
    --border-glow: rgba(0, 242, 255, 0.2);
}

body {
    background: var(--dark-bg);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

.exo-2 { font-family: 'Exo 2', sans-serif; }

/* System Background */
.system-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #00141e 0%, #010101 100%);
    z-index: -1;
}

.scanline {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 242, 255, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 100;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }
}

/* Image Display */
.hero-image-frame {
    position: relative;
    border: 1px solid var(--border-glow);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.1);
}

.hero-image-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-bg), transparent);
}

/* Stats Window */
.system-window {
    background: rgba(0, 20, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.05);
}

.system-window::before {
    content: "COMMAND_INTERFACE_V4.2";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--dark-bg);
    padding: 0 10px;
    font-size: 10px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
}

.hud-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin: 8px 0;
}

.hud-bar-inner {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 101;
    display: flex;
    items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 20px var(--primary);
}

.rank-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* System Visualizer Components */
.system-visualizer {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: #020202;
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.visualizer-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.visualizer-hex {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill-opacity='0.02' fill='%2300f2ff' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.visualizer-scan {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 242, 255, 0) 45%, 
        rgba(0, 242, 255, 0.2) 50%, 
        rgba(0, 242, 255, 0) 55%, 
        transparent);
    animation: scan 4s linear infinite;
}

.data-nodes {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.node::before {
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.visualizer-stats {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 10;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes ping {
    75%, 100% { transform: scale(4); opacity: 0; }
}
