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

:root {
    --bg: #08070d;
    --panel: rgba(19, 16, 30, .72);
    --panel-hover: rgba(27, 22, 43, .9);
    --border: rgba(255, 255, 255, .07);
    --text: #f4f1fa;
    --muted: #918b9f;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(124, 58, 237, .16), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

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

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    opacity: .12;
    z-index: -1;
}

.glow-1 {
    background: #7c3aed;
    left: -300px;
    top: 300px;
}

.glow-2 {
    background: #9333ea;
    right: -300px;
    top: 700px;
}

.header {
    height: 76px;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 7, 13, .72);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    max-width: 1240px;
    height: 100%;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 0 25px rgba(139, 92, 246, .3);
    font-weight: 800;
}

.logo-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-subtitle {
    color: #756e82;
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 2px;
}

.navigation {
    display: flex;
    gap: 32px;
    margin-left: 80px;
}

.navigation a {
    color: var(--muted);
    font-size: 14px;
    transition: .2s;
}

.navigation a:hover,
.navigation a.active {
    color: #fff;
}

.login-button {
    margin-left: auto;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    font-size: 13px;
    transition: .2s;
}

.login-button:hover {
    background: rgba(139, 92, 246, .12);
    border-color: rgba(139, 92, 246, .3);
}

.arrow {
    margin-left: 10px;
    color: var(--purple-light);
}

main {
    max-width: 1240px;
    margin: auto;
    padding: 0 28px;
}

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(139, 92, 246, .2);
    background: rgba(139, 92, 246, .07);
    color: #b9a6e8;
    border-radius: 100px;
    font-size: 11px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9b72ff;
    box-shadow: 0 0 10px #8b5cf6;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    background: linear-gradient(100deg, #fff, #9b72ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 570px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 13px;
    transition: .25s;
}

.primary-button {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 10px 35px rgba(109, 40, 217, .25);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(109, 40, 217, .4);
}

.primary-button span {
    margin-left: 20px;
}

.secondary-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .025);
    color: #b2acba;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.hero-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(139, 92, 246, .08), rgba(255, 255, 255, .015)),
        var(--panel);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6f6878;
    font-size: 9px;
    letter-spacing: 2px;
}

.online {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #80798b;
    letter-spacing: 0;
    font-size: 10px;
}

.online span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 9px #8b5cf6;
}

.server-name {
    margin-top: 45px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.server-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 35px;
}

.server-info div {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
}

.server-info span,
.server-footer span {
    display: block;
    color: #6e6877;
    font-size: 10px;
    margin-bottom: 7px;
}

.server-info strong {
    font-size: 13px;
}

.server-line {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.server-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-footer span {
    margin: 0;
}

.server-footer button {
    border: 0;
    background: transparent;
    color: #a78bfa;
    cursor: pointer;
    font-size: 11px;
}

.donate-section {
    padding: 70px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
}

.section-label {
    color: #8b5cf6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 32px;
    letter-spacing: -1px;
}

.section-heading p {
    color: #6f6977;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
}

.steam-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px 7px 8px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(139, 92, 246, .1);
    color: #a78bfa;
    font-weight: 700;
}

.input-content label {
    display: block;
    color: #6d6776;
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.input-content input {
    width: 300px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
}

.input-content input::placeholder {
    color: #55505c;
}

.steam-status {
    color: #68626f;
    font-size: 10px;
}

.steam-status span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4d4854;
    margin-right: 5px;
}

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

.product-card {
    min-height: 285px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel);
    position: relative;
    overflow: hidden;
    transition: .25s;
}

.product-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .15;
    top: -100px;
    right: -80px;
    background: #8b5cf6;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, .25);
    background: var(--panel-hover);
}

.product-card.pink::before {
    background: #ec4899;
}

.product-card.blue::before {
    background: #6366f1;
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(139, 92, 246, .1);
    color: #a78bfa;
}

.product-price {
    font-size: 21px;
    font-weight: 800;
}

.product-price small {
    color: #81798d;
    font-size: 11px;
    font-weight: 500;
}

.product-content {
    margin-top: 55px;
}

.product-name {
    font-size: 23px;
    font-weight: 800;
}

.product-description {
    margin-top: 8px;
    color: #746e7c;
    font-size: 11px;
    line-height: 1.6;
    max-width: 220px;
}

.buy-button {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 40px;
    border: 1px solid rgba(139, 92, 246, .18);
    border-radius: 9px;
    background: rgba(139, 92, 246, .08);
    color: #b49df0;
    cursor: pointer;
    transition: .2s;
}

.buy-button span {
    float: right;
    margin-right: 10px;
}

.buy-button:hover {
    background: #8b5cf6;
    color: white;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 25px 0 80px;
}

.advantage {
    display: flex;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, .015);
}

