@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #050508;
    color: white;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    perspective: 1200px;
}

::selection {
    background: #ff3f98;
    color: white;
}


/* ================================
   SCROLLBAR
================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #07070a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        #ff2f8e,
        #a855f7
    );

    border-radius: 20px;
}


/* ================================
   NAVBAR
================================ */

nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    background: rgba(5, 5, 8, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.07);

    z-index: 1000;

    transition: 0.3s;
}

.nav-logo {
    color: white;
    text-decoration: none;

    font-family: "Orbitron", sans-serif;

    font-weight: 800;
    font-size: 14px;

    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-links a {
    color: #92929d;

    text-decoration: none;

    font-size: 13px;

    transition: 0.25s;
}

.nav-links a:hover {
    color: #ff65ad;
}

.nav-links .nav-discord {
    color: white;

    padding: 9px 17px;

    border-radius: 7px;

    border: 1px solid rgba(255, 76, 161, 0.5);

    background: rgba(255, 76, 161, 0.07);
}

.nav-links .nav-discord:hover {
    background: #ff3c94;

    box-shadow:
        0 0 30px
        rgba(255, 60, 148, 0.35);
}


/* ================================
   HERO
================================ */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 125px 20px 80px;

    overflow: hidden;

    transform-style: preserve-3d;
}

.hero-content {
    position: relative;

    z-index: 10;

    width: 100%;

    text-align: center;

    transform-style: preserve-3d;

    transition: transform 0.18s ease-out;

    will-change: transform;
}

.welcome {
    color: #ff65ad;

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    letter-spacing: 8px;

    margin-bottom: 22px;

    transform: translateZ(35px);
}


/* ================================
   MAIN LOGO
================================ */

.logo-3d {
    position: relative;

    width: 220px;
    height: 220px;

    margin: 0 auto 35px;

    transform-style: preserve-3d;

    perspective: 1000px;
}

.server-logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;

    border: 3px solid rgba(255, 82, 163, 0.95);

    box-shadow:
        0 0 10px rgba(255, 54, 148, 1),
        0 0 30px rgba(255, 54, 148, 0.55),
        0 0 70px rgba(255, 54, 148, 0.22);

    transform-style: preserve-3d;

    backface-visibility: hidden;

    image-rendering: auto;

    will-change: transform;

    transition:
        transform 0.16s ease-out,
        box-shadow 0.3s ease;

    animation: logoFloat 4s ease-in-out infinite;
}

.server-logo:hover {
    box-shadow:
        0 0 15px rgba(255, 54, 148, 1),
        0 0 45px rgba(255, 54, 148, 0.65),
        0 0 100px rgba(255, 54, 148, 0.30);
}

.logo-3d::before {
    content: "";

    position: absolute;

    inset: -13px;

    border-radius: 50%;

    border: 1px solid rgba(255, 80, 165, 0.35);

    pointer-events: none;

    animation: ringRotate 9s linear infinite;
}

.logo-3d::after {
    content: "";

    position: absolute;

    inset: -24px;

    border-radius: 50%;

    border: 1px dashed rgba(255, 100, 180, 0.20);

    pointer-events: none;

    animation: ringRotateReverse 15s linear infinite;
}

@keyframes logoFloat {
    0%,
    100% {
        transform:
            translateY(0)
            rotateZ(0deg);
    }

    50% {
        transform:
            translateY(-9px)
            rotateZ(1deg);
    }
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ringRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}


/* ================================
   HERO TEXT
================================ */

.hero h1 {
    font-family: "Orbitron", sans-serif;

    font-size: clamp(42px, 7vw, 88px);

    font-weight: 700;

    letter-spacing: 3px;

    line-height: 1.1;

    transform: translateZ(55px);

    text-shadow:
        0 5px 30px
        rgba(0,0,0,0.6);
}

.hero h1 span {
    color: #ff4fa3;

    text-shadow:
        0 0 12px rgba(255,79,163,0.9),
        0 0 35px rgba(255,35,137,0.5),
        0 0 70px rgba(255,35,137,0.22);
}

