:root {
    --primary: #0A1128;
    --secondary: #1C2A4A;
    --accent: #00E5FF;
    --background: #F4F7F6;
    --surface: #FFFFFF;
    --text-primary: #101828;
    --text-secondary: #475467;
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body-font); background-color: var(--background); color: var(--text-primary); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: var(--primary); }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* Layout & Grid */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-tint { background-color: var(--surface); }
.grid { display: grid; gap: 2rem; }
.column-2 { grid-template-columns: 1fr; }
.column-3 { grid-template-columns: 1fr; }
@media(min-width: 768px) {
    .column-2 { grid-template-columns: repeat(2, 1fr); }
    .column-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Header */
.site-header { background: var(--primary); color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { color: var(--accent); font-family: var(--heading-font); font-weight: 800; font-size: 1.5rem; }
.brand-logo:hover { color: white; }
.main-nav { display: none; gap: 2rem; }
.main-nav a { color: white; font-weight: 500; }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
.header-actions { display: none; }
.mobile-menu-toggle { background: transparent; display: flex; flex-direction: column; gap: 4px; padding: 0.5rem; }
.burger-line { width: 24px; height: 3px; background: white; transition: var(--transition); }
@media(min-width: 768px) {
    .main-nav, .header-actions { display: flex; align-items: center; }
    .mobile-menu-toggle { display: none; }
}
.main-nav.mobile-active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: var(--radius-md); transition: var(--transition); text-align: center; }
.btn-primary { background: var(--accent); color: var(--primary); box-shadow: 0 4px 14px rgba(0, 229, 255, 0.3); }
.btn-primary:hover, .btn-primary:focus { background: #00c2d9; transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover, .btn-secondary:focus { background: var(--primary); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Hero Split Image Right */
.hero-split-image-right { background: var(--primary); color: white; padding: 4rem 0 0 0; position: relative; overflow: hidden; }
.hero-split-inner { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.hero-content { z-index: 2; padding-bottom: 2rem; }
.hero-content h1 { color: white; font-size: 2.5rem; }
.hero-subtitle { color: #A8BCD7; font-size: 1.1rem; margin-bottom: 2rem; }
.proof-strip { display: inline-block; background: rgba(0, 229, 255, 0.1); color: var(--accent); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; border: 1px solid var(--accent); }
.hero-discovery-command { background: var(--surface); padding: 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: 1rem; }
.search-input { padding: 0.75rem; border: 1px solid #ddd; border-radius: var(--radius-md); font-size: 1rem; width: 100%; }
.hero-media-panel { width: 100%; }
.hero-image { border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); object-fit: cover; width: 100%; max-height: 400px; }
@media(min-width: 1024px) {
    .hero-split-inner { flex-direction: row; }
    .hero-content { flex: 1; padding-bottom: 4rem; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-media-panel { flex: 1; align-self: flex-end; }
    .form-row { flex-direction: row; }
}

/* Ticker */
.hero-ticker-row { background: var(--secondary); padding: 0.75rem 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(0, 229, 255, 0.2); }
.ticker-track { display: inline-block; animation: ticker 20s linear infinite; color: var(--accent); font-weight: 600; font-size: 0.875rem; }
.ticker-track span { margin: 0 1rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Cards & Grids */
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #e2e8f0; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.card-image-wrapper { position: relative; height: 200px; }
.card-image { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; top: 1rem; right: 1rem; display: flex; gap: 0.5rem; }
.badge { background: var(--accent); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px; box-shadow: var(--shadow); }
.card-content { padding: 1.5rem; }
.game-tag { color: var(--text-secondary); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; }
.card-content h3 { font-size: 1.25rem; margin: 0.5rem 0 1rem 0; }
.card-content p { font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.card-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* Popular Games Tiles */
.game-grid { grid-template-columns: repeat(2, 1fr); }
@media(min-width: 768px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
.game-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; aspect-ratio: 4/3; }
.game-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--primary), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: white; }
.game-tile-overlay h3 { color: white; margin-bottom: 0.25rem; font-size: 1.1rem; }
.game-tile-overlay span { font-size: 0.75rem; color: var(--accent); font-weight: 600; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.game-tile:hover img { transform: scale(1.05); }
.game-tile:hover .game-tile-overlay span { opacity: 1; transform: translateY(0); }

/* Visual Games Category Cards (games.html) */
.visual-game-card { display: flex; flex-direction: column; }
.vgc-media { position: relative; height: 180px; overflow: hidden; }
.vgc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vgc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 17, 40, 0.9), rgba(10, 17, 40, 0.2)); }
.vgc-badge { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 4px; }
.vgc-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.vgc-content h3 { margin-bottom: 0.5rem; }
.vgc-chip { display: inline-block; background: #e2e8f0; color: var(--text-secondary); font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; margin-bottom: 1rem; font-weight: 600; }
.vgc-bullets { padding-left: 1.2rem; margin-bottom: 1rem; font-size: 0.875rem; color: var(--text-secondary); }
.vgc-example { font-size: 0.75rem; font-style: italic; margin-bottom: 1.5rem; color: var(--primary); }
.vgc-content .btn { margin-top: auto; }
.visual-game-card:hover .vgc-media img { transform: scale(1.1); }
@media(min-width: 1024px) { .wide-card { grid-column: span 2; } }

/* Split Layout & Review Cards */
.split-layout { display: grid; gap: 3rem; align-items: center; }
@media(min-width: 768px) { .split-layout { grid-template-columns: 1fr 1fr; } }
.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 1.5rem; margin-bottom: 1rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.framed-image { border-radius: var(--radius-lg); border: 4px solid white; box-shadow: var(--shadow); }

.review-card { background: white; padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.quote { font-style: italic; color: var(--text-secondary); margin-bottom: 1rem; }
.author { font-weight: 700; font-size: 0.875rem; color: var(--primary); }

/* Timeline */
.timeline-grid { display: grid; gap: 2rem; }
@media(min-width: 768px) { .timeline-grid { grid-template-columns: repeat(4, 1fr); } }
.timeline-step { position: relative; padding-top: 3rem; }
.step-number { position: absolute; top: 0; left: 0; width: 40px; height: 40px; background: var(--secondary); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Editorial Sections */
.editorial-container { max-width: 800px; margin: 0 auto; }
.editorial-massive h2, .editorial-massive h3 { margin-top: 2rem; }
.lead-paragraph { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2rem; }
.text-link { color: var(--secondary); font-weight: 600; text-decoration: underline; }
.text-link:hover { color: var(--accent); }

/* Accordion FAQ */
.accordion-item { border: 1px solid #ddd; border-radius: var(--radius-md); margin-bottom: 1rem; background: white; overflow: hidden; }
.accordion-header { width: 100%; text-align: left; padding: 1rem 1.5rem; background: var(--surface); font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; color: var(--primary); }
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform 0.3s; }
.accordion-header.active::after { transform: rotate(45deg); }
.accordion-content { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.accordion-header.active + .accordion-content { padding: 1rem 1.5rem; max-height: 500px; }

/* Catalog Layout */
.catalog-layout { display: flex; flex-direction: column; gap: 2rem; padding: 2rem 0; }
.filter-rail { width: 100%; background: white; padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); position: sticky; top: 80px; align-self: start; }
.catalog-main { flex: 1; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.875rem; }
.filter-select, .filter-input { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.results-count { font-weight: 600; color: var(--text-secondary); }
.sort-group { display: flex; align-items: center; gap: 0.5rem; }
@media(min-width: 1024px) {
    .catalog-layout { flex-direction: row; }
    .filter-rail { width: 280px; flex-shrink: 0; }
}

/* Compare Tray */
.compare-tray { position: fixed; bottom: 0; right: 0; width: 100%; max-width: 400px; background: white; border-radius: var(--radius-lg) 0 0 0; box-shadow: -5px -5px 20px rgba(0,0,0,0.15); z-index: 1000; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.compare-tray.active { transform: translateY(0); }
.compare-tray-header { background: var(--primary); color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; border-radius: var(--radius-lg) 0 0 0; }
.compare-tray-content { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; max-height: 300px; overflow-y: auto; }
.compare-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; background: var(--background); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; }
.compare-tray-footer { padding: 1rem; border-top: 1px solid #ddd; display: flex; justify-content: space-between; }
.btn-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Modal Lead Form */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 17, 40, 0.8); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 1rem; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: white; padding: 2rem; border-radius: var(--radius-lg); width: 100%; max-width: 500px; position: relative; transform: translateY(20px); transition: transform 0.3s; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-content .btn-close { position: absolute; top: 1rem; right: 1rem; color: var(--text-primary); }
.inquiry-form .form-group { margin-bottom: 1rem; }
.inquiry-form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: var(--radius-md); font-family: inherit; }
.form-disclaimer { font-size: 0.75rem; color: var(--text-secondary); margin-top: 1rem; text-align: center; }

/* Tournament Detail Tabs/Hero */
.tournament-hero { position: relative; height: 300px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; }
.tournament-hero img { width: 100%; height: 100%; object-fit: cover; }
.tournament-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--primary), transparent); display: flex; align-items: flex-end; padding: 2rem; color: white; }
.tournament-quick-facts { background: white; padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 2rem; margin-top: -3rem; position: relative; z-index: 10; border: 1px solid #e2e8f0; margin-bottom: 2rem; }
.fact-item h4 { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; margin-bottom: 0.25rem; }
.fact-item p { font-weight: 700; color: var(--primary); }

/* Animation Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, .reveal { transition: none !important; animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--primary); color: white; padding: 1rem; z-index: 3000; transform: translateY(100%); transition: transform 0.4s ease; box-shadow: 0 -4px 10px rgba(0,0,0,0.2); }
.cookie-banner.active { transform: translateY(0); }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; text-align: center; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
@media(min-width: 768px) {
    .cookie-inner { flex-direction: row; text-align: left; }
}

/* Footer */
.site-footer { background: var(--primary); color: white; padding: 4rem 0 2rem 0; margin-top: 4rem; }
.footer-inner { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media(min-width: 768px) { .footer-inner { grid-template-columns: 1fr 2fr; } }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: #A8BCD7; margin-bottom: 0.5rem; font-size: 0.875rem; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: #A8BCD7; }
.legal-disclaimer { margin-top: 0.5rem; opacity: 0.7; }

/* =========================================================
   Esports / Tournaments page
   ========================================================= */
.esports-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; padding: 4rem 0 3rem; }
.esports-hero h1 { color: white; font-size: 2.25rem; margin-bottom: 1rem; }
.esports-hero p { color: #A8BCD7; font-size: 1.1rem; max-width: 760px; }
.esports-hero .age-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,229,255,0.12); border: 1px solid var(--accent); color: var(--accent); padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }
.esports-hero .age-pill .age-badge { background: var(--accent); color: var(--primary); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.75rem; }
@media(min-width: 1024px) { .esports-hero h1 { font-size: 3rem; } }

/* Section: How to build a team (timeline) */
.how-to-build .section-header { margin-bottom: 0.25rem; }
.how-to-build .step-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; padding-top: 2rem; }
@media(min-width: 768px) { .how-to-build .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .how-to-build .step-grid { grid-template-columns: repeat(4, 1fr); } }
.build-step { background: var(--surface); border-radius: var(--radius-lg); padding: 2rem 1.5rem 1.5rem; box-shadow: var(--shadow); position: relative; border-top: 4px solid var(--accent); }
.build-step .step-num { position: absolute; top: -22px; left: 1.5rem; width: 44px; height: 44px; background: var(--primary); color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.build-step h3 { font-size: 1.1rem; color: var(--primary); margin: 0.5rem 0 0.75rem; }
.build-step p { color: var(--text-secondary); font-size: 0.95rem; }

/* Section: Play / Team Builder (adapted from lotteria-nazionale) */
.section-play-cta { background: var(--background); padding: 4rem 0; }
.section-play-cta .section-header { text-align: center; margin-bottom: 2.5rem; }
.section-play-cta .section-header h2 { font-size: 2rem; }
.section-play-cta .section-header p { color: var(--text-secondary); max-width: 720px; margin: 0 auto; }
.play-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(0,229,255,0.12); color: var(--secondary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; border: 1px solid var(--accent); }

.play-layout { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; margin-top: 1rem; }
.play-layout .play-list { width: 100%; min-width: 0; }
@media(min-width: 1100px) { .play-layout { flex-direction: row; } .play-layout .play-list { flex: 0 0 calc(62% - 1rem); } }

.roster-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; align-items: center; background: var(--surface); padding: 1rem; border-radius: var(--radius-md); border: 1px solid #e2e8f0; box-shadow: var(--shadow); }
.role-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-role { appearance: none; -webkit-tap-highlight-color: transparent; user-select: none; background: transparent; color: var(--text-secondary); border: 1px solid #e2e8f0; padding: 0.5rem 1rem; border-radius: 999px; font: 600 0.85rem/1 var(--body-font); cursor: pointer; transition: all 0.2s ease; }
.btn-role:hover { color: var(--primary); border-color: var(--secondary); }
.btn-role.active { background: var(--primary); color: var(--accent); border-color: var(--primary); }
.roster-search { margin-left: auto; position: relative; width: 100%; max-width: 240px; }
.roster-search input { width: 100%; padding: 0.55rem 1rem 0.55rem 2.3rem; border-radius: 999px; border: 1px solid #ccc; background: var(--background); color: var(--text-primary); font: 400 0.9rem/1.4 var(--body-font); }
.roster-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,0.18); }
.roster-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-secondary); pointer-events: none; }

.roster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media(min-width: 768px) { .roster-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 520px) { .roster-grid { grid-template-columns: 1fr; } }

.roster-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; padding: 3rem 1.5rem; background: var(--surface); border: 1px dashed #ccc; border-radius: var(--radius-md); color: var(--text-secondary); text-align: center; }
.roster-empty[hidden] { display: none; }
.roster-empty svg { width: 36px; height: 36px; color: var(--secondary); opacity: 0.5; }
.roster-empty h4 { margin: 0; color: var(--primary); font-size: 1rem; }
.roster-empty p { margin: 0; font-size: 0.85rem; }

.gamer-card { position: relative; display: flex; flex-direction: column; gap: 0.55rem; padding: 0.9rem 1rem 0.8rem; background: var(--surface); border: 1px solid #e2e8f0; border-radius: var(--radius-md); text-align: left; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.gamer-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--role-color, var(--accent)); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.gamer-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 22px -12px rgba(0,229,255,0.5); }
.gamer-card.picked { border-color: var(--accent); background: linear-gradient(135deg, rgba(0,229,255,0.08), var(--surface)); box-shadow: 0 0 0 2px rgba(0,229,255,0.4); }
.gamer-card__head { display: flex; align-items: flex-start; gap: 0.65rem; min-width: 0; }
.gamer-avatar { position: relative; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; overflow: hidden; background: var(--role-color, var(--secondary)); }
.gamer-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; display: block; z-index: 2; }
.gamer-photo.is-broken { display: none; }
.gamer-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 0.9rem; letter-spacing: -0.02em; z-index: 1; }
.gamer-avatar--photo .gamer-initials { opacity: 0; }
.gamer-card__name { flex: 1; min-width: 0; padding-top: 2px; }
.gamer-handle { display: block; font-weight: 800; font-size: 0.92rem; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gamer-org { display: block; font-size: 0.72rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gamer-real { display: block; font-size: 0.68rem; color: var(--text-secondary); opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gamer-rank { flex: 0 0 auto; background: var(--accent); color: var(--primary); padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 800; line-height: 1; }
.gamer-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-left: calc(48px + 0.65rem); min-height: 32px; }
.gamer-role { flex: 1; min-width: 0; display: inline-block; padding: 0.22rem 0.55rem; border-radius: 4px; background: rgba(28,42,74,0.08); color: var(--secondary); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-pick { appearance: none; -webkit-tap-highlight-color: transparent; user-select: none; background: var(--primary); border: none; color: var(--accent); width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.btn-pick svg { width: 16px; height: 16px; }
.btn-pick:hover { transform: scale(1.08); background: var(--secondary); }
.gamer-card.picked .btn-pick { background: var(--accent); color: var(--primary); }

/* Team builder panel */
.team-panel { width: 100%; background: var(--surface); border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
@media(min-width: 1100px) { .team-panel { flex: 0 0 38%; position: sticky; top: 88px; } }
.team-panel h3 { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--primary); }
.team-panel .panel-sub { font-size: 0.8rem; color: var(--text-secondary); margin: 0 0 1rem; }
.team-arena { position: relative; padding: 1.25rem 1rem 1rem; min-height: 320px; border-radius: var(--radius-md); border: 1px solid var(--secondary); background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,229,255,0.18), transparent 70%), linear-gradient(180deg, var(--primary) 0%, #060b1d 100%); box-shadow: inset 0 0 60px rgba(0,0,0,0.4); display: flex; flex-direction: column; justify-content: space-around; }
.team-arena::before { content: ''; position: absolute; top: 50%; left: 1rem; right: 1rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent); pointer-events: none; }
.arena-row { display: flex; justify-content: space-around; gap: 0.5rem; position: relative; z-index: 1; }
.arena-slot { text-align: center; width: 64px; cursor: pointer; }
.slot-circle { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 0.35rem; display: flex; align-items: center; justify-content: center; font-weight: 800; color: rgba(0,229,255,0.85); background: rgba(0,229,255,0.08); border: 1px dashed rgba(0,229,255,0.45); transition: all 0.2s ease; overflow: hidden; }
.arena-slot:hover .slot-circle { background: rgba(0,229,255,0.18); transform: scale(1.06); border-style: solid; }
.slot-circle.filled { background: var(--slot-color, var(--accent)); color: white; border-style: solid; border-color: rgba(255,255,255,0.4); box-shadow: 0 0 12px rgba(0,229,255,0.4); padding: 0; overflow: hidden; }
.slot-circle .slot-photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.slot-role-label { display: block; font-size: 0.65rem; color: rgba(168,188,215,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.slot-handle { display: block; font-size: 0.7rem; color: #d5e8ff; font-weight: 700; max-width: 64px; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-panel .progress { margin-top: 1rem; height: 6px; background: var(--background); border-radius: 999px; overflow: hidden; }
.team-panel .progress-bar { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--accent)); width: 0; transition: width 0.3s ease; }
.team-panel .progress-info { margin-top: 0.4rem; font-size: 0.75rem; color: var(--text-secondary); display: flex; justify-content: space-between; }
.team-panel .btn-submit-team { margin-top: 1rem; width: 100%; display: none; }
.team-panel .btn-submit-team.ready { display: inline-flex; }

/* Section: What awaits */
.section-perks { background: var(--surface); padding: 4rem 0; }
.perks-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media(min-width: 640px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .perks-grid { grid-template-columns: repeat(5, 1fr); } }
.perk-tile { background: var(--background); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; border: 1px solid #e2e8f0; transition: var(--transition); }
.perk-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 10px 20px -10px rgba(0,229,255,0.4); }
.perk-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--accent); margin-bottom: 1rem; }
.perk-icon svg { width: 24px; height: 24px; }
.perk-tile h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--primary); }
.perk-tile p { font-size: 0.875rem; color: var(--text-secondary); }

