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

:root {
    --black: #050600;
    --dark: #0b0d05;
    --gold: #d6a531;
    --gold-glow: rgba(214, 165, 49, 0.45);
    --green: #8fd400;
    --green-dark: #4f8500;
    --green-glow: rgba(143, 212, 0, 0.45);
    --white: #f2f2f2;
    --gray: #c9c9c9;
}

body {
    font-family: Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

.background-gif {
    position: fixed;
    inset: 0;
    background-image: url("assets/candles.gif");
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.88), rgba(10,14,0,0.82), rgba(0,0,0,0.92));
    z-index: -2;
}

.top-banner,
.page,
footer {
    position: relative;
    z-index: 2;
}

.top-banner {
    text-align: center;
    padding: 35px 20px;
    border-bottom: 1px solid var(--gold-glow);
    background: rgba(0, 0, 0, 0.65);
}

.top-banner h1 {
    font-size: 50px;
    color: var(--green);
    letter-spacing: 4px;
    text-shadow: 0 0 18px var(--green-glow);
}

.top-banner p {
    margin-top: 10px;
    color: var(--gray);
}

.page {
    display: none;
}

.active-page {
    display: block;
}

.hero {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 25px;
    padding: 40px;
    align-items: center;
}

.side-gif {
    height: 580px;
    border: 1px solid var(--gold-glow);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);
    font-size: 22px;
    box-shadow: 0 0 30px rgba(214,165,49,0.15);
}

.center-content,
.details-box {
    text-align: center;
    border-radius: 40px;
    padding: 35px;
    background: radial-gradient(circle, rgba(143,212,0,0.12), rgba(0,0,0,0.78));
    border: 1px solid var(--gold-glow);
    box-shadow: 0 0 40px rgba(214,165,49,0.18);
}

.center-content {
    min-height: 650px;
}

.image-banner {
    width: 100%;
    max-width: 780px;
    height: 140px;
    margin: 0 auto 25px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--gold-glow);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 25px rgba(143,212,0,0.12);
}

.banner-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: slideLeftRight 12s infinite ease-in-out;
}

.banner-track img {
    width: 260px;
    height: 140px;
    object-fit: cover;
    margin-right: 16px;
}

@keyframes slideLeftRight {
    0% { transform: translateX(0); }
    35% { transform: translateX(-280px); }
    70% { transform: translateX(-560px); }
    100% { transform: translateX(0); }
}

.profile-circle {
    width: 190px;
    height: 190px;
    margin: 0 auto 25px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    overflow: hidden;
    box-shadow: 0 0 25px var(--gold-glow), 0 0 45px var(--green-glow);
    background: #111;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-content h2,
.details-box h2,
.subscriptions-page h2 {
    color: var(--green);
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 0 0 18px var(--green-glow);
}

.hero-text,
.details-box p,
.sub-note {
    max-width: 750px;
    margin: 0 auto 25px;
    color: var(--gray);
    line-height: 1.7;
}

.auth-buttons,
.bot-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 22px 0;
}

button {
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), var(--gold));
    color: #050505;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
    font-size: 15px;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px var(--green-glow), 0 0 28px var(--gold-glow);
}

.bot-buttons button {
    width: 260px;
    height: 85px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--green);
    border: 2px solid var(--gold);
    font-size: 23px;
}

.details-page,
.subscriptions-page {
    min-height: 720px;
    padding: 50px 40px;
    background: rgba(0, 0, 0, 0.72);
}

.back-btn {
    margin-bottom: 30px;
    background: rgba(0,0,0,0.45);
    color: var(--green);
    border: 1px solid var(--gold);
}

.details-box {
    max-width: 1100px;
    margin: auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.details-grid div,
.subscription-card {
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--gold-glow);
    background: rgba(255,255,255,0.04);
}

.details-grid h3,
.subscription-card h3 {
    color: var(--green);
    margin-bottom: 12px;
}

.subscribe-btn {
    margin-top: 35px;
    font-size: 18px;
}

.plans-list {
    max-width: 950px;
    margin: 25px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.plans-list span {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--gold-glow);
    color: var(--gray);
    background: rgba(0,0,0,0.45);
}

.subscription-grid {
    max-width: 1250px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.subscription-card {
    text-align: center;
}

.subscription-card p {
    color: var(--gray);
    min-height: 45px;
}

.access-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 20px;
}

.access-list span {
    padding: 10px;
    border-radius: 14px;
    color: #777;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
}

.access-list .active-access {
    color: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 16px var(--green-glow);
    text-shadow: 0 0 10px var(--green-glow);
}

.featured {
    border-color: var(--green);
    box-shadow: 0 0 25px var(--green-glow), 0 0 35px var(--gold-glow);
}

.subscription-card button {
    margin-top: 22px;
}

footer {
    text-align: center;
    padding: 25px;
    color: #aaa;
    background: #000;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.86);
    z-index: 10;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    width: 100%;
    max-width: 520px;
    background: #080a02;
    border: 1px solid var(--gold-glow);
    border-radius: 25px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 30px var(--gold-glow), 0 0 40px rgba(143,212,0,0.15);
}

.modal-box h2 {
    text-align: center;
    color: var(--green);
    margin-bottom: 25px;
    font-size: 34px;
}

.close {
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 30px;
    cursor: pointer;
    color: var(--gold);
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

input,
select {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--gold-glow);
    background: #030500;
    color: var(--white);
    outline: none;
    font-size: 16px;
}

.small-text {
    margin-top: 18px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

.risk-box p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: center;
}

.risk-check {
    display: flex;
    gap: 10px;
    color: var(--white);
    margin: 20px 0;
    line-height: 1.4;
}

.risk-check input {
    width: 18px;
}

@media (max-width: 900px) {
    .hero,
    .details-grid,
    .subscription-grid,
    .plans-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 20px;
    }

    .side-gif {
        height: 160px;
    }

    .top-banner h1 {
        font-size: 36px;
    }

    .center-content h2,
    .details-box h2,
    .subscriptions-page h2 {
        font-size: 30px;
    }

    .bot-buttons button {
        width: 100%;
    }
}