/* ==========================================================================
   ASTOMMC · THEME UFFICIALE ISPIRATO A CORALMC (CORALMC.IT STYLE)
   Sito Web del Network Minecraft SMP 1.21.11 Italiano
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700;800&family=Raleway:wght@600;700;800;900&display=swap');

:root {
  /* CoralMC Palette: Deep Slate/Zinc + Electric Royal Blue & Cyan/Green */
  --bg-main: #090d16;
  --bg-card: #0f172a;
  --bg-card-subtle: #131d35;
  --bg-card-hover: #172340;
  --bg-muted: #1e293b;
  --bg-header: rgba(15, 23, 42, 0.88);

  /* Primary CoralMC Brand Colors */
  --primary: #0070f3;
  --primary-hover: #0060df;
  --primary-light: #38bdf8;
  --primary-glow: rgba(0, 112, 243, 0.45);
  --primary-foreground: #ffffff;
  
  /* Accent Emerald / Cyan */
  --accent-cyan: #00d2ff;
  --accent-neon: #00ff87;
  --accent-emerald: #10b981;
  --accent-gold: #fbbf24;
  --accent-red: #ef4444;
  --accent-discord: #5865f2;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 112, 243, 0.4);
  --border-glow: rgba(0, 210, 255, 0.4);

  /* Typography */
  --font-main: 'Raleway', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Raleway', 'Plus Jakarta Sans', system-ui, sans-serif;
  --text-muted: #94a3b8;
  --accent-gold-light: #fcd34d;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: #f8fafc;
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   CORALMC CHUNKY 3D GAMING BUTTONS
   ========================================================================== */

.btn-coral-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--primary);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-bottom: 6px solid rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 112, 243, 0.4);
  transition: all 0.15s ease-out;
  overflow: hidden;
  user-select: none;
}

.btn-coral-3d:hover {
  background: #007cf0;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 112, 243, 0.55);
}

.btn-coral-3d:active {
  transform: translateY(3px);
  border-bottom-width: 3px;
  box-shadow: 0 4px 15px rgba(0, 112, 243, 0.4);
}

/* Shining flash animation over 3D button */
.btn-coral-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: transform 0.6s ease;
}

.btn-coral-3d:hover::after {
  transform: translateX(200%);
}

.btn-coral-discord-3d {
  background: var(--accent-discord);
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4);
}

.btn-coral-discord-3d:hover {
  background: #4752c4;
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.6);
}

.btn-coral-green-3d {
  background: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-coral-green-3d:hover {
  background: #059669;
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.6);
}

.btn-coral-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-coral-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   CORALMC HEADER & NAVIGATION
   ========================================================================== */

.coral-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.coral-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

/* Logo */
.coral-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.coral-logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0070f3, #00d2ff);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 25px rgba(0, 112, 243, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.25s ease;
}

.coral-logo-wrap:hover .coral-logo-badge {
  transform: scale(1.06) rotate(-4deg);
}

.coral-logo-text-group {
  display: flex;
  flex-direction: column;
}

.coral-brand-name {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.coral-brand-name span {
  color: var(--accent-cyan);
}

.coral-brand-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-neon);
  text-transform: uppercase;
}

/* Nav Menu Items */
.coral-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.coral-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  color: #cbd5e1;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.coral-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* CoralMC Signature Active Gradient Underline */
.coral-nav-link.active {
  color: #fff;
}

.coral-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: linear-gradient(90deg, #0070f3, #00d2ff);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

/* CoralMC Store Highlight Button in Nav */
.coral-nav-store-badge {
  background: rgba(0, 112, 243, 0.15) !important;
  border: 1px solid rgba(0, 112, 243, 0.5) !important;
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

.coral-nav-store-badge:hover {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.4);
}

/* Nav Actions Right */
.coral-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Search bar with ⌘K */
.coral-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coral-search-trigger:hover {
  border-color: rgba(0, 112, 243, 0.4);
  color: #fff;
}

.coral-kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #e2e8f0;
}

/* Server Status Pill with pulsating green dot */
.coral-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.coral-dot-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
  position: relative;
}

.coral-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-neon);
  animation: pingDot 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingDot {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ==========================================================================
   CORALMC HERO SECTION & ANIMATED WAVE DIVIDERS
   ========================================================================== */

.coral-hero-wrap {
  position: relative;
  background: #06090e;
  overflow: hidden;
  padding: 3rem 0 0;
}

.coral-hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0, 112, 243, 0.25) 0%, rgba(6, 9, 14, 0.95) 75%);
  z-index: 1;
}

/* Animated Grid Matrix Background */
.coral-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 112, 243, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 112, 243, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

.coral-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  text-align: center;
}

/* Floating Center Hero Card (Exact CoralMC banner style) */
.coral-hero-banner-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 112, 243, 0.2);
  backdrop-filter: blur(20px);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.coral-hero-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0070f3, #00d2ff, #10b981);
}

.coral-hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #0070f3, #00d2ff);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 4rem;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 45px rgba(0, 112, 243, 0.6);
  animation: logoHover 4s ease-in-out infinite;
}

@keyframes logoHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.coral-hero-title {
  font-family: var(--font-main);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}

.coral-hero-subtitle {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 600;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

/* ==========================================================================
   CORALMC SIGNATURE ANIMATED WAVE SVGS
   ========================================================================== */

.coral-wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.coral-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 75px;
}

.coral-wave-divider .wave-fill-dark {
  fill: #090d16;
}

.coral-wave-divider .wave-fill-card {
  fill: #0f172a;
}

.coral-wave-divider .wave-fill-blue {
  fill: #0070f3;
}

/* ==========================================================================
   CORALMC "HOW TO JOIN" SECTION
   ========================================================================== */

/* ==========================================================================
   2. COME ENTRARE? SEZIONE IN STILE LIMONCRAFT / ATOMOMC CON SKIN DG_NOTME_
   ========================================================================== */

.coral-join-section {
  padding: 6rem 0;
  position: relative;
  background: radial-gradient(circle at 80% 30%, rgba(0, 112, 243, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 50%),
              var(--bg-main);
  overflow: hidden;
}

.coral-join-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Colonna Sinistra */
.coral-join-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.pill-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
  margin-bottom: 1.25rem;
}

