:root {
    --bg-dark: #050308;
    --bg-card: rgba(12, 8, 18, 0.88);

    --purple: #7c3aed;
    --purple-dark: #3b0764;
    --pink: #ec4899;
    --orange: #fb6a21;
    --red-orange: #ff3f1f;
    --violet-light: #c084fc;

    --text-main: #ffffff;
    --text-muted: #b7a8c9;

    --border: rgba(192, 132, 252, 0.22);
    --border-strong: rgba(236, 72, 153, 0.55);

    --glow-purple: rgba(124, 58, 237, 0.42);
    --glow-pink: rgba(236, 72, 153, 0.42);
    --glow-orange: rgba(251, 106, 33, 0.32);

    --font-main: 'Inter', sans-serif;
    --font-title: 'Oswald', sans-serif;
}

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

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: hidden;
    background: 
        linear-gradient(rgba(5,3,8,0.85), rgba(5,3,8,0.92)),
        url("bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-vignette {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle, transparent 0%, rgba(0, 0, 0, 0.62) 64%, #000 100%);
    z-index: -1;
    pointer-events: none;
}

.particles-container {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: transparent;
}

.particle {
    position: absolute;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.9), rgba(124, 58, 237, 0.25), transparent 70%);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    animation: riseUp linear infinite;
}

@keyframes riseUp {
    0% {
        transform: translateY(0) scale(0.7) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.65;
    }

    100% {
        transform: translateY(-115vh) scale(1.4) rotate(360deg);
        opacity: 0;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

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

    padding: 16px 5%;
    background: rgba(5, 3, 8, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    text-shadow:
        0 0 18px var(--glow-purple),
        0 0 28px var(--glow-pink);
}

.nav-logo-img {
    height: 40px;
    width: auto;

    filter:
        drop-shadow(0 0 10px rgba(124, 58, 237, 0.6))
        drop-shadow(0 0 20px rgba(236, 72, 153, 0.4));

    transition: 0.3s;
}

.nav-logo-img:hover {
    transform: scale(1.1);
    filter:
        drop-shadow(0 0 15px rgba(236, 72, 153, 0.8))
        drop-shadow(0 0 25px rgba(251, 106, 33, 0.6));
}

.nav-logo::first-letter {
    color: var(--pink);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--glow-pink);
}

.store-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 28px;
    border-radius: 8px;

    color: #fff4d6;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;

    border: 1px solid rgba(255, 155, 70, 0.75);
    background:
        linear-gradient(180deg, rgba(255, 155, 70, 0.35), rgba(80, 12, 120, 0.75)),
        linear-gradient(135deg, #2a061f, #4b0b68 45%, #12020c);

    box-shadow:
        inset 0 0 12px rgba(255, 180, 90, 0.28),
        inset 0 0 26px rgba(236, 72, 153, 0.18),
        0 0 18px rgba(124, 58, 237, 0.45),
        0 0 34px rgba(251, 106, 33, 0.18);

    overflow: hidden;
    transition: 0.25s ease;
}

.store-btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 5px;
    border: 1px solid rgba(255, 220, 150, 0.25);
    pointer-events: none;
}

.store-btn::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -45%;
    width: 55%;
    height: 260%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 235, 180, 0.7),
        transparent
    );
    transform: rotate(25deg);
    animation: shopShine 3.5s infinite;
}

.store-btn i {
    color: #ffd28a;
    text-shadow:
        0 0 8px rgba(255, 160, 70, 0.9),
        0 0 16px rgba(236, 72, 153, 0.65);
}

.store-btn span,
.store-btn i {
    position: relative;
    z-index: 2;
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.04);
    color: #ffffff;
    border-color: #ffd28a;
    box-shadow:
        inset 0 0 14px rgba(255, 210, 138, 0.35),
        0 0 22px rgba(255, 130, 60, 0.55),
        0 0 45px rgba(236, 72, 153, 0.45),
        0 0 70px rgba(124, 58, 237, 0.28);
}

.store-btn:hover i {
    animation: shopIconPulse 0.8s ease infinite alternate;
}

@keyframes shopShine {
    0% {
        left: -70%;
    }

    45% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

@keyframes shopIconPulse {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1.14) rotate(-6deg);
    }
}

#start {
    min-height: 100vh;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 130px 5% 80px;
    text-align: center;
}

