body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #181818 60%, #2a1900 100%);
  color: #fff;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 24, 24, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px #0008;
  border-bottom: 1.5px solid #ff880033;
  transition: opacity 0.5s cubic-bezier(.77,0,.18,1);
}
.navbar.navbar-fade {
  opacity: 0.1;
  pointer-events: none;
}
.logo img {
  height: 48px;
  filter: drop-shadow(0 0 8px #ff8800cc);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #ffb300;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.13em;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #ff8800, #ffd700);
  transition: width 0.3s;
  position: absolute;
  left: 0; bottom: -4px;
  border-radius: 2px;
}
.nav-links a.active {
  color: #fff;
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  border-radius: 8px;
  padding: 6px 18px;
  box-shadow: 0 2px 12px #ff880088;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-links a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700 0%, #ff8800 100%);
  border-radius: 2px;
  margin-top: 2px;
  box-shadow: 0 2px 8px #ffd70088;
}
.nav-links a:hover {
  color: #ffd700;
  text-shadow: 0 0 16px #ff8800cc;
}
.nav-links a:hover::after {
  width: 100%;
}
.lang-select {
  font-size: 1.3em;
}

.glass {
  background: rgba(24, 24, 24, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 4px 32px #ff880022, 0 2px 8px #0008;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 40px 0;
  margin-bottom: 0;
  position: relative;
  background: linear-gradient(120deg, #181818 60%, #ff8800 100%);
  box-shadow: 0 4px 32px #ff880022;
  overflow: hidden;
}
.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
  animation: fadeInUp 1s cubic-bezier(.77,0,.18,1);
}
.hero-logo-main {
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: #222;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 0 #ff8800, 0 2px 32px #ff8800cc, 0 2px 8px #0008;
  animation: logoPulse 2.5s infinite alternate, fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
.hero-logo-main::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 40px;
  background: radial-gradient(circle, #ff8800 0%, transparent 70%);
  opacity: 0.45;
  z-index: -1;
  filter: blur(8px);
  animation: logoGlowPulse 2.5s infinite alternate;
  pointer-events: none;
}
@keyframes logoPulse {
  from { box-shadow: 0 0 0 0 #ff8800, 0 2px 32px #ff8800cc, 0 2px 8px #0008; }
  to { box-shadow: 0 0 32px 8px #ff8800cc, 0 2px 48px #ff8800ff, 0 2px 8px #0008; }
}
@keyframes logoGlowPulse {
  from { opacity: 0.45; filter: blur(8px); }
  to { opacity: 0.7; filter: blur(16px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
.hero h1 {
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.gradient-text {
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.subtitle {
  font-size: 1.2em;
  color: #ffd700;
  margin-bottom: 28px;
  font-weight: 500;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.4s both;
}
.server-ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(24,24,24,0.8);
  border-radius: 10px;
  padding: 12px 28px;
  box-shadow: 0 2px 12px #ff880044;
  font-size: 1.15em;
  margin-top: 10px;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.6s both;
  position: relative;
  overflow: hidden;
}
.ip-label {
  color: #ffd700;
  font-weight: 700;
}
.ip-value {
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 1px;
}
.btn-copy {
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  color: #181818;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px #ff880044;
  position: relative;
  overflow: hidden;
}
.btn-copy::after {
  content: '';
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, #fff70044 0%, #ff880000 100%);
  transform: skewX(-20deg);
  transition: left 0.4s;
  z-index: 0;
  pointer-events: none;
}
.btn-copy:hover::after {
  left: 100%;
}
.btn-copy:hover {
  background: #fff;
  color: #ff8800;
  box-shadow: 0 2px 18px #ffd700cc;
  transform: scale(1.05);
}

.staff-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  padding: 18px 0;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(24,24,24,0.8);
  border-radius: 16px;
  box-shadow: 0 2px 16px #ff880044;
  padding: 16px 32px;
}
.staff-head {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 2px 18px #ff8800cc, 0 2px 8px #0008;
  background: #222;
}
.staff-card h3 {
  color: #ffd700;
  margin: 0 0 4px 0;
  font-size: 1.2em;
  font-weight: 800;
}
.staff-card p {
  color: #ff8800;
  margin: 0;
  font-size: 1em;
  font-weight: 600;
}

.modes-section {
  position: relative;
  padding: 40px 0 40px 0;
  text-align: center;
  z-index: 1;
  background: linear-gradient(135deg, #181818 60%, #ff8800 100%);
  overflow: hidden;
}
.modes-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 40px);
  opacity: 0.5;
}
.modes-header, .modes-list {
  position: relative;
  z-index: 1;
}
.modes-header {
  text-align: center;
  margin-bottom: 32px;
}
.modes-header h2 {
  color: #ff8800;
  font-size: 2.4em;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px #ff880088;
}
.modes-desc {
  color: #ffd700;
  font-size: 1.18em;
  font-weight: 600;
  margin: 0 auto 0 auto;
  max-width: 600px;
  text-shadow: 0 2px 8px #000a;
}
.modes-list {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.mode-card {
  background: rgba(24, 24, 24, 0.7);
  border-radius: 18px;
  box-shadow: 0 4px 32px #ff880022, 0 2px 8px #0008;
  min-width: 320px;
  max-width: 380px;
  width: 100%;
  padding: 0 0 18px 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.mode-card:hover {
  box-shadow: 0 8px 48px #ff8800cc, 0 2px 12px #000a;
  transform: scale(1.04) translateY(-6px);
}
.mode-image-placeholder {
  width: 100%;
  height: 180px;
  background: repeating-linear-gradient(135deg, #222 0 20px, #181818 20px 40px);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom: 2.5px dashed #ff8800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8800;
  font-size: 1.1em;
  font-weight: 700;
  text-align: center;
}
.mode-image-placeholder small {
  color: #ffd700;
  font-size: 0.7em;
  font-weight: 400;
}
.mode-info {
  padding: 18px 24px 0 24px;
  width: 100%;
}
.mode-card h3 {
  color: #ffd700;
  margin-bottom: 8px;
  font-size: 1.3em;
  font-weight: 800;
  letter-spacing: 1px;
}
.badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  color: #181818;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 16px;
  font-size: 0.95em;
  margin-bottom: 8px;
  margin-left: 8px;
  box-shadow: 0 2px 8px #ff880044;
}
.mode-info p {
  color: #fff;
  font-size: 1.08em;
  margin-top: 8px;
  margin-bottom: 0;
}

.discord-section {
  margin-top: 48px;
  padding: 36px 0 36px 0;
  text-align: center;
  background: linear-gradient(120deg, #181818 60%, #ff8800 100%);
  box-shadow: 0 4px 32px #ff880022;
}
.discord-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.discord-info {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 480px;
  text-align: left;
}
.discord-info h2 {
  color: #ffd700;
  font-size: 2em;
  margin-bottom: 10px;
  font-weight: 800;
}
.discord-info p {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 18px;
}
.btn-discord {
  display: inline-block;
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  color: #181818;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.1em;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px #ff880044;
  position: relative;
  overflow: hidden;
}
.btn-discord:hover {
  background: #fff;
  color: #ff8800;
  box-shadow: 0 2px 24px #ff8800cc;
  transform: scale(1.05);
}
.discord-banner-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.discord-banner-img img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px #5865f2cc);
}

.footer {
  background: rgba(24, 24, 24, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 16px #ff880022;
  padding: 32px 0 18px 0;
  text-align: center;
  margin-top: 48px;
}
.footer-content img {
  height: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px #ff8800cc);
}
.footer-content p {
  color: #ffd700;
  font-size: 1em;
  margin: 0;
}

@media (max-width: 1100px) {
  .modes-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .image-placeholder {
    height: 120px;
    font-size: 1em;
  }
  .discord-content {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}
@media (max-width: 700px) {
  .navbar {
    padding: 0 12px;
    height: 60px;
  }
  .logo img {
    height: 32px;
  }
  .nav-links {
    gap: 16px;
    font-size: 0.95em;
  }
  .hero {
    min-height: 40vh;
    padding: 24px 0 24px 0;
  }
  .hero-content {
    max-width: 98vw;
  }
  .hero-logo-main {
    width: 70px;
    height: 70px;
  }
  .hero-logo-main::after {
    width: 80px; height: 80px; border-radius: 20px;
  }
  .staff-section {
    padding: 8px 0;
  }
  .staff-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .staff-head {
    width: 48px;
    height: 48px;
  }
  .image-placeholder {
    height: 70px;
    font-size: 0.8em;
  }
  .mode-card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .discord-banner-img {
    width: 70px;
    height: 70px;
  }
  .discord-banner-img img {
    width: 56px;
    height: 56px;
  }
  .footer {
    padding: 18px 0 10px 0;
    margin-top: 24px;
  }
  .modes-header h2 {
    font-size: 1.3em;
  }
  .modes-desc {
    font-size: 1em;
  }
}

/* Scroll reveal base (JS will add .reveal-visible) */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

.mode-image-real {
  width: 100%;
  height: 180px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  object-fit: cover;
  box-shadow: 0 2px 12px #ff880044;
  display: block;
}
@media (max-width: 700px) {
  .mode-image-real {
    height: 70px;
  }
}

.mode-image-comingsoon {
  background: repeating-linear-gradient(135deg, #222 0 20px, #181818 20px 40px);
  color: #ffd700;
  font-size: 2.5em;
  font-weight: 900;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 2px 12px #ff880044;
  text-shadow: 0 2px 12px #000a;
}
.coming-soon {
  color: #ffd700;
  font-size: 1.1em;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px #000a;
}
@media (max-width: 700px) {
  .mode-image-comingsoon {
    height: 70px;
    font-size: 1.2em;
  }
}

.fancy-modes-list .mode-card {
  background: rgba(24,24,24,0.85);
  box-shadow: 0 8px 48px #ff880044, 0 2px 12px #000a;
  border: 2.5px solid #ff8800;
  backdrop-filter: blur(6px);
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s, filter 0.3s;
  position: relative;
  overflow: visible;
  will-change: transform, box-shadow, filter;
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.fancy-modes-list .mode-card:hover {
  box-shadow: 0 12px 64px #ffd70088, 0 2px 16px #000a, 0 0 32px #ff8800cc;
  border: 2.5px solid #ffd700;
  transform: scale(1.06) translateY(-10px) rotate(-1deg);
  filter: brightness(1.08) saturate(1.1);
  z-index: 2;
}
.fancy-modes-list .badge {
  background: linear-gradient(90deg, #ffd700 60%, #ff8800 100%);
  color: #181818;
  font-weight: 900;
  font-size: 1.05em;
  letter-spacing: 0.08em;
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 10px;
  margin-left: 10px;
  box-shadow: 0 2px 12px #ffd70044;
  border: 1.5px solid #ff8800;
}
.fancy-modes-list .mode-info h3 {
  font-size: 1.4em;
  color: #ffd700;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #ff880088;
}
.fancy-modes-list .mode-info p {
  font-size: 1.13em;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 0;
  text-shadow: 0 2px 8px #000a;
}
.player-counter {
  margin-top: 18px;
  text-align: center;
  color: #ff8800;
  background: rgba(24,24,24,0.85);
  font-size: 1.45em;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px #ff8800cc, 0 0 8px #ff880088;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 10px 28px;
  box-shadow: 0 2px 18px #ff880044;
  border: 2.5px solid #ff8800;
  margin-bottom: 8px;
  transition: box-shadow 0.2s, background 0.2s;
}
.player-counter b {
  color: #ffd700;
  font-size: 1.1em;
  font-weight: 900;
  text-shadow: 0 2px 12px #ffd700cc;
}
.player-counter::before {
  content: '\1F7E0'; /* cerchio arancione emoji */
  font-size: 1.1em;
  margin-right: 8px;
}
@media (max-width: 700px) {
  .player-counter {
    font-size: 1em;
    padding: 7px 12px;
    border-radius: 10px;
  }
}

.player-counter-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(24,24,24,0.85);
  border-radius: 18px;
  box-shadow: 0 2px 18px #ffd70044, 0 2px 8px #ff880044;
  border: 2.5px solid #ff8800;
  padding: 14px 32px;
  margin: 24px auto 0 auto;
  width: fit-content;
  min-width: 220px;
  position: relative;
  backdrop-filter: blur(6px);
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.8s both;
}
.player-counter-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd700;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(24,24,24,0.85);
  padding: 2px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #ffd70022;
  pointer-events: none;
}
.player-counter-icon img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #ff880044;
  background: #222;
}
.player-counter-badge {
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  color: #181818;
  font-size: 2.1em;
  font-weight: 900;
  border-radius: 14px;
  padding: 6px 32px;
  box-shadow: 0 2px 24px #ffd70088, 0 2px 8px #ff880044;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 1.5s infinite alternate;
  border: 2px solid #ffd700;
  min-width: 80px;
}
@keyframes badgePulse {
  from { box-shadow: 0 2px 24px #ffd70088, 0 2px 8px #ff880044; }
  to { box-shadow: 0 4px 48px #ff8800cc, 0 2px 16px #ffd700cc; }
}
@media (max-width: 700px) {
  .player-counter-glass {
    padding: 8px 10px;
    min-width: 120px;
    gap: 8px;
  }
  .player-counter-label {
    font-size: 0.8em;
    top: -12px;
    padding: 1px 8px;
  }
  .player-counter-icon img {
    width: 22px;
    height: 22px;
  }
  .player-counter-badge {
    font-size: 1.2em;
    padding: 4px 12px;
    min-width: 40px;
  }
}

/* Reveal animato per le sezioni */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: none;
}

.forum-section {
  background: linear-gradient(135deg, #181818 60%, #ff8800 100%);
  padding: 60px 0 60px 0;
  min-height: 60vh;
}
.forum-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.forum-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(24,24,24,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 32px #ff880044, 0 2px 8px #0008;
  border: 2.5px solid #ff8800;
  padding: 36px 28px 28px 28px;
  min-width: 220px;
  max-width: 260px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s, filter 0.3s;
  will-change: transform, box-shadow, filter;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1);
}
.forum-card:hover {
  box-shadow: 0 8px 48px #ffd70088, 0 2px 16px #000a, 0 0 32px #ff8800cc;
  border: 2.5px solid #ffd700;
  transform: scale(1.06) translateY(-8px) rotate(-1deg);
  filter: brightness(1.08) saturate(1.1);
  z-index: 2;
}
.forum-icon {
  font-size: 2.8em;
  margin-bottom: 18px;
  color: #ffd700;
  filter: drop-shadow(0 2px 8px #ff8800cc);
  transition: color 0.2s, filter 0.2s;
}
.forum-card:hover .forum-icon {
  color: #ff8800;
  filter: drop-shadow(0 2px 16px #ffd700cc);
}
.forum-title {
  font-size: 1.25em;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px #ff880088;
}
.forum-desc {
  color: #fff;
  font-size: 1.05em;
  margin-bottom: 0;
  margin-top: 8px;
  text-shadow: 0 2px 8px #000a;
}
@media (max-width: 900px) {
  .forum-cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .forum-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 24px 10px 18px 10px;
  }
}

.rules-section {
  background: linear-gradient(135deg, #181818 60%, #ff8800 100%);
  padding: 60px 0 60px 0;
  min-height: 60vh;
  display: flex;
  justify-content: center;
}
.rules-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rules-info {
  margin-bottom: 18px;
  text-align: center;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1);
}
.rule-card {
  background: rgba(24,24,24,0.92);
  border-radius: 18px;
  box-shadow: 0 4px 32px #ff880044, 0 2px 8px #ffd70044;
  border: 2.5px solid #ff8800;
  padding: 28px 28px 18px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1);
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s, filter 0.3s;
  will-change: transform, box-shadow, filter;
}
.rule-card:hover {
  box-shadow: 0 8px 48px #ffd70088, 0 2px 16px #000a, 0 0 32px #ff8800cc;
  border: 2.5px solid #ffd700;
  filter: brightness(1.08) saturate(1.1);
  transform: scale(1.03) translateY(-4px);
  z-index: 2;
}
.rule-card h3 {
  font-size: 1.18em;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px #ff880088;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rule-num {
  display: inline-block;
  background: linear-gradient(90deg, #ff8800 60%, #ffd700 100%);
  color: #181818;
  font-size: 1.1em;
  font-weight: 900;
  border-radius: 8px;
  padding: 2px 14px;
  box-shadow: 0 2px 8px #ffd70044;
  margin-right: 8px;
  letter-spacing: 0.04em;
}
.rule-card p {
  color: #fff;
  font-size: 1.05em;
  margin-bottom: 0;
  margin-top: 8px;
  text-shadow: 0 2px 8px #000a;
}
.rule-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700 0%, #ff8800 100%);
  border-radius: 2px;
  margin: 0 auto 0 auto;
  box-shadow: 0 2px 8px #ffd70088;
  animation: dividerGrow 1.2s cubic-bezier(.77,0,.18,1);
}
@keyframes dividerGrow {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 1; }
}
/* Reveal animato per le regole */
.rules-list .rule-card.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1);
}
.rules-list .rule-card.reveal-on-scroll.revealed {
  opacity: 1;
  transform: none;
}
@media (max-width: 700px) {
  .rules-section {
    padding: 24px 0 24px 0;
  }
  .rules-list {
    gap: 18px;
  }
  .rule-card {
    padding: 14px 8px 10px 8px;
  }
  .rule-card h3 {
    font-size: 1em;
    gap: 6px;
  }
  .rule-num {
    font-size: 0.95em;
    padding: 2px 8px;
  }
} 