/*
Theme Name: Valo Mobile LFG
Theme URI: https://valomobile.gg
Author: ValoMobile
Description: Valorant Mobile player & team finder with listings, community chat, direct messages, tournaments and stats. Six languages (TR, EN, ES, PT, DE, RU). v3: premium animated esports redesign.
Version: 3.6.2
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valomobile
*/

/* =====================================================================
   1. TOKENS
   ===================================================================== */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root {
  --bg: #05060a; --bg2: #0a0c12; --panel: #0e1018;
  --surface: rgba(255,255,255,.04); --surface2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.08); --border2: rgba(255,255,255,.15);
  --accent: #ff4655; --accent2: #ff8a5c; --accent-soft: rgba(255,70,85,.14);
  --grad: linear-gradient(135deg, #ff4655 0%, #ff6a57 55%, #ff8a5c 100%);
  --text: #eef0f8; --muted: #7e88a6; --muted2: #aab2cc;
  --green: #3ddc84; --blue: #5cc8ff; --gold: #ffd166;
  --r: 20px; --r-sm: 13px; --r-lg: 28px;
  --nav-h: 66px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font-head: 'Oswald', 'Bahnschrift', 'Arial Narrow', 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
body { --nav-top: 12px; --main-top: calc(var(--nav-top) + var(--nav-h) + 20px); }
body.admin-bar { --nav-top: 44px; }
@media (max-width: 782px) { body.admin-bar { --nav-top: 58px; } }

/* =====================================================================
   2. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; line-height: 1.58; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.vm-lock { overflow: hidden; }
body::after { content: ''; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { max-width: 100%; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(255,70,85,.4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: rgba(255,70,85,.5); background-clip: padding-box; border: 2px solid transparent; }
.vm-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.vm-skip:focus { left: 8px; }
.vm-muted { color: var(--muted); font-size: 13px; }
.vm-ic { width: 16px; height: 16px; vertical-align: -3px; flex-shrink: 0; }
.vm-rk { width: 20px; height: 20px; vertical-align: -5px; flex-shrink: 0; }
.vm-empty-ic { width: 30px; height: 30px; display: block; margin: 0 auto 10px; color: var(--accent); }

/* ambient background */
.vm-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.vm-ambient i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.vm-ambient i:nth-child(1) { width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(255,70,85,.34), transparent 70%); animation: vmdrift1 22s ease-in-out infinite alternate; }
.vm-ambient i:nth-child(2) { width: 560px; height: 560px; left: -200px; top: 38%; background: radial-gradient(circle, rgba(92,200,255,.16), transparent 70%); animation: vmdrift2 26s ease-in-out infinite alternate; }
.vm-ambient i:nth-child(3) { width: 520px; height: 520px; right: 10%; bottom: -220px; background: radial-gradient(circle, rgba(255,138,92,.16), transparent 70%); animation: vmdrift1 30s ease-in-out infinite alternate-reverse; }
@keyframes vmdrift1 { to { transform: translate3d(-90px, 70px, 0) scale(1.15); } }
@keyframes vmdrift2 { to { transform: translate3d(110px, -60px, 0) scale(1.1); } }
.vm-cursor { position: fixed; left: 0; top: 0; width: 520px; height: 520px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255,70,85,.09), transparent 62%); opacity: 0; transition: opacity .6s; will-change: transform; }
.vm-cursor.on { opacity: 1; }

/* scroll progress */
.vm-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 500; pointer-events: none; }
.vm-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px rgba(255,70,85,.8); }

/* =====================================================================
   3. NAV
   ===================================================================== */
#vm-nav { position: fixed; top: var(--nav-top); left: 12px; right: 12px; margin: 0 auto; max-width: 1240px; z-index: 200; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 0 20px; background: rgba(12,14,21,.55); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.3); transition: background .3s, box-shadow .3s, border-color .3s, top .3s var(--ease); animation: vmnav .8s var(--ease) both; }
@keyframes vmnav { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
body.vm-scrolled #vm-nav { background: rgba(9,10,16,.86); border-color: var(--border2); box-shadow: 0 16px 50px rgba(0,0,0,.55); }
.vm-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.vm-logo svg { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(255,70,85,.55)); transition: transform .5s var(--ease); }
.vm-logo:hover svg { transform: rotate(180deg) scale(1.08); }
.vm-logo svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: vmdraw 1.1s .25s var(--ease) forwards; }
.vm-logo svg path + path { animation-delay: .5s; }
@keyframes vmdraw { to { stroke-dashoffset: 0; } }
.vm-logo-text .valo { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1.5px; display: block; line-height: 1.05; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.vm-logo-text .mobile-label { font-family: var(--font-head); font-size: 10px; font-weight: 500; color: var(--accent); letter-spacing: 3.2px; display: block; }
.vm-nav-links { display: flex; align-items: center; gap: 2px; }
.vm-nav-link { position: relative; padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted2); text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .2s, background .2s; white-space: nowrap; }
.vm-nav-ic { width: 16px; height: 16px; opacity: .8; }
.vm-nav-link:hover { color: #fff; background: var(--surface2); }
.vm-nav-link.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.38), 0 0 24px rgba(255,70,85,.14); }
.vm-nav-link.active .vm-nav-ic { color: var(--accent); opacity: 1; }
.vm-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; box-shadow: 0 0 12px rgba(255,70,85,.6); }
.vm-nav-right { display: flex; align-items: center; gap: 8px; }
.vm-lang { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 10px; font-size: 13px; color: var(--muted2); }
.vm-lang option, .vm-search-select option, .vm-form-select option { background: #12141d; color: #fff; }
.vm-me { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted2); }
.vm-me-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-btn { position: relative; overflow: hidden; padding: 10px 19px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 0; text-decoration: none; display: inline-block; transition: transform .2s var(--ease), box-shadow .25s, background .2s; white-space: nowrap; }
.vm-btn:hover { transform: translateY(-2px); }
.vm-btn:active { transform: translateY(0) scale(.97); }
.vm-btn-login { background: var(--surface2); color: #fff; border: 1px solid var(--border2); }
.vm-btn-login:hover { background: rgba(255,255,255,.12); }
.vm-btn-register { background: var(--grad); color: #fff; box-shadow: 0 6px 22px rgba(255,70,85,.32); }
.vm-btn-register:hover { box-shadow: 0 10px 32px rgba(255,70,85,.5); }
.vm-btn-register::after, .vm-btn-hero.primary::after, .vm-btn-search::after, .vm-btn-tourn::after, .vm-modal-btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none; }
.vm-btn-register:hover::after, .vm-btn-hero.primary:hover::after, .vm-btn-search:hover::after, .vm-btn-tourn:hover::after, .vm-modal-btn.primary:hover::after { left: 130%; }
.vm-burger { display: none; width: 42px; height: 42px; background: var(--surface2); border: 1px solid var(--border); border-radius: 13px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.vm-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 1px; transition: transform .3s var(--ease), opacity .2s; }
.vm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.vm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#vm-main { padding-top: var(--main-top); min-height: 100vh; }
.vm-page { display: none; }
.vm-page.active { display: block; animation: vmpage .6s var(--ease) both; }
@keyframes vmpage { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vm-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px 80px; }
.vm-empty { text-align: center; padding: 60px 16px; color: var(--muted); font-size: 14px; border: 1px dashed var(--border2); border-radius: var(--r); background: var(--surface); }
.vm-empty-s { color: var(--muted); font-size: 13px; padding: 16px; }
.vm-h2 { font-family: var(--font-head); font-size: 26px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 34px 0 16px; color: #fff; display: flex; align-items: center; gap: 12px; }
.vm-h2::before { content: ''; width: 4px; height: 22px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 14px rgba(255,70,85,.7); }

/* =====================================================================
   4. REVEAL SYSTEM (enabled only when fx.js is active)
   ===================================================================== */
.fx [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(34px) scale(.985); }
.fx [data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .25s, background .25s, box-shadow .3s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s; }
.fx [data-reveal].is-in { transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s; }
.fx .vm-role-card[data-reveal].is-in:hover, .fx .vm-pcard[data-reveal].is-in:hover { transition-delay: 0s; }
.fx-pop { animation: vmpop .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes vmpop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

/* spotlight (mouse-follow glow) shared by cards */
[data-spot], .vm-pcard, .vm-tourn, .vm-stat-card, .vm-stat-group, .vm-section-card, .vm-tournament-card, .vm-step { position: relative; isolation: isolate; }
[data-spot]::before, .vm-pcard::before, .vm-tourn::before, .vm-stat-card::before, .vm-stat-group::before, .vm-section-card::before, .vm-tournament-card::before, .vm-step::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,70,85,.16), transparent 60%); }
[data-spot]:hover::before, .vm-pcard:hover::before, .vm-tourn:hover::before, .vm-stat-card:hover::before, .vm-stat-group:hover::before, .vm-section-card:hover::before, .vm-tournament-card:hover::before, .vm-step:hover::before { opacity: 1; }