.start-logo {
    width: min(620px, 92vw);
    max-width: 100%;
    margin-bottom: 28px;
    filter:
        drop-shadow(0 0 32px rgba(124, 58, 237, 0.55))
        drop-shadow(0 0 55px rgba(236, 72, 153, 0.26));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

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

.start-subtitle {
    max-width: 780px;
    margin-bottom: 30px;
    color: #e7d8ff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.45);
}

.ip-wrapper {
    display: flex;
    align-items: stretch;
    overflow: hidden;

    margin-bottom: 18px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 0 32px rgba(124, 58, 237, 0.18);
    cursor: pointer;
    transition: 0.28s ease;
}

.ip-wrapper:hover {
    transform: translateY(-3px) scale(1.025);
    border-color: var(--pink);
    box-shadow:
        0 0 28px var(--glow-purple),
        0 0 42px rgba(236, 72, 153, 0.22);
}

.ip-content {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 28px;
    color: #f3d7ff;
    font-family: monospace;
    font-size: 1.12rem;
    font-weight: 800;
}

.ip-action {
    display: flex;
    align-items: center;

    padding: 15px 28px;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--purple), var(--pink), var(--orange));
}

.ip-wrapper.copied {
    border-color: #22c55e;
    box-shadow: 0 0 26px rgba(34, 197, 94, 0.35);
}

.ip-wrapper.copied .ip-action {
    background: #22c55e;
}

.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 26px;
    color: var(--text-muted);
    font-size: 0.96rem;
    font-weight: 700;
}

.dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    color: #d9c3ff;
    font-size: 1.25rem;
    text-decoration: none;

    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    transition: 0.28s ease;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
    border-color: var(--pink);
    box-shadow: 0 0 22px var(--glow-pink);
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 5%;
}

.section-header {
    margin-bottom: 52px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow:
        0 0 18px var(--glow-purple),
        0 0 35px rgba(236, 72, 153, 0.18);
}

.theme-line {
    width: 90px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange));
    box-shadow: 0 0 22px var(--glow-pink);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.staff-card {
    min-height: 255px;
    padding: 34px 24px;

    text-align: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.035)),
        var(--bg-card);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
    transition: 0.28s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-strong);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.48),
        0 0 28px rgba(124, 58, 237, 0.25);
}

.staff-head {
    width: 86px;
    height: 86px;
    object-fit: cover;
    margin-bottom: 18px;
    border-radius: 18px;
    border: 1px solid rgba(236, 72, 153, 0.28);
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.35);
}

.staff-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.staff-role {
    margin: 7px 0 12px;
    color: var(--pink);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.staff-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rule-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--pink);
    border-radius: 12px;
    background: var(--bg-card);
    transition: 0.28s ease;
}

.rule-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    border-left-color: var(--orange);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.2);
}

.rule-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rule-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.65;
}

.faq-grid {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
    transition: 0.28s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--border-strong);
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.2);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px;
    cursor: pointer;
}

.faq-q {
    color: #fff;
    font-size: 1.06rem;
    font-weight: 800;
}

.faq-icon {
    color: var(--pink);
    transition: 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    background: rgba(0, 0, 0, 0.2);
    transition: grid-template-rows 0.35s ease;
}

.faq-item.active .faq-body {
    grid-template-rows: 1fr;
}

.faq-inner {
    overflow: hidden;
}

.faq-a {
    padding: 0 22px 22px;
    color: var(--text-muted);
    line-height: 1.65;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.vote-card {
    display: block;
    padding: 32px 22px;

    text-align: center;
    text-decoration: none;

    border: 1px solid var(--border);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent),
        var(--bg-card);
    transition: 0.28s ease;
}

.vote-card:hover {
    transform: translateY(-7px);
    border-color: var(--border-strong);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.24);
}

.vote-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.4rem;
}

.vote-card span {
    color: var(--pink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-box-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-card);
}

.legal-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.32);
    border-bottom: 1px solid var(--border);
}

.l-tab {
    flex: 1;
    padding: 18px;

    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;

    color: var(--text-muted);
    cursor: pointer;
    font-weight: 800;
    transition: 0.25s ease;
}

.l-tab:last-child {
    border-right: none;
}

.l-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.035);
}

.l-tab.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.24), rgba(236, 72, 153, 0.16));
    box-shadow: inset 0 -2px 0 var(--pink);
}

.legal-content {
    padding: 38px;
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content h3 {
    margin-bottom: 8px;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.35rem;
}

.legal-content ul {
    padding-left: 20px;
}

.l-content {
    display: none;
    animation: fadeIn 0.35s ease;
}

.l-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    margin-top: 60px;
    padding: 54px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.65);
}

.footer-logo {
    margin-bottom: 10px;
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 0 24px var(--glow-pink);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .navbar {
        gap: 15px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 0.74rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 14px 4%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
    }

    .store-btn {
        padding: 9px 18px;
    }

    #start {
        padding-top: 175px;
    }

    .start-logo {
        width: min(520px, 96vw);
    }

    .ip-wrapper {
        width: min(440px, 100%);
        flex-direction: column;
        border-radius: 24px;
    }

    .ip-content,
    .ip-action {
        justify-content: center;
    }

    .legal-tabs {
        flex-direction: column;
    }

    .l-tab {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}