.hero h2 {
    margin-top: 24px;

    color: #e6e6ea;

    font-size: 16px;

    font-weight: 400;

    transform: translateZ(42px);
}

.hero h2 b {
    color: #ff4fa3;

    padding: 0 5px;
}

.hero-description {
    max-width: 650px;

    margin: 19px auto 0;

    color: #898994;

    font-size: 14px;

    line-height: 1.9;

    transform: translateZ(30px);
}

.invite {
    margin-top: 16px;

    color: #50505a;

    font-size: 11px;

    letter-spacing: 1px;
}


/* ================================
   BUTTONS
================================ */

.hero-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 33px;

    transform: translateZ(48px);
}

.discord-button,
.secondary-button {
    min-height: 48px;

    padding: 0 27px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    text-decoration: none;

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.3s;

    transform-style: preserve-3d;
}

.discord-button {
    color: white;

    background:
        linear-gradient(
            135deg,
            #ff247e,
            #ff5aae
        );

    box-shadow:
        0 0 25px
        rgba(255, 48, 139, 0.32);
}

.discord-button span {
    transform: translateZ(20px);
}

.discord-button:hover {
    transform:
        translateY(-5px)
        translateZ(15px)
        scale(1.03);

    box-shadow:
        0 0 45px
        rgba(255, 48, 139, 0.62);
}

.secondary-button {
    color: white;

    border:
        1px solid
        rgba(255,255,255,0.15);

    background:
        rgba(255,255,255,0.025);
}

.secondary-button:hover {
    color: #ff6db3;

    border-color: #ff4fa3;

    transform: translateY(-5px);
}


/* ================================
   BACKGROUND ORBS
================================ */

.background-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(110px);

    pointer-events: none;
}

.orb-one {
    width: 500px;
    height: 500px;

    left: -220px;
    top: 15%;

    background:
        rgba(255, 20, 125, 0.13);

    animation:
        orbMoveOne
        12s ease-in-out
        infinite alternate;
}

.orb-two {
    width: 500px;
    height: 500px;

    right: -220px;
    bottom: 5%;

    background:
        rgba(156, 45, 255, 0.11);

    animation:
        orbMoveTwo
        14s ease-in-out
        infinite alternate;
}

.orb-three {
    width: 350px;
    height: 350px;

    left: 45%;
    top: 35%;

    background:
        rgba(255, 25, 130, 0.05);

    animation:
        orbMoveThree
        10s ease-in-out
        infinite alternate;
}

@keyframes orbMoveOne {
    to {
        transform:
            translate(160px, 80px)
            scale(1.2);
    }
}

@keyframes orbMoveTwo {
    to {
        transform:
            translate(-140px, -100px)
            scale(1.18);
    }
}

@keyframes orbMoveThree {
    to {
        transform:
            translate(-80px, 100px)
            scale(1.3);
    }
}


/* ================================
   PARTICLES
================================ */

.particles {
    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;
}

.particle {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ff75ba;

    box-shadow:
        0 0 10px
        #ff4fa3;

    opacity: 0;

    animation:
        particleFloat
        linear infinite;
}

@keyframes particleFloat {
    0% {
        transform:
            translateY(100vh)
            translateX(0)
            scale(0);

        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform:
            translateY(-20vh)
            translateX(80px)
            scale(1.3);

        opacity: 0;
    }
}


/* ================================
   MOUSE GLOW
================================ */

.mouse-glow {
    position: fixed;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 40, 140, 0.09),
            rgba(255, 40, 140, 0.025) 40%,
            transparent 70%
        );

    filter: blur(15px);

    pointer-events: none;

    z-index: 0;
}


/* ================================
   SCROLL ARROW
================================ */

.scroll-down {
    position: absolute;

    bottom: 24px;
    left: 50%;

    transform: translateX(-50%);

    color: #666;

    text-decoration: none;

    font-size: 24px;

    animation:
        scrollBounce
        2s infinite;

    z-index: 10;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform:
            translate(-50%, 0);
    }

    50% {
        transform:
            translate(-50%, 8px);
    }
}