/* =====================================================================
   5. AVATARS & DOTS
   ===================================================================== */
.vm-av { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 70% 30%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px hsla(var(--h), 70%, 40%, .35); }
.vm-av-sm { width: 30px; height: 30px; font-size: 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.vm-av-md { width: 56px; height: 56px; font-size: 23px; }
.vm-av-lg { width: 70px; height: 70px; font-size: 30px; border-radius: 22px; }
.vm-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); border: 2px solid var(--bg2); }
.vm-dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: vmping 2s infinite; }
@keyframes vmping { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.vm-pcard-av { position: relative; display: inline-flex; flex-shrink: 0; }
.vm-pcard-av .vm-dot { position: absolute; right: -3px; bottom: -3px; }

/* =====================================================================
   6. HERO
   ===================================================================== */
#vm-hero { --px: 0; --py: 0; position: relative; overflow: hidden; width: min(1240px, calc(100% - 24px)); margin: 0 auto; min-height: 600px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 64px 64px 112px; border-radius: 32px; background: linear-gradient(135deg, rgba(255,70,85,.10), rgba(12,14,21,.55) 48%, rgba(92,200,255,.05)); border: 1px solid var(--border); }
#vm-hero::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3; background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255,70,85,.9) 78%, rgba(255,138,92,.9) 84%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: vmspin 7s linear infinite; }
@keyframes vmspin { to { --ang: 360deg; } }
.vm-hero-bg { position: absolute; inset: 0; background: radial-gradient(560px 420px at 76% 46%, rgba(255,70,85,.30), transparent 70%), radial-gradient(420px 300px at 8% 100%, rgba(255,138,92,.12), transparent 70%); animation: vmbreathe 8s ease-in-out infinite alternate; }
@keyframes vmbreathe { to { opacity: .72; transform: scale(1.06); } }
.vm-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.vm-hero-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%); }
.vm-hero-content { position: relative; z-index: 2; max-width: 660px; }
.vm-hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.06); border: 1px solid var(--border2); border-radius: 999px; padding: 7px 16px 7px 13px; margin-bottom: 26px; backdrop-filter: blur(8px); }
.vm-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: vmping 2s infinite; box-shadow: 0 0 10px var(--green); }
.vm-hero-badge span { font-size: 12px; font-weight: 600; color: var(--muted2); letter-spacing: .03em; }
#vm-hero h1 { font-family: var(--font-head); font-size: clamp(38px, 5.2vw, 72px); font-weight: 700; line-height: 1; letter-spacing: .005em; text-transform: uppercase; color: #fff; text-shadow: 0 6px 40px rgba(255,70,85,.18); perspective: 800px; }
#vm-hero h1 span { display: block; }
.vm-w { display: inline-block; transform-origin: 50% 100%; }
.fx .vm-w { opacity: 0; animation: vmword .9s var(--ease) forwards; animation-delay: calc(var(--w) * 80ms + 180ms); }
@keyframes vmword { from { opacity: 0; transform: translateY(.55em) rotateX(-55deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.vm-w-acc { background: linear-gradient(100deg, #ff4655, #ff8a5c, #ffd166, #ff4655); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation-name: vmword, vmshimmer !important; animation-duration: .9s, 5s !important; animation-iteration-count: 1, infinite !important; animation-timing-function: var(--ease), linear !important; animation-fill-mode: forwards, none !important; }
@keyframes vmshimmer { to { background-position: 250% 0; } }
#vm-hero p { font-size: 17.5px; color: var(--muted2); line-height: 1.7; margin: 24px 0 34px; max-width: 490px; }
.vm-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.vm-btn-hero { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s, background .2s; }
.vm-btn-hero .vm-ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.vm-btn-hero:hover .vm-ic { transform: translateX(5px); }
.vm-btn-hero.primary { background: var(--grad); color: #fff; box-shadow: 0 12px 38px rgba(255,70,85,.42); animation: vmglow 3.2s ease-in-out infinite; }
.vm-btn-hero.primary:hover { box-shadow: 0 16px 48px rgba(255,70,85,.62); }
@keyframes vmglow { 50% { box-shadow: 0 14px 52px rgba(255,70,85,.62); } }
.vm-btn-hero.ghost { color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--border2); backdrop-filter: blur(8px); }
.vm-btn-hero.ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.vm-hero-stats { list-style: none; display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.vm-hero-stats li { position: relative; display: flex; flex-direction: column; padding: 14px 20px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 18px; min-width: 118px; backdrop-filter: blur(10px); transition: transform .3s var(--ease), border-color .3s; }
.vm-hero-stats li:hover { transform: translateY(-4px); border-color: rgba(255,70,85,.45); }
.vm-hero-stats li::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(.25); transform-origin: left; transition: transform .4s var(--ease); }
.vm-hero-stats li:hover::after { transform: scaleX(1); }
.vm-hero-stats strong { font-family: var(--font-head); font-size: 32px; font-weight: 600; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vm-hero-stats span { font-size: 12px; color: var(--muted); }
.vm-hero-content > :not(h1) { animation: vmrise .8s var(--ease) both; }
.vm-hero-content > :nth-child(1) { animation-delay: .05s; } .vm-hero-content > :nth-child(3) { animation-delay: .45s; } .vm-hero-content > :nth-child(4) { animation-delay: .55s; } .vm-hero-content > :nth-child(5) { animation-delay: .7s; }
@keyframes vmrise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* hero art: phone + rings + floating chips */
.vm-hero-art { position: relative; z-index: 1; flex: 0 1 470px; aspect-ratio: 1; animation: vmrise 1s .3s var(--ease) both; }
.vm-hero-phone { position: absolute; inset: 0; transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -12px - var(--sy, 0px) * .06), 0); transition: transform .25s ease-out; }
.vm-hero-phone img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(255,70,85,.32)); animation: vmfloat 7s ease-in-out infinite; }
@keyframes vmfloat { 50% { transform: translateY(-16px) rotate(.8deg); } }
.vm-hero-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); translate: -50% -50%; pointer-events: none; }
.vm-hero-ring.r1 { width: 92%; aspect-ratio: 1; animation: vmrot 40s linear infinite; }
.vm-hero-ring.r2 { width: 118%; aspect-ratio: 1; border-color: rgba(255,70,85,.2); animation: vmrot 60s linear infinite reverse; }
.vm-hero-ring.r1::after, .vm-hero-ring.r2::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 3px rgba(255,70,85,.8); }
@keyframes vmrot { to { transform: rotate(360deg); } }
.vm-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: rgba(14,16,24,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border2); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.45); animation: vmbob 6s ease-in-out infinite; transform: translate3d(calc(var(--px) * 22px), calc(var(--py) * 18px), 0); }
.vm-float .vm-rk { width: 26px; height: 26px; }
.vm-float span { display: flex; flex-direction: column; line-height: 1.2; }
.vm-float b { font-size: 13px; font-weight: 700; color: #fff; }
.vm-float small { font-size: 11px; color: var(--muted); }
.vm-float.f1 { left: -9%; top: 16%; animation-delay: -1s; }
.vm-float.f2 { right: -4%; top: 42%; animation-delay: -3s; }
.vm-float.f3 { left: 2%; bottom: 10%; animation-delay: -5s; }
@keyframes vmbob { 50% { margin-top: -12px; } }
.vm-scroll-cue { position: absolute; left: 50%; bottom: 74px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(255,255,255,.28); border-radius: 14px; z-index: 2; }
.vm-scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: vmwheel 1.8s infinite; }
@keyframes vmwheel { 0% { opacity: 1; transform: translateY(0); } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   7. SEARCH PANEL
   ===================================================================== */
#vm-search { position: relative; z-index: 10; width: min(1000px, calc(100% - 32px)); margin: 26px auto 0; padding: 16px 18px 18px; background: rgba(14,16,24,.78); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--border2); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset; animation: vmrise 1s .6s var(--ease) both; }
#vm-search::before { content: ''; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .9; }
.vm-search-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 999px; width: fit-content; max-width: 100%; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.vm-s-tab { padding: 8px 17px; font-size: 13px; font-weight: 600; color: var(--muted2); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.vm-s-tab:hover { color: #fff; }
.vm-s-tab.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.4); }
.vm-search-box { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.vm-search-field { flex: 1; min-width: 130px; }
.vm-search-field label { font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vm-search-select, .vm-form-select, .vm-form-input { width: 100%; padding: 13px 15px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: 14px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.vm-search-select:hover, .vm-form-select:hover, .vm-form-input:hover { border-color: var(--border2); }
.vm-search-select:focus, .vm-form-select:focus, .vm-form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,70,85,.14); background: rgba(255,255,255,.07); }
.vm-form-input::placeholder, .vm-chat-inputs textarea::placeholder { color: #5d6684; }
.vm-search-select, .vm-form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237f89a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 36px; }
.vm-btn-search { position: relative; overflow: hidden; padding: 14px 34px; background: var(--grad); color: #fff; border: 0; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; flex-shrink: 0; box-shadow: 0 10px 28px rgba(255,70,85,.36); transition: box-shadow .25s, transform .2s var(--ease); }
.vm-btn-search:hover { box-shadow: 0 14px 38px rgba(255,70,85,.56); }

/* =====================================================================
   8. MARQUEE
   ===================================================================== */
.vm-marquee { overflow: hidden; margin: 48px 0 0; padding: 18px 0; border-block: 1px solid var(--border); background: linear-gradient(90deg, transparent, rgba(255,255,255,.025), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.vm-marquee-track { display: flex; align-items: center; gap: 28px; padding-right: 28px; width: max-content; animation: vmmarq 46s linear infinite; }
.vm-marquee:hover .vm-marquee-track { animation-play-state: paused; }
.vm-mq-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 22px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); white-space: nowrap; transition: color .25s; }
.vm-mq-item:hover { color: #fff; }
.vm-mq-item .vm-rk { width: 26px; height: 26px; }
.vm-mq-sep { width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); opacity: .7; flex-shrink: 0; }
@keyframes vmmarq { to { transform: translateX(-25%); } }

/* =====================================================================
   9. FEATURES / ROLES / STEPS
   ===================================================================== */
#vm-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 56px auto 0; padding: 0 20px; }
.vm-feature { padding: 24px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .3s, background .3s, transform .35s var(--ease); }
.vm-feature:hover { border-color: rgba(255,70,85,.4); background: var(--surface2); transform: translateY(-6px); }
.vm-feature-icon { width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: linear-gradient(135deg, rgba(255,70,85,.2), rgba(255,138,92,.08)); box-shadow: inset 0 0 0 1px rgba(255,70,85,.3); transition: transform .4s var(--ease), box-shadow .3s; }
.vm-feature-icon .vm-ic { width: 24px; height: 24px; }
.vm-feature:hover .vm-feature-icon { transform: rotate(-8deg) scale(1.1); box-shadow: inset 0 0 0 1px rgba(255,70,85,.5), 0 0 28px rgba(255,70,85,.35); }
.vm-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: #fff; }
.vm-feature p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.vm-roles, .vm-how { max-width: 1100px; margin: 0 auto; padding: 84px 20px 8px; }
.vm-section-head2 h2 { font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #fff; line-height: 1.05; }
.vm-section-head2 h2::after { content: ''; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 18px rgba(255,70,85,.6); }
.vm-section-head2 p { color: var(--muted); font-size: 15.5px; margin: 14px 0 28px; }
.vm-role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1100px; }
.vm-role-card { --rx: 0deg; --ry: 0deg; position: relative; display: block; padding: 0; text-align: left; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--panel); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s, transform .5s var(--ease); }
.vm-role-card.tilting { transition: border-color .3s, box-shadow .3s, transform .08s linear; }
.fx .vm-role-card[data-reveal].is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.vm-role-card:hover { border-color: rgba(255,70,85,.6); box-shadow: 0 26px 60px rgba(0,0,0,.55), 0 0 40px rgba(255,70,85,.18); }
.vm-role-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.vm-role-card:hover img { transform: scale(1.12) rotate(1.5deg); }
.vm-role-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 60%); }
.vm-role-card.tilting::after { opacity: 1; }
.vm-role-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 18px; background: linear-gradient(to top, rgba(5,6,10,.95), rgba(5,6,10,0)); transform: translateZ(30px); }
.vm-role-info strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.vm-role-info strong .vm-ic { width: 20px; height: 20px; color: var(--accent); }
.vm-role-info span { font-size: 12.5px; color: var(--muted2); }

