/* ==== ABSOLUTE BODY OVERDRIVE ==== */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #00000f, #0f0024, #24004b, #3c0072, #5e00a8, #a000ff, #ff00cc);
    background-size: 800% 800%;
    animation: gradientBackground 20s ease infinite;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==== SECTION LIFTING OUT OF SPACE ==== */
section {
    opacity: 0;
    transform: translateY(150px) scale(0.8);
    transition: all 1.3s cubic-bezier(0.19, 1, 0.22, 1);
}
section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==== GLASS IS NOW CRYSTALIZED FUTURE ==== */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(280%);
    -webkit-backdrop-filter: blur(40px) saturate(280%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 20px #00f2ff44,
        0 0 60px #ff00ff55,
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.8s ease;
}
.glass:hover {
    box-shadow:
        0 0 80px #00f2ff,
        0 0 120px #ff00ff,
        0 0 160px #a000ff;
}

/* ==== FADEIN FROM THE UNDERWORLD ==== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(80px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-fadeIn {
    animation: fadeIn 1.8s ease-out forwards;
}

/* ==== MEGA-HOVER LINKS & BUTTONS ==== */
a, button {
    transition: all 0.5s ease;
    text-decoration: none;
    color: #ffffff;
}
a:hover, button:hover {
    transform: scale(1.2) rotate(-1deg);
    color: #0ff;
    text-shadow:
        0 0 8px #0ff,
        0 0 24px #ff00ff,
        0 0 64px #9900ff;
}

/* ==== UNREAL BACKGROUND WAVE ==== */
@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* ==== CYBERCARD ON STEROIDS ==== */
.card-hover {
    transition: transform 0.7s ease, box-shadow 0.7s ease;
    border-radius: 20px;
    background: linear-gradient(135deg, #14002a, #2b0057);
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0 25px #ff00ff33,
        inset 0 0 20px #00f2ff22;
}
.card-hover:hover {
    transform: scale(1.2) rotateX(4deg) rotateZ(2deg);
    box-shadow:
        0 0 80px #ff00ffcc,
        0 0 160px #00f2ffcc;
}

/* ==== RULES HYPER TRANSITION ==== */
.rules-section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hidden {
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
}

/* ==== DISCORD NUCLEAR ICON ==== */
.fab.fa-discord {
    transition: all 0.6s ease;
    color: #7289da;
}
.fab.fa-discord:hover {
    transform: scale(1.4) rotate(10deg);
    color: #00f2ff;
    text-shadow:
        0 0 20px #00f2ff,
        0 0 40px #ff00ff,
        0 0 80px #9900ff;
}

/* ==== PARTICLE GODMODE ==== */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    pointer-events: none;
    z-index: 1;
}
canvas {
    display: block;
    vertical-align: bottom;
}

/* ==== RESPONSIVE - STILL BRUTAL ==== */
@media only screen and (max-width: 1105px) {
    #particles-js {
        height: 700px;
        width: 100%;
    }
}