/* ================================
   SECTIONS
================================ */

.section {
    position: relative;

    min-height: 80vh;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 110px 8%;

    text-align: center;
}

.section-heading > p {
    color: #ff4fa3;

    font-family: "Orbitron", sans-serif;

    font-size: 10px;

    letter-spacing: 6px;

    margin-bottom: 15px;
}

.section-heading h2 {
    font-family: "Orbitron", sans-serif;

    font-size:
        clamp(
            27px,
            4vw,
            45px
        );
}

.section-heading h2 span {
    color: #ff4fa3;

    text-shadow:
        0 0 25px
        rgba(255,79,163,0.3);
}

.section-description {
    max-width: 700px;

    margin-top: 25px;

    color: #85858f;

    line-height: 1.9;

    font-size: 14px;
}


/* ================================
   STATS
================================ */

.stats-grid {
    width: 100%;

    max-width: 1000px;

    margin-top: 55px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    perspective: 1000px;
}

.stat-card {
    position: relative;

    padding: 35px 15px;

    border-radius: 13px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.01)
        );

    transform-style: preserve-3d;

    transition:
        transform 0.16s ease-out,
        border-color 0.3s,
        box-shadow 0.3s;
}

.stat-card:hover {
    border-color:
        rgba(255,79,163,0.45);

    box-shadow:
        0 20px 50px
        rgba(255,35,137,0.08);
}

.stat-icon {
    font-size: 28px;

    transform:
        translateZ(40px);
}

.stat-card h3 {
    margin-top: 12px;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 13px;

    transform:
        translateZ(30px);
}

.stat-card p {
    margin-top: 7px;

    color: #666;

    font-size: 11px;

    transform:
        translateZ(20px);
}


/* ================================
   COMMUNITY CARDS
================================ */

.community-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255,25,125,0.025),
            transparent
        );
}

.cards {
    width: 100%;

    max-width: 1100px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 50px;

    perspective: 1200px;
}

.card {
    position: relative;

    min-height: 215px;

    padding: 34px 27px;

    text-align: left;

    overflow: hidden;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.012)
        );

    border:
        1px solid
        rgba(255,255,255,0.08);

    transform-style: preserve-3d;

    transition:
        transform 0.16s ease-out,
        border-color 0.3s,
        box-shadow 0.3s;
}

.card:hover {
    border-color:
        rgba(255,79,163,0.6);

    box-shadow:
        0 20px 60px
        rgba(255,47,139,0.13);
}

.card-glow {
    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        rgba(255,50,145,0.12);

    filter: blur(50px);

    top: -80px;
    right: -80px;

    opacity: 0;

    transition: 0.3s;
}

.card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    position: relative;

    z-index: 2;

    font-size: 28px;

    margin-bottom: 22px;

    transform: translateZ(45px);
}

.card h3 {
    position: relative;

    z-index: 2;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 14px;

    margin-bottom: 13px;

    transform: translateZ(35px);
}

.card p {
    position: relative;

    z-index: 2;

    color: #767680;

    font-size: 13px;

    line-height: 1.8;

    transform: translateZ(22px);
}


/* ================================
   RULES
================================ */

.rules {
    width: 100%;

    max-width: 850px;

    margin-top: 45px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    perspective: 1200px;
}

.rule {
    display: flex;

    align-items: center;

    gap: 24px;

    padding: 22px 25px;

    text-align: left;

    border-radius: 12px;

    border:
        1px solid
        rgba(255,255,255,0.07);

    background:
        rgba(255,255,255,0.015);

    transform-style: preserve-3d;

    transition:
        transform 0.16s ease-out,
        border-color 0.3s,
        background 0.3s;
}

.rule:hover {
    border-color:
        rgba(255,79,163,0.45);

    background:
        rgba(255,79,163,0.025);
}

.rule-number {
    color: #ff4fa3;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    transform:
        translateZ(35px);
}

.rule div {
    transform:
        translateZ(22px);
}

