/* FrostPvP Frost cinema. Layer order: WebGL 1, content 3, nav 50. */
:root {
  --bg: #070e1b;
  --panel: #101d30;
  --panel2: #0a1729;
  --surface: #101d30;
  --line: #34516d;
  --text: #f4f8ff;
  --muted: #b0c5d8;
  --frost: #9cebff;
  --epic-blue: #3478f6;
}
body { background: radial-gradient(ellipse at 2% 35%, #10345666, transparent 42%), #070e1b; }
body::before { background: none; }
.wrap, .container { width: min(1340px, calc(100% - 64px)); }
main { padding-top: 22px; }
.site-header { background: #081321e8; box-shadow: 0 10px 32px #040c1b66; }
.header-inner, .nav-shell { min-height: 62px; }
.site-header .primary-nav a { border-radius: 7px; padding: 11px 13px; font-size: .79rem; }
.site-header .primary-nav a[aria-current=page] { background: #9cebff12; }
.header-ip { border-radius: 9px; background: #142b40; }
.button { white-space: nowrap; border-radius: 9px; }
.button-primary, .button-light { background: #9cebff; color: #082236; box-shadow: 0 8px 32px #00caff24; }
.button-primary:hover, .button-light:hover { background: #d4f7ff; color: #082236; box-shadow: 0 12px 38px #00caff38; }
.button-outline, .button-ghost { background: #0b1b2dc9; border-color: #7bb7d079; color: #e7f6ff; }
.button-outline:hover, .button-ghost:hover { background: #1b3c52; border-color: #9cebff; }

/* Home is image-free; a bounded interactive particle network sits behind the copy. */
.home-stage { display: block; min-height: 0; }
.home-stage::before { display: none; }
.stage-copy, .is-cinematic .stage-copy, .hero, .is-cinematic .hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 480px;
  padding: clamp(34px, 5vw, 76px); border: 1px solid #87d5f144; border-radius: 24px;
  background: radial-gradient(ellipse at 20% 65%, #16405c66, transparent 60%), #0a182a; box-shadow: 0 28px 80px #02091888, inset 0 1px #d9f9ff1a;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
}
.stage-copy::after, .hero::after { content: ""; position: absolute; inset: 0; width: auto; height: auto; transform: none; border: 0; border-radius: inherit; box-shadow: inset 0 -90px 100px #08132290; pointer-events: none; z-index: 2; }
.stage-copy > .stage-content, .is-cinematic .stage-copy > .stage-content { position: relative; z-index: 3; width: 100%; max-width: 680px; }
.stage-kicker, .live-pill { display: inline-block; padding: 0; background: none; border: 0; border-radius: 0; color: #9cebff; font: 800 .72rem Consolas, monospace; letter-spacing: .18em; }
.stage-copy h1, .hero h1 { font-size: clamp(3.1rem, 5.5vw, 5.7rem); line-height: 1.27; font-weight: 900; letter-spacing: -.055em; margin: 23px 0 20px; color: #f4f8ff; text-shadow: 0 10px 40px #020a1688; }
.stage-copy h1 em, .hero h1 em { font-style: normal; color: #9cebff; background: none; text-shadow: 0 0 40px #9cebff22; }
.stage-content > p, .hero-lead { max-width: 440px; font-size: 1rem; line-height: 2; color: #c2d6e7; margin: 0 0 30px; }
.stage-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stage-actions .button, .hero-actions .button { min-height: 56px; padding-inline: 22px; }
.stage-actions .button-primary { background: #9cebff; color: #082236; }
.stage-actions .button-primary span, .hero-actions .button-primary span { font: 900 .9rem Consolas, monospace; opacity: 1; }
.stage-actions .button-primary b, .hero-actions .button-primary b { font-size: .72rem; }
.cinematic-scene { z-index: 1; background: none; }
.cinematic-scene.is-ready { opacity: .82; }
.cinematic-trail { width: 100%; height: 100%; opacity: .7; }
.hero { width: min(1500px, calc(100% - 32px)); margin: 20px auto 0; padding: 0; }
.hero .hero-inner { display: flex; justify-content: flex-start; min-height: 480px; width: min(1340px, calc(100% - 96px)); padding-block: 42px; }
.hero-copy { width: 100%; max-width: 680px; }
.is-cinematic .hero .hero-inner { z-index: 3; }
.hero-grid, .hero-visual { display: none; }
.stat-strip { background: #0c1b2d; border-color: #9cebff25; margin-top: 25px; }
.stat-grid > div { border: 0; padding: 22px; }
.stat-grid strong { color: #c5f2ff; }

/* Player previews form a low horizontal rail, with room for the actual skins. */
.stage-board, .is-cinematic .stage-board { margin: 28px 0 10px; padding: 14px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; overflow: visible; }
.stage-board::before { display: none; }
.stage-board-head { align-items: center; margin-bottom: 18px; }
.stage-board-head > div:first-child { display: flex; align-items: center; gap: 15px; }
.stage-board-head h2 { font-size: 2rem; margin: 0; letter-spacing: -.04em; }
.board-season { color: #c0d8e8; border-color: #659eb25c; background: #102538; }
.stage-platforms { margin: 0; }
.stage-platforms small { font-size: .7rem; color: #adc7d7; }
.featured-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.featured-player { position: relative; min-height: 162px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px; border: 1px solid #5f8da84f; border-radius: 14px; background: linear-gradient(140deg, #16334b, #0b1b2e); overflow: hidden; }
.featured-player::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 5% 95%, #9cebff20, transparent 70%); pointer-events: none; }
.featured-player .featured-place { font-size: 1.2rem; color: #89a9bf; }
.featured-player .skin-preview, .featured-player .skin-render { position: absolute; left: 14px; bottom: 8px; width: 55px; height: 103px; }
.featured-player .skin-preview .skin { transform: scale(.7); left: 5px; top: 0; }
.featured-player strong { margin-top: 21px; position: relative; z-index: 1; max-width: calc(100% - 38px); font-size: .78rem; }
.featured-tier { margin-top: 9px; background: #9cebff16; padding: 3px 8px; }
.featured-arrow { position: absolute; left: 17px; top: 16px; }
.featured-1 { border-color: #9cebff9e; background: linear-gradient(140deg, #20506a, #102338); }
.stage-board .home-board-actions { justify-content: flex-end; border: 0; padding-top: 7px; margin-top: 5px; }
.leader-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.leader-card { min-height: 170px; display: grid; grid-template-columns: 1fr 60px; grid-template-rows: 40px 55px 30px; padding: 20px; border-radius: 14px; }
.leader-card .rank-number { position: static; grid-column: 1; grid-row: 1; }
.leader-card .player-skin-placeholder, .leader-card .player-skin-render { grid-column: 2; grid-row: 1 / 4; align-self: end; }
.leader-card h3 { grid-column: 1; grid-row: 2; align-self: end; font-size: .81rem; }
.leader-card .muted { grid-column: 1; grid-row: 3; justify-self: start; align-self: end; }

/* Section shapes differ to give the page a cinematic rhythm. */
.global-search { height: 56px; border-radius: 10px; margin-block: 29px; background: #0c1b2b; border-color: #43647e; }
.feature-banners { grid-template-columns: 1.18fr .82fr; gap: 20px; margin: 42px 0 70px; }
.feature-banner { min-height: 310px; padding: 38px; border-radius: 18px; box-shadow: 0 24px 60px #030c1d55; overflow: hidden; }
.banner-play { background: radial-gradient(ellipse at 2% 90%, #00a9dc55, transparent 54%), linear-gradient(125deg, #133d5f, #102239 65%); border-color: #78d9f18a; }
.feature-banner strong { font-size: clamp(1.8rem, 3.6vw, 3.15rem); line-height: 1.4; letter-spacing: -.05em; max-width: 95%; }
.feature-banner small { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: #cee8f5; font-size: .82rem; }
.feature-banner small span { font-size: inherit; }
.feature-banner small b { display: inline-block; margin: 0; }
.stage-board, .feature-banners, .rank-grid { scroll-margin-top: 110px; }
.banner-rank { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, #152e4b, #0c182c); border-color: #5f8baa88; }
.banner-rank strong { font-size: 1.9rem; max-width: 100%; }
.banner-kit-art { display: flex !important; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; direction: ltr; }
.banner-kit-art .mc-item { width: 67px; height: 67px; filter: drop-shadow(0 12px 15px #001126a6); }
.banner-kit-art .mc-item:nth-child(1) { transform: rotate(-14deg); }
.banner-kit-art .mc-item:nth-child(2) { width: 90px; height: 90px; }
.banner-kit-art .mc-item:nth-child(3) { transform: rotate(16deg); }
.feature-banner i { left: 28px; top: auto; bottom: 24px; font-size: 2.1rem; }
.content-section { margin-block: 40px; padding: 30px; border-radius: 18px; }
.section-head { margin-bottom: 22px; border: 0; }
.section-head h2 { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.match-card { min-height: 82px; border: 0; border-bottom: 1px solid #6589a53d; border-radius: 0; background: #0a172980; padding: 17px 20px; }
.match-card:last-child { border-bottom: 0; }
.match-list { gap: 0; }
.news-section { padding-inline: 0; margin-block: 65px; }
.news-grid { grid-template-columns: 1.15fr .85fr; gap: 22px; }
.news-card { padding: 22px; border-radius: 18px; background: #0e2136; }
.news-art { height: 230px; background: radial-gradient(ellipse at center, #1b6a88, #0a1b32 70%); border-radius: 12px; color: #b8eeff; }
.news-card h3 { font-size: 1.35rem; margin-top: 17px; }
.news-card p { line-height: 1.95; }
.join-panel, .cta-band { padding: 56px 30px; border-color: #7bc7df6b; background: radial-gradient(ellipse at 50% 160%, #226d99, transparent 65%), #0b1b2e; border-radius: 20px; }
.join-panel h2, .cta-band h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1.4; letter-spacing: -.055em; }
.join-panel .eyebrow { display: none; }
.section { padding: 82px 0; }
.section-alt { background: #0a1525; }
.section-top .eyebrow { display: none; }
.home .feature-grid { gap: 20px; }
.home .feature-card:first-child { min-height: 410px; background: radial-gradient(ellipse at 0% 80%, #146d9255, transparent 60%), #10273d; }
.home .feature-card .feature-icon { width: 84px; height: 84px; }
.home .feature-card .mc-item { width: 58px; height: 58px; }

/* Utility pages keep an immediate reading path and a consistent game identity. */
.page-title, .is-cinematic .page-title, .page-hero, .is-cinematic .page-hero {
  min-height: 255px; padding: 42px; border: 1px solid #7ebbd361; border-radius: 20px;
  background: linear-gradient(120deg, #10283d, #09172b 72%);
  box-shadow: inset 0 1px #c5efff17, 0 22px 60px #030b1d66;
}
.page-title h1, .page-hero h1 { font-size: clamp(2.7rem, 4.8vw, 4.6rem); margin: 17px 0 7px; line-height: 1.3; font-weight: 900; letter-spacing: -.055em; }
.page-title p, .page-hero p { color: #c6dce9; font-size: .95rem; max-width: 620px; }
.page-title::before { opacity: .06; font-size: 7rem; }
.page-hero { border-radius: 0; padding-inline: 0; }
.page-hero::after { display: none; }
.notice, .demo-label { color: #c1dfed; background: #103047; border-color: #77bfd765; }
.leaderboard-panel { padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #122a41, #0a172a 68%); }
.kit-tabs { gap: 9px; padding-bottom: 19px; }
.kit-tabs button { min-height: 81px; border-radius: 10px; background: #0c1e33; border-color: #4c718d; transition: background .2s, border-color .2s, transform .2s; }
.kit-tabs button.active { border-color: #9cebff; background: linear-gradient(135deg, #24586e, #163c52); box-shadow: inset 0 1px #d0f8ff26, 0 0 24px #00c7ff12; }
.kit-tabs .mc-item { width: 32px; height: 32px; }
.leader-tools { margin: 20px 0; }
.filter-search, .kit-select-label select { background: #091b2e; border-color: #4d7794; min-height: 47px; }
.leader-row { min-height: 96px; border-radius: 12px; margin-block: 9px; padding: 9px 18px; border-color: #517b9655; background: linear-gradient(105deg, #0a1b2e, #0e2439); }
.leader-row:nth-child(1) { border-color: #94e5f99c; background: linear-gradient(105deg, #0d2d42, #173950); }
.leader-row:nth-child(2), .leader-row:nth-child(3) { border-color: #76b9cf6e; }
.leader-row .leader-rank { color: #d1f5ff; background: #1d435c; border: 1px solid #6eb4cf; clip-path: none; border-radius: 8px; }
.leader-row:nth-child(1) .leader-rank { background: #9cebff; color: #0b2940; }
.leader-tier { padding: 6px 10px; border-color: #8dc6df; background: #14374c; }
.leader-player .skin-preview, .leader-player .skin-render { width: 47px; height: 82px; }
.leader-player .skin-preview .skin { transform: scale(.59); left: 5px; top: 2px; }
.leader-player strong { font-size: .9rem; }
.leader-region { color: #b2cddd; }
.leaderboard-table tbody tr { height: 96px; }
.profile, .commerce-panel, .product-layout, .server-list, .compare-panel, .prose { border-radius: 18px; background: linear-gradient(135deg, #10263d, #0b182a); }
.profile-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.profile-skin, .profile-mini { background: radial-gradient(ellipse at bottom, #23759755, #0a1c30); }
.profile-mini strong { font-size: 2.5rem; }
.rank-grid { gap: 22px; margin-block: 32px; }
.rank-card { border-radius: 18px; border-color: #58829d; background: #0d1d31; box-shadow: 0 24px 45px #020c1c77; }
.rank-card:nth-child(2) { border-color: #9cebff8f; box-shadow: 0 24px 55px #02749422; }
.rank-art { height: 210px; background: radial-gradient(ellipse at center, #2f7892, #102f49 66%, #0a1b2e); }
.rank-art strong { font-size: 5.5rem; text-shadow: 0 8px 25px #06182a99; }
.rank-art > span { color: #c5e8f5; }
.rank-body { padding: 27px; }
.rank-body h2 { font-size: 2.3rem; }
.rank-bottom { gap: 15px; }
.store-intro { padding: 35px; border-radius: 18px; }
.store-intro h2 { font-size: 2rem; }
.product-visual { background: radial-gradient(ellipse at center, #296783, #102b46 70%); border-radius: 14px; }
.product-visual strong { color: #e6faff; }
.kits-grid { gap: 20px; }
.kit-card { border-radius: 18px; padding: 28px; min-height: 250px; background: linear-gradient(130deg, #12334e, #0a182c); }
.kit-emblem { width: 77px; height: 77px; background: #143e55; border-color: #76c4df; }
.kit-emblem .mc-item { width: 46px; height: 46px; }
.kit-card h2 { font-size: 1.5rem; }
.server-feature, .server-join { background: linear-gradient(120deg, #10283d, #0c2138 72%); }
.server-card { background: #10283f66; }
.server-card h2 { font-size: 2.1rem; }
.site-footer { margin-top: 80px; background: radial-gradient(ellipse at 15% 45%, #1239577a, transparent 50%), #081422; border-top: 1px solid #71bcd24d; }
.footer-stage { padding-block: 70px; }
.footer-lead h2 { font-size: clamp(3rem, 5.5vw, 5rem); }
.footer-directory a { font-size: .82rem; padding-block: 8px; }
.footer-connect { border-radius: 9px; border-color: #86d0e887; }
.woocommerce ul.products li.product, .woocommerce form.checkout, .woocommerce .woocommerce-MyAccount-content, .woocommerce .woocommerce-MyAccount-navigation, .woocommerce-cart-form, .woocommerce .cart-collaterals .cart_totals { border-radius: 18px; background: #102338; }
.woocommerce .button { white-space: normal; }

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .featured-player:hover { transform: translateY(-6px); border-color: #bdefff; }
  .featured-player:hover .skin-preview .skin { transform: scale(.7) rotateY(-12deg); }
  .kit-tabs button:hover { transform: translateY(-3px); border-color: #9cebff; }
  .leader-row:hover { transform: translateX(-4px); background: #17384d; }
}
::view-transition-old(page-content) { animation: epic-leave .2s ease-in both; }
::view-transition-new(page-content) { animation: epic-enter .42s cubic-bezier(.16,.8,.2,1) both; }
@keyframes epic-leave { to { opacity: 0; transform: translateX(-14px) scale(.99); } }
@keyframes epic-enter { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

@media (max-width:1100px) {
  .wrap, .container { width: calc(100% - 40px); }
  .stage-copy { min-height: 480px; padding: 45px; }
  .stage-copy h1, .hero h1 { font-size: 4rem; }
  .stage-actions .button, .hero-actions .button { padding-inline: 14px; }
  .stage-board-head { flex-wrap: wrap; }
  .featured-player { padding: 16px 12px; }
  .featured-player strong { font-size: .72rem; }
  .stage-platforms small { display: none; }
  .leader-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width:900px) {
  .stage-copy h1, .hero h1 { font-size: 3.5rem; }
  .stage-board-head .stage-platforms { display: none; }
  .featured-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-player:nth-child(4), .featured-player:nth-child(5) { min-height: 140px; }
  .feature-banners { grid-template-columns: 1fr 1fr; }
  .feature-banner { padding: 26px; }
  .banner-kit-art { gap: 6px; }
  .banner-kit-art .mc-item { width: 48px; height: 48px; }
  .banner-kit-art .mc-item:nth-child(2) { width: 65px; height: 65px; }
  .hero .hero-inner { min-height: 480px; width: calc(100% - 60px); }
}
@media (max-width:650px) {
  .wrap, .container { width: calc(100% - 26px); }
  main { padding-top: 14px; }
  .stage-copy, .is-cinematic .stage-copy, .hero, .is-cinematic .hero { min-height: 430px; padding: 27px; border-radius: 17px; align-items: center; }
  .stage-copy > .stage-content, .is-cinematic .stage-copy > .stage-content, .hero-copy { width: 100%; padding-bottom: 0; }
  .stage-copy h1, .hero h1 { font-size: clamp(2.55rem, 10vw, 3.5rem); margin: 14px 0 15px; line-height: 1.3; }
  .stage-kicker, .live-pill { font-size: .63rem; letter-spacing: .13em; }
  .stage-content > p, .hero-lead { font-size: .89rem; line-height: 1.95; margin-bottom: 24px; }
  .stage-actions, .hero-actions { width: 100%; display: grid; gap: 10px; }
  .stage-actions .button, .hero-actions .button { width: 100%; min-height: 50px; padding-inline: 13px; }
  .hero { width: calc(100% - 26px); margin-top: 14px; padding: 0; }
  .hero .hero-inner { width: calc(100% - 54px); min-height: 430px; padding-block: 27px; align-items: center; }
  .stage-board { margin-top: 30px; }
  .stage-board-head > div:first-child { gap: 9px; }
  .stage-board-head h2 { font-size: 1.65rem; }
  .stage-board-head .text-link { font-size: .72rem; }
  .featured-list { grid-template-columns: 1fr; gap: 8px; }
  .featured-player, .featured-player:nth-child(4), .featured-player:nth-child(5) { min-height: 80px; display: grid; grid-template-columns: 27px 40px minmax(0, 1fr) 52px; align-items: center; gap: 9px; padding: 7px 12px; }
  .featured-player .skin-preview, .featured-player .skin-render { position: relative; left: auto; bottom: auto; width: 38px; height: 66px; }
  .featured-player .skin-preview .skin { transform: scale(.49); left: 5px; top: 1px; }
  .featured-player strong { margin: 0; max-width: 100%; font-size: .76rem; }
  .featured-tier { margin: 0; padding-inline: 5px; }
  .featured-arrow { display: none; }
  .featured-player .featured-place { font-size: 1rem; }
  .feature-banners { grid-template-columns: 1fr; gap: 16px; margin-block: 34px 42px; }
  .feature-banner { min-height: 240px; padding: 26px; border-radius: 16px; }
  .feature-banner strong { font-size: 2rem; }
  .banner-rank strong { font-size: 1.6rem; }
  .banner-kit-art { gap: 18px; margin-bottom: 15px; }
  .banner-kit-art .mc-item { width: 59px; height: 59px; }
  .banner-kit-art .mc-item:nth-child(2) { width: 76px; height: 76px; }
  .content-section { padding: 20px 14px; margin-block: 28px; }
  .section-head h2 { font-size: 1.6rem; }
  .match-card { padding: 15px 10px; gap: 9px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-section { padding-inline: 0; }
  .news-art { height: 180px; }
  .join-panel, .cta-band { padding: 35px 20px; }
  .join-panel h2 { font-size: 2.05rem; }
  .page-title, .is-cinematic .page-title { min-height: 225px; padding: 29px 24px; border-radius: 17px; }
  .page-title h1, .page-hero h1 { font-size: 2.55rem; }
  .page-title p, .page-hero p { font-size: .83rem; line-height: 1.9; }
  .leaderboard-panel { padding: 11px; }
  .leader-row { min-height: 84px; padding: 6px 8px; }
  .leader-player .skin-preview, .leader-player .skin-render { width: 34px; height: 66px; }
  .leader-player .skin-preview .skin { transform: scale(.47); left: 3px; top: 1px; }
  .leader-player strong { font-size: .72rem; }
  .leader-tier { padding: 4px 5px; }
  .rank-grid, .news-grid { gap: 18px; }
  .rank-art { height: 185px; }
  .rank-body { padding: 23px; }
  .rank-body h2 { font-size: 2rem; }
  .store-intro { padding: 25px; }
  .store-intro h2 { font-size: 1.5rem; }
  .server-card h2 { font-size: 1.8rem; }
  .site-footer { margin-top: 50px; }
  .footer-stage { padding-block: 47px; }
  .footer-lead h2 { font-size: 3rem; }
  .section { padding-block: 54px; }
  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 28px 40px minmax(0, 1fr) 60px; grid-template-rows: 1fr; min-height: 82px; padding: 10px; gap: 9px; }
  .leader-card .rank-number { grid-column: 1; grid-row: 1; }
  .leader-card .player-skin-placeholder, .leader-card .player-skin-render { grid-column: 2; grid-row: 1; }
  .leader-card h3 { grid-column: 3; grid-row: 1; align-self: center; }
  .leader-card .muted { grid-column: 4; grid-row: 1; align-self: center; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .banner-kit-art, .featured-player, .leader-row, .rank-card, .kit-card { transform: none !important; transition-duration: .01ms !important; }
  ::view-transition-old(page-content), ::view-transition-new(page-content) { animation-duration: .01ms !important; }
}
@media (prefers-reduced-transparency:reduce) {
  .site-header { background: #0a1c2e; backdrop-filter: none; }
}
