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

:root {
    --bg-dark: #070913;
    --primary: #00f0ff;
    --secondary: #ff007f;
    --accent: #7000ff;
    --text-light: #ffffff;
    --text-dim: #8a99ad;
    --glass-bg: rgba(13, 17, 34, 0.65);
    --glass-border: rgba(0, 240, 255, 0.2);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Background Particle Canvas */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating Ambient Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.5;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--primary);
    top: 10%;
    left: 15%;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: var(--accent);
    bottom: 5%;
    right: 10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: var(--secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -50px) scale(1.15);
    }
    100% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    width: 100%;
    max-width: 650px;
}

/* 3D Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(0, 240, 255, 0.15);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(0, 240, 255, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    transition: transform 0.1s linear;
}

/* Status Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 15px var(--primary); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Main Animated Title */
.main-title {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    user-select: none;
}

.word {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.word:hover {
    transform: scale(1.2) translateY(-6px) rotate(-2deg);
}

.word.accent {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    animation: strokeGlow 3s infinite alternate;
}

.word.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: gradientShift 4s linear infinite;
}

@keyframes strokeGlow {
    0% { filter: drop-shadow(0 0 2px var(--primary)); }
    100% { filter: drop-shadow(0 0 12px var(--primary)); }
}

@keyframes gradientShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Subtitle */
.subtitle {
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 32px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Interactive Buttons */
.interactive-panel {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 36px;
}

.btn {
    position: relative;
    padding: 12px 28px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
    transform: translateY(-3px);
}

/* Status Footer */
.status-footer {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: var(--font-head);
    letter-spacing: 1px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-head);
    color: var(--text-light);
}

.stat-value.active {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Ripple Shockwave Effect */
.shockwave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary);
    transform: translate(-50%, -50%) scale(0);
    animation: shockwaveAnim 0.8s ease-out forwards;
    pointer-events: none;
    z-index: 99;
}

@keyframes shockwaveAnim {
    0% {
        width: 0px;
        height: 0px;
        opacity: 1;
        border-color: var(--primary);
    }
    50% {
        border-color: var(--secondary);
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
        border-color: var(--accent);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    .glass-card {
        padding: 32px 20px;
    }
    .interactive-panel {
        flex-direction: column;
    }
}