.advantage-icon {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(139, 92, 246, .08);
    color: #a78bfa;
}

.advantage strong {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.advantage span {
    color: #696370;
    font-size: 10px;
    line-height: 1.5;
}

.footer {
    max-width: 1240px;
    margin: auto;
    padding: 25px 28px 35px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: #625d68;
}

.footer strong {
    display: block;
    color: #9a94a1;
    font-size: 11px;
}

.footer span,
.footer-right {
    font-size: 9px;
}

@media (max-width: 800px) {
    .navigation {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 0;
    }

    .products,
    .advantages {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        text-align: left;
        margin-top: 10px;
    }

    .steam-form {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .input-content input {
        width: 240px;
    }

    .steam-status {
        padding-left: 8px;
    }
}

.products-section,
.checkout-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 25px;
}

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

.section-label {
    display: inline-block;
    color: #a970ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-header h2,
.checkout-card h2 {
    font-size: 38px;
    margin: 0 0 12px;
}

.section-header p,
.checkout-description {
    color: #8f8ba3;
}

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

.product-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(20px);
    transition: .25s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(160,100,255,.4);
    box-shadow: 0 15px 50px rgba(100,40,180,.15);
}

.product-name {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-description {
    color: #8f8ba3;
    min-height: 50px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
}

.checkout-card {
    max-width: 650px;
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 80px rgba(50,20,100,.2);
}

.checkout-product {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin: 30px 0;
    border-radius: 15px;
    background: rgba(0,0,0,.2);
}

.checkout-product > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkout-label {
    color: #777286;
    font-size: 12px;
    text-transform: uppercase;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-group label {
    font-weight: 600;
}

.input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    outline: none;
    background: rgba(0,0,0,.25);
    color: white;
    font-size: 16px;
    transition: .2s;
}

.input-group input:focus {
    border-color: #9b5cff;
    box-shadow: 0 0 0 3px rgba(155,92,255,.12);
}

.input-group small {
    color: #6f6a7c;
}

.checkout-button {
    width: 100%;
    justify-content: center;
}

.order-info {
    display: grid;
    gap: 10px;
    margin: 30px 0;
}

.order-info div {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0,0,0,.2);
}

.order-info span {
    color: #777286;
}

.success-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(120,255,170,.1);
    color: #72ffae;
    font-size: 30px;
}

.loading-box,
.error-box {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #8f8ba3;
}

.site-message {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 12px;
    background: #241a35;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    transition: .3s;
}

.site-message.hide {
    opacity: 0;
    transform: translateY(10px);
}

.site-message.error {
    border-color: rgba(255,80,100,.35);
}

.site-message.success {
    border-color: rgba(100,255,170,.35);
}

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

    .checkout-card {
        padding: 25px;
    }

    .section-header h2,
    .checkout-card h2 {
        font-size: 30px;
    }
}

.order-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.order-card {
    width: min(650px, 100%);
    padding: 40px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 80px rgba(50,20,100,.25);
}

.order-back {
    display: inline-block;
    margin-bottom: 35px;
    color: #8f8ba3;
    text-decoration: none;
    transition: .2s;
}

.order-back:hover {
    color: white;
}

.order-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(160,100,255,.1);
    color: #a970ff;
    font-size: 30px;
    font-weight: 700;
}

.order-icon.paid {
    background: rgba(100,255,170,.1);
    color: #72ffae;
}

.order-icon.cancelled {
    background: rgba(255,80,100,.1);
    color: #ff6075;
}

.order-card h1 {
    font-size: 38px;
    margin: 0 0 10px;
}

.order-description {
    color: #8f8ba3;
    line-height: 1.6;
}

.order-details {
    display: grid;
    gap: 10px;
    margin: 30px 0;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(0,0,0,.2);
}

.order-detail span {
    color: #777286;
}

.order-detail strong {
    text-align: right;
    word-break: break-all;
}

.payment-box,
.success-box,
.cancelled-box {
    padding: 20px;
    border-radius: 15px;
    background: rgba(0,0,0,.2);
}

.payment-box {
    border: 1px solid rgba(160,100,255,.15);
}

.payment-box-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.payment-box p,
.success-box p {
    color: #8f8ba3;
    line-height: 1.5;
}

.payment-box .primary-button {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    opacity: .5;
    cursor: not-allowed;
}

.success-box {
    border: 1px solid rgba(100,255,170,.15);
}

.success-box strong {
    color: #72ffae;
}

.cancelled-box {
    color: #ff6075;
    border: 1px solid rgba(255,80,100,.15);
}

@media (max-width: 600px) {
    .order-card {
        padding: 25px;
    }

    .order-card h1 {
        font-size: 30px;
    }

    .order-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .order-detail strong {
        text-align: left;
    }
}