.vm-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; counter-reset: s; }
.vm-steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 52px; border-top: 2px dashed rgba(255,70,85,.3); z-index: 0; }
.vm-steps::after { content: ''; position: absolute; top: 47px; left: 8%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px 4px rgba(255,70,85,.7); animation: vmtravel 5s var(--ease) infinite; z-index: 0; }
@keyframes vmtravel { 0% { left: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(92% - 10px); opacity: 0; } }
.vm-step { position: relative; z-index: 1; padding: 30px 26px 28px; background: rgba(14,16,24,.82); border: 1px solid var(--border); border-radius: var(--r); transition: transform .35s var(--ease), border-color .3s; }
.vm-step:hover { transform: translateY(-6px); border-color: rgba(255,70,85,.45); }
.vm-step-n { display: inline-block; font-family: var(--font-head); font-size: 58px; font-weight: 700; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,70,85,.8); text-shadow: 0 0 30px rgba(255,70,85,.25); transition: color .3s; }
.vm-step:hover .vm-step-n { color: rgba(255,70,85,.18); }
.vm-step h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.vm-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* =====================================================================
   10. HOME BOTTOM + CTA
   ===================================================================== */
#vm-bottom { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 350px; gap: 16px; padding: 70px 20px 24px; }
.vm-section-card, .vm-tournament-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color .3s; }
.vm-section-card:hover, .vm-tournament-card:hover { border-color: var(--border2); }
.vm-section-head { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.vm-section-title { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vm-section-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); animation: vmping 2s infinite; box-shadow: 0 0 12px var(--accent); }
.vm-see-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--accent2); }
.vm-see-all .vm-ic { transition: transform .3s var(--ease); }
.vm-see-all:hover .vm-ic { transform: translateX(5px); }
.vm-players-row { display: flex; gap: 8px; padding: 18px; overflow-x: auto; scrollbar-width: thin; }
.vm-player-mini { background: none; border: 1px solid transparent; text-align: center; min-width: 100px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 8px; border-radius: var(--r-sm); transition: background .2s, border-color .2s, transform .3s var(--ease); }
.vm-player-mini:hover { background: var(--surface2); border-color: rgba(255,70,85,.35); transform: translateY(-5px); }
.vm-mini-name { font-size: 13px; font-weight: 600; color: #fff; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-mini-rank { font-size: 12px; color: var(--muted2); display: inline-flex; align-items: center; gap: 3px; }
.vm-tournament-top { overflow: hidden; }
.vm-tournament-top img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.vm-tournament-card:hover .vm-tournament-top img { transform: scale(1.08); }
.vm-tournament-info { padding: 20px 24px 24px; }
.vm-tournament-info h3 { font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.vm-tournament-info p { font-size: 13.5px; color: var(--muted2); margin-bottom: 18px; }
.vm-btn-tourn { position: relative; overflow: hidden; display: inline-block; padding: 12px 22px; background: var(--grad); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(255,70,85,.32); transition: transform .2s var(--ease), box-shadow .25s; }
.vm-btn-tourn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255,70,85,.5); }

