@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #050609;
    --bg-soft: #090b11;

    --purple: #a855f7;
    --purple-bright: #c084fc;

    --green: #39ff88;
    --green-dark: #16c765;

    --white: #ffffff;
    --text: #e9e9ef;
    --muted: #9293a3;

    --border: rgba(255, 255, 255, 0.09);

    --purple-glow:
        0 0 10px rgba(168, 85, 247, 0.55),
        0 0 35px rgba(168, 85, 247, 0.25);

    --green-glow:
        0 0 10px rgba(57, 255, 136, 0.55),
        0 0 35px rgba(57, 255, 136, 0.22);
}

body {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;

    background:
        radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.10), transparent 25%),
        radial-gradient(circle at 15% 50%, rgba(57, 255, 136, 0.06), transparent 25%),
        var(--bg);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;
}

body::selection {
    background: var(--purple);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   BACKGROUND
========================= */

.background-effects {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;
}

.neon-orb {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.18;
}

.orb-purple {
    background: var(--purple);

    top: 10%;
    right: -180px;
}

.orb-green {
    background: var(--green);

    bottom: 10%;
    left: -180px;
}

.grid-overlay {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);

    background-size: 50px 50px;

    mask-image: linear-gradient(to bottom, black, transparent 80%);
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    height: 78px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;

    top: 0;
    right: 0;

    z-index: 1000;

    background: rgba(5, 6, 9, 0.72);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 29px;

    font-weight: 900;

    letter-spacing: 5px;

    color: white;

    text-shadow: var(--purple-glow);

    transition: 0.3s;
}

.logo span {
    color: var(--green);

    text-shadow: var(--green-glow);
}

.logo:hover {
    transform: scale(1.04);
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 23px;
}

.nav-links a {
    color: #a9aab6;

    font-size: 13px;

    transition: 0.3s;

    position: relative;
}

.nav-links a::after {
    content: "";

    position: absolute;

    width: 0;
    height: 2px;

    bottom: -8px;
    right: 0;

    background: var(--green);

    box-shadow: var(--green-glow);

    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-button {
    display: none;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.04);

    color: white;

    border-radius: 10px;

    font-size: 25px;

    width: 45px;
    height: 42px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    padding: 150px 7% 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    position: relative;
}

.hero-content {
    max-width: 700px;

    position: relative;

    z-index: 2;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 8px 17px;

    margin-bottom: 25px;

    border: 1px solid rgba(168, 85, 247, 0.35);

    border-radius: 50px;

    background: rgba(168, 85, 247, 0.08);

    color: #d7b4fa;

    font-size: 13px;

    box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;

    background: var(--green);

    border-radius: 50%;

    box-shadow: var(--green-glow);

    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 1.05;

    font-weight: 900;

    margin-bottom: 25px;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;

    color: var(--purple-bright);

    text-shadow:
        0 0 10px rgba(192, 132, 252, 0.8),
        0 0 40px rgba(168, 85, 247, 0.35);
}

.hero p {
    max-width: 590px;

    color: var(--muted);

    font-size: 18px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 25px;

    border-radius: 12px;

    font-weight: 800;

    transition: 0.3s;

    cursor: pointer;
}

.primary-button {
    color: #050609;

    background: var(--green);

    box-shadow: var(--green-glow);
}

.primary-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 0 15px rgba(57, 255, 136, 0.8),
        0 0 45px rgba(57, 255, 136, 0.3);
}

.secondary-button {
    border: 1px solid rgba(168, 85, 247, 0.45);

    background: rgba(168, 85, 247, 0.07);

    color: white;

    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.04);
}

.secondary-button:hover {
    transform: translateY(-4px);

    border-color: var(--purple);

    box-shadow: var(--purple-glow);
}

.hero-stats {
    display: flex;

    gap: 35px;

    margin-top: 45px;
}

.hero-stats div {
    display: flex;

    align-items: center;

    gap: 10px;
}

.hero-stats strong {
    font-size: 23px;
}

.hero-stats span {
    color: #777989;

    font-size: 12px;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    width: 450px;
    height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;
}

.hero-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(168, 85, 247, 0.3);

    box-shadow: var(--purple-glow);

    animation: spin 15s linear infinite;
}

.ring-one {
    width: 390px;
    height: 390px;
}

