:root {
    --soviet-red: #E61919;
    --soviet-bright-red: #FF3333;
    --soviet-gold: #D4AF37;
    --soviet-cream: #F5E6CA;
    --tech-cyan: #00F0FF;
    --chrome-light: #E0E0E0;
    --chrome-mid: #A0A0A0;
    --chrome-dark: #404040;
    --bg-dark: #121214;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jura', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--chrome-light);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, #2a0a0a 0%, transparent 70%),
        linear-gradient(0deg, var(--bg-dark) 0%, #1a1a1c 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Floating Glass Panel */
.header {
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--soviet-red);
    text-shadow: 0 0 15px rgba(230, 25, 25, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '★';
    font-size: 1.2em;
    color: var(--soviet-gold);
}

.header nav {
    display: flex;
    align-items: center;
}

.header nav a:not(.btn-invite) {
    color: var(--chrome-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.header nav a:not(.btn-invite)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--soviet-red);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--soviet-red);
}

.header nav a:not(.btn-invite):hover {
    color: #fff;
}

.header nav a:not(.btn-invite):hover::after {
    width: 100%;
}

.btn-invite {
    margin-left: 30px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
    color: #fff !important;
    padding: 12px 35px;
    font-family: 'Jura', sans-serif;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(204, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 10;
}

/* Shiny polymer gloss effect */
.btn-invite::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-invite:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 50, 50, 0.6),
        0 0 10px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #e60000 0%, #ff4d4d 100%);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-invite:hover::before {
    left: 100%;
    transition: 0.5s;
}

/* Hero Section - Retro-Futurism */
.hero {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    overflow: hidden;
}

/* Abstract Polymer/Tech Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at center, transparent 0%, var(--bg-dark) 70%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 100px);
    animation: rotateBg 60s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--chrome-mid));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

.hero .highlight {
    color: var(--soviet-red);
    background: none;
    -webkit-text-fill-color: var(--soviet-red);
    text-shadow: 0 0 30px rgba(230, 25, 25, 0.5);
    font-family: 'Jura', sans-serif; /* Mix modern font */
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: var(--chrome-mid);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
}

/* Modern Material Buttons */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 4px; /* Slightly rounded industrial look */
    z-index: 1;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--soviet-gold);
    color: var(--soviet-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--soviet-gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    color: #111;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    border: 1px solid var(--chrome-mid);
    color: var(--chrome-light);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Features - Holographic Cards */
.features {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #151515 100%);
}

.features h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 70px;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.features h2 span {
    color: var(--soviet-gold);
    font-family: 'Jura', sans-serif;
    font-size: 0.5em;
    display: block;
    letter-spacing: 5px;
    margin-top: 10px;
    text-transform: uppercase;
    opacity: 0.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(30,30,35,0.6), rgba(20,20,25,0.8));
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.2);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--soviet-red);
    text-shadow: 0 0 20px rgba(230, 25, 25, 0.4);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--chrome-mid);
    font-size: 1rem;
    line-height: 1.7;
}

/* Commands - Minimalist Tech Interface */
.commands {
    padding: 100px 0;
    background: #0e0e10;
    position: relative;
}

/* Grid lines decoration */
.commands::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--soviet-red), transparent);
    opacity: 0.5;
}

.commands h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    font-family: 'Jura', sans-serif;
    font-weight: 700;
}

.command-list {
    display: grid;
    gap: 20px;
}

.command-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--soviet-red);
    box-shadow: 0 0 20px rgba(230, 25, 25, 0.1);
}

.command-item .cmd {
    font-family: 'Jura', monospace;
    color: var(--soviet-red);
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 200px;
    position: relative;
}

.command-item .cmd::before {
    content: '>';
    margin-right: 10px;
    color: var(--chrome-mid);
}

.command-item .desc {
    color: var(--chrome-mid);
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 20px;
}

/* Jokes - Vintage Propaganda Meets Hologram */
.joke-preview {
    padding: 120px 0;
    background: radial-gradient(circle at center, #1a0505 0%, #000 100%);
    text-align: center;
    position: relative;
}

.joke-preview h2 {
    color: var(--soviet-gold);
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-transform: uppercase;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
    color: var(--chrome-light);
    position: relative;
    border: none;
    background: none;
    box-shadow: none;
    transform: none;
}

blockquote::before {
    content: '“';
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -40px;
    left: -20px;
    font-family: 'Georgia', serif;
}

.joke-preview blockquote:last-child {
    color: var(--soviet-red); /* Highlight second quote */
    text-shadow: 0 0 10px rgba(230, 25, 25, 0.2);
}

/* Footer */
footer {
    background-color: #050505;
    color: var(--chrome-dark);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .header nav {
        display: none; /* Simplify for mobile for now or change to hamburger */
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .command-item .desc {
        border-left: none;
        padding-left: 0;
    }
}