.vm-cta { position: relative; overflow: hidden; max-width: 1060px; margin: 50px auto 70px; padding: 70px 28px; text-align: center; border-radius: 34px; border: 1px solid rgba(255,70,85,.3); background: linear-gradient(135deg, rgba(255,70,85,.18), rgba(14,16,24,.85) 55%, rgba(255,138,92,.12)); width: calc(100% - 40px); }
.vm-cta-glow { position: absolute; left: 50%; top: -40%; width: 620px; height: 420px; margin-left: -310px; border-radius: 50%; background: radial-gradient(circle, rgba(255,70,85,.45), transparent 70%); filter: blur(30px); animation: vmbreathe 6s ease-in-out infinite alternate; pointer-events: none; }
.vm-cta::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.vm-cta h2 { position: relative; font-family: var(--font-head); font-size: clamp(34px, 6vw, 64px); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.vm-cta p { position: relative; max-width: 520px; margin: 16px auto 30px; color: var(--muted2); font-size: 16.5px; }
.vm-cta .vm-btn-hero { position: relative; }

/* =====================================================================
   11. LISTINGS
   ===================================================================== */
.vm-page-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.vm-page-title { font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; line-height: 1; }
.vm-page-title::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 16px rgba(255,70,85,.6); }
.vm-ptabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.vm-ptabs a { padding: 10px 19px; font-size: 13.5px; font-weight: 600; color: var(--muted2); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.vm-ptabs a:hover { color: #fff; }
.vm-ptabs a.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.4); }
.vm-filterbar { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 8px; margin-bottom: 20px; padding: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.vm-filterbar .vm-form-input, .vm-filterbar .vm-form-select { background-color: rgba(0,0,0,.25); }
.vm-chip-check { position: relative; }
.vm-chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.vm-chip-check > span { display: inline-flex; align-items: center; gap: 6px; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: rgba(0,0,0,.25); font-size: 14px; color: var(--muted2); cursor: pointer; white-space: nowrap; transition: all .2s; }
.vm-chip-check > span:hover { border-color: var(--border2); }
.vm-chip-check input:checked + span { border-color: rgba(255,70,85,.65); color: #fff; background: var(--accent-soft); box-shadow: 0 0 18px rgba(255,70,85,.18); }
.vm-chip-check input:focus-visible + span { outline: 2px solid var(--blue); }
.vm-players-grid { display: grid; gap: 12px; }
.vm-pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; overflow: hidden; transition: border-color .25s, transform .35s var(--ease), background .25s, box-shadow .3s; }
.vm-pcard::after { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); transform: scaleY(0); transition: transform .35s var(--ease); box-shadow: 0 0 14px var(--accent); }
.vm-pcard:hover { border-color: rgba(255,70,85,.4); background: var(--surface2); transform: translateY(-3px) translateX(3px); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.vm-pcard:hover::after { transform: scaleY(1); }
.vm-pcard:hover .vm-av { transform: scale(1.06) rotate(-3deg); }
.vm-av { transition: transform .35s var(--ease); }
.vm-pcard-info { flex: 1; min-width: 0; }
.vm-pcard-name { font-weight: 700; font-size: 16px; margin-bottom: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-you { font-style: normal; font-size: 11px; color: var(--gold); margin-left: 6px; font-weight: 600; }
.vm-pcard-act { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: -3px 0 7px; }
.vm-pcard-act::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.vm-pcard-act.on { color: var(--green); }
.vm-pcard-act.on::before { background: var(--green); box-shadow: 0 0 8px rgba(61,220,132,.7); }
.vm-toggle { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted2); cursor: pointer; }
.vm-toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.vm-pcard-tags, .vm-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.vm-ptag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 11px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--border); color: var(--muted2); font-weight: 500; }
.vm-ptag.mic.on { color: var(--green); background: rgba(61,220,132,.1); border-color: rgba(61,220,132,.28); }
.vm-pcard-note { font-size: 13px; color: var(--muted); margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-pcard-right { text-align: right; flex-shrink: 0; }
.vm-kd { font-family: var(--font-head); font-size: 30px; font-weight: 600; display: block; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vm-kd-label { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.vm-connect-btn { display: block; margin-top: 9px; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 0; background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(255,70,85,.3); transition: transform .2s var(--ease), box-shadow .2s; }
.vm-connect-btn:hover { transform: scale(1.06); box-shadow: 0 10px 26px rgba(255,70,85,.5); }
.vm-page-nav { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.vm-page-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--muted2); font-weight: 600; transition: all .2s var(--ease); }
.vm-page-btn:hover { transform: translateY(-2px); }
.vm-page-btn.active, .vm-page-btn:hover { border-color: rgba(255,70,85,.6); color: #fff; background: var(--accent-soft); }

/* =====================================================================
   12. MODALS
   ===================================================================== */
.vm-modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(3,4,7,.74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; overflow-y: auto; }
.vm-modal-overlay.open { opacity: 1; pointer-events: auto; }
.vm-modal { position: relative; background: linear-gradient(180deg, rgba(20,23,34,.98), rgba(12,14,21,.98)); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 28px; width: 100%; max-width: 450px; margin: auto; transform: translateY(30px) scale(.94); opacity: 0; transition: transform .45s cubic-bezier(.2,1.1,.3,1), opacity .3s; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 60px rgba(255,70,85,.08); }
.vm-modal::before { content: ''; position: absolute; left: 14%; right: 14%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.vm-modal-overlay.open .vm-modal { transform: none; opacity: 1; }
.vm-modal-lg { max-width: 580px; }
.vm-modal-sm { max-width: 350px; }
.vm-modal-title { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px; color: #fff; }
.vm-form-row { margin-bottom: 14px; }
.vm-form-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2); margin-bottom: 7px; }
.vm-hint { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.vm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.vm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted2); margin: 6px 0 4px; }
.vm-check input { margin-top: 3px; accent-color: var(--accent); }
.vm-modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.vm-modal-btn { position: relative; overflow: hidden; flex: 1; padding: 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; border: 0; transition: transform .2s var(--ease), opacity .2s, box-shadow .25s; }
.vm-modal-btn:hover { transform: translateY(-2px); }
.vm-modal-btn:disabled { opacity: .5; cursor: wait; }
.vm-modal-btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(255,70,85,.34); }
.vm-modal-btn.primary:hover { box-shadow: 0 14px 36px rgba(255,70,85,.52); }
.vm-modal-btn.ghost { background: var(--surface2); color: var(--muted2); border: 1px solid var(--border); }
.vm-modal-btn.danger { background: rgba(255,70,85,.12); color: #ff8a95; border: 1px solid rgba(255,70,85,.4); }
.vm-full { width: 100%; margin-top: 12px; }
.vm-modal-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.vm-detail-header { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.vm-detail-name { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: .03em; color: #fff; word-break: break-word; line-height: 1.1; }
.vm-note-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; font-size: 14px; margin-top: 14px; word-break: break-word; }
.vm-discord-box { background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.35); border-radius: var(--r-sm); padding: 12px 16px; margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.vm-discord-box small { display: block; color: var(--muted); font-size: 11px; }
.vm-detail-actions { display: flex; gap: 10px; margin-top: 16px; }
.vm-detail-actions:empty { display: none; }
.vm-action-list { display: grid; gap: 8px; margin-bottom: 4px; }

/* =====================================================================
   13. CHAT
   ===================================================================== */
.vm-page-chat.active { height: calc(100vh - var(--main-top)); height: calc(100dvh - var(--main-top)); padding: 0 16px 16px; }
body.vm-on-chat #vm-footer { display: none; }
.vm-chat { display: grid; grid-template-columns: 320px 1fr; height: 100%; max-width: 1200px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: rgba(10,12,18,.82); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vm-chat-side { display: flex; flex-direction: column; border-right: 1px solid var(--border); background: rgba(255,255,255,.02); min-height: 0; }
.vm-chat-tabs { display: flex; gap: 4px; padding: 12px; }
.vm-chat-tabs button { flex: 1; padding: 10px 8px; background: none; border: 0; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all .2s; }
.vm-chat-tabs button:hover { color: #fff; }
.vm-chat-tabs button.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.4); }
.vm-chat-search { padding: 0 12px 10px; border-bottom: 1px solid var(--border); }
.vm-chat-search .vm-form-input { border-radius: 999px; padding: 11px 17px; }
.vm-user-results { max-height: 200px; overflow-y: auto; margin-top: 6px; }
.vm-user-results h4 { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px 2px; }
.vm-user-results .vm-chat-item { padding: 7px 10px; }
.vm-chat-list { flex: 1; overflow-y: auto; padding: 6px 10px 10px; }
.vm-chat-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px; border: 0; border-radius: 15px; background: none; text-align: left; color: var(--text); transition: background .2s, transform .25s var(--ease); }
.vm-chat-item:hover { background: var(--surface2); transform: translateX(3px); }
.vm-chat-item.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.vm-chat-item-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.vm-chat-item-t small { color: var(--muted); font-size: 12px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-chat-item-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.vm-chat-item-r small { font-size: 11px; color: var(--muted); }
.vm-room-ic { width: 38px; height: 38px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface2); color: var(--muted2); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.vm-room-ic.lang { font-size: 12px; color: var(--blue); }
.vm-chat-online { padding: 13px 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted2); display: flex; align-items: center; gap: 8px; }
.vm-blocked { margin-top: 16px; padding: 10px; border-top: 1px solid var(--border); }
.vm-blocked h4 { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.vm-blocked-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }
.vm-link { background: none; border: 0; color: var(--accent); font-size: 13px; text-decoration: underline; }
.vm-chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(255,70,85,.06), transparent 70%); }
.vm-chat-head { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.vm-chat-back { display: none; width: 38px; height: 38px; background: var(--surface2); border: 0; border-radius: 12px; color: #fff; }
.vm-chat-back .vm-ic { width: 20px; height: 20px; }
.vm-chat-titles { flex: 1; min-width: 0; }
.vm-chat-title { font-family: var(--font-head); font-size: 21px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-chat-sub { font-size: 12px; color: var(--muted); }
.vm-chat-more { width: 38px; height: 38px; background: none; border: 0; font-size: 22px; color: var(--muted2); border-radius: 12px; }
.vm-chat-more:hover { background: var(--surface2); }
.vm-chat-msgs { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; overscroll-behavior: contain; }
.vm-chat-empty { margin: auto; text-align: center; color: var(--muted); font-size: 14px; padding: 24px; }
.vm-day { text-align: center; margin: 14px 0 6px; }
.vm-day span { font-size: 11px; color: var(--muted); background: var(--surface2); padding: 4px 12px; border-radius: 999px; }
.vm-msg { display: flex; gap: 8px; max-width: 100%; animation: vmmsg .35s var(--ease) both; }
@keyframes vmmsg { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.vm-msg.me { justify-content: flex-end; }
.vm-msg:not(.grp) { margin-top: 10px; }
.vm-msg-av { width: 30px; flex-shrink: 0; }
.vm-msg-b { max-width: min(78%, 560px); background: var(--surface2); border: 1px solid var(--border); border-radius: 18px 18px 18px 6px; padding: 9px 14px; position: relative; }
.vm-msg.them.grp .vm-msg-b { border-top-left-radius: 6px; }
.vm-msg.them .vm-msg-b { cursor: pointer; transition: background .2s; }
.vm-msg.them .vm-msg-b:hover { background: rgba(255,255,255,.11); }
.vm-msg.me .vm-msg-b { background: var(--grad); border-color: transparent; color: #fff; border-radius: 18px 18px 6px 18px; box-shadow: 0 8px 22px rgba(255,70,85,.26); }
.vm-msg-meta b { font-size: 12px; color: var(--blue); font-weight: 600; }
.vm-msg-t { font-size: 14.5px; word-break: break-word; overflow-wrap: anywhere; }
.vm-msg-b time { display: block; font-size: 10px; opacity: .55; text-align: right; margin-top: 2px; }
.vm-chat-form { border-top: 1px solid var(--border); padding: 12px 16px 10px; background: rgba(255,255,255,.02); }
.vm-chat-inputs { display: flex; align-items: flex-end; gap: 8px; }
.vm-chat-inputs textarea { flex: 1; resize: none; max-height: 120px; padding: 12px 18px; border-radius: 24px; border: 1px solid var(--border); background: rgba(255,255,255,.045); font-size: 15px; outline: none; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.vm-chat-inputs textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,70,85,.14); }
.vm-emoji-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; font-size: 21px; transition: transform .25s var(--ease); }
.vm-emoji-btn:hover { transform: scale(1.2) rotate(8deg); }
.vm-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 22px rgba(255,70,85,.4); transition: transform .25s var(--ease), box-shadow .25s; }
.vm-send:hover { transform: scale(1.1) rotate(-8deg); box-shadow: 0 12px 30px rgba(255,70,85,.6); }
.vm-send .vm-ic { width: 18px; height: 18px; }
.vm-emoji-row { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 0 8px; }
.vm-emoji-row button { background: none; border: 0; font-size: 22px; width: 40px; height: 40px; border-radius: 10px; transition: transform .2s var(--ease), background .2s; }
.vm-emoji-row button:hover { background: var(--surface2); transform: scale(1.25); }
.vm-chat-rules { font-size: 11px; color: var(--muted); padding: 6px 6px 0; }
.vm-chat-login { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted2); }

/* =====================================================================
   14. TOURNAMENTS / STATS / ABOUT
   ===================================================================== */
.vm-tourn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.vm-tourn { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.vm-tourn:hover { transform: translateY(-7px); border-color: rgba(255,70,85,.45); box-shadow: 0 28px 60px rgba(0,0,0,.5); }
.vm-tourn.past { opacity: .6; filter: saturate(.6); }
.vm-tourn img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.vm-tourn:hover img { transform: scale(1.08); }
.vm-tourn { overflow: hidden; }
.vm-tourn-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; align-items: flex-start; background: inherit; position: relative; }
.vm-tourn-body h3 { font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.vm-tourn-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted2); }
.vm-tourn-meta .vm-ic { color: var(--accent); margin-right: 2px; }
.vm-tourn-body p { font-size: 14px; color: var(--muted2); }
.vm-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.vm-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s; }
.vm-stat-card:hover { transform: translateY(-5px); border-color: rgba(255,70,85,.4); }
.vm-stat-card::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,70,85,.22), transparent 70%); pointer-events: none; }
.vm-stat-card strong { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 600; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vm-stat-card span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.vm-stat-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; }
.vm-stat-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; transition: border-color .3s; }
.vm-stat-group h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; color: #fff; }
.vm-bar-row { display: grid; grid-template-columns: 130px 1fr 32px; gap: 10px; align-items: center; margin: 10px 0; font-size: 13px; }
.vm-bar-label { display: inline-flex; align-items: center; gap: 5px; color: var(--muted2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-bar { height: 9px; background: var(--surface2); border-radius: 5px; overflow: hidden; }
.vm-bar i { display: block; height: 100%; background: var(--grad); border-radius: 5px; box-shadow: 0 0 12px rgba(255,70,85,.5); transform-origin: left; animation: vmgrow 1.2s var(--ease) both; animation-delay: .2s; }
@keyframes vmgrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vm-bar-n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.vm-about { max-width: 740px; }
.vm-about p { color: var(--muted2); margin: 14px 0; font-size: 16.5px; line-height: 1.8; }
.vm-about h2 { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff; margin-top: 34px; }
.vm-about ul { margin: 12px 0 0; list-style: none; color: var(--muted2); line-height: 1.9; }
.vm-about li { position: relative; padding: 4px 0 4px 26px; }
.vm-about li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* =====================================================================
   15. FOOTER / GENERIC CONTENT
   ===================================================================== */
#vm-footer { position: relative; margin-top: 30px; border-top: 1px solid var(--border); padding: 44px 24px 36px; background: linear-gradient(180deg, transparent, rgba(255,70,85,.04)); }
#vm-footer::before { content: ''; position: absolute; left: 20%; right: 20%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.vm-footer-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 14px; }
.vm-disclaimer { font-size: 12px; color: var(--muted); max-width: 760px; }
.vm-footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.vm-footer-links a { position: relative; color: var(--muted2); text-decoration: none; transition: color .2s; }
.vm-footer-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.vm-footer-links a:hover { color: #fff; }
.vm-footer-links a:hover::after { transform: scaleX(1); }
.vm-copy { font-size: 12px; color: var(--muted); }
.vm-content { max-width: 800px; margin: 0 auto; padding: 28px 24px 80px; }
.vm-content h1 { font-family: var(--font-head); font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; margin-bottom: 18px; line-height: 1.05; }
.vm-content h2 { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 28px 0 10px; }
.vm-content h2 a { color: inherit; text-decoration: none; }
.vm-content h2 a:hover { color: var(--accent); }
.vm-content p, .vm-content li { color: var(--muted2); line-height: 1.8; margin-bottom: 12px; }
.vm-content ul, .vm-content ol { margin-left: 22px; }
.vm-post { margin-bottom: 34px; }
.vm-post-meta { font-size: 12px; color: var(--muted); }
.vm-404 { text-align: center; }

/* =====================================================================
   16. MOBILE TAB BAR / TOAST / WP
   ===================================================================== */
.vm-tabbar { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 190; margin: 0 auto; max-width: 470px; padding: 6px; gap: 4px; background: rgba(12,14,21,.84); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--border2); border-radius: 26px; box-shadow: 0 16px 44px rgba(0,0,0,.6); }
.vm-tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; border-radius: 20px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; transition: color .2s, background .25s, transform .25s var(--ease); }
.vm-tab svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.vm-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-tab:active { transform: scale(.92); }
.vm-tab.active { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.35); }
.vm-tab.active svg { color: var(--accent); transform: translateY(-2px) scale(1.12); }
.vm-tab .vm-badge { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 16px; height: 16px; font-size: 10px; }
#vm-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: rgba(20,23,34,.94); backdrop-filter: blur(16px); border: 1px solid var(--border2); border-left: 3px solid var(--accent); border-radius: 16px; padding: 13px 24px; font-size: 14px; font-weight: 500; z-index: 400; transition: transform .5s cubic-bezier(.2,1.2,.3,1); max-width: calc(100vw - 32px); text-align: center; pointer-events: none; box-shadow: 0 16px 50px rgba(0,0,0,.6); }
#vm-toast.show { transform: translateX(-50%) translateY(0); }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.wp-block-image img { max-width: 100%; }
.alignleft { float: left; margin-right: 16px; } .alignright { float: right; margin-left: 16px; } .aligncenter { display: block; margin: 0 auto; }

