:root {
    --primary: #67c8ff;
    --secondary: #3f7bff;
    --dark: #11071f;
    --dark-soft: #1b1030;
    --light: #f5f4ff;
    --muted: #b7b2d2;
    --accent: #8fd8ff;
    --border: rgba(150, 170, 255, 0.14);
    --transition: all 0.35s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    color: var(--light);
    background:
        radial-gradient(circle at 15% 20%, rgba(103, 200, 255, 0.16), transparent 22%),
        radial-gradient(circle at 85% 15%, rgba(76, 110, 255, 0.18), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(130, 70, 255, 0.18), transparent 30%),
        linear-gradient(145deg, #080312 0%, #12081f 42%, #1a1030 100%);
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(103, 200, 255, 0.22) 0 2px, transparent 2px),
        radial-gradient(circle at 70% 20%, rgba(203, 213, 255, 0.18) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(75, 123, 255, 0.2) 0 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(153, 112, 255, 0.18) 0 1px, transparent 1px);
    background-size: 240px 240px, 180px 180px, 260px 260px, 220px 220px;
    animation: drift 18s linear infinite;
    opacity: 0.75;
}

.site-shell {
    width: min(1500px, calc(100% - 36px));
    margin: 18px auto;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    margin-bottom: 16px;
    background: rgba(18, 10, 35, 0.72);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px rgba(5, 2, 15, 0.35);
}

.logo {
    color: var(--light);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--light);
    transition: var(--transition);
}

.main-box {
    overflow: visible;
}

.section {
    padding: 108px 104px;
    position: relative;
}

.section + .section {
    margin-top: 18px;
    border-top: 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-title {
    text-align: center;
    margin-bottom: 72px;
}

.section-title.left {
    text-align: left;
    margin-bottom: 26px;
}

.section-title h2,
.hero-text h1,
.about-panel h3,
.benefit-card h3 {
    font-family: "Montserrat", sans-serif;
}

.section-title h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 110px;
    align-items: center;
    min-height: 78vh;
    padding-top: 72px;
    padding-bottom: 72px;
}

.hero-text h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.14;
    max-width: 14ch;
}

.typed-area {
    display: inline-flex;
    min-width: 10.5ch;
    color: var(--accent);
    text-shadow: 0 0 18px rgba(103, 200, 255, 0.2);
}

.typed-area::after {
    content: "";
    width: 3px;
    height: 0.95em;
    margin-left: 8px;
    background: var(--primary);
    animation: blink 0.9s steps(1) infinite;
}

.hero-description,
.about-panel p,
.benefit-card p,
.donation-content p {
    color: var(--muted);
    line-height: 1.95;
    font-size: 1.05rem;
}

.hero-description {
    max-width: 78ch;
    margin-top: 36px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 46px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 16px 30px rgba(63, 123, 255, 0.28);
}

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

.btn-secondary {
    border: 1px solid rgba(199, 208, 255, 0.24);
    color: var(--light);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 460px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 208, 255, 0.16), rgba(42, 150, 255, 0.06) 54%, transparent 74%);
    filter: blur(24px);
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-orbit {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgba(86, 212, 255, 0.14);
    box-shadow: 0 0 24px rgba(60, 170, 255, 0.08);
}

.orbit-one {
    width: 430px;
    height: 430px;
    animation: spin 18s linear infinite;
}

.orbit-two {
    width: 320px;
    height: 320px;
    border-color: rgba(70, 160, 255, 0.16);
    animation: spinReverse 13s linear infinite;
}

#hero-image {
    display: block;
    position: relative;
    width: min(100%, 470px);
    margin: 0 auto;
    border-radius: 34px;
    border: 1px solid rgba(199, 208, 255, 0.16);
    box-shadow: 0 30px 60px rgba(11, 6, 24, 0.45);
    animation: floatImage 5.2s ease-in-out infinite;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: stretch;
}

.about-panel,
.benefit-card,
.donation {
    background: transparent;
    border: 0;
}

.about,
.benefits,
.donation {
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.about-panel {
    padding: 0;
}

.about-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.about-panel p + p {
    margin-top: 18px;
}

.about-logo-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 20px;
}

.about-logo-glow {
    position: absolute;
    inset: 16% 14%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(74, 195, 255, 0.24), rgba(37, 112, 255, 0.1) 46%, transparent 72%);
    filter: blur(42px);
    opacity: 0.95;
}

.about-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 360px);
    height: auto;
    border-radius: 28px;
    filter: drop-shadow(0 0 34px rgba(64, 184, 255, 0.22));
}

.community {
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.community-shell {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.community-copy h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 1.05;
    max-width: 9ch;
}

.community-description {
    margin-top: 24px;
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.95;
    font-size: 1.08rem;
}

.community-cta {
    position: relative;
    gap: 12px;
    margin-top: 34px;
    padding: 1.1rem 1.85rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #6f86ff, #4e5dff 55%, #7d8dff);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(110, 133, 255, 0.45);
    animation: discordPulse 2.8s infinite;
}

.community-cta i {
    font-size: 1.2rem;
}

.community-cta:hover {
    transform: translateY(-4px) scale(1.02);
}

.community-stage {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(96, 118, 255, 0.28) 0%, rgba(103, 200, 255, 0.14) 38%, transparent 70%);
    filter: blur(28px);
    animation: pulseGlow 6s ease-in-out infinite;
}

