@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap");

:root {
    --bg: #06111f;
    --panel: #0b1828;
    --panel2: #10243a;
    --line: rgba(125, 196, 255, .18);
    --text: #eef7ff;
    --muted: #9bb4c9;
    --blue: #28a8ff;
    --cyan: #55e7ff;
    --green: #45e58c;
    --gold: #ffd166;
    --red: #ff5570;
    --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    color: var(--text);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(40,168,255,.22), transparent 34%),
        radial-gradient(circle at 82% 10%, rgba(85,231,255,.12), transparent 30%),
        linear-gradient(180deg, #06111f 0%, #030810 100%);
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 max(18px, calc((100% - 1180px) / 2));
    background: rgba(4, 12, 22, .78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; margin-left: auto; direction: ltr; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand b { font: 900 24px/1 "Vazirmatn", Tahoma, sans-serif; letter-spacing: 0; }
.brand small { margin-top: 5px; color: var(--muted); font: 700 9px/1 "Vazirmatn", Tahoma, sans-serif; }
nav { display: flex; gap: 24px; }
nav a { color: #b9c9d6; font-size: 13px; font-weight: 700; }
nav a.active, nav a:hover { color: #fff; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.live-chip {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid var(--line);
    background: rgba(16,36,58,.72);
    border-radius: 7px;
    direction: ltr;
}
.live-chip i, .server-head::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px var(--green);
    content: "";
    animation: pulse 1.5s infinite;
}
.live-chip strong { font: 900 15px/1 "Vazirmatn", Tahoma, sans-serif; }
.live-chip span { color: var(--muted); font-size: 10px; }
.icon-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(16,36,58,.72);
    color: #dff5ff;
    cursor: pointer;
}
.menu-button { display: none; }

.hero {
    position: relative;
    min-height: 790px;
    padding-top: 78px;
    overflow: hidden;
}
.hero-img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; filter: saturate(.82) contrast(1.08); }
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(3,8,16,.05), rgba(3,8,16,.78) 55%, #06111f 100%),
        linear-gradient(0deg, #06111f 0%, rgba(6,17,31,.45) 30%, rgba(6,17,31,.12));
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: var(--shell);
    min-height: 640px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 40px;
    align-items: center;
}
.kicker {
    display: block;
    color: var(--cyan);
    font: 900 10px/1 "Vazirmatn", Tahoma, sans-serif;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 760px;
    margin: 0;
    direction: ltr;
    text-align: right;
    font: 900 clamp(54px, 8vw, 108px)/.86 "Vazirmatn", Tahoma, sans-serif;
    letter-spacing: 0;
    text-shadow: 0 12px 45px rgba(0,0,0,.38);
}
.hero p { max-width: 560px; margin: 22px 0 30px; color: #c4d7e5; line-height: 2; font-size: 15px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.primary, .ghost {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 900;
    font-size: 13px;
}
.primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #03101f; box-shadow: 0 12px 34px rgba(40,168,255,.28); }
.ghost { background: rgba(10,24,40,.76); color: #eaf8ff; border: 1px solid var(--line); }

.server-card {
    background: linear-gradient(180deg, rgba(16,36,58,.92), rgba(7,17,31,.92));
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.server-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; color: var(--muted); font-size: 11px; }
.server-head b { color: var(--green); font-size: 11px; }
.online-number { margin: 22px 0 14px; display: flex; align-items: end; justify-content: space-between; direction: ltr; }
.online-number strong { font: 900 58px/1 "Vazirmatn", Tahoma, sans-serif; color: #fff; }
.online-number span { direction: rtl; color: var(--muted); font-size: 12px; }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }
.server-meta { margin-top: 16px; display: flex; justify-content: space-between; gap: 10px; color: #d8efff; font-size: 11px; direction: ltr; }
.server-meta small { color: var(--muted); }
.hero-strip {
    position: relative;
    z-index: 2;
    width: var(--shell);
    margin: -16px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    background: rgba(8,22,38,.82);
    backdrop-filter: blur(16px);
}
.hero-strip div { padding: 20px; border-left: 1px solid var(--line); }
.hero-strip div:last-child { border-left: 0; }
.hero-strip b { display: block; font: 900 24px/1 "Vazirmatn", Tahoma, sans-serif; color: #fff; }
.hero-strip span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }

.section { width: var(--shell); margin: auto; padding: 95px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: 32px; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tabs button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(16,36,58,.72);
    color: #bcd0df;
    cursor: pointer;
    font-weight: 800;
    font-size: 12px;
}
.tabs button.active { color: #03101f; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; }
.tabs.small button { min-height: 32px; font-size: 11px; }

.shop-section { width: 100%; background: rgba(2,7,13,.36); border-block: 1px solid var(--line); }
.shop-section > .section-head, .shop-section > .shop-grid { width: var(--shell); margin-inline: auto; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shop-card {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(16,36,58,.94), rgba(8,19,33,.94));
}
.shop-image-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #091727;
}
.shop-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-body { padding: 17px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card h3 { margin: 0; direction: ltr; text-align: right; font-size: 16px; }
.shop-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.shop-bottom {
    margin-top: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    direction: ltr;
}
.price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    color: var(--green);
    direction: rtl;
    text-align: right;
    font: 900 17px/1.2 "Vazirmatn", Tahoma, sans-serif;
    text-shadow: 0 0 16px rgba(69,229,140,.22);
}
.price-sale {
    display: grid;
    justify-items: end;
    gap: 5px;
}
.old-price {
    color: rgba(238,247,255,.46);
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}
.sale-price { color: var(--green); }
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 209, 102, .72);
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 209, 102, .95), rgba(255, 170, 60, .9));
    box-shadow: 0 12px 24px rgba(0,0,0,.28), 0 0 24px rgba(255, 209, 102, .24);
    color: #07111e;
    direction: ltr;
    font: 900 11px/1 "Vazirmatn", Tahoma, sans-serif;
    letter-spacing: .4px;
}
.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(85, 231, 255, .58);
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(40,168,255,.92), rgba(85,231,255,.82));
    box-shadow: 0 12px 24px rgba(0,0,0,.28), 0 0 24px rgba(85,231,255,.2);
    color: #03101f;
    direction: rtl;
    font: 900 11px/1 "Vazirmatn", Tahoma, sans-serif;
}
.shop-image-wrap.has-discount::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.34), transparent 48%);
    pointer-events: none;
}
.buy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-height: 38px;
    min-width: 60px;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: #03101f;
    cursor: pointer;
    font-weight: 900;
}