/* =====================================================================
   17. RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .vm-nav-ic { display: none; }
  .vm-nav-link { padding: 9px 11px; }
}
@media (max-width: 1024px) {
  .vm-burger { display: inline-flex; }
  .vm-nav-links { display: none; position: fixed; top: calc(var(--nav-top) + var(--nav-h) + 8px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(10,12,18,.97); border: 1px solid var(--border2); border-radius: 22px; padding: 8px; max-height: calc(100vh - var(--main-top) - 90px); overflow-y: auto; box-shadow: 0 30px 70px rgba(0,0,0,.7); }
  .vm-nav-links.open { display: flex; animation: vmmenu .35s var(--ease) both; }
  @keyframes vmmenu { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
  .vm-nav-link { padding: 14px 15px; font-size: 15px; border-radius: 15px; }
  .vm-nav-ic { display: inline-block; }
  #vm-hero { padding: 40px 26px 96px; flex-direction: column; align-items: flex-start; border-radius: 26px; min-height: 0; }
  .vm-hero-art { flex: none; width: min(320px, 74%); align-self: center; margin-top: 18px; }
  .vm-float.f1 { left: -6%; } .vm-float.f2 { right: -8%; }
  .vm-scroll-cue { display: none; }
  #vm-features { grid-template-columns: 1fr 1fr; }
  .vm-role-grid { grid-template-columns: 1fr 1fr; }
  .vm-steps { grid-template-columns: 1fr; }
  .vm-steps::before, .vm-steps::after { display: none; }
  #vm-bottom { grid-template-columns: 1fr; }
  .vm-filterbar { grid-template-columns: 1fr 1fr; }
  .vm-filterbar .vm-form-input { grid-column: 1 / -1; }
  .vm-stat-cards { grid-template-columns: 1fr 1fr; }
  .vm-tabbar { display: flex; }
  #vm-main { padding-bottom: 100px; }
  body.vm-on-chat .vm-tabbar { display: none; }
  body.vm-on-chat #vm-main { padding-bottom: 0; }
  #vm-toast { bottom: 108px; }
}
@media (max-width: 800px) {
  .vm-page-chat.active { padding: 0; }
  .vm-chat { grid-template-columns: 1fr; border: 0; border-radius: 0; box-shadow: none; }
  .vm-chat-main { display: none; }
  .vm-chat.in-conv .vm-chat-side { display: none; }
  .vm-chat.in-conv .vm-chat-main { display: flex; }
  .vm-chat-back { display: inline-flex; align-items: center; justify-content: center; }
  .vm-msg-b { max-width: 86%; }
}
@media (max-width: 560px) {
  #vm-nav { left: 8px; right: 8px; padding: 0 8px 0 12px; }
  .vm-me-name, .vm-logo-text { display: none; }
  .vm-lang { padding: 8px 4px; max-width: 80px; }
  .vm-btn { padding: 9px 13px; }
  .vm-modal-overlay { align-items: flex-end; padding: 0; }
  .vm-modal { border-radius: 28px 28px 0 0; max-width: 100%; margin: 0; padding: 26px 20px calc(26px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; transform: translateY(60px); }
  .vm-form-grid { grid-template-columns: 1fr; }
  .vm-pcard { flex-wrap: wrap; }
  .vm-pcard-right { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: space-between; text-align: left; }
  .vm-role-grid { gap: 10px; }
  .vm-role-info { padding: 30px 12px 12px; }
  .vm-role-info strong { font-size: 17px; }
  .vm-role-info span { display: none; }
  #vm-features { grid-template-columns: 1fr; }
  .vm-bar-row { grid-template-columns: 100px 1fr 28px; }
  .vm-wrap { padding: 20px 16px 56px; }
  .vm-hero-stats li { min-width: 0; flex: 1; padding: 11px 12px; }
  .vm-hero-stats strong { font-size: 26px; }
  .vm-float { padding: 8px 12px 8px 9px; } .vm-float small { display: none; }
  .vm-btn-hero { padding: 14px 24px; }
  .vm-cta { padding: 52px 20px; border-radius: 26px; }
  .vm-roles, .vm-how { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vm-w-acc { -webkit-text-fill-color: #ff6a57; color: #ff6a57; background: none; }
}

/* =====================================================================
   MOBILE PERFORMANCE — disable GPU-heavy effects on touch devices
   ===================================================================== */