.rule h3 {
    font-size: 14px;

    font-weight: 600;
}

.rule p {
    margin-top: 4px;

    color: #707078;

    font-size: 12px;
}


/* ================================
   JOIN SECTION
================================ */

.join-section {
    min-height: 85vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 100px 20px;

    background:
        radial-gradient(
            circle,
            rgba(255,30,130,0.08),
            transparent 45%
        );

    perspective: 1200px;
}

.join-card {
    position: relative;

    width: 100%;

    max-width: 850px;

    padding: 65px 30px;

    text-align: center;

    border-radius: 20px;

    border:
        1px solid
        rgba(255,255,255,0.09);

    background:
        linear-gradient(
            145deg,
            rgba(255, 30, 130, 0.035),
            rgba(255,255,255,0.012)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,0.3),
        inset 0 0 80px rgba(255, 30, 130, 0.015);

    transform-style: preserve-3d;

    overflow: hidden;
}


/* JOIN LOGO - BIGGER + SHARPER */

.join-logo {
    display: block;

    width: 190px;
    height: 190px;

    object-fit: cover;
    object-position: center;

    margin:
        0 auto 32px;

    border-radius: 50%;

    border:
        2px solid
        rgba(255, 79, 163, 0.95);

    box-shadow:
        0 0 12px rgba(255, 79, 163, 1),
        0 0 35px rgba(255, 55, 148, 0.55),
        0 0 80px rgba(255, 55, 148, 0.20);

    transform:
        translateZ(55px);

    transform-style:
        preserve-3d;

    backface-visibility:
        hidden;

    image-rendering:
        auto;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.join-logo:hover {
    transform:
        translateZ(70px)
        scale(1.06);

    box-shadow:
        0 0 18px rgba(255, 79, 163, 1),
        0 0 50px rgba(255, 55, 148, 0.7),
        0 0 110px rgba(255, 55, 148, 0.28);
}

.join-small {
    color: #ff5aa8;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 10px;

    letter-spacing: 5px;

    transform:
        translateZ(35px);
}

.join-card h2 {
    margin: 18px 0;

    font-family:
        "Orbitron",
        sans-serif;

    font-size:
        clamp(
            32px,
            5vw,
            55px
        );

    transform:
        translateZ(45px);
}

.join-card h2 span {
    color: #ff4fa3;

    text-shadow:
        0 0 15px rgba(255,63,152,0.7),
        0 0 35px rgba(255,63,152,0.35);
}

.join-description {
    color: #777;

    font-size: 13px;

    margin-bottom: 30px;

    transform:
        translateZ(25px);
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 55px 20px;

    text-align: center;

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    color: #5f5f67;
}

.footer-logo {
    color: white;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

footer p {
    font-size: 12px;
}

.copyright {
    margin-top: 15px;

    color: #414148;
}


/* ================================
   SCROLL REVEAL
================================ */

.reveal {
    opacity: 0;

    transform:
        translateY(45px)
        scale(0.97);

    transition:
        opacity 0.8s ease,
        transform 0.8s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .logo-3d {
        width: 190px;
        height: 190px;
    }

    .join-logo {
        width: 170px;
        height: 170px;
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {

    nav {
        height: 68px;

        padding: 0 5%;
    }

    .nav-logo {
        font-size: 11px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a:not(.nav-discord) {
        display: none;
    }

    .hero {
        padding-top: 110px;
    }

    .logo-3d {
        width: 155px;
        height: 155px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero h2 {
        font-size: 13px;
    }

    .hero-description {
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        max-width: 290px;

        margin-left: auto;
        margin-right: auto;
    }

    .discord-button,
    .secondary-button {
        width: 100%;
    }

    .section {
        padding: 90px 6%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .join-card {
        padding:
            50px 20px;
    }

    .join-logo {
        width: 145px;
        height: 145px;
    }

    .mouse-glow {
        display: none;
    }

    .hero-content {
        transform: none !important;
    }

    .tilt-card {
        transform: none !important;
    }
}


/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}