.ring-two {
    width: 290px;
    height: 290px;

    border-color: rgba(57, 255, 136, 0.3);

    box-shadow: var(--green-glow);

    animation-direction: reverse;

    animation-duration: 11s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-logo-card {
    width: 285px;
    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    position: relative;

    z-index: 2;

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.14),
            rgba(57, 255, 136, 0.06)
        );

    border: 1px solid rgba(168, 85, 247, 0.45);

    border-radius: 28px;

    backdrop-filter: blur(20px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(168, 85, 247, 0.12);

    transform: rotate(-4deg);

    animation: floating 4s ease-in-out infinite;
}

.hero-logo-symbol {
    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: var(--green);

    font-size: 45px;

    font-weight: 900;

    border: 1px solid rgba(57, 255, 136, 0.45);

    box-shadow: var(--green-glow);

    text-shadow: var(--green-glow);
}

.hero-logo-text strong {
    display: block;

    font-size: 27px;

    letter-spacing: 4px;

    color: white;

    text-shadow: var(--purple-glow);
}

.hero-logo-text span {
    color: #777989;

    font-size: 9px;

    letter-spacing: 1px;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 115px 7%;
}

.section-title {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
}

.section-title > span,
.section-label {
    color: var(--green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    text-shadow: var(--green-glow);
}

.section-title h2 {
    font-size: 46px;

    line-height: 1.2;

    margin: 10px 0;
}

.section-title p {
    color: var(--muted);
}


/* =========================
   GAMES
========================= */

.games-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    max-width: 1150px;

    margin: auto;
}

.game-box {
    min-height: 245px;

    padding: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid var(--border);

    border-radius: 22px;

    position: relative;

    overflow: hidden;

    transition: 0.35s;
}

.game-box::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    top: -70px;
    left: -60px;

    background: var(--purple);

    filter: blur(70px);

    opacity: 0.15;
}

.game-box:hover {
    transform: translateY(-9px);

    border-color: rgba(168, 85, 247, 0.55);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(168, 85, 247, 0.08);
}

.game-icon {
    font-size: 46px;

    margin-bottom: 10px;
}

.game-tag {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}

.game-box h3 {
    font-size: 24px;

    margin-bottom: 7px;
}

.game-box p {
    color: var(--muted);

    font-size: 14px;
}

.coming-soon {
    border-style: dashed;
}


/* =========================
   FEATURE / BOT
========================= */

.feature-section {
    padding: 120px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    background:
        linear-gradient(
            90deg,
            rgba(168, 85, 247, 0.035),
            rgba(57, 255, 136, 0.025)
        );

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.feature-content {
    max-width: 650px;
}

.feature-content h2,
.about-content h2 {
    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.2;

    margin: 12px 0 20px;
}

.feature-content h2 span,
.about-content h2 span {
    display: block;

    color: var(--purple-bright);

    text-shadow: var(--purple-glow);
}

.feature-content p,
.about-content p {
    color: var(--muted);

    font-size: 17px;

    margin-bottom: 28px;
}

.bot-card {
    width: 310px;
    min-height: 330px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(57, 255, 136, 0.25);

    border-radius: 28px;

    box-shadow: var(--green-glow);

    backdrop-filter: blur(20px);
}

.bot-status {
    position: absolute;

    top: 20px;
    left: 20px;

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--green);

    font-size: 9px;

    font-weight: 900;
}

.bot-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: var(--green-glow);
}

.bot-icon {
    font-size: 85px;

    margin-bottom: 15px;

    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
}

.bot-card strong {
    font-size: 27px;

    letter-spacing: 4px;
}

.bot-card p {
    color: #6f7080;

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================
   LEADERBOARD
========================= */

.leaderboard {
    max-width: 850px;

    margin: auto;

    display: grid;

    gap: 12px;
}

.rank {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 17px 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border);

    border-radius: 15px;

    transition: 0.3s;
}

.rank:hover {
    border-color: rgba(57, 255, 136, 0.35);

    transform: translateX(-4px);
}

.rank-number {
    width: 28px;

    text-align: center;

    color: var(--muted);

    font-weight: 900;
}

.rank-first {
    border-color: rgba(57, 255, 136, 0.35);

    box-shadow: 0 0 25px rgba(57, 255, 136, 0.06);
}

.rank-first .rank-number {
    color: var(--green);

    text-shadow: var(--green-glow);
}

.rank-avatar {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(168, 85, 247, 0.08);

    border: 1px solid rgba(168, 85, 247, 0.25);

    border-radius: 12px;

    font-size: 22px;
}

.rank-info {
    flex: 1;
}

.rank-info strong {
    display: block;

    font-size: 14px;
}

.rank-info span {
    color: #656676;

    font-size: 9px;
}

.rank b {
    color: var(--green);

    font-size: 12px;
}


/* =========================
   NEWS
========================= */