@media (hover: none) and (pointer: coarse) {
  /* 1. Ambient blobs: en ağır efekt — blur(90px) + infinite animation */
  .vm-ambient { display: none; }

  /* 2. body::after noise texture (SVG filter her frame repaint yaptırır) */
  body::after { display: none; }

  /* 3. Hero dönen border (conic-gradient + @property animation) */
  #vm-hero::before { animation: none; }

  /* 4. Hero arka plan nefes animasyonu */
  .vm-hero-bg { animation: none; }

  /* 5. Yüzen kart efektleri */
  .vm-float { animation: none; transform: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14,16,24,.88); }

  /* 6. Dönen halkalar */
  .vm-hero-ring { animation: none !important; }

  /* 7. Telefon yüzme animasyonu */
  .vm-hero-phone img { animation: none; }
  .vm-hero-phone { transform: none !important; transition: none; }

  /* 8. CTA parıltı */
  .vm-cta-glow { display: none; }

  /* 9. Navbar backdrop-filter (blur) — mobilde çok ağır */
  #vm-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9,10,16,.97); }

  /* 10. Alt tab bar backdrop-filter */
  .vm-tabbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9,10,16,.97); }

  /* 11. Modal backdrop-filter */
  .vm-modal-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* 12. Arama kutusu backdrop-filter */
  #vm-search { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14,16,24,.97); }

  /* 13. Chat paneli backdrop-filter */
  .vm-chat { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,12,18,.98); }

  /* 14. Toast backdrop-filter */
  #vm-toast { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* 15. Hero stat kutucukları backdrop-filter */
  .vm-hero-stats li { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* 16. Ghost buton */
  .vm-btn-hero.ghost { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* 17. Hero badge */
  .vm-hero-badge { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* 18. Shimmer/parıltı geçiş efekti (::after sweep) */
  .vm-btn-register::after, .vm-btn-hero.primary::after,
  .vm-btn-search::after, .vm-btn-tourn::after,
  .vm-modal-btn.primary::after { display: none; }

  /* 19. Sayfa geçiş animasyonunu hızlandır */
  .vm-page.active { animation-duration: .18s; }

  /* 20. reveal gecikmelerini kısalt */
  .fx [data-reveal] { transition-duration: .25s, .25s, 0s, 0s, 0s !important; }

  /* 21. Logo çizim animasyonu */
  .vm-logo svg path { animation: none; stroke-dashoffset: 0; }

  /* 22. vmglow — primary buton kutu-gölgesi animasyonu */
  .vm-btn-hero.primary { animation: none; }
  .vm-btn-hero.primary { box-shadow: 0 8px 28px rgba(255,70,85,.38); }
}


/* ---------- SEO intro + FAQ ---------- */
.vm-seo { padding: 20px 16px 8px; }
.vm-seo-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.vm-seo-inner h2 { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.vm-seo-inner p { color: var(--muted2); line-height: 1.75; font-size: 15.5px; margin: 0 auto 12px; }
.vm-faq { padding: 36px 16px 8px; max-width: 860px; margin: 0 auto; }
.vm-faq-list { display: flex; flex-direction: column; gap: 10px; }
.vm-faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 18px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.vm-faq-item[open] { border-color: rgba(255,70,85,.5); background: var(--accent-soft); }
.vm-faq-item summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; color: #fff; position: relative; }
.vm-faq-item summary::-webkit-details-marker { display: none; }
.vm-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s var(--ease); }
.vm-faq-item[open] summary::after { content: '\2212'; }
.vm-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.vm-faq-item p { color: var(--muted2); line-height: 1.7; padding: 0 0 16px; margin: 0; }

/* =====================================================================
   18. v3.6 FIXES - nav overflow (logout button) + 6-tab mobile bar
   ===================================================================== */
#vm-nav { min-width: 0; }
.vm-nav-right { flex-shrink: 0; }
.vm-nav-links { min-width: 0; }

/* Desktop: compact links so everything fits inside the nav pill */
@media (min-width: 1361px) {
  #vm-nav { max-width: 1440px; }
  .vm-nav-link { padding: 9px 10px; }
  .vm-nav-ic { display: none; }
}
@media (min-width: 1361px) and (max-width: 1599px) {
  .vm-me-name { display: none; }
}

/* Medium screens (laptops / tablets landscape): hamburger menu instead of an overflowing nav */
@media (max-width: 1360px) {
  .vm-burger { display: inline-flex; }
  .vm-nav-links { display: none; position: fixed; top: calc(var(--nav-top) + var(--nav-h) + 8px); left: 12px; right: 12px; max-width: 1240px; margin: 0 auto; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(10,12,18,.97); border: 1px solid var(--border2); border-radius: 22px; padding: 8px; max-height: calc(100vh - var(--main-top) - 90px); overflow-y: auto; box-shadow: 0 30px 70px rgba(0,0,0,.7); }
  .vm-nav-links.open { display: flex; animation: vmmenu .35s var(--ease) both; }
  .vm-nav-link { padding: 14px 15px; font-size: 15px; border-radius: 15px; }
  .vm-nav-ic { display: inline-block; }
}

/* Logged-in phones: brand text hidden earlier so name/logout/burger never overflow */
@media (max-width: 720px) {
  .vm-logo .vm-logo-text { display: none; }
  body.logged-in .vm-me-name { display: none; }
}
@media (max-width: 380px) {
  #vm-nav { left: 6px; right: 6px; padding: 0 6px 0 10px; gap: 6px; }
  .vm-nav-right { gap: 5px; }
  .vm-logo svg { width: 28px; height: 28px; }
  .vm-btn { padding: 8px 10px; font-size: 12px; }
  .vm-lang { max-width: 62px; padding: 7px 3px; font-size: 12px; }
  .vm-burger { width: 38px; height: 38px; }
  .vm-me .vm-av { width: 28px; height: 28px; }
}

/* Mobile tab bar: now 6 tabs (Home, Tracker, Players, Teams, Chat, Events) */
@media (max-width: 1024px) {
  .vm-tabbar { max-width: 540px; padding: 5px; gap: 2px; }
  .vm-tab { flex: 1 1 0; min-width: 0; padding: 8px 2px; font-size: 10px; letter-spacing: -.1px; border-radius: 18px; }
  .vm-tab svg { width: 21px; height: 21px; flex-shrink: 0; }
  .vm-tab .vm-badge { right: calc(50% - 20px); }
}
@media (max-width: 360px) {
  .vm-tabbar { left: 8px; right: 8px; padding: 4px; }
  .vm-tab { font-size: 9.5px; padding: 7px 1px; }
}
@media (max-width: 340px) {
  .vm-tab { font-size: 8.5px; letter-spacing: -.3px; }
  .vm-tab svg { width: 19px; height: 19px; }
}

/* =====================================================================
   19. v3.5.8 - professional header logo (no truncation)
   ===================================================================== */
.vm-logo { gap: 12px; }
.vm-logo svg.vm-mark { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(255,70,85,.45)); }
.vm-logo:hover svg.vm-mark { transform: scale(1.08); }
.vm-logo svg.vm-mark path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: vmdraw 1.1s .25s var(--ease) forwards; }
.vm-logo svg.vm-mark path + path { animation-delay: .45s; }
.vm-logo svg.vm-mark path + path + path { animation-delay: .65s; }
.vm-logo-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vm-logo-text .valo { font-size: 19px; letter-spacing: 1.6px; max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; line-height: 1; }
.vm-logo-text .valo b { font-weight: 700; color: #fff; }
.vm-logo-text .valo em { font-style: normal; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.vm-logo-text .mobile-label { font-size: 9.5px; letter-spacing: 3.6px; line-height: 1; color: var(--muted2); opacity: .9; }
@media (prefers-reduced-motion: reduce) { .vm-logo svg.vm-mark path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 380px) { .vm-logo svg.vm-mark { width: 34px; height: 34px; } }
.vm-logo-text { max-width: 300px; }
.vm-logo-text .valo { overflow: hidden; text-overflow: ellipsis; }


/* =====================================================================
   AUTH: Google button + email verification (v3.6)
   ===================================================================== */
.vm-google-wrap { margin-top: 20px; }
.vm-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.vm-or::before, .vm-or::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.vm-google { display: flex; justify-content: center; min-height: 44px; color-scheme: light; }
.vm-google-note { text-align: center; margin-top: 10px; line-height: 1.5; }
.vm-verify { text-align: center; }
.vm-verify .vm-modal-title { font-size: 24px; margin-bottom: 12px; }
.vm-verify-ic { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(255,70,85,.35); box-shadow: 0 0 34px rgba(255,70,85,.22); }
.vm-verify-msg { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted2); word-break: break-word; }

.vm-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; border-radius: 999px; background: #fff; color: #1f1f1f; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid rgba(255,255,255,.2); transition: transform .2s var(--ease), box-shadow .25s; }
.vm-google-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.35); color: #000; }