.join-description {
  font-size: 1.15rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

.join-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.join-steps-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.join-steps-list li strong {
  color: #fff;
}

.step-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.step-check-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fbbf24;
  stroke-width: 2.5px;
}

/* Banner Grande IP con pulsante COPIA IP */
.join-ip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  cursor: pointer;
}

.join-ip-banner:hover {
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 112, 243, 0.25);
}

.join-ip-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

.join-ip-copy-tag {
  background: transparent;
  border: none;
  color: #fbbf24;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.join-ip-banner:hover .join-ip-copy-tag {
  color: #fcd34d;
  transform: scale(1.05);
}

/* Colonna Destra: Card Simulazione Minecraft con Skin dg_notme_ */
.coral-join-preview-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px;
}

.coral-join-card-box {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 112, 243, 0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.coral-join-card-box:hover {
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-3px);
}

.pill-version {
  background: #fbbf24;
  color: #000;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.join-box-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.join-field-group {
  margin-bottom: 1.25rem;
}

.join-field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.45rem;
  text-align: center;
}

.join-field-input {
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
}

.join-field-with-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem 0.5rem 1.25rem;
}

.join-field-with-btn span {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #fff;
  background: #0284c7;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.btn-copy-yellow {
  background: #fbbf24;
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-copy-yellow:hover {
  background: #fcd34d;
  transform: scale(1.08);
}

.btn-copy-yellow svg {
  width: 20px;
  height: 20px;
}

/* Skin 3D di dg_notme_ posizionata a lato */
.join-skin-wrapper {
  position: absolute;
  right: -55px;
  bottom: -20px;
  z-index: 3;
  pointer-events: none;
  animation: skinFloat 4.5s ease-in-out infinite;
}

.join-player-skin {
  height: 290px;
  width: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 15px rgba(0, 210, 255, 0.2));
  image-rendering: auto;
}

@keyframes skinFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* ==========================================================================
   3. MODALITÀ DI GIOCO - CAROUSEL CON ANIMAZIONE A "FRECCINE"
   ========================================================================== */

.coral-modes-section {
  padding: 6rem 0;
  background: #080c16;
  position: relative;
  overflow: hidden;
}

.coral-section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

.coral-section-heading {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.coral-section-heading span {
  background: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coral-section-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Slider Container con Frecce Laterali */
.coral-modes-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Frecce di navigazione ("freccine") */
.coral-slider-arrow {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.coral-slider-arrow:hover {
  background: var(--primary);
  border-color: #00d2ff;
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.5);
}

.coral-slider-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5px;
}

.coral-modes-track-window {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  padding: 1.5rem 0.5rem;
}

.coral-modes-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.coral-mode-card {
  position: relative;
  flex: 0 0 calc(50% - 12px);
  min-width: calc(50% - 12px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.coral-mode-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 20px 45px rgba(0, 112, 243, 0.3);
}

.coral-mode-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}

.coral-mode-card:hover .coral-mode-card-bg {
  transform: scale(1.08);
}

.coral-mode-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.2) 0%, rgba(9, 13, 22, 0.95) 75%);
  z-index: 2;
}

.coral-mode-card-content {
  position: relative;
  z-index: 3;
}

.coral-mode-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.coral-mode-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.coral-mode-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* Paginazione a Pallini Indicatori */
.coral-modes-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.coral-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.coral-slider-dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