.news-section {
    background: rgba(255, 255, 255, 0.015);
}

.news-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.news-card {
    padding: 28px;

    min-height: 190px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border);

    border-radius: 20px;

    transition: 0.3s;
}

.news-card:hover {
    border-color: rgba(57, 255, 136, 0.35);

    transform: translateY(-6px);

    box-shadow: var(--green-glow);
}

.news-card > span {
    color: var(--green);

    font-size: 11px;

    font-weight: 800;
}

.news-card h3 {
    margin: 10px 0;

    font-size: 20px;
}

.news-card p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CREATORS
========================= */

.creators-section {
    padding: 115px 7%;
}

.creators-grid {
    max-width: 800px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.creator-card {
    padding: 35px;

    text-align: center;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border);

    border-radius: 24px;

    transition: 0.3s;
}

.creator-card:hover {
    transform: translateY(-8px);

    border-color: rgba(168, 85, 247, 0.45);

    box-shadow: var(--purple-glow);
}

.featured-creator {
    border-color: rgba(57, 255, 136, 0.3);

    box-shadow: 0 0 30px rgba(57, 255, 136, 0.05);
}

.creator-icon {
    font-size: 55px;

    margin-bottom: 12px;
}

.creator-card > span {
    color: var(--green);

    font-size: 11px;

    font-weight: 800;
}

.creator-card h3 {
    margin: 5px 0;

    font-size: 28px;

    letter-spacing: 2px;
}

.creator-card p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    padding: 120px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    background: rgba(255, 255, 255, 0.015);

    border-top: 1px solid var(--border);
}

.about-content {
    max-width: 680px;
}

.about-card {
    width: 310px;
    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.08),
            rgba(57, 255, 136, 0.04)
        );

    border: 1px solid rgba(168, 85, 247, 0.3);

    border-radius: 25px;

    box-shadow: var(--purple-glow);
}

.about-card-icon {
    font-size: 65px;

    color: var(--green);

    text-shadow: var(--green-glow);

    margin-bottom: 10px;
}

.about-card h3 {
    font-size: 23px;

    letter-spacing: 2px;
}

.about-card p {
    color: var(--muted);

    font-size: 13px;

    margin-top: 5px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 55px 7%;

    text-align: center;

    border-top: 1px solid var(--border);
}

.footer-logo {
    font-size: 30px;

    font-weight: 900;

    letter-spacing: 5px;

    color: white;

    text-shadow: var(--purple-glow);

    margin-bottom: 5px;
}

footer p {
    color: var(--green);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

footer span {
    color: #5d5e6c;

    font-size: 11px;
}


/* =========================
   SCROLL ANIMATION
========================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero {
        gap: 25px;
    }

    .hero-visual {
        width: 380px;
        height: 380px;
    }

    .ring-one {
        width: 330px;
        height: 330px;
    }

    .ring-two {
        width: 245px;
        height: 245px;
    }
}

@media (max-width: 850px) {

    .navbar {
        height: 72px;
    }

    .nav-links {
        display: flex;

        position: absolute;

        top: 72px;
        right: 5%;
        left: 5%;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        background: rgba(5, 6, 9, 0.96);

        border: 1px solid var(--border);

        border-radius: 18px;

        backdrop-filter: blur(20px);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.25s;
    }

    .nav-links.open {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-links a {
        padding: 10px;

        font-size: 13px;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        min-height: auto;

        padding-top: 130px;

        flex-direction: column;

        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;

        gap: 18px;
    }

    .hero-visual {
        width: 100%;

        height: 350px;

        margin-top: 25px;
    }

    .games-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-section,
    .about-section {
        flex-direction: column;

        text-align: center;
    }

    .feature-content,
    .about-content {
        max-width: 750px;
    }

    .creators-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {

    .navbar {
        padding: 0 5%;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 52px;

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;

        align-items: center;
    }

    .hero-visual {
        height: 300px;
    }

    .ring-one {
        width: 270px;
        height: 270px;
    }

    .ring-two {
        width: 205px;
        height: 205px;
    }

    .hero-logo-card {
        width: 260px;
        height: 170px;
    }

    .section,
    .feature-section,
    .creators-section,
    .about-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-title h2 {
        font-size: 35px;
    }

    .games-grid,
    .news-grid,
    .creators-grid {
        grid-template-columns: 1fr;
    }

    .bot-card,
    .about-card {
        width: 100%;

        max-width: 330px;
    }

    .rank {
        gap: 10px;

        padding: 14px;
    }

    .rank-info strong {
        font-size: 12px;
    }

    .rank b {
        font-size: 10px;
    }
}