.discord-window {
    position: relative;
    z-index: 2;
    width: min(100%, 540px);
    border-radius: 34px;
    overflow: hidden;
    background: rgba(15, 18, 34, 0.82);
    border: 1px solid rgba(164, 175, 255, 0.16);
    box-shadow: 0 28px 70px rgba(3, 7, 20, 0.55);
    backdrop-filter: blur(16px);
    animation: floatStage 6s ease-in-out infinite;
}

.discord-window-top {
    display: flex;
    gap: 10px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.04);
}

.discord-window-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.discord-window-body {
    display: grid;
    grid-template-columns: 80px 1fr;
    min-height: 390px;
}

.discord-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.discord-dot.active,
.discord-dot:hover {
    background: #6f86ff;
    box-shadow: 0 0 18px rgba(111, 134, 255, 0.5);
}

.discord-chat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 28px;
}

.chat-bubble {
    max-width: 92%;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 28px rgba(4, 7, 18, 0.18);
}

.chat-bubble strong {
    display: block;
    margin-bottom: 8px;
    color: #f3f6ff;
    font-size: 0.95rem;
}

.chat-bubble p {
    color: var(--muted);
    line-height: 1.7;
}

.bubble-one {
    animation: floatBubble 4.4s ease-in-out infinite;
}

.bubble-two {
    margin-left: auto;
    animation: floatBubble 5.2s ease-in-out infinite reverse;
}

.bubble-three {
    animation: floatBubble 4.8s ease-in-out infinite;
}

.community-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(122, 141, 255, 0.18);
}

.ring-one {
    width: 600px;
    height: 600px;
    animation: spin 24s linear infinite;
}

.ring-two {
    width: 460px;
    height: 460px;
    border-color: rgba(103, 200, 255, 0.18);
    animation: spinReverse 18s linear infinite;
}

.floating-pill {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(11, 16, 34, 0.72);
    border: 1px solid rgba(173, 186, 255, 0.15);
    color: var(--light);
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 30px rgba(6, 9, 24, 0.28);
    backdrop-filter: blur(14px);
}

.pill-one {
    top: 88px;
    right: 20px;
    animation: drift 7s ease-in-out infinite;
}

.pill-two {
    bottom: 118px;
    left: 14px;
    animation: drift 6s ease-in-out infinite reverse;
}

.pill-three {
    right: 48px;
    bottom: 58px;
    animation: drift 8s ease-in-out infinite;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.benefit-card {
    padding: 34px 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(184, 195, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 200, 255, 0.25);
}

.benefit-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.donation {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 42px;
    align-items: center;
    padding: 36px 34px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(184, 195, 255, 0.1);
    backdrop-filter: blur(8px);
    margin-top: 24px;
}

.donation-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-logo img {
    width: min(100%, 240px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
    border: 1px solid rgba(184, 195, 255, 0.12);
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.24));
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 30px;
    align-items: center;
    margin-top: 54px;
    padding: 34px 0 10px;
    border-top: 1px solid rgba(184, 195, 255, 0.12);
}

.footer-brand p {
    margin-top: 12px;
    color: var(--muted);
    max-width: 34ch;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 195, 255, 0.12);
    transition: var(--transition);
}

.footer-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.footer-socials a:hover {
    color: var(--primary);
    border-color: rgba(103, 200, 255, 0.3);
    transform: translateY(-4px);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

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

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

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

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

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

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

@keyframes drift {
    from {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes discordPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 133, 255, 0.45);
    }

    70% {
        box-shadow: 0 0 0 24px rgba(110, 133, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(110, 133, 255, 0);
    }
}

@keyframes floatStage {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 980px) {
    .hero,
    .about-grid,
    .community-shell,
    .benefits-grid,
    .donation {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .community {
        min-height: auto;
    }

    .hero-text h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: 360px;
    }

    .community-copy h2 {
        max-width: none;
    }

    .community-stage {
        min-height: 520px;
    }

    .section {
        padding: 78px 42px;
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: min(260px, 100%);
        padding: 18px;
        border-radius: 20px;
        background: rgba(19, 10, 37, 0.96);
        border: 1px solid var(--border);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 56px 24px;
    }

    .site-shell {
        width: min(100% - 14px, 1240px);
        margin: 14px auto;
    }

    .site-header {
        top: 10px;
        padding: 14px 16px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-description,
    .about-panel p,
    .benefit-card p,
    .donation-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .orbit-one {
        width: 290px;
        height: 290px;
    }

    .orbit-two {
        width: 220px;
        height: 220px;
    }

    .community-stage {
        min-height: 440px;
    }

    .discord-window {
        width: 100%;
    }

    .discord-window-body {
        grid-template-columns: 58px 1fr;
    }

    .discord-chat {
        padding: 18px;
    }

    .chat-bubble {
        max-width: 100%;
    }

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

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

    .community-glow {
        width: 340px;
        height: 340px;
    }

    .floating-pill {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .pill-one {
        top: 24px;
        right: 6px;
    }

    .pill-two {
        bottom: 40px;
        left: 0;
    }

    .pill-three {
        right: 12px;
        bottom: -8px;
    }
}