@media (max-width: 860px) {
  .coral-join-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .coral-join-preview-wrapper {
    justify-content: center;
  }
  .join-skin-wrapper {
    right: -10px;
  }
  .coral-mode-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

/* ==========================================================================
   CORALMC FULL-WIDTH BLUE DISCORD SECTION
   ========================================================================== */

.coral-discord-banner {
  position: relative;
  background: linear-gradient(135deg, #0070f3 0%, #0052cc 60%, #1e1b4b 100%);
  padding: 6rem 0;
  color: #fff;
  overflow: hidden;
}

.coral-discord-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.coral-discord-graphic-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coral-discord-big-icon {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.coral-discord-text h2 {
  font-family: var(--font-main);
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.coral-discord-text p {
  font-size: 1.15rem;
  color: #e0e7ff;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ==========================================================================
   CORALMC SEARCH MODAL (⌘K)
   ========================================================================== */

.coral-search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.coral-search-modal-backdrop.open {
  display: flex;
}

.coral-search-dialog {
  background: #0f172a;
  border: 1px solid rgba(0, 112, 243, 0.4);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 112, 243, 0.3);
}

.coral-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.coral-search-input-field {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.15rem;
  outline: none;
}

.coral-search-results-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.75rem;
  list-style: none;
}

.coral-search-item {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.coral-search-item:hover {
  background: rgba(0, 112, 243, 0.15);
  color: #fff;
}

/* ==========================================================================
   CORALMC FOOTER (PAYMENT METHODS & LEGAL)
   ========================================================================== */

.coral-footer {
  background: #05070d;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  color: #94a3b8;
}

.coral-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.coral-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.coral-footer-brand h3 {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.coral-footer-col h4 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.coral-footer-col ul {
  list-style: none;
}

.coral-footer-col li {
  margin-bottom: 0.65rem;
}

.coral-footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.coral-footer-col a:hover {
  color: var(--primary-light);
}

.coral-payments-box {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.coral-pay-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.coral-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Mobile Menu & Drawer - HIDDEN ON DESKTOP */
.mobile-menu {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  border-color: rgba(0, 112, 243, 0.5);
  background: var(--bg-card);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Responsive */
@media (max-width: 1300px) {
  .coral-nav-menu { display: none !important; }
  .mobile-toggle { display: flex !important; }

  .mobile-menu.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    gap: 0.4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 1001;
    animation: mobileMenuSlide 0.25s ease-out;
  }

  .mobile-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.15s ease;
  }

  .mobile-item:hover, .mobile-item.active {
    background: rgba(0, 112, 243, 0.18);
    color: #fff;
    border-color: rgba(0, 210, 255, 0.3);
    border-left: 4px solid var(--accent-cyan);
  }

  .coral-join-grid { grid-template-columns: 1fr; }
  .coral-discord-container { grid-template-columns: 1fr; text-align: center; }
  .coral-modes-grid { grid-template-columns: 1fr; }
  .coral-footer-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes mobileMenuSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .coral-hero-title { font-size: 2.2rem; }
  .coral-footer-grid { grid-template-columns: 1fr; }
  .coral-search-trigger { display: none; }
}

/* ==========================================================================
   CORALMC SUB-PAGES COMPONENTS (CLASSIFICHE, EVENTI, VOTA, STORE, STAFF, REGOLE)
   ========================================================================== */

.page-hero {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(0, 112, 243, 0.15) 0%, transparent 70%);
}

.page-hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(0, 112, 243, 0.12);
  border: 1px solid rgba(0, 112, 243, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.page-title {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #0070f3, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
}

.section-container {
  padding: 4.5rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-main);
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* Tabs Switcher */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(0, 112, 243, 0.4);
  background: rgba(0, 112, 243, 0.1);
}

.tab-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.4);
}

/* 3D Podium Layout */
.podium-section {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.podium-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slot-gold { order: 2; transform: translateY(-15px); }
.slot-silver { order: 1; }
.slot-bronze { order: 3; }

.podium-avatar-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.podium-crown {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
}

.podium-avatar-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: #090d16;
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  position: relative;
}

.slot-gold .podium-avatar-box {
  width: 96px;
  height: 96px;
  border-color: #fbbf24;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

.slot-silver .podium-avatar-box { border-color: #94a3b8; }
.slot-bronze .podium-avatar-box { border-color: #d97706; }

.podium-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.podium-badge-rank {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.slot-gold .podium-badge-rank { background: #fbbf24; }
.slot-silver .podium-badge-rank { background: #e2e8f0; }
.slot-bronze .podium-badge-rank { background: #f59e0b; color: #fff; }

.podium-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slot-gold .podium-card {
  border-color: rgba(251, 191, 36, 0.4);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 2.25rem 1.25rem 1.75rem;
}

.podium-player-name {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}

.podium-player-rank {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.rank-vip { background: rgba(0, 112, 243, 0.15); color: #38bdf8; border: 1px solid rgba(0, 112, 243, 0.3); }
.rank-mvp { background: rgba(16, 185, 129, 0.15); color: #00ff87; border: 1px solid rgba(16, 185, 129, 0.3); }
.rank-champion { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }

.podium-stat-box {
  background: #090d16;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-subtle);
}

.podium-stat-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent-neon);
}

.podium-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Ranking Table */
.ranking-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.ranking-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.table-search-input {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.4rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  min-width: 260px;
}

.table-search-input:focus {
  border-color: var(--primary);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  padding: 0.85rem 1rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  border-bottom: 1px solid var(--border-subtle);
}

.leaderboard-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  vertical-align: middle;
}

.leaderboard-table tr:hover td {
  background: rgba(0, 112, 243, 0.05);
}

.player-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.player-head-thumb {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  image-rendering: pixelated;
  background: #090d16;
}

.player-name-bold {
  font-weight: 800;
  color: #fff;
}

/* Featured Event Card & Countdown */
.featured-event-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 112, 243, 0.4);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 112, 243, 0.2);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.featured-event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0070f3, #00d2ff, #10b981);
}

.event-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.event-main-title {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.event-details-bar {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.countdown-box {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.timer-unit {
  background: #090d16;
  border: 1px solid rgba(0, 112, 243, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.timer-digit {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-neon);
  line-height: 1;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.timer-label {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.rewards-pills-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.reward-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
}

.schedule-card:hover {
  border-color: rgba(0, 112, 243, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.day-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.schedule-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.schedule-time {
  font-size: 0.85rem;
  color: var(--accent-neon);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Vota Sites Grid */
.vote-sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.vote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.25s ease;
}

.vote-card:hover {
  border-color: rgba(0, 112, 243, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.vote-site-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.vote-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid rgba(0, 112, 243, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.vote-site-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.vote-cooldown {
  font-size: 0.8rem;
  color: #94a3b8;
}

.btn-vote-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-vote-now:hover {
  background: var(--primary-hover);
  transform: scale(1.04);
}

/* Moduli Hub Grid */
.moduli-hub-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.moduli-nav-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.moduli-tab-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  background: none;
  text-align: left;
  width: 100%;
}

.moduli-tab-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.moduli-tab-item.active {
  color: #fff;
  background: rgba(0, 112, 243, 0.15);
  border-color: rgba(0, 112, 243, 0.4);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.25);
}

.form-textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Regolamento Toolbar & Accordion */
.rules-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.rules-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.rules-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.rules-search-input:focus { border-color: var(--primary); }

.rules-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.rules-actions { display: flex; gap: 0.5rem; }

.btn-rule-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.btn-rule-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.rules-category-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-chip {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.category-chip.active, .category-chip:hover {
  color: #fff;
  background: rgba(0, 112, 243, 0.15);
  border-color: rgba(0, 112, 243, 0.4);
}

.rules-accordion { display: flex; flex-direction: column; gap: 1rem; }

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}

.rule-card.open { border-color: rgba(0, 112, 243, 0.35); }

.rule-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  gap: 1rem;
}

.rule-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(0, 112, 243, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.rule-title { flex: 1; }

.rule-penalty-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.penalty-warn { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.penalty-mute { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.penalty-tempban { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.penalty-permban { background: rgba(220, 38, 38, 0.25); color: #ff6b6b; border: 1px solid rgba(239, 68, 68, 0.6); }

.rule-chevron { width: 20px; height: 20px; color: #94a3b8; transition: transform 0.3s ease; }
.rule-card.open .rule-chevron { transform: rotate(180deg); color: var(--primary-light); }

.rule-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.25rem;
}

.rule-card.open .rule-body { display: block; }

/* Staff Grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.staff-card:hover { transform: translateY(-8px); border-color: rgba(0, 112, 243, 0.4); }

.staff-role-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}


.badge-trainee {
  background: rgba(100, 109, 109, 0.15);
  color: #646D6D;
  border: 1px solid #646D6D;
}

.badge-helper {
  background: rgba(52, 152, 219, 0.15);
  color: #3498DB;
  border: 1px solid #3498DB;
}

.badge-srhelper {
  background: rgba(32, 102, 148, 0.15);
  color: #206694;
  border: 1px solid #206694;
}

.badge-mod {
  background: rgba(46, 204, 113, 0.15);
  color: #2ECC71;
  border: 1px solid #2ECC71;
}

.badge-srmod {
  background: rgba(31, 139, 76, 0.15);
  color: #1F8B4C;
  border: 1px solid #1F8B4C;
}

.badge-partnership {
  color: #8ac904;
  background-color: rgba(138, 201, 4, 0.15);
  border: 1px solid #8ac904;
}

.badge-jrdev {
  background: rgba(52, 152, 219, 0.15);
  color: #3498DB;
  border: 1px solid #3498DB;
}

.badge-dev {
  background: rgba(47, 128, 237, 0.15);
  color: #2F80ED;
  border: 1px solid #2F80ED;
}

.badge-srdev {
  background: rgba(0, 58, 96, 0.2);
  color: #4A91C5;
  border: 1px solid #003A60;
}

.badge-admin {
  background: rgba(230, 126, 34, 0.15);
  color: #E67E22;
  border: 1px solid #E67E22;
}

.badge-sradmin {
  background: rgba(168, 67, 0, 0.15);
  color: #E07836;
  border: 1px solid #A84300;
}

.badge-manager {
  background: rgba(121, 0, 0, 0.15);
  color: #B52B2B;
  border: 1px solid #790000;
}

.badge-owner {
  background: rgba(92, 0, 0, 0.2);
  color: #B52B2B;
  border: 1px solid #5C0000;
}

.staff-avatar-wrap {
  width: 140px;
  height: 220px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-skin-img {
  max-height: 100%;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.staff-name {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}

.staff-role-text { font-size: 0.85rem; color: #94a3b8; margin-bottom: 1rem; }

.candidature-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 112, 243, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Store Products Grid */
.store-filter-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.store-pill {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-pill.active, .store-pill:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.store-card:hover {
  border-color: rgba(0, 112, 243, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.store-price-tag {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-neon);
  margin-bottom: 0.5rem;
}

.store-item-name {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.store-features-list { list-style: none; margin-bottom: 1.5rem; flex: 1; }

.store-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.store-features-list li svg { width: 16px; height: 16px; color: var(--accent-neon); flex-shrink: 0; margin-top: 2px; }

.btn-buy-package {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-buy-package:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 112, 243, 0.35);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast svg { width: 20px; height: 20px; color: var(--accent-neon); }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open { display: flex; }

.modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(0, 112, 243, 0.4);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title { font-family: var(--font-main); font-size: 1.35rem; font-weight: 900; color: #fff; }
.modal-close-btn { background: none; border: none; font-size: 1.75rem; color: #94a3b8; cursor: pointer; line-height: 1; }
.modal-close-btn:hover { color: #fff; }

/* Status pill states */
.coral-status-pill.offline {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
}

.coral-dot-pulse.dot-red {
  background: #ef4444 !important;
  box-shadow: 0 0 10px #ef4444 !important;
}

.coral-dot-pulse.dot-red::after {
  border-color: #ef4444 !important;
}

.status-players-count {
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Tabs & Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Typography & Utility classes */
.text-muted {
  color: var(--text-muted, #94a3b8) !important;
}

.text-neon {
  color: var(--accent-neon) !important;
}

.modal-body {
  padding: 0.5rem 0 0;
}

.hero-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.store-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Store Filter Pills */
.store-pills-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-pill:hover {
  background: rgba(0, 112, 243, 0.15);
  border-color: rgba(0, 112, 243, 0.4);
  color: #fff;
}

.store-pill.active {
  background: var(--primary);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.5);
}

.lb-row {
  transition: background 0.15s ease;
}

.join-tab-btn {
  cursor: pointer;
}

.modulo-form-panel {
  transition: opacity 0.25s ease;
}


/* ==========================================================================
   3D DISCORD GATE, USER PROFILE & HOMEPAGE BANNER
   ========================================================================== */

/* 1. Homepage 3D Discord Banner */
.coral-discord-banner-3d {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0d1527 50%, #5865f2 160%);
  border-top: 1px solid rgba(88, 101, 242, 0.3);
  border-bottom: 1px solid rgba(88, 101, 242, 0.3);
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}

.coral-discord-backdrop-glow {
  position: absolute;
  top: -50%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.35) 0%, rgba(0, 210, 255, 0.1) 60%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
}

.coral-discord-container-3d {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.coral-discord-graphic-box-3d {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discord-glow-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
  animation: pulseGlow 3s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

.coral-discord-big-icon-3d {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(88, 101, 242, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.15) inset;
  transform: perspective(600px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.4s ease;
}

.coral-discord-graphic-box-3d:hover .coral-discord-big-icon-3d {
  transform: perspective(600px) rotateY(0deg) rotateX(0deg) scale(1.06);
}

.discord-float-pill {
  margin-top: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(88, 101, 242, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.pulse-dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.coral-discord-text-3d h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.85rem;
}

.coral-discord-text-3d h2 span {
  color: #5865f2;
}

.discord-section-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  color: #00d2ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.coral-discord-text-3d p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 650px;
}

.discord-btn-group-3d {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-discord-join-3d {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4), 0 -3px 0 rgba(0, 0, 0, 0.25) inset;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-discord-join-3d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.6), 0 -3px 0 rgba(0, 0, 0, 0.25) inset;
  color: #fff;
}

.btn-discord-oauth-3d {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-discord-oauth-3d:hover {
  background: rgba(0, 210, 255, 0.18);
  border-color: #00d2ff;
  color: #fff;
  transform: translateY(-3px);
}

/* 2. Moduli Info 3D Card */
.discord-info-card-3d {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(0, 210, 255, 0.08) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.discord-info-icon {
  font-size: 2.2rem;
  background: rgba(88, 101, 242, 0.2);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 101, 242, 0.4);
  flex-shrink: 0;
}

.discord-info-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #38bdf8;
  display: block;
  margin-bottom: 0.25rem;
}

.discord-info-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

/* 3. Discord User Authenticated Banner */
.discord-user-banner-3d {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.discord-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.discord-user-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.discord-user-name-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.discord-user-display-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
}

.discord-verified-badge {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #00ff87;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.discord-user-id-text {
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.btn-coral-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-coral-logout:hover {
  background: #ef4444;
  color: #fff;
}

/* 4. Discord Gate Lock Overlay */
.discord-gate-card-3d {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.98) 100%);
  border: 2px solid rgba(88, 101, 242, 0.4);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(88, 101, 242, 0.25);
  margin-bottom: 2rem;
}

.discord-gate-backdrop {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.discord-gate-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.discord-gate-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.15rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.discord-gate-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.discord-gate-subtitle {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.btn-coral-discord-giant-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 1.25rem 2.75rem;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5), 0 -3px 0 rgba(0, 0, 0, 0.3) inset;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. Navbar Discord Button & User Chip (Single-line, Ultra-clean) */
.discord-nav-login-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-main) !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s ease !important;
  line-height: 1 !important;
  height: 38px !important;
  box-sizing: border-box !important;
}

.discord-nav-login-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.6) !important;
  background: linear-gradient(135deg, #6976f3 0%, #525dc9 100%) !important;
  color: #ffffff !important;
}

/* User Logged-In State Chip in Navbar */
.discord-nav-user-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  padding: 0.3rem 0.85rem 0.3rem 0.35rem !important;
  border-radius: var(--radius-full) !important;
  color: #ffffff !important;
  font-family: var(--font-main) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  height: 38px !important;
  box-sizing: border-box !important;
}

.discord-nav-user-chip:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3) !important;
}

.discord-nav-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 2px solid #10b981 !important;
  object-fit: cover !important;
}

.discord-nav-tag {
  color: #00ff87 !important;
  font-weight: 800 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

@media (max-width: 700px) {
  .coral-discord-container-3d { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .discord-btn-group-3d { justify-content: center; }
  .discord-user-banner-3d { flex-direction: column; align-items: stretch; padding: 1rem; }
  .discord-user-info { min-width: 0; }
  .discord-user-name-group { min-width: 0; overflow-wrap: anywhere; }
  .discord-gate-card-3d { padding: 2.5rem 1rem; }
  .discord-nav-tag { max-width: 8rem; }
}

.discord-nav-status-badge {
  font-size: 0.68rem !important;
  background: rgba(16, 185, 129, 0.25) !important;
  color: #00ff87 !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 100px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* ==========================================================================
   LUCIDE ICONS UNIFIED STYLING
   ========================================================================== */
svg.lucide, [data-lucide] {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2.25px;
  stroke: currentColor;
  fill: none;
}

.coral-nav-link svg, .mobile-item svg {
  margin-right: 0.4rem;
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   STAFF PAGE V2 - SINCRONIZZAZIONE DISCORD & SKIN 3D
   ========================================================================== */
.staff-category-block {
  margin-bottom: 3.5rem;
}

.staff-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.staff-category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.staff-category-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.staff-category-count {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 700;
}

.staff-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.staff-card-v2 {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 112, 243, 0.25);
  border-color: rgba(0, 210, 255, 0.5) !important;
}

.staff-skin-container {
  position: relative;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.staff-card-v2:hover .staff-skin-container {
  transform: scale(1.08) translateY(-4px);
}

.staff-skin-img {
  max-height: 140px;
  width: auto;
  image-rendering: auto;
}

.staff-discord-avatar {
  position: absolute;
  right: -14px;
  bottom: 5px;
  width: 40px;
  height: 40px;
  border: 2px solid #ff3b3b;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.staff-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff-card-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.staff-role-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid currentColor;
  margin-bottom: 1rem;
}

.staff-discord-tag {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
}

.staff-sync-status {
  flex: 1 0 100%;
  min-height: 1.1em;
  margin: 0;
  color: #fbbf24;
  font-size: 0.82rem;
}
.staff-load-error {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
  color: #fde68a;
  background: rgba(245, 158, 11, 0.06);
  text-align: center;
}

.icon-discord-small {
  width: 15px;
  height: 15px;
  color: #5865f2;
}

.minecraft-account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 210, 255, 0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.12), rgba(15, 23, 42, 0.78));
}

.minecraft-account-panel[hidden] { display: none; }
.minecraft-account-copy h2 { margin: 0.2rem 0 0.5rem; color: #fff; font-size: 1.2rem; }
.minecraft-account-copy p { margin: 0.35rem 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.minecraft-account-status { min-height: 1.4em; color: #7dd3fc !important; }
.minecraft-account-form label { display: block; margin-bottom: 0.55rem; color: #e2e8f0; font-size: 0.85rem; font-weight: 700; }
.minecraft-account-controls { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.minecraft-account-controls input {
  flex: 1 1 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(6, 9, 14, 0.78);
  color: #fff;
  font: inherit;
}
.minecraft-account-controls input:focus { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.minecraft-account-controls button { flex: 1; justify-content: center; }
.minecraft-account-unlink {
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: var(--radius-md);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.minecraft-account-unlink[hidden] { display: none; }

.leaderboard-beta-section { padding-bottom: 4rem; }
.leaderboard-beta-card {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 760px;
  min-height: 310px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at top, rgba(0, 112, 243, 0.15), transparent 65%), var(--bg-card);
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.leaderboard-beta-icon { color: var(--accent-cyan); font-size: 2.8rem; }
.leaderboard-beta-card h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.leaderboard-beta-card p { max-width: 520px; margin: 0; color: var(--text-muted); line-height: 1.7; }

.store-catalog-section { padding: 2rem 0 5rem; }
.store-catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.store-catalog-heading h2 { margin: 0.35rem 0 0.6rem; color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.store-catalog-heading p { max-width: 650px; margin: 0; color: var(--text-muted); line-height: 1.7; }
.store-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.store-beta-badge span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 12px #38bdf8; }
.store-pills-bar { justify-content: flex-start; margin-bottom: 1.5rem; }
.store-pill { min-height: 42px; }
.store-empty-state {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: hidden;
  min-height: 370px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 112, 243, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(7, 12, 22, 0.96));
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}
.store-empty-art { position: relative; width: 140px; height: 125px; margin: 0.25rem 0 1rem; }
.store-art-cube {
  position: absolute;
  display: block;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(125, 211, 252, 0.58);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.24), rgba(15, 23, 42, 0.8));
  box-shadow: inset 0 0 24px rgba(56, 189, 248, 0.12), 0 14px 32px rgba(0, 0, 0, 0.35);
  transform: rotate(45deg) skew(-5deg, -5deg);
}
.store-art-cube-back { top: 10px; left: 30px; opacity: 0.55; }
.store-art-cube-front { right: 18px; bottom: 5px; border-color: rgba(0, 255, 135, 0.58); background: linear-gradient(145deg, rgba(16, 185, 129, 0.25), rgba(15, 23, 42, 0.85)); }
.store-art-spark { position: absolute; color: #7dd3fc; animation: storeSpark 2.8s ease-in-out infinite; }
.store-art-spark-one { top: 3px; right: 12px; font-size: 1.4rem; }
.store-art-spark-two { bottom: 10px; left: 10px; color: #6ee7b7; font-size: 1.1rem; animation-delay: 0.8s; }
.store-empty-label { color: #7dd3fc; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.store-empty-state h3 { margin: 0.25rem 0 0; color: #fff; font-size: clamp(1.35rem, 4vw, 1.9rem); }
.store-empty-state > p { max-width: 540px; margin: 0.5rem 0 1.2rem; color: var(--text-muted); line-height: 1.7; }
.store-beta-note { max-width: 620px; padding: 0.8rem 1rem; border: 1px solid rgba(251, 191, 36, 0.2); border-radius: var(--radius-md); background: rgba(245, 158, 11, 0.06); color: #cbd5e1; font-size: 0.84rem; line-height: 1.6; }
.store-beta-note strong { color: #fcd34d; }
.store-category-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.store-category-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.64);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.store-category-card:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.38); background: rgba(15, 23, 42, 0.9); }
.store-category-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: rgba(0, 112, 243, 0.15); color: #7dd3fc; font-weight: 900; }
.store-category-card h3 { margin: 0 0 0.25rem; color: #fff; font-size: 0.96rem; }
.store-category-card p { margin: 0; color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }
.staff-skin-img[src*="discordapp"] { width: 96px; height: 96px; max-height: 96px; border-radius: 18px; }
.store-pill:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 3px; }

@keyframes storeSpark {
  50% { transform: translateY(-7px) scale(1.15); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .store-art-spark { animation: none; }
  .store-category-card { transition: none; }
}

@media (max-width: 700px) {
  .minecraft-account-panel { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
  .store-catalog-heading { align-items: flex-start; flex-direction: column; }
  .store-category-overview { grid-template-columns: minmax(0, 1fr); }
  .store-empty-state { min-height: 340px; padding: 1.75rem 1rem; }
}

@media (max-width: 640px) {
  .coral-nav-actions { gap: 0.5rem; }
  .coral-nav-actions .discord-nav-login-btn,
  .coral-nav-actions .discord-nav-user-chip {
    width: 40px;
    min-width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0.4rem !important;
  }
  .coral-nav-actions .discord-nav-login-btn span,
  .coral-nav-actions .discord-nav-user-chip .discord-nav-tag { display: none; }
}

/* ==========================================================================
   FEEDBACK TOAST IP COPIATO
   ========================================================================== */
.coral-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.25);
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.coral-toast.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.coral-toast-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toast-check-icon {
  width: 26px;
  height: 26px;
  color: #00ff87;
  stroke: #00ff87;
  stroke-width: 2.5px;
  flex-shrink: 0;
}

.toast-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.toast-desc {
  font-size: 0.85rem;
  color: #94a3b8;
}

.toast-desc strong {
  color: #00d2ff;
  font-family: var(--font-mono);
}







/* ==========================================================================
   AGGIORNAMENTI 26.2 — Logo testuale, notizie, animazioni
   ========================================================================== */

/* Logo testuale senza immagine: rendi il logo-wrap più compatto */
.coral-logo-wrap:not(:has(.coral-logo-badge)) {
  gap: 0;
}
.coral-logo-wrap .coral-logo-text-group {
  gap: 0.1rem;
}
.coral-brand-name {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.coral-brand-sub {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  opacity: 0.85;
}

/* Spin animation per loader */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* Bottone Discord navbar: icona SVG inline */
.btn-coral-discord-3d {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-coral-discord-3d svg,
.discord-nav-login-btn svg {
  flex-shrink: 0;
}

/* ==========================================================================
   PAGINA NOTIZIE
   ========================================================================== */
.notizie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.notizia-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.notizia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 112, 243, 0.15);
  border-color: var(--border-active);
}

.notizia-card-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notizia-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: rgba(0, 112, 243, 0.15);
  border: 1px solid rgba(0, 112, 243, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
}

.notizia-tag.tag-aggiornamento { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); color: #10b981; }
.notizia-tag.tag-evento { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.35); color: #fbbf24; }
.notizia-tag.tag-server { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.35); color: #a78bfa; }

.notizia-date {
  font-size: 0.78rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.notizia-card-body {
  padding: 1rem 1.5rem 1.5rem;
}

.notizia-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.notizia-excerpt {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Staff page empty state */
#staff-dynamic-container:empty::after {
  content: 'Nessun membro dello staff trovato.';
  display: block;
  text-align: center;
  color: #64748b;
  padding: 3rem;
}

/* Icon discord small corretto in staff card */
.icon-discord-small {
  width: 14px;
  height: 14px;
  color: #5865f2;
  flex-shrink: 0;
}

/* Vota page: logo immagine nella card */
.vote-platform-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 4px;
}

/* Owner staff removal button ("X") */
.staff-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
  padding: 0;
}

.staff-remove-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.65);
  transform: scale(1.12);
}

.staff-remove-btn:active {
  transform: scale(0.95);
}

.staff-remove-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ATOMOMC · VISUAL REFRESH */
:root {
  --bg-main: #0b0d12;
  --bg-card: #12151d;
  --bg-card-subtle: #181b24;
  --bg-card-hover: #20232d;
  --bg-muted: #232631;
  --bg-header: rgba(11, 13, 18, 0.86);
  --primary: #0070f3;
  --primary-hover: #0060df;
  --primary-light: #7dd3fc;
  --primary-glow: rgba(0, 112, 243, 0.36);
  --accent-cyan: #00d2ff;
  --accent-neon: #00ff87;
  --border-active: rgba(0, 112, 243, 0.42);
  --border-glow: rgba(0, 210, 255, 0.38);
  --border-subtle: rgba(226, 232, 240, 0.09);
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 22px;
  --radius-xl: 30px;
}
body {
  background: radial-gradient(ellipse at 12% -8%, rgba(0, 112, 243, 0.18), transparent 34rem),
    radial-gradient(ellipse at 95% 35%, rgba(0, 210, 255, 0.08), transparent 32rem), var(--bg-main);
  letter-spacing: -0.01em;
}
::selection { background: rgba(0, 112, 243, 0.38); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #ff8190; outline-offset: 3px; }
.coral-header {
  background: rgba(11, 13, 18, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}
.coral-header.scrolled { background: rgba(11, 13, 18, 0.96); }
.coral-nav-container { max-width: 1440px; height: 78px; }
.coral-brand-name { letter-spacing: -0.06em; }
.coral-brand-name span { color: var(--primary-light); }
.coral-brand-sub { color: #7dd3fc; }
.coral-nav-menu { gap: 0.12rem; }
.coral-nav-link { padding: 0.55rem 0.68rem; color: #a7adba; font-size: 0.82rem; letter-spacing: -0.025em; }
.coral-nav-link svg { width: 15px; height: 15px; opacity: 0.8; }
.coral-nav-link:hover { background: rgba(255, 255, 255, 0.055); color: #fff; }
.coral-nav-link.active::after { background: linear-gradient(90deg, #0070f3, #00d2ff); box-shadow: 0 0 14px rgba(0, 210, 255, 0.5); }
.coral-nav-store-badge { background: rgba(0, 112, 243, 0.1) !important; border-color: rgba(56, 189, 248, 0.26) !important; color: #7dd3fc !important; }
.coral-nav-store-badge:hover { background: var(--primary) !important; }
.mobile-menu { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0 0 20px 20px; background: rgba(14, 16, 22, 0.98); box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42); }
.mobile-item { border-radius: 12px; }
.mobile-item.active { background: rgba(0, 112, 243, 0.12); color: #7dd3fc; }
.mobile-menu.open { max-height: calc(100vh - 70px); overflow-y: auto; }
.btn-coral-3d { border: 1px solid rgba(255, 255, 255, 0.18); border-bottom-width: 3px; border-radius: 14px; background: linear-gradient(135deg, #1685ff, #0060df); box-shadow: 0 9px 24px rgba(0, 112, 243, 0.22); }
.btn-coral-3d:hover { background: linear-gradient(135deg, #39a0ff, #0874ef); box-shadow: 0 12px 28px rgba(0, 112, 243, 0.32); }
.btn-coral-ghost, .btn-coral-discord-3d { border-radius: 12px; }
.page-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, rgba(0, 112, 243, 0.16), transparent 58%), linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 75%); }
.page-title { letter-spacing: -0.055em; }
.section-kicker { color: #7dd3fc; letter-spacing: 0.16em; }
.section-container { position: relative; }
.staff-card-v2, .leaderboard-beta-card, .store-empty-state, .minecraft-account-panel { border-color: rgba(255, 255, 255, 0.09); background-color: rgba(18, 21, 29, 0.88); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26); }
.staff-card-v2:hover { box-shadow: 0 18px 40px rgba(0, 112, 243, 0.15); }
.staff-role-badge { border-radius: 999px; }
.coral-footer { border-top: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(180deg, rgba(14, 16, 22, 0.85), #090a0e); }
.coral-footer-col a:hover { color: #7dd3fc; }
body.votes-page .page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 3rem !important; }
body.votes-page .page-title { font-size: clamp(2.5rem, 6vw, 4.5rem) !important; }
body.votes-page main > .container > div:first-child > div {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.1rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 22px !important;
  background: radial-gradient(ellipse at 100% 0%, rgba(0, 112, 243, 0.12), transparent 55%), linear-gradient(145deg, #171921, #101218) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}
body.votes-page main > .container > div:first-child > div h3 { letter-spacing: -0.035em !important; }
body.votes-page main > .container > div:first-child + div { border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 22px !important; background: #12151d !important; }

.sanctions-page { min-height: 100vh; display: flex; flex-direction: column; }
.sanctions-page main { flex: 1; }
.sanctions-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.25rem clamp(3.5rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 112, 243, 0.25), transparent 48rem), linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.sanctions-hero-glow { position: absolute; top: -15rem; left: 50%; width: 40rem; height: 35rem; border-radius: 50%; background: rgba(0, 112, 243, 0.16); filter: blur(100px); transform: translateX(-50%); pointer-events: none; }
.sanctions-hero-content { position: relative; max-width: 820px; text-align: center; }
.sanctions-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.2rem; color: #7dd3fc; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; }
.sanctions-eyebrow > span, .sanctions-live-indicator > span { width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 14px rgba(56, 189, 248, 0.7); }
.sanctions-hero h1 { margin-bottom: 1rem; color: #fff; font-family: var(--font-display); font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 900; letter-spacing: -0.07em; line-height: 1.02; }
.sanctions-hero h1 span { color: #7dd3fc; background: linear-gradient(110deg, #7dd3fc, #1685ff 68%, #0051c8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sanctions-hero-content > p:not(.sanctions-search-note) { max-width: 620px; margin: 0 auto; color: #a5aab6; font-size: clamp(0.96rem, 2vw, 1.08rem); line-height: 1.75; }
.sanctions-search { display: flex; align-items: center; gap: 0.8rem; max-width: 690px; margin: 2rem auto 0; padding: 0.45rem; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 17px; background: rgba(14, 16, 22, 0.88); box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), 0 0 0 5px rgba(255, 255, 255, 0.018); }
.sanctions-search > svg { flex: 0 0 auto; margin-left: 0.85rem; color: #868c99; }
.sanctions-search input { min-width: 0; flex: 1; padding: 0.8rem 0.2rem; border: 0; outline: 0; background: transparent; color: #f8fafc; font: inherit; }
.sanctions-search input::placeholder { color: #737987; }
.sanctions-search input:focus-visible { outline: 0; }
.sanctions-search button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.7rem 1.1rem; border: 0; border-radius: 12px; background: linear-gradient(135deg, #1685ff, #0060df); color: #fff; font: inherit; font-size: 0.86rem; font-weight: 800; cursor: pointer; transition: filter 0.2s ease, transform 0.2s ease; }
.sanctions-search button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.sanctions-search button:disabled { cursor: wait; opacity: 0.7; }
.sanctions-search button[aria-busy="true"] svg { animation: sanctionsSpin 1s linear infinite; }
.sanctions-search-note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.8rem; color: #777e8c; font-size: 0.77rem; }
.sanctions-search-note svg { width: 14px; height: 14px; }
.sanctions-content { width: min(100% - 2.5rem, 850px); padding: 3.25rem 0 4.5rem; }
.sanctions-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.sanctions-results-heading .section-kicker { font-size: 0.68rem; }
.sanctions-results-heading h2 { margin-top: 0.35rem; color: #f8fafc; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -0.04em; }
.sanctions-live-indicator { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.035); color: #b6bbc5; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.sanctions-live-indicator > span { width: 7px; height: 7px; background: #4ade80; box-shadow: 0 0 12px rgba(74, 222, 128, 0.55); }
.sanctions-state, .sanctions-empty { display: grid; justify-items: center; gap: 0.55rem; min-height: 220px; padding: 2.5rem 1.2rem; border: 1px solid rgba(255, 255, 255, 0.075); border-radius: 20px; background: linear-gradient(145deg, rgba(21, 24, 33, 0.92), rgba(16, 18, 25, 0.9)); text-align: center; }
.sanctions-state[hidden], .sanctions-results[hidden] { display: none; }
.sanctions-state-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 0.25rem; border: 1px solid rgba(56, 189, 248, 0.2); border-radius: 15px; background: rgba(0, 112, 243, 0.1); color: #7dd3fc; }
.sanctions-state-icon svg { width: 22px; height: 22px; }
.sanctions-state strong, .sanctions-empty strong { color: #f4f5f7; font-size: 1rem; }
.sanctions-state > span:last-child, .sanctions-empty > span { color: #8e94a1; font-size: 0.87rem; }
.sanctions-state.is-error .sanctions-state-icon { border-color: rgba(251, 146, 60, 0.22); background: rgba(251, 146, 60, 0.08); color: #fdba74; }
.sanctions-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sanctions-player-heading h3 { color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 850; }
.sanctions-total { padding: 0.4rem 0.68rem; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: #bec3ce; font-size: 0.74rem; font-weight: 700; }
.sanctions-list { display: grid; gap: 0.8rem; }
.sanction-card { padding: 1.2rem 1.3rem; border: 1px solid rgba(255, 255, 255, 0.085); border-radius: 17px; background: linear-gradient(145deg, rgba(22, 25, 34, 0.96), rgba(17, 19, 26, 0.96)); }
.sanction-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sanction-card-header h3 { color: #f7f7f9; font-size: 0.97rem; font-weight: 800; }
.sanction-status-badge { padding: 0.32rem 0.58rem; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 999px; background: rgba(148, 163, 184, 0.08); color: #cbd5e1; font-size: 0.68rem; font-weight: 800; }
.sanction-status-badge.is-active { border-color: rgba(248, 113, 113, 0.25); background: rgba(248, 113, 113, 0.1); color: #fca5a5; }
.sanction-reason { margin: 0.55rem 0 0.85rem; color: #a8adba; font-size: 0.88rem; line-height: 1.6; }
.sanction-detail { display: inline-flex; flex-direction: column; gap: 0.12rem; min-width: 120px; margin: 0.25rem 1rem 0 0; }
.sanction-detail > span { color: #727987; font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.sanction-detail > strong { color: #d8dbe2; font-size: 0.78rem; font-weight: 650; }
.sanctions-empty { min-height: 175px; }
.sanctions-empty > svg { width: 27px; height: 27px; margin-bottom: 0.35rem; color: #4ade80; }
.sanctions-updated { margin: 0.8rem 0 0; color: #727987; font-size: 0.72rem; text-align: right; }
.sanctions-disclaimer { display: flex; align-items: flex-start; gap: 0.65rem; margin: 1.4rem 0 0; color: #828895; font-size: 0.8rem; line-height: 1.65; }
.sanctions-disclaimer svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 0.12rem; color: #7dd3fc; }
.sanctions-footer { padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); background: rgba(9, 10, 14, 0.68); }
.sanctions-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sanctions-footer > .container > span { color: #7f8490; font-size: 0.78rem; }
.sanctions-footer a { color: #7dd3fc; text-decoration: none; }
.sanctions-footer a:hover { text-decoration: underline; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
@keyframes sanctionsSpin { to { transform: rotate(360deg); } }
@media (max-width: 1120px) {
  .coral-nav-link { gap: 0.25rem; padding-inline: 0.48rem; font-size: 0.76rem; }
  .coral-nav-link svg { display: none; }
}
@media (max-width: 760px) {
  .coral-nav-container { height: 68px; padding-inline: 1rem; }
  .sanctions-hero { padding-top: 4.2rem; }
  .sanctions-search { gap: 0.45rem; }
  .sanctions-search button { padding-inline: 0.85rem; }
  .sanctions-content { width: min(100% - 2rem, 850px); padding-top: 2.5rem; }
}
@media (max-width: 520px) {
  .sanctions-hero { padding: 3.5rem 1rem 3rem; }
  .sanctions-search { flex-wrap: wrap; padding: 0.55rem; }
  .sanctions-search > svg { margin-left: 0.45rem; }
  .sanctions-search input { flex-basis: calc(100% - 3rem); }
  .sanctions-search button { width: 100%; }
  .sanctions-results-heading { align-items: flex-start; flex-direction: column; }
  .sanctions-player-heading { align-items: flex-start; }
  .sanction-card { padding: 1rem; }
  .sanctions-footer .container { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
