* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #071018;
    color: #eef6ff;
}

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

.hero {
    min-height: 760px;
    background:
        radial-gradient(circle at 20% 20%, rgba(63, 208, 255, .22), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(150, 74, 255, .20), transparent 28%),
        linear-gradient(135deg, #08131f 0%, #0b1e2c 52%, #081018 100%);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -260px -10%;
    height: 420px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, .8), rgba(20, 184, 166, .4)),
        repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,.05) 24px 48px);
    transform: skewY(-5deg);
    opacity: .9;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: .4px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    box-shadow: 0 18px 40px rgba(6, 182, 212, .24);
}

.nav-links {
    display: flex;
    gap: 18px;
    color: #c8d8e8;
    font-weight: 700;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-links a:hover {
    background: rgba(255,255,255,.08);
}

.hero-content {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 14px;
    color: #65e3ff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 13px;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -3px;
}

.subtitle {
    max-width: 650px;
    color: #c6d7e8;
    font-size: 20px;
    line-height: 1.6;
    margin: 26px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 16px;
    padding: 15px 22px;
    font-weight: 900;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.primary {
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    color: #04100c;
    box-shadow: 0 18px 40px rgba(34,197,94,.24);
}

.ghost {
    background: rgba(255,255,255,.08);
    color: #e9f6ff;
    border: 1px solid rgba(255,255,255,.12);
}

.server-ip {
    color: #d8e7f4;
    margin-top: 18px;
}

.hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 80px rgba(0,0,0,.34);
    border-radius: 32px;
    padding: 34px;
    backdrop-filter: blur(14px);
}

.cube {
    width: 150px;
    height: 150px;
    border-radius: 28px;
    margin: 0 auto 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.24), transparent),
        linear-gradient(45deg, #22c55e, #06b6d4);
    box-shadow: 0 28px 70px rgba(6,182,212,.25);
    transform: rotate(8deg);
}

.hero-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.hero-card p {
    color: #c6d7e8;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.stats div {
    background: rgba(0,0,0,.22);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.stats strong {
    display: block;
    color: #65e3ff;
    font-size: 22px;
}

.stats span {
    color: #b5c9dc;
    font-size: 13px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px 20px;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -1.5px;
}

.section-title p:last-child {
    color: #aec4d8;
    line-height: 1.6;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #0d1b27;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: #22c55e;
}

.product-card.premium::before { background: #06b6d4; }
.product-card.legend::before { background: #a855f7; }
.product-card.key::before { background: #f59e0b; }

.tag {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255,255,255,.08);
    color: #cde7ff;
    font-size: 12px;
    font-weight: 900;
}

.product-card h3 {
    margin: 18px 0 14px;
    font-size: 28px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.price strong {
    font-size: 32px;
}

.price span {
    color: #7f94a8;
    text-decoration: line-through;
}

.product-card ul {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
    color: #c3d5e6;
}

.product-card li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.product-card li::before {
    content: "✓";
    color: #22c55e;
    margin-right: 8px;
    font-weight: 900;
}

.buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    background: #eef6ff;
    color: #071018;
    font-weight: 900;
}

.info-grid {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-grid article,
.rules-box,
.buy-box {
    background: #0d1b27;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
}

.info-grid h2 {
    margin-top: 0;
}

.info-grid li,
.info-grid p,
.rules-box p {
    color: #c3d5e6;
    line-height: 1.7;
}

.info-grid a {
    color: #65e3ff;
    font-weight: 800;
}

.rules {
    padding-top: 70px;
}

footer {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 24px;
    color: #7890a6;
    text-align: center;
}

#toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #eef6ff;
    color: #071018;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 900;
    transform: translateY(120px);
    transition: .25s ease;
    z-index: 20;
}

#toast.show {
    transform: translateY(0);
}

.buy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, .18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(6, 182, 212, .16), transparent 34%),
        #071018;
}

.buy-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 20px;
}

.back {
    display: inline-flex;
    margin-bottom: 20px;
    color: #65e3ff;
    font-weight: 900;
}

.buy-box h1 {
    font-size: clamp(36px, 6vw, 58px);
    margin-bottom: 12px;
}

.order-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

label {
    display: grid;
    gap: 8px;
    color: #c9d9e8;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #eef6ff;
    border-radius: 15px;
    padding: 15px 16px;
    outline: none;
    font-size: 16px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.result {
    margin-top: 28px;
}

.result textarea {
    min-height: 180px;
}

@media (max-width: 980px) {
    .hero-content,
    .info-grid {
        grid-template-columns: 1fr;
    }

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

    .nav {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .products {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-bottom: 80px;
    }

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