.coming-soon {
    position: relative;
    min-height: 390px;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(40,168,255,.14), transparent 45%),
        rgba(8,19,33,.78);
}
.coming-soon .coming-mark {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,.025);
    font: 900 260px/1 "Vazirmatn", Tahoma, sans-serif;
    pointer-events: none;
}
.coming-soon h2 { position: relative; margin: 0; font-size: 38px; }
.coming-soon p { position: relative; margin: 12px 0 24px; color: var(--muted); }
.coming-soon strong {
    position: relative;
    padding: 11px 18px;
    border: 1px solid rgba(85,231,255,.48);
    border-radius: 7px;
    color: var(--cyan);
    background: rgba(40,168,255,.08);
    font: 900 13px/1 "Vazirmatn", Tahoma, sans-serif;
    letter-spacing: 2px;
}

.rules-section { padding-top: 80px; }
.search input {
    width: 280px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16,36,58,.72);
    color: #fff;
    outline: 0;
}
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rule-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(16,36,58,.68); }
.rule-card small { color: var(--cyan); font-size: 10px; font-weight: 900; }
.rule-card h3 { margin: 10px 0 8px; font-size: 16px; }
.rule-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.footer {
    width: var(--shell);
    margin: auto;
    padding: 34px 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}
.footer-brand { margin: 0; }
.footer-credit {
    display: grid;
    justify-items: end;
    gap: 5px;
    direction: ltr;
    text-align: right;
}
.footer-credit span {
    color: var(--muted);
    font: 800 10px/1 "Vazirmatn", Tahoma, sans-serif;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.footer-credit strong {
    color: #fff;
    font: 900 15px/1 "Vazirmatn", Tahoma, sans-serif;
    text-shadow: 0 0 18px rgba(85,231,255,.56), 0 0 34px rgba(40,168,255,.28);
}

.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.modal.show { display: grid; }
.modal-card { position: relative; width: min(430px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #08192c; }
.modal-close { position: absolute; left: 14px; top: 10px; border: 0; background: transparent; color: #d7edff; font-size: 24px; cursor: pointer; }
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.modal-card form { display: grid; gap: 12px; }
.modal-card label { display: grid; gap: 7px; color: #b7ccdc; font-size: 11px; }
.modal-card input, .modal-card textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #06111f;
    color: #fff;
    outline: 0;
}
.order-contact {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(40,168,255,.08);
}
.order-contact b {
    color: #eaf8ff;
    font-size: 13px;
}
.order-contact a {
    direction: ltr;
    text-align: left;
    display: block;
    padding: 11px 13px;
    border-radius: 7px;
    background: rgba(85,231,255,.1);
    color: var(--cyan);
    font: 900 14px/1 "Vazirmatn", Tahoma, sans-serif;
}
.toast { position: fixed; left: 18px; bottom: 18px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: #eaf8ff; color: #03101f; font-size: 12px; opacity: 0; transform: translateY(24px); transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes pulse { 50% { transform: scale(.75); opacity: .45; } }

@media (max-width: 900px) {
    :root { --shell: min(100% - 26px, 680px); }
    .topbar { height: 68px; padding-inline: 13px; gap: 10px; }
    .brand span { display: none; }
    nav { display: none; position: absolute; top: 68px; inset-inline: 0; padding: 12px; background: #06111f; border-bottom: 1px solid var(--line); }
    nav.open { display: grid; }
    nav a { padding: 12px; }
    .menu-button { display: block; }
    .live-chip span { display: none; }
    .hero { min-height: auto; }
    .hero-inner { min-height: 680px; grid-template-columns: 1fr; align-content: end; padding-bottom: 30px; }
    .hero h1 { font-size: clamp(52px, 16vw, 82px); }
    .server-card { max-width: none; }
    .hero-strip { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
    .section-head { align-items: stretch; flex-direction: column; }
    .tabs, .top-controls { justify-content: flex-start; justify-items: start; }
    .shop-grid, .rules-grid { grid-template-columns: 1fr; }
    .search input { width: 100%; }
    .footer { display: grid; gap: 16px; justify-items: center; text-align: center; }
    .footer-credit { justify-items: center; text-align: center; }
    .coming-soon { min-height: 320px; }
    .coming-soon .coming-mark { font-size: 150px; }
}
