
        /* ── FORM WRAPPER ── */
        .form-section {
            min-height: calc(100vh - 60px - 120px);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 50px 20px 60px;
            background: #f4f6fa;
            transition: background 0.3s;
        }

        body.dark-mode .form-section {
            background: #0e0e0e;
        }

        .form-card {
            background: #fff;
            border-radius: 4px;
            border-top: 4px solid #003366;
            box-shadow: 0 4px 30px rgba(0,0,0,0.10);
            padding: 44px 48px 48px;
            width: 100%;
            max-width: 700px;
            transition: background 0.3s, border-color 0.3s;
        }

        body.dark-mode .form-card {
            background: #1a1a1a;
            border-top-color: #4a7fff;
            box-shadow: 0 4px 30px rgba(0,0,0,0.5);
        }

        .form-card h2 {
            font-family: 'Rajdhani', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: #003366;
            letter-spacing: 1px;
            margin: 0 0 6px;
            text-transform: uppercase;
        }

        body.dark-mode .form-card h2 { color: #4a7fff; }

        .form-card .subtitle {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: #666;
            margin-bottom: 34px;
        }

        body.dark-mode .form-card .subtitle { color: #aaa; }

        /* ── DIVIDER ── */
        .section-divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 28px 0 20px;
        }

        .section-divider span {
            font-family: 'Rajdhani', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #003366;
            white-space: nowrap;
        }

        body.dark-mode .section-divider span { color: #4a7fff; }

        .section-divider::before,
        .section-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #d0d8e8;
        }

        body.dark-mode .section-divider::before,
        body.dark-mode .section-divider::after { background: #333; }

        /* ── FIELD ── */
        .field {
            margin-bottom: 18px;
        }

        .field label {
            display: block;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: #444;
            margin-bottom: 6px;
        }

        body.dark-mode .field label { color: #bbb; }

        .field input,
        .field select {
            width: 100%;
            padding: 10px 14px;
            border: 1.5px solid #ccd3e0;
            border-radius: 3px;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            color: #1a1a1a;
            background: #fff;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
            box-sizing: border-box;
        }

        body.dark-mode .field input,
        body.dark-mode .field select {
            background: #242424;
            border-color: #444;
            color: #f0f0f0;
        }

        .field input:focus,
        .field select:focus {
            border-color: #003366;
            box-shadow: 0 0 0 3px rgba(0,51,102,0.10);
        }

        body.dark-mode .field input:focus,
        body.dark-mode .field select:focus {
            border-color: #4a7fff;
            box-shadow: 0 0 0 3px rgba(74,127,255,0.15);
        }

        .field input.error { border-color: #cc1a2e; }

        /* ── PLAYERS GRID ── */
        .players-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px 24px;
        }

        /* ── MMR BADGE ── */
        .mmr-row {
            display: grid;
            grid-template-columns: 1fr 130px;
            gap: 12px;
            align-items: end;
        }

        .mmr-badge {
            font-family: 'Rajdhani', sans-serif;
            font-size: 13px;
            font-weight: 700;
            padding: 10px 12px;
            border-radius: 3px;
            background: #f0f4ff;
            color: #003366;
            text-align: center;
            border: 1.5px solid #ccd3e0;
            white-space: nowrap;
            transition: background 0.3s;
        }

        body.dark-mode .mmr-badge {
            background: #1e2a40;
            color: #7eb0ff;
            border-color: #444;
        }

        /* ── PLAYER CARD ── */
        .player-card {
            background: #f9fbff;
            border: 1.5px solid #dde5f0;
            border-radius: 4px;
            padding: 16px 16px 12px;
            transition: background 0.3s;
        }

        body.dark-mode .player-card {
            background: #202020;
            border-color: #333;
        }

        .player-card .player-label {
            font-family: 'Rajdhani', sans-serif;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: #003366;
            margin-bottom: 10px;
        }

        body.dark-mode .player-card .player-label { color: #7eb0ff; }

        /* ── SUBMIT ── */
        .submit-btn {
            margin-top: 32px;
            width: 100%;
            padding: 14px;
            background: #003366;
            color: #fff;
            border: none;
            border-radius: 3px;
            font-family: 'Rajdhani', sans-serif;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
        }

        .submit-btn:hover { background: #004d99; transform: translateY(-1px); }
        .submit-btn:active { transform: translateY(0); }
        body.dark-mode .submit-btn { background: #1a4faa; }
        body.dark-mode .submit-btn:hover { background: #2560cc; }

        /* ── FEEDBACK ── */
        #form-feedback {
            display: none;
            margin-top: 20px;
            padding: 14px 18px;
            border-radius: 3px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
        }

        #form-feedback.success {
            background: #e6f4ea;
            color: #1a7a36;
            border: 1px solid #a8d5b5;
            display: block;
        }

        #form-feedback.error {
            background: #fdecea;
            color: #b71c1c;
            border: 1px solid #f5c6c6;
            display: block;
        }

        body.dark-mode #form-feedback.success {
            background: #1a3326;
            color: #5ecb82;
            border-color: #2d6645;
        }

        body.dark-mode #form-feedback.error {
            background: #2e1a1a;
            color: #f87171;
            border-color: #6b2828;
        }

        /* ── MMR TOTAL ── */
        .mmr-total-bar {
            margin-top: 16px;
            padding: 12px 16px;
            background: #eef2ff;
            border-radius: 3px;
            border: 1.5px solid #c5cfee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Rajdhani', sans-serif;
        }

        body.dark-mode .mmr-total-bar {
            background: #1a2035;
            border-color: #334;
        }

        .mmr-total-bar .label {
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #555;
        }

        body.dark-mode .mmr-total-bar .label { color: #aaa; }

        .mmr-total-bar .value {
            font-size: 20px;
            font-weight: 700;
            color: #003366;
        }

        body.dark-mode .mmr-total-bar .value { color: #7eb0ff; }

        /* ── RESPONSIVE ── */
        @media (max-width: 600px) {
            .form-card { padding: 28px 18px 32px; }
            .players-grid { grid-template-columns: 1fr; }
            .mmr-row { grid-template-columns: 1fr; }
            .form-card h2 { font-size: 22px; }
        }
.live-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 40px 80px;
  background-image: url('../photo/Sfondo_header.jpg');
}
.live-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 60px,
    rgba(0,87,255,.04) 60px, rgba(0,87,255,.04) 62px
  );
}
.live-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: #f4f6fa;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  transition: background 0.3s;
}
.live-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1;
  position: relative;
}
.live-hero h1 span { color: #4a8aff; }
.live-hero p {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.live-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

body.dark-mode .live-hero::after { background: #161616; }
.live-hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #cc1a2e;
  margin-bottom: 12px;
  position: relative;
}