/* PROFILE: clickable user name in header */
.vm-me[data-open] { cursor: pointer; }
.vm-me[data-open]:hover .vm-me-name { color: var(--text); }

/* VERIFY: 6-digit code entry */
.vm-code-form { display: flex; gap: 10px; margin: 6px 0 14px; }
.vm-code-input { text-align: center; font-size: 22px; letter-spacing: 8px; font-family: Consolas, Menlo, monospace; }
.vm-code-form .vm-modal-btn { white-space: nowrap; }

/* VERIFY MODAL (v3.6.9): stacked, full-width layout */
.vm-verify { text-align: center; }
.vm-verify .vm-verify-msg { margin: 0 0 22px; font-size: 14px; line-height: 1.65; color: var(--muted2); }
.vm-code-form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; text-align: left; }
.vm-code-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted2); text-align: center; }
.vm-code-input { width: 100%; height: 60px; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: 14px; text-indent: 14px; font-family: Consolas, Menlo, monospace; }
.vm-code-submit { width: 100%; height: 50px; justify-content: center; white-space: nowrap; }
.vm-verify-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vm-verify-actions .vm-modal-btn { width: 100%; height: 46px; white-space: normal; line-height: 1.25; }

/* VERIFY: action buttons fit their text (no clipping on two-line labels) */
.vm-verify-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vm-verify-actions .vm-modal-btn {
  height: auto;
  min-height: 52px;
  padding: 12px 10px;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}

