:root {
    --bg-color: #050505;
    --gold: #D4AF37;
    --cyan: #00F2FF;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: white;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    z-index: -2;
}

.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    opacity: 0.3;
    z-index: -1;
}

.gateway-container {
    text-align: center;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
}

/* AI CORE ANIMATION */
.ai-core {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-center {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 30px var(--cyan), 0 0 60px var(--cyan);
    z-index: 10;
}

.core-ring {
    position: absolute;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.6;
}

.ring-1 {
    width: 80px; height: 80px;
    animation: rotate 4s linear infinite;
    border-style: dashed;
}

.ring-2 {
    width: 120px; height: 120px;
    animation: rotate-rev 6s linear infinite;
    border-width: 4px;
    border-color: var(--cyan);
    opacity: 0.3;
}

.ring-3 {
    width: 160px; height: 160px;
    animation: rotate 10s linear infinite;
    border-style: double;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

/* TYPOGRAPHY */
h1 {
    font-size: 3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--gold);
}

.subtitle {
    color: #888;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

/* NODE GRID */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.node-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.node-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.node-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.node-card h3 {
    margin: 10px 0;
    font-weight: 500;
    color: var(--gold);
}

.node-card p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
}

/* FOOTER */
.system-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #555;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 1.5s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }