@font-face { font-family:'Outfit'; font-style:normal; font-weight:100 900; font-display:swap; src:url('../vendor/outfit/files/outfit-latin-ext-wght-normal.woff2') format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Outfit'; font-style:normal; font-weight:100 900; font-display:swap; src:url('../vendor/outfit/files/outfit-latin-wght-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+02C6,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --blue: #49b8ff;
  --blue-dark: #168fe0;
  --blue-soft: #eaf7ff;
  --navy: #102f45;
  --muted: #668095;
  --surface: #ffffff;
  --background: #f4faff;
  --border: #dcecf6;
  --success: #21b879;
  --danger: #ef5350;
  --shadow: 0 22px 55px rgba(31, 126, 181, .12);
  --radius-lg: 28px;
  --radius-md: 19px;
  --transition: .22s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 5% 5%, rgba(73,184,255,.17), transparent 28rem),
    radial-gradient(circle at 95% 34%, rgba(111,210,255,.12), transparent 32rem),
    var(--background);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; color: var(--blue-dark); font-size: .8rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 9px; background: var(--blue); }
.section { padding: 92px 0; }
.section-head { max-width: 700px; margin-bottom: 38px; }
.section-head h2, .page-hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.04; }
.section-head p, .page-hero p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.card {
  border: 1px solid rgba(214,234,246,.9); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(16px);
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; padding: 14px 0; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244,250,255,.82); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(206,230,243,.8); }
.navbar { display: flex; align-items: center; min-height: 66px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand strong { font-size: 1.45rem; line-height: 1; }
.brand strong span { color: var(--blue-dark); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 13px; border-radius: 12px; color: #38566a; font-weight: 650; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); background: var(--blue-soft); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 14px;
  font-weight: 750; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 12px 28px rgba(22,143,224,.24); }
.btn-secondary { color: var(--navy); background: white; border-color: var(--border); }
.btn-ghost { color: var(--blue-dark); background: var(--blue-soft); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 14px; color: var(--navy); background: white; font-size: 1.45rem; }

/* Home */
.hero { position: relative; overflow: hidden; padding: 105px 0 95px; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -100px; top: 40px; border-radius: 50%; background: rgba(73,184,255,.14); filter: blur(8px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 75px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #bee6ff; border-radius: 99px; color: #177fbe; background: rgba(255,255,255,.75); font-size: .82rem; font-weight: 750; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(33,184,121,.13); }
.hero h1 { margin: 22px 0 20px; font-size: clamp(3.1rem, 7vw, 6.1rem); line-height: .94; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue-dark); }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.server-copy { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: white; color: var(--muted); }
.server-copy strong { color: var(--navy); }
.server-copy button { border: 0; color: var(--blue-dark); background: none; font-weight: 750; }
.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-logo { width: min(390px, 85%); filter: drop-shadow(0 30px 35px rgba(40,139,197,.24)); animation: float 5s ease-in-out infinite; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.9); border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.floating-card i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--blue-dark); }
.floating-card small { display: block; color: var(--muted); }
.floating-one { left: 0; top: 65px; }
.floating-two { right: 0; bottom: 80px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.stats { margin-top: -42px; position: relative; z-index: 4; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; }
.stat { padding: 26px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feature { padding: 27px; }
.feature i { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); font-size: 1.25rem; }
.feature h3 { margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 38px; align-items: stretch; }
.story-owner { display: grid; place-items: end center; overflow: hidden; padding: 24px 24px 0; background: linear-gradient(155deg,#e8f7ff,#fff); }
.story-owner img { max-height: 390px; filter: drop-shadow(0 22px 20px rgba(19,75,105,.15)); }
.story-copy { padding: 42px; }
.story-copy p { color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 25px 0 0; list-style: none; }
.check-list li { display: flex; gap: 9px; align-items: center; font-weight: 650; }
.check-list i { color: var(--success); }
.cta { padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: linear-gradient(135deg,#168fe0,#4bc5ff); }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.8rem,4vw,2.8rem); }
.cta p { margin: 0; color: rgba(255,255,255,.82); }
.cta .btn { background: white; color: var(--blue-dark); }

/* Inner pages */
.page-hero { padding: 86px 0 58px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { max-width: 760px; margin-inline: auto; }
.page-hero-actions { display:flex; justify-content:center; gap:10px; margin-top:24px; flex-wrap:wrap; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search-field { position: relative; flex: 1; max-width: 450px; }
.search-field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input, .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; outline: 0; color: var(--navy); background: white;
}
.search-field input { height: 50px; padding: 0 15px 0 44px; }
.search-field input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(73,184,255,.12); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; color: #157b55; background: #e8fbf3; font-size: .82rem; font-weight: 750; }
.state { padding: 50px 24px; text-align: center; color: var(--muted); }
.state i { display: block; margin-bottom: 12px; color: var(--blue); font-size: 2rem; }
.spinner { width: 30px; height: 30px; margin: 0 auto 14px; border: 3px solid #d8effc; border-top-color: var(--blue-dark); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Shop */
.promo-announcement {
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:20px;
  margin-bottom:24px; padding:24px 26px; border:1px solid #b9e7ff; border-radius:var(--radius-lg);
  color:white; background:linear-gradient(125deg,#117fc4,#49bfff); box-shadow:0 18px 45px rgba(22,143,224,.22);
}
.promo-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:rgba(255,255,255,.18); font-size:1.45rem; }
.promo-kicker { color:#dff5ff; font-size:.74rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.promo-announcement h2 { margin:2px 0 2px; font-size:clamp(1.35rem,3vw,2rem); line-height:1.15; }
.promo-announcement h2 strong { display:inline-block; padding:2px 10px; border:1px dashed rgba(255,255,255,.75); border-radius:9px; background:rgba(0,0,0,.1); letter-spacing:.08em; }
.promo-announcement p { margin:0; color:rgba(255,255,255,.84); font-size:.9rem; }
.promo-announcement .promo-copy { color:#126da4; background:white; white-space:nowrap; }
.category-tabs { display:flex; align-items:center; gap:9px; margin-bottom:18px; padding:7px; width:max-content; max-width:100%; overflow-x:auto; border:1px solid var(--border); border-radius:17px; background:rgba(255,255,255,.8); }
.category-tab { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 17px; border:0; border-radius:12px; color:var(--muted); background:transparent; font-weight:750; white-space:nowrap; }
.category-tab:hover { color:var(--blue-dark); background:var(--blue-soft); }
.category-tab.active { color:white; background:linear-gradient(135deg,var(--blue),var(--blue-dark)); box-shadow:0 9px 20px rgba(22,143,224,.2); }
.compare-link { display:inline-flex; align-items:center; gap:8px; min-height:46px; padding:0 14px; border-radius:13px; color:var(--blue-dark); background:var(--blue-soft); font-weight:750; white-space:nowrap; }
.shop-overview { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 355px; }
.product-image { height: 150px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#e7f7ff,#f9fdff); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .fallback { font-size: 3.2rem; color: var(--blue-dark); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-body h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; }
.product-description { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price small { display: block; color: var(--muted); font-size: .72rem; }
.product-price strong { font-size: 1.35rem; }
.product-card .btn { min-height: 42px; padding: 0 14px; }
.rank-selector { width:100%; height:43px; margin:3px 0 16px; padding:0 12px; border:1px solid var(--border); border-radius:12px; outline:0; color:var(--navy); background:white; font-weight:650; }
.rank-selector:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(73,184,255,.12); }
.promo-badge { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 6px 10px; border-radius: 10px; color: white; background: #ff6375; font-size: .78rem; font-weight: 800; }
.shop-sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.widget { padding: 24px; }
.widget h3 { margin: 0 0 18px; }
.purchase-list, .ranking-list { display: grid; gap: 13px; }
.purchase-row, .ranking-row { display: flex; align-items: center; gap: 11px; }
.purchase-row img, .ranking-row img { width: 38px; height: 38px; border-radius: 10px; image-rendering: pixelated; background: var(--blue-soft); }
.purchase-row strong, .ranking-row strong { display:block; font-size:.91rem; }
.purchase-row small, .ranking-row small { color:var(--muted); }
.goal-track { height: 11px; overflow: hidden; border-radius: 99px; background: #e5f1f7; }
.goal-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue-dark),#6bd5ff); }
.goal-label { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .82rem; }

/* Rank comparison */
.rank-comparison-section { padding-top:30px; }
.comparison-scroll { overflow-x:auto; }
.rank-comparison { width:100%; min-width:930px; border-collapse:separate; border-spacing:0; text-align:center; }
.rank-comparison th, .rank-comparison td { padding:17px 14px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.rank-comparison th:last-child, .rank-comparison td:last-child { border-right:0; }
.rank-comparison tbody tr:last-child th, .rank-comparison tbody tr:last-child td { border-bottom:0; }
.rank-comparison thead th { position:sticky; top:0; z-index:2; color:white; font-size:1.05rem; }
.rank-comparison thead th small { display:block; margin-top:2px; color:rgba(255,255,255,.78); font-size:.69rem; font-weight:600; }
.rank-comparison .feature-heading { min-width:240px; text-align:left; background:#183c54; }
.rank-player { background:#557080; }
.rank-vip { background:linear-gradient(135deg,#33af67,#55cc7e); }
.rank-svip { background:linear-gradient(135deg,#109ed2,#4dc9ef); }
.rank-mvip { background:linear-gradient(135deg,#6754df,#9079f5); }
.rank-boss { background:linear-gradient(135deg,#ee8b27,#ffb244); }
.rank-comparison tbody th { text-align:left; color:var(--navy); background:#f8fcff; font-size:.91rem; }
.rank-comparison tbody td { color:#375467; background:white; font-weight:650; }
.rank-comparison tbody td small { display:block; color:var(--muted); font-size:.68rem; font-weight:600; }
.rank-comparison code { padding:2px 6px; border-radius:6px; color:var(--blue-dark); background:var(--blue-soft); font-family:inherit; font-size:.82em; }
.rank-comparison .comparison-group td { padding:10px 16px; color:#167cb8; background:#e9f7ff; text-align:left; font-size:.75rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.rank-comparison [data-yes]::before { content:'✓'; display:inline-grid; place-items:center; width:29px; height:29px; margin-right:4px; border:1px solid #aee8cf; border-radius:9px; color:#168b61; background:#e7faf2; font-size:1.05rem; }
.rank-comparison [data-yes]:empty::before { margin-right:0; }
.rank-comparison [data-no]::before { content:'×'; display:inline-grid; place-items:center; width:29px; height:29px; border:1px solid #f6b8bf; border-radius:9px; color:#d94757; background:#ffedf0; font-size:1.25rem; }
.comparison-note { display:flex; gap:9px; align-items:flex-start; margin:15px 4px 0; color:var(--muted); font-size:.85rem; }
.comparison-note i { color:var(--blue-dark); }

/* Modal / forms */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(9,35,53,.65); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-panel { width: min(610px,100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.modal-head h2 { margin: 0; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: white; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .88rem; font-weight: 750; }
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { min-height: 135px; padding: 13px 14px; resize: vertical; }
.field-hint { color: var(--muted); font-size: .78rem; }
.quantity-control { display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px; }
.quantity-control button { border: 1px solid var(--border); border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; }
.check-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.check-row input { margin-top: 4px; }
.checkout-total { display:flex; justify-content:space-between; align-items:center; padding:17px; border-radius:15px; background:var(--blue-soft); }
.checkout-total strong { font-size:1.45rem; }
.form-message { display: none; padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.form-message.show { display:block; }
.form-message.error { color:#a52d2d; background:#ffebeb; }
.form-message.success { color:#147552; background:#e7fbf2; }

/* Staff */
.staff-group { margin-bottom: 48px; }
.staff-group h2 { margin: 0 0 22px; font-size: 1.65rem; }
.staff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.staff-card { overflow: hidden; }
.staff-art { height: 220px; display: grid; place-items: end center; background: linear-gradient(145deg,#e5f6ff,#fff); }
.staff-art img { max-height: 205px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(20,72,104,.16)); }
.staff-info { padding: 24px; }
.role { display: inline-block; margin-bottom: 10px; padding: 5px 9px; border-radius: 9px; color: var(--blue-dark); background: var(--blue-soft); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.staff-info h3 { margin: 0 0 8px; font-size: 1.3rem; }
.staff-info p { margin: 0; color: var(--muted); }

/* Rules / FAQ / content */
.content-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items:start; }
.content-nav { position: sticky; top: 112px; padding: 20px; }
.content-nav h3 { margin: 0 0 14px; }
.content-nav a { display:block; padding:9px 11px; border-radius:10px; color:var(--muted); font-size:.88rem; }
.content-nav a:hover { color:var(--blue-dark); background:var(--blue-soft); }
.rules-search { margin-bottom: 20px; }
.rule-list, .faq-list { display: grid; gap: 14px; }
.rule-card, .faq-card { overflow: hidden; }
.rule-head, .rule-header, .faq-head { width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 22px; border:0; color:var(--navy); background:white; text-align:left; font-weight:800; }
.rule-head span:first-child, .rule-header > div { display:flex; align-items:center; gap:13px; }
.rule-header h2 { margin:0; font-size:1rem; }
.rule-number { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; color:var(--blue-dark); background:var(--blue-soft); font-size:.82rem; }
.rule-body, .faq-body { display:none; padding:0 24px 23px; color:var(--muted); }
.rule-card.open .rule-body, .rule-card.active .rule-body, .faq-card.open .faq-body { display:block; }
.rule-card.open .toggle-icon, .faq-card.open .toggle-icon { transform:rotate(45deg); }
.rule-body ol, .rule-body ul { margin:0; padding-left:22px; }
.rule-body li + li { margin-top:8px; }
.content-card { padding: 34px; }
.content-card h2 { margin-top: 0; }
.content-card + .content-card { margin-top: 20px; }

/* Footer */
.site-footer { margin-top: 85px; padding: 60px 0 28px; color: #d6e8f3; background: #0f2d41; }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr; gap:50px; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img { width:58px; }
.footer-brand strong { color:white; font-size:1.35rem; }
.site-footer h3 { margin:0 0 16px; color:white; }
.site-footer p { max-width:460px; color:#9fbbcb; }
.footer-links { display:grid; gap:9px; }
.footer-links a { color:#b6cedc; }
.footer-links a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:45px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); color:#88a7b9; font-size:.84rem; }
.vishop-credit a { color:#cdefff; text-decoration:underline; }
.toast { position:fixed; z-index:3000; right:22px; bottom:22px; max-width:min(390px,calc(100% - 44px)); padding:14px 17px; border-radius:14px; color:white; background:#12384f; box-shadow:0 14px 35px rgba(0,0,0,.2); transform:translateY(25px); opacity:0; pointer-events:none; transition:.25s; }
.toast.show { transform:none; opacity:1; }

@media (max-width: 1020px) {
  .nav-actions .discord-link { display:none; }
  .hero-grid { grid-template-columns:1fr; gap:25px; text-align:center; }
  .hero-copy { margin-inline:auto; }
  .hero-actions { justify-content:center; }
  .server-copy { margin-inline:auto; }
  .hero-visual { min-height:380px; }
  .features-grid { grid-template-columns:1fr 1fr; }
  .shop-overview { grid-template-columns:1fr; }
  .shop-sidebar { position:static; grid-template-columns:repeat(3,1fr); }
  .products-grid { grid-template-columns:1fr 1fr; }
  .staff-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display:grid; place-items:center; }
  .nav-links { position:fixed; inset:94px 20px auto; display:none; padding:14px; border:1px solid var(--border); border-radius:20px; background:white; box-shadow:var(--shadow); }
  .nav-links.open { display:grid; }
  .nav-links a { padding:13px; }
  .nav-actions .btn { display:none; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat:nth-child(2) { border-right:0; }
  .stat:nth-child(-n+2) { border-bottom:1px solid var(--border); }
  .story-grid { grid-template-columns:1fr; }
  .story-owner { min-height:340px; }
  .cta { align-items:flex-start; flex-direction:column; }
  .shop-sidebar { grid-template-columns:1fr; }
  .content-layout { grid-template-columns:1fr; }
  .content-nav { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
}

@media (max-width: 590px) {
  .container { width:min(100% - 26px,1180px); }
  .section { padding:68px 0; }
  .hero { padding:70px 0 80px; }
  .hero h1 { font-size:3.45rem; }
  .hero-visual { min-height:300px; }
  .floating-card { transform:scale(.88); }
  .floating-one { left:-18px; top:20px; }
  .floating-two { right:-18px; bottom:28px; }
  .features-grid, .products-grid, .staff-grid, .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .check-list { grid-template-columns:1fr; }
  .story-copy, .cta, .content-card, .modal-panel { padding:24px; }
  .toolbar { align-items:stretch; flex-direction:column; }
  .search-field { max-width:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .promo-announcement { grid-template-columns:auto 1fr; padding:20px; }
  .promo-announcement .promo-copy { grid-column:1/-1; width:100%; }
  .category-tabs { width:100%; }
  .category-tab { flex:1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}

/* v4 — accessible motion, local assets and the product collection */
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:4000; top:10px; left:10px; padding:12px 18px; border-radius:12px; color:white; background:var(--navy); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
:focus-visible { outline:3px solid #0873b9; outline-offset:4px; }
.grid-full { grid-column:1/-1; }
.text-success { color:#08704b !important; }
.text-danger { color:#c02d39 !important; }
.btn:active { transform:translateY(0) scale(.98); }
.btn:disabled { cursor:wait; opacity:.65; transform:none; }
.checkout-open { overflow:hidden; }
.reveal-in { animation:reveal-in .55s cubic-bezier(.2,.7,.25,1) both; }
@keyframes reveal-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.shop-overview { grid-template-columns:minmax(0,1fr) 265px; gap:28px; }
.products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.product-card { --accent:#11865c; --tint:#edf9f2; min-height:0; border-radius:24px; border-color:#dce8ed; background:white; box-shadow:0 8px 28px #173e5410; transition:transform .25s,box-shadow .25s,border-color .25s; }
.tone-svip { --accent:#007ca6; --tint:#e8f7ff; }
.tone-mvip { --accent:#7d46ba; --tint:#f4edff; }
.tone-boss { --accent:#ad6614; --tint:#fff6e4; }
.key-card { --accent:#147bab; --tint:#eef7fd; }
.product-image { position:relative; height:190px; margin:10px 10px 0; border-radius:17px; background:radial-gradient(ellipse at 50% 30%,white,var(--tint,#ecf8ff)); isolation:isolate; }
.product-image::before { content:''; position:absolute; width:140px; height:140px; border:1px solid var(--accent,#198cc3); border-radius:50%; opacity:.1; z-index:-1; }
.product-image img { width:100%; height:100%; object-fit:contain; padding:18px 30px 28px; transition:transform .35s ease; }
.product-type { position:absolute; left:14px; bottom:12px; padding:3px 9px; border-radius:6px; background:#ffffffdf; color:var(--accent); font-size:.66rem; font-weight:750; letter-spacing:.045em; text-transform:uppercase; }
.product-body { padding:22px 24px 24px; }
.product-body h3 { font-size:1.45rem; font-weight:800; letter-spacing:-.025em; }
.rank-card h3 { color:var(--accent); }
.product-benefits { display:grid; gap:6px; min-height:85px; margin:5px 0 18px; padding:0; list-style:none; color:#50687b; font-size:.88rem; }
.product-benefits li { display:flex; align-items:baseline; gap:8px; }
.product-benefits i { color:var(--accent); font-size:1rem; }
.product-description { min-height:85px; -webkit-line-clamp:3; }
.variant-label { display:block; margin-top:auto; color:#547082; font-size:.76rem; font-weight:650; }
.rank-selector { height:44px; margin:5px 0 18px; border-radius:10px; background:#f7fafc; }
.unit-label { margin-bottom:18px; padding-top:11px; }
.product-price { border-top:1px solid #e7eef3; padding-top:16px; }
.price-stack { display:flex; flex-direction:column; align-items:flex-start; gap:2px; font-variant-numeric:tabular-nums; }
.old-price { display:flex; align-items:center; gap:9px; min-height:23px; }
.old-price del { color:#c52f40; text-decoration-thickness:1.5px; font-weight:600; font-size:.95rem; }
.discount-tag { border-radius:5px; padding:1px 5px; background:#e7f8ef; color:#08704b; font-size:.69rem; font-weight:800; }
.product-price .current-price,.price-stack .current-price { color:#112f43; font-size:1.9rem; font-weight:800; line-height:1.2; letter-spacing:-.04em; }
.price-saving { color:#08704b; font-size:.8rem; font-weight:650; margin-top:2px; }
.price-stack .price-condition { color:#526a7c; font-size:.72rem; line-height:1.5; margin-top:3px; }
.price-condition b { color:#163e57; }
.product-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:20px; }
.product-actions .btn { min-height:44px; padding:0 18px; }
.product-details { padding:9px 0; color:#315c76; font-size:.82rem; font-weight:650; }
.product-details:hover { text-decoration:underline; }
.player-avatar { display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:10px; background:#eaf6ff; color:#0a73a9; }
.product-detail-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:42px; }
.product-detail-grid h1 { font-size:clamp(2rem,5vw,3.3rem); line-height:1.15; margin:0 0 22px; }
.detail-visual { height:340px; margin:0; }
.detail-visual img { padding:28px; }
.detail-description { grid-column:1/-1; }
.cms-content { overflow-wrap:anywhere; }
.cms-content a { text-decoration:underline; color:#0878bc; }
.cms-content table { width:100%; display:block; overflow-x:auto; }
.cms-content pre { overflow:auto; }
.cms-nav { position:relative; }
.cms-nav summary { padding:10px 12px; color:#38566a; font-weight:650; cursor:pointer; font-size:.9rem; }
.cms-nav-links { position:absolute; right:0; min-width:200px; padding:8px; border:1px solid var(--border); border-radius:14px; background:white; box-shadow:var(--shadow); }
.cms-nav-links a { white-space:normal; }
.cms-footer { display:flex; flex-wrap:wrap; gap:8px 22px; padding-top:20px; font-size:.82rem; color:#cdefff; }
.cms-footer a { text-decoration:underline; }
.inline-controls { display:flex; gap:9px; }
.inline-controls input { min-width:0; flex:1; }
.checkout-info { padding:12px 16px; margin-bottom:18px; border-radius:12px; border:1px solid #e4cf96; background:#fff9e8; color:#755419; font-size:.88rem; }
.checkout-description { margin:0 0 22px; }
.checkout-description summary { cursor:pointer; color:#315c76; font-weight:650; }
.checkout-description .cms-content { max-height:230px; overflow:auto; padding:10px 2px; font-size:.9rem; }
.checkout-total { align-items:flex-start; }
.checkout-total .price-stack { align-items:flex-end; text-align:right; }
.announcement { border-left:5px solid var(--blue); }
.image-unavailable::after { content:'CloudMC'; color:var(--accent); font-weight:800; font-size:1.8rem; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .product-card:hover { transform:translateY(-5px); box-shadow:0 16px 38px #173e541d; border-color:#bedbe9; }
  .product-card:hover .product-image img { transform:translateY(-3px) scale(1.035); }
  .feature,.staff-card { transition:transform .25s,box-shadow .25s; }
  .feature:hover,.staff-card:hover { transform:translateY(-3px); }
}
@media (max-width:1200px) { .navbar { gap:14px; } .nav-links a { padding-inline:8px; font-size:.89rem; } .nav-actions .discord-link { display:none; } }
@media (max-width:1100px) {
  .menu-toggle { display:grid; place-items:center; }
  .nav-links { position:fixed; inset:94px 20px auto; display:none; max-height:calc(100dvh - 115px); overflow:auto; padding:14px; border:1px solid var(--border); border-radius:20px; background:white; box-shadow:var(--shadow); }
  .nav-links.open { display:grid; }
  .nav-links a,.cms-nav summary { padding:12px; font-size:1rem; }
  .cms-nav-links { position:static; box-shadow:none; border:0; padding-left:14px; }
  .nav-actions { margin-left:auto; }
}
@media (max-width:1020px) { .shop-overview { grid-template-columns:minmax(0,1fr); } }
@media (max-width:700px) { .product-detail-grid { grid-template-columns:minmax(0,1fr); gap:24px; } .detail-visual { height:260px; } }
@media (max-width:590px) {
  .products-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .product-image { height:185px; }
  .product-body { padding:20px; }
  .product-benefits { min-height:0; }
  .modal { padding:10px; }
  .modal-panel { padding:22px 18px; max-height:calc(100dvh - 20px); }
  .checkout-total .price-stack .current-price { font-size:1.6rem; }
  .hero-visual { overflow:hidden; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
