/* Design Tokens & Variables */
:root {
    --bg-dark-start: #020b18;
    --bg-dark-end: #08172c;
    --accent-color: #39ff14; /* Electric Green */
    --accent-glow: rgba(57, 255, 20, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --badge-bg: rgba(8, 23, 44, 0.6);
    --badge-border: rgba(57, 255, 20, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, serif;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark-start);
    background-image: linear-gradient(135deg, var(--bg-dark-start) 0%, var(--bg-dark-end) 100%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(57, 255, 20, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(57, 255, 20, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 80% 20%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle at 80% 20%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Radial Glow Backgrounds */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-color);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: #0077ff; /* Supporting deep blue glow */
    animation-delay: -4s;
}

/* SVG Graphics Positioner */
.bg-graphics {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bg-graphics svg {
    width: 100%;
    height: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    max-width: 800px;
    margin: 6rem 0;
}

.pre-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.italic {
    font-style: italic;
}

.description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Badges */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent-color);
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.badge:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transform: translateY(-2px);
}

.badge:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.logo-footer {
    color: var(--text-primary);
    font-weight: 600;
}

/* Keyframe Animations */
@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.12;
    }
    100% {
        transform: scale(1.15) translate(-3%, 3%);
        opacity: 0.18;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hero {
        margin: 4rem 0;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Animation Classes */
.rot-clockwise {
    transform-origin: 1200px 100px;
    animation: rotate-cw 60s linear infinite;
}

.rot-counter {
    transform-origin: 1200px 100px;
    animation: rotate-ccw 80s linear infinite;
}

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

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