:root {
    --primary: #ff007f; /* Neon Pink */
    --secondary: #00f0ff; /* Neon Cyan */
    --tertiary: #7000ff; /* Deep Purple */
    --bg-color: #050510;
    --text-main: #ffffff;
    --text-muted: #a0a5b5;
    --glass-bg: rgba(20, 20, 35, 0.4);
    --glass-border: rgba(0, 240, 255, 0.2);
    --online: #00ff88;
    --offline: #ff0055;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Neon Background Blobs */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: drift 20s infinite alternate ease-in-out;
    opacity: 0.6;
}
.bg-shape-1 { width: 50vw; height: 50vw; background: var(--primary); top: -20%; left: -10%; }
.bg-shape-2 { width: 40vw; height: 40vw; background: var(--secondary); bottom: -10%; right: -10%; animation-delay: -5s; }
.bg-shape-3 { width: 30vw; height: 30vw; background: var(--tertiary); top: 40%; left: 30%; animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 150px) scale(1.3) rotate(45deg); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }

/* Vibrant Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Classes */
.glass-panel, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow inside the cards */
.glass-card::before {
    content: "";
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Header & CSS Logo */
header { display: flex; justify-content: center; margin-bottom: 3rem; }
.logo-container { display: flex; align-items: center; gap: 1.5rem; }

.css-logo {
    width: 45px; height: 45px; position: relative;
    transform-style: preserve-3d;
    animation: rotateBlock 8s linear infinite;
}
.face {
    position: absolute; width: 45px; height: 45px;
    border: 2px solid var(--secondary);
    background: rgba(0, 240, 255, 0.2);
    box-shadow: inset 0 0 20px var(--secondary);
}
.top { transform: rotateX(90deg) translateZ(22.5px); }
.left { transform: rotateY(-90deg) translateZ(22.5px); }
.right { transform: translateZ(22.5px); }

@keyframes rotateBlock {
    0% { transform: rotateX(-20deg) rotateY(0deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* Hero Section */
.hero { text-align: center; padding: 5rem 2rem; margin-bottom: 4rem; }
.title { font-size: 4rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
.tagline { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* IP Box & Buttons */
.ip-container { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.ip-box {
    display: flex; align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 0.5rem 0.5rem 0.5rem 2rem; gap: 2rem;
    font-size: 1.2rem; font-weight: 600;
}
.copy-btn {
    background: linear-gradient(45deg, var(--primary), var(--tertiary));
    color: white; border: none; padding: 0.8rem 1.5rem;
    border-radius: 8px; cursor: pointer; font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

/* Pulsing Animation */
.pulse-glow { animation: pulse 2s infinite alternate; }
@keyframes pulse {
    0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
    100% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.6); }
}

/* Status Widget */
.status-widget { display: inline-block; padding: 1rem 2rem; font-weight: 600; }
.status-indicator {
    display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px;
}
.online .status-indicator { background: var(--online); box-shadow: 0 0 15px var(--online); }
.offline .status-indicator { background: var(--offline); box-shadow: 0 0 15px var(--offline); }

/* Features Grid */
.section-title { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; width: 100%; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-bottom: 4rem;
}

/* Animated Cards */
.feature-card {
    padding: 2.5rem; text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(255, 0, 127, 0.3);
}

.icon-wrapper {
    width: 70px; height: 70px; margin: 0 auto 1.5rem auto;
    background: linear-gradient(45deg, rgba(255,0,127,0.2), rgba(0,240,255,0.2));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--secondary);
}
.feature-card i { font-size: 2.2rem; color: var(--text-main); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--secondary); }
.feature-card p { color: var(--text-muted); line-height: 1.6; }

/* Floating Animation for Cards */
.float-anim { animation: floatVertical 6s ease-in-out infinite; }
@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Community Section */
.community { text-align: center; padding: 4rem 2rem; }
.discord-btn {
    display: inline-block; background: #5865F2; color: white;
    text-decoration: none; padding: 1rem 2rem; font-size: 1.1rem;
    border-radius: 12px; font-weight: 600; margin-top: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.discord-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.6);
}

/* Entrance Animations & Delays */
.animate-drop { animation: dropDown 1s cubic-bezier(0.25, 1, 0.5, 1) both; }
.animate-fade-in { animation: fadeIn 1.2s ease-out both; }
.animate-slide-up { animation: slideUp 1s ease-out both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes dropDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .title { font-size: 2.8rem; }
    .ip-box { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
}