/* chat photos (v3.10) */
.vm-photo-btn { font-size: 19px; }
.vm-photo-btn:disabled { opacity: .45; }
.vm-msg-img, .cl-msg-img { display: block; margin: 2px 0 4px; border-radius: 12px; overflow: hidden; line-height: 0; }
.vm-msg-img img, .cl-msg-img img { display: block; max-width: min(280px, 100%); max-height: 320px; width: auto; height: auto; border-radius: 12px; cursor: zoom-in; background: rgba(255,255,255,.05); }

/* Mobil alt menü: 6 sekme (Ana Sayfa, Tracker, Oyuncu, Klan, Chat, Turnuva) — taşmadan sığsın */
.vm-tabbar { box-sizing: border-box; }
@media (max-width: 420px) {
  .vm-tab { font-size: 9.5px; letter-spacing: -.2px; padding: 8px 1px; }
  .vm-tab svg { width: 20px; height: 20px; }
  .vm-tab .vm-badge { right: calc(50% - 18px); min-width: 15px; height: 15px; font-size: 9px; }
}
@media (max-width: 340px) {
  .vm-tab { font-size: 8.5px; letter-spacing: -.3px; }
}

/* ---- Mobil sohbet taşma düzeltmesi: uzun mesajlar sohbet alanını genişletmesin ---- */
.vm-chat-main, .vm-chat-msgs, .vm-msg, .vm-msg-b, .vm-msg-t { min-width: 0; }
.vm-msg-b { overflow-wrap: anywhere; word-break: break-word; }
.vm-msg-t, .vm-msg-t div { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.vm-chat-msgs > * { max-width: 100%; }
@media (max-width: 800px) {
  .vm-chat { grid-template-columns: minmax(0, 1fr); }
  .vm-chat-msgs { overflow-x: hidden; }
}

/* ---------- Sponsorlar (anasayfa) ---------- */
.vm-spons { max-width: 1100px; margin: 0 auto; padding: 84px 20px 8px; }
.vm-spons-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.vm-spon { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transition: transform .4s var(--ease), box-shadow .3s, background .3s; }
.vm-spon-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.vm-spon-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vm-spon-info { display: flex; flex-direction: column; gap: 2px; padding: 14px 52px 16px 18px; }
.vm-spon-info strong { font-family: var(--font-head); font-size: 16px; letter-spacing: .5px; color: #fff; }
.vm-spon-info small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-spon-go { position: absolute; right: 16px; bottom: 18px; width: 20px; height: 20px; color: var(--accent); transition: transform .3s var(--ease); }
.vm-spon:hover, .vm-spon:focus-visible { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255,70,85,.55), 0 18px 44px rgba(0,0,0,.5), 0 0 34px rgba(255,70,85,.16); outline: none; }
.vm-spon:hover .vm-spon-img img, .vm-spon:focus-visible .vm-spon-img img { transform: scale(1.05); }
.vm-spon:hover .vm-spon-go, .vm-spon:focus-visible .vm-spon-go { transform: translateX(4px); }
@media (max-width: 860px) { .vm-spons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .vm-spons { padding-top: 64px; } }
@media (max-width: 520px) { .vm-spons-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-left: auto; margin-right: auto; } }
@media (prefers-reduced-motion: reduce) { .vm-spon, .vm-spon-img img, .vm-spon-go { transition: none; } }
.vm-spon-multi { cursor: default; }
.vm-spon-multi .vm-spon-info { padding-right: 18px; }
.vm-spon-links { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.vm-spon-link { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border); text-decoration: none; color: #fff; transition: border-color .2s, background .2s; }
.vm-spon-link span { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.vm-spon-link small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-spon-link:hover, .vm-spon-link:focus-visible { border-color: rgba(255,70,85,.55); background: rgba(255,70,85,.1); outline: none; }


/* =====================================================================
   v3.14 - Menü grupları: Oyuncu Bul › Klanlar, Hakkında › İstatistikler
   ===================================================================== */
.vm-nav-group { position: relative; display: flex; align-items: center; border-radius: 999px; transition: background .2s, box-shadow .2s; }
.vm-nav-group > .vm-nav-link { background: transparent !important; box-shadow: none !important; padding-right: 4px; }
.vm-nav-caret { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 30px; margin-right: 6px; padding: 0; border: 0; background: transparent; color: var(--muted2); cursor: pointer; border-radius: 999px; transition: color .2s; }
.vm-nav-caret svg { transition: transform .3s var(--ease); }
.vm-nav-group:hover, .vm-nav-group:focus-within, .vm-nav-group.open { background: var(--surface2); }
.vm-nav-group:hover > .vm-nav-link, .vm-nav-group:hover > .vm-nav-caret,
.vm-nav-group.open > .vm-nav-link, .vm-nav-group.open > .vm-nav-caret { color: #fff; }
.vm-nav-group:hover > .vm-nav-caret svg, .vm-nav-group.open > .vm-nav-caret svg { transform: rotate(180deg); }
.vm-nav-group.on, .vm-nav-group:has(> .vm-nav-link.active) { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255,70,85,.38), 0 0 24px rgba(255,70,85,.14); }
.vm-nav-group.on > .vm-nav-link, .vm-nav-group:has(> .vm-nav-link.active) > .vm-nav-link { color: #fff; }
.vm-nav-group.on > .vm-nav-caret { color: var(--accent); }

.vm-nav-sub { position: absolute; top: 100%; left: 50%; min-width: 200px; padding: 16px 6px 6px; display: flex; flex-direction: column; gap: 2px; z-index: 5; isolation: isolate;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -6px); transition: opacity .22s, transform .3s var(--ease), visibility 0s .22s; }
.vm-nav-sub::before { content: ''; position: absolute; inset: 10px 0 0 0; z-index: -1; border-radius: 18px; background: rgba(10,12,18,.97); border: 1px solid var(--border2); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.vm-nav-sub::after { content: ''; position: absolute; top: 5px; left: 50%; width: 11px; height: 11px; margin-left: -5px; z-index: -1; transform: rotate(45deg); background: rgba(10,12,18,.97); border-left: 1px solid var(--border2); border-top: 1px solid var(--border2); }
.vm-nav-group:hover > .vm-nav-sub, .vm-nav-group:focus-within > .vm-nav-sub, .vm-nav-group.open > .vm-nav-sub { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.vm-nav-sublink { padding: 11px 14px !important; border-radius: 13px !important; font-size: 13.5px !important; }
.vm-nav-sublink .vm-nav-ic { display: inline-block !important; width: 17px; height: 17px; flex: none; opacity: .85; }
.vm-nav-sublink.active .vm-nav-ic { color: var(--accent); }

@media (max-width: 1360px) {
  .vm-nav-group { display: block; border-radius: 15px; background: transparent !important; box-shadow: none !important; }
  .vm-nav-group > .vm-nav-link { padding-right: 15px; }
  .vm-nav-group.on > .vm-nav-link { color: #fff; }
  .vm-nav-caret { display: none; }
  .vm-nav-sub { position: static; transform: none !important; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; padding: 0 0 4px 22px; margin-left: 18px; border-left: 2px solid var(--border2); }
  .vm-nav-sub::before, .vm-nav-sub::after { display: none; }
  .vm-nav-sublink { padding: 12px 14px !important; font-size: 14.5px !important; }
}
@media (prefers-reduced-motion: reduce) { .vm-nav-sub, .vm-nav-caret svg { transition: none; } }
