[hidden] { display: none !important; }
.store-v2 { background: #050a12; }
.store-v2.identity-locked { overflow: hidden; }
.page-glow { position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 18%, rgba(36,89,158,.14), transparent 26rem), radial-gradient(circle at 88% 42%, rgba(30,95,191,.08), transparent 32rem); }

.top-strip { height: 34px; display: flex; align-items: center; color: #526781; background: #02060b; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 9.5px; font-weight: 800; letter-spacing: .15em; }
.top-strip .container { width: min(1080px, calc(100% - 64px)); margin-inline: auto; display: flex; justify-content: space-between; }
.top-strip span { color: #6e9bd3; }
.top-strip b { color: #43566e; }

.site-header { position: relative; z-index: 20; min-height: 190px; background: linear-gradient(180deg, rgba(6,13,23,.65) 0%, rgba(5,10,18,.95) 100%), url('/banner.png') center/cover no-repeat; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.header-inner { width: min(1080px, calc(100% - 64px)); margin-inline: auto; min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.store-brand img { width: 48px; height: 48px; border-radius: 12px; }
.store-brand h1 { font-size: 22px; }
.store-brand p { margin-top: 5px; font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-discord-btn { background: #5865F2; color: #fff; border: 0; padding: 10px 20px; border-radius: 10px; font-weight: 800; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 20px rgba(88,101,242,.35); transition: transform .18s ease, background .18s ease; }
.header-discord-btn:hover { background: #4752C4; transform: translateY(-2px); }

.account-wrap { position: relative; }
.account-button { min-width: 176px; height: 46px; padding: 5px 12px 5px 6px; display: flex; align-items: center; gap: 9px; color: var(--text); background: #0d1929; border: 1px solid var(--line); border-radius: 11px; text-align: left; }
.account-button:hover { border-color: rgba(112,163,227,.3); background: #101f33; }
.account-avatar { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.checkout-avatar { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.account-button > span:nth-child(2) { min-width: 0; flex: 1; display: grid; }
.account-button small { color: #61748d; font-size: 8px; line-height: 1.2; }
.account-button strong { overflow: hidden; max-width: 103px; color: #cfdaea; font-size: 11px; text-overflow: ellipsis; }
.account-button i { width: 6px; height: 6px; border-right: 1px solid #718299; border-bottom: 1px solid #718299; transform: rotate(45deg) translateY(-2px); }
.account-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 176px; padding: 6px; background: #0d1929; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.account-menu button { width: 100%; padding: 9px 10px; color: #aebdd0; background: transparent; border: 0; border-radius: 7px; text-align: left; font-size: 11px; }
.account-menu button:hover { background: #14243a; }
.account-menu button.danger { color: #d98491; }

.store-section { padding: 58px 0 70px; }
.store-v2-layout { width: min(1080px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.section-heading { min-height: 58px; margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 5px 0 0; color: #dfe9f5; font-size: 25px; line-height: 1.1; letter-spacing: -.04em; }
.section-heading p { margin: 4px 0 0; color: #697c94; font-size: 11px; }
.package-count { padding: 6px 10px; color: #71859f; background: #0b1625; border: 1px solid var(--line); border-radius: 7px; font-size: 9px; font-weight: 800; }
.v2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coin-package { position: relative; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; background: linear-gradient(155deg, #101e31, #091421 68%); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 14px 40px rgba(0,0,0,.18); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; cursor: pointer; }
.coin-package:hover { transform: translateY(-5px); border-color: rgba(109,164,232,.32); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.coin-package::before { content: ""; position: absolute; z-index: 1; top: 0; left: 12%; width: 76%; height: 1px; background: linear-gradient(90deg, transparent, rgba(123,176,244,.38), transparent); }

.package-visual { position: relative; height: 175px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(45,108,189,.18), transparent 70%); border-bottom: 1px solid var(--line); }

.package-coin-img { width: 108px; height: 108px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.6)); transition: transform .25s ease, filter .25s ease; }
.coin-package:hover .package-coin-img { transform: scale(1.12) translateY(-3px); filter: drop-shadow(0 14px 30px rgba(56,189,248,.35)); }

.package-harness-img { width: 92px; height: 92px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 10px 22px rgba(0,0,0,.65)); transition: transform .25s ease, filter .25s ease; }
.coin-package:hover .package-harness-img { transform: scale(1.15) translateY(-3px); filter: drop-shadow(0 14px 28px rgba(0,0,0,.85)); }

/* Rank Custom Colors & Themes */
.rank-card-cyan { border-color: rgba(34, 211, 238, 0.35); background: linear-gradient(155deg, #08293d, #051421 70%); }
.rank-card-cyan:hover { border-color: rgba(34, 211, 238, 0.7); box-shadow: 0 20px 50px rgba(6, 182, 212, 0.28); }
.rank-card-cyan .package-visual { background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.22), transparent 70%); }

.rank-card-blue { border-color: rgba(59, 130, 246, 0.35); background: linear-gradient(155deg, #0f254b, #071226 70%); }
.rank-card-blue:hover { border-color: rgba(59, 130, 246, 0.7); box-shadow: 0 20px 50px rgba(59, 130, 246, 0.28); }
.rank-card-blue .package-visual { background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.22), transparent 70%); }

.rank-card-gold { border-color: rgba(250, 204, 21, 0.45); background: linear-gradient(155deg, #2e2409, #140f03 70%); }
.rank-card-gold:hover { border-color: rgba(250, 204, 21, 0.8); box-shadow: 0 20px 50px rgba(250, 204, 21, 0.35); }
.rank-card-gold .package-visual { background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.28), transparent 70%); }

.rank-card-green { border-color: rgba(34, 197, 94, 0.35); background: linear-gradient(155deg, #092c1c, #03140c 70%); }
.rank-card-green:hover { border-color: rgba(34, 197, 94, 0.7); box-shadow: 0 20px 50px rgba(34, 197, 94, 0.28); }
.rank-card-green .package-visual { background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.22), transparent 70%); }

.rank-card-red { border-color: rgba(239, 68, 68, 0.35); background: linear-gradient(155deg, #2c0f0f, #140505 70%); }
.rank-card-red:hover { border-color: rgba(239, 68, 68, 0.7); box-shadow: 0 20px 50px rgba(239, 68, 68, 0.28); }
.rank-card-red .package-visual { background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.22), transparent 70%); }

.store-nav-shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; position: relative; margin-top: 18px; margin-bottom: 24px; }
.store-nav { min-height: 54px; padding: 0 18px; display: flex; align-items: center; gap: 8px; border-radius: 12px; background: rgba(9, 18, 31, .94); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.19); backdrop-filter: blur(16px); }

.nav-tab { background: transparent; border: 0; padding: 8px 16px; color: #7f90a8; border-radius: 8px; font-size: 13px; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: color .15s ease, background .15s ease; }
.nav-tab:hover, .nav-tab.active { color: #d9e9ff; background: rgba(59, 130, 246, .16); }
.nav-tab-icon { width: 20px; height: 20px; object-fit: contain; }
.nav-tab-svg { width: 18px; height: 18px; color: #facc15; }

.store-nav-spacer { flex: 1; }
.store-cart-link { color: var(--blue-soft) !important; font-weight: 800 !important; }
.lifesteal-icon { color: #ef4444; }

.coming-soon-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px 80px; text-align: center; }
.coming-soon-icon { width: 80px; height: 80px; margin-bottom: 24px; display: grid; place-items: center; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .25); border-radius: 50%; animation: coming-soon-pulse 2.5s ease-in-out infinite; }
.coming-soon-icon svg { width: 40px; height: 40px; color: #ef4444; }
.coming-soon-wrap h3 { margin: 0 0 10px; color: #dfe9f5; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.coming-soon-wrap p { margin: 0; color: #697c94; font-size: 13px; line-height: 1.7; }
@keyframes coming-soon-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .12); } 50% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); } }

.package-badge.featured-badge { top: 12px; left: 12px; right: auto; padding: 4px 8px; color: #111; background: linear-gradient(135deg, #facc15, #eab308); border: 0; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .05em; box-shadow: 0 4px 12px rgba(234,179,8,.3); }
.package-badge.discount-badge { top: 12px; right: 12px; padding: 4px 8px; color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); border: 0; border-radius: 6px; font-size: 10px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 4px 12px rgba(220,38,38,.3); }
.package-badge.permanent-badge { bottom: 12px; top: auto; right: 12px; padding: 4px 10px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); border: 0; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 4px 14px rgba(109,40,217,.4); position: absolute; z-index: 3; }

.package-prices { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.old-price { color: #718096; font-size: 13px; text-decoration: line-through; }
.current-price { color: #38bdf8; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }

.package-tags { margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-savings { display: inline-flex; align-items: center; padding: 4px 10px; color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); border-radius: 20px; font-size: 10px; font-weight: 800; }
.tag-bonus { display: inline-flex; align-items: center; padding: 4px 10px; color: #f97316; background: rgba(249, 115, 22, .12); border: 1px solid rgba(249, 115, 22, .3); border-radius: 20px; font-size: 10px; font-weight: 800; }
.buy-button { margin-top: auto; font-weight: 800; letter-spacing: .02em; }
.view-perks-btn { margin-bottom: 8px; font-size: 11px; font-weight: 750; color: #73a9f8; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28); }
.view-perks-btn:hover { background: rgba(59,130,246,.22); }

.package-body { flex: 1; padding: 18px; display: flex; flex-direction: column; }
.package-body h3 { margin: 0; color: #dce6f3; font-size: 16px; letter-spacing: -.02em; }

.perks-panel { width: min(520px, 100%); padding: 24px; background: #091423; border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.perks-intro { color: #788da8; font-size: 12px; margin: 0 0 16px; }
.perks-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-height: 320px; overflow-y: auto; }
.perk-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0f1f33; border: 1px solid var(--line); border-radius: 8px; color: #dce7f5; font-size: 12px; font-weight: 650; }
.perk-check { width: 22px; height: 22px; display: grid; place-items: center; background: rgba(34, 197, 94, .15); color: #4ade80; border-radius: 50%; font-size: 11px; font-weight: 900; flex-shrink: 0; }
.perks-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.perks-footer strong { color: #38bdf8; font-size: 20px; font-weight: 900; }

.package-skeleton { min-height: 350px; padding: 18px; gap: 13px; justify-content: flex-end; pointer-events: none; }
.package-skeleton div, .package-skeleton span { display: block; overflow: hidden; background: #101f32; border-radius: 8px; }
.package-skeleton div { position: absolute; inset: 0 0 auto; height: 185px; border-radius: 0; }
.package-skeleton span { width: 58%; height: 14px; }
.package-skeleton span:last-child { width: 82%; height: 9px; margin-bottom: 16px; }
.package-skeleton div::after, .package-skeleton span::after { content: ""; display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(111,158,215,.08), transparent); animation: skeleton-scan 1.4s ease-in-out infinite; }
@keyframes skeleton-scan { from { transform: translateX(-120%); } to { transform: translateX(260%); } }

.store-info { display: grid; gap: 14px; }
.info-card { padding: 16px; background: rgba(11,21,36,.9); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.info-title { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; color: #647991; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.info-title i { width: 8px; height: 8px; background: #607086; border-radius: 50%; }.info-title i.online { background: var(--green); box-shadow: 0 0 0 4px rgba(57,199,135,.09); }
.server-card > strong { display: block; color: #cbd7e6; font-size: 13px; }.server-card > p { overflow: hidden; margin: 3px 0 13px; color: #72849b; font-size: 11px; text-overflow: ellipsis; }
.player-count-wrap { margin: 10px 0 4px; display: flex; align-items: center; gap: 7px; color: #8ba3bf; font-size: 11px; font-weight: 600; }
.player-count-wrap span#playerCount { color: #5fe8a0; font-weight: 800; }
.player-count-dot { width: 8px; height: 8px; flex-shrink: 0; background: #39c787; border-radius: 50%; box-shadow: 0 0 0 3px rgba(57,199,135,.15); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 3px rgba(57,199,135,.15); } 50% { box-shadow: 0 0 0 6px rgba(57,199,135,.08); } }
.player-list { max-height: 180px; margin: 8px 0 10px; padding: 6px 0; overflow-y: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.player-list::-webkit-scrollbar { width: 4px; }.player-list::-webkit-scrollbar-track { background: transparent; }.player-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
.player-row { padding: 5px 4px; display: flex; align-items: center; gap: 8px; border-radius: 6px; transition: background .15s ease; }
.player-row:hover { background: rgba(255,255,255,.04); }
.player-avatar { width: 20px; height: 20px; border-radius: 4px; image-rendering: pixelated; }
.player-row span { color: #afc3db; font-size: 11px; font-weight: 600; }
.subtle-button { width: 100%; min-height: 35px; color: #86a6cc; background: #101f32; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; font-weight: 750; }.subtle-button:hover { color: #cde2fb; border-color: rgba(112,163,227,.28); }
.recent-card { padding-bottom: 7px; }.recent-card .buyers { padding: 0; }.recent-card .buyer { padding: 9px 0; }
.support-card > span { color: #6687af; font-size: 8px; font-weight: 850; letter-spacing: .13em; }.support-card p { margin: 7px 0 12px; color: #71839a; font-size: 10px; }.support-card a { color: #8db8ed; font-size: 10px; font-weight: 750; }

.checkout-account { margin-bottom: 8px; padding: 11px; display: flex; align-items: center; gap: 10px; background: #08121f; border: 1px solid var(--line); border-radius: 9px; }
.checkout-account > div { min-width: 0; flex: 1; display: grid; }.checkout-account small { color: #61748c; font-size: 8px; }.checkout-account strong { overflow: hidden; color: #cbd8e8; font-size: 11px; text-overflow: ellipsis; }.checkout-account button { color: #7299c8; background: transparent; border: 0; font-size: 9px; font-weight: 750; }
.quantity-control { height: 44px; display: grid; grid-template-columns: 42px 1fr 42px; background: #08121f; border: 1px solid var(--line-strong); border-radius: 8px; }
.quantity-control button { color: #91a7c1; background: transparent; border: 0; font-size: 18px; }.quantity-control button:hover { color: white; background: #12243a; }.quantity-control input { height: 42px; padding: 0; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; appearance: textfield; }.quantity-control input::-webkit-inner-spin-button { appearance: none; }

.login-gate { position: fixed; z-index: 100; inset: 0; padding: 22px; display: grid; place-items: center; overflow-y: auto; background: rgba(2,6,12,.9); backdrop-filter: blur(18px); transition: opacity .22s ease, visibility .22s ease; }
.store-v2:not(.identity-locked) .login-gate { opacity: 0; visibility: hidden; pointer-events: none; }
.login-shell { width: min(880px, 100%); min-height: 540px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; background: #091321; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 35px 100px rgba(0,0,0,.58); }
.login-visual { position: relative; overflow: hidden; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 50% 44%, rgba(46,111,196,.24), transparent 18rem), linear-gradient(145deg, #0e2037, #07111e); border-right: 1px solid var(--line); }
.login-visual::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(130,168,215,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(130,168,215,.04) 1px, transparent 1px); background-size: 34px 34px; }
.login-visual > * { position: relative; z-index: 1; }.login-brand img { width: 46px; height: 46px; border-radius: 11px; }.login-brand h1 { font-size: 21px; }

.login-skin-wrap { height: 190px; display: grid; place-items: center; margin: 12px 0 16px; }
.login-skin-img { height: 170px; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(0,0,0,.65)); transition: transform .25s ease; }

.login-visual h2 { margin: 7px 0 0; color: #dfebf8; font-size: 25px; letter-spacing: -.04em; }.login-visual p { margin: 7px 0 0; color: #7588a0; font-size: 11px; }
.login-form-panel { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.login-step { margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }.login-step.second { margin-top: 28px; }.login-step span { width: 25px; height: 25px; display: grid; place-items: center; color: #75a6e2; background: #102743; border: 1px solid #28588f; border-radius: 7px; font-size: 8px; font-weight: 900; }.login-step p { margin: 0; color: #aebed1; font-size: 11px; font-weight: 750; }
.edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.edition-option { position: relative; min-height: 78px; padding: 11px; display: flex; align-items: center; gap: 10px; color: #9fb0c5; background: #0c192a; border: 1px solid var(--line); border-radius: 10px; text-align: left; transition: .16s ease; }.edition-option:hover { background: #102039; border-color: rgba(102,155,221,.26); }.edition-option.selected { color: #d8e8fa; background: rgba(28,77,137,.28); border-color: #2e659f; box-shadow: 0 0 0 3px rgba(59,130,246,.06); }
.edition-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; background: #142943; border: 1px solid #274c76; border-radius: 9px; font-size: 13px; font-weight: 950; }.bedrock-icon { color: #a9d9c3; background: #14372d; border-color: #28634d; }
.edition-option div { display: grid; }.edition-option strong { font-size: 10px; }.edition-option small { margin-top: 3px; color: #657991; font-size: 8px; }.edition-option i { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border: 1px solid #4d6178; border-radius: 50%; }.edition-option.selected i { background: #5d98df; border-color: #82b2eb; box-shadow: 0 0 0 3px rgba(93,152,223,.12); }
.login-form-panel form { margin: 0; }.login-input-wrap { height: 46px; display: flex; align-items: center; background: #060e19; border: 1px solid var(--line-strong); border-radius: 9px; transition: border-color .15s ease; }.login-input-wrap:focus-within { border-color: #356da9; box-shadow: 0 0 0 3px rgba(59,130,246,.08); }.login-input-wrap > span { width: 40px; color: #58708e; text-align: center; font-size: 11px; font-weight: 850; }.login-input-wrap input { height: 44px; padding-left: 0; background: transparent; border: 0; box-shadow: none !important; }.login-input-wrap input:disabled { cursor: not-allowed; opacity: .55; }
.login-hint { min-height: 16px; margin: 7px 0 0; color: #64778f; font-size: 9px; }.login-error { min-height: 17px; margin: 4px 0 7px; }.login-submit { min-height: 44px; }

@media (max-width: 1050px) {
  .v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .store-v2-layout { grid-template-columns: 1fr; }
  .store-info { grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .catalog { order: 1; }
}
@media (max-width: 600px) {
  .v2-grid { grid-template-columns: 1fr; }
  .store-info { grid-template-columns: 1fr; }
  .top-strip { display: none; }
  .site-header { min-height: 160px; }
  .store-brand p { display: none; }
  .account-button { min-width: 0; width: 44px; padding: 4px; }.account-button > span:nth-child(2), .account-button i { display: none; }
  .account-menu { right: 0; }
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 180px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .login-form-panel { padding: 24px 18px; }
}