/* Section: Community / Social */
.section-community { background: var(--background); padding: 4rem 0; }
.community-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media(min-width: 640px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .community-grid { grid-template-columns: repeat(4, 1fr); } }
.social-card { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; text-align: left; border: 1px solid #e2e8f0; transition: var(--transition); }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 0.95rem; color: var(--primary); margin-bottom: 0.75rem; }
.social-badge svg { width: 22px; height: 22px; color: var(--accent); }
.social-card p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.social-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--text-secondary); }
.social-meta strong { color: var(--primary); display: block; font-size: 1rem; }

/* Service: 18+ / GEO / Disclaimer */
.section-service-notes { background: var(--surface); padding: 3rem 0 4rem; border-top: 1px solid #e2e8f0; }
.service-notes-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media(min-width: 768px) { .service-notes-grid { grid-template-columns: 220px 1fr 1fr; } }
.age-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; background: var(--primary); color: white; border-radius: var(--radius-lg); text-align: center; }
.age-mark { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--heading-font); font-weight: 800; font-size: 2rem; margin-bottom: 0.75rem; box-shadow: 0 0 0 4px rgba(0,229,255,0.25); }
.age-card p { font-size: 0.85rem; color: #A8BCD7; }
.geo-card, .partner-card { background: var(--background); border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 1.5rem; }
.geo-card h3, .partner-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.geo-card h3 svg, .partner-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.geo-flags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.geo-pill { background: var(--surface); border: 1px solid #ddd; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--secondary); }
.geo-card p, .partner-card p { font-size: 0.85rem; color: var(--text-secondary); }
.partner-warn { margin-top: 0.5rem; padding: 0.6rem 0.75rem; background: rgba(0,229,255,0.08); border-left: 3px solid var(--accent); border-radius: 4px; font-size: 0.8rem; color: var(--primary); }

