/* 1xBet Italia — style.css */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1B3A5C;
  --primary-dark: #0F2740;
  --primary-light: #2A5A8C;
  --accent: #4DA6FF;
  --accent-gradient: linear-gradient(135deg, #9B7DB8 0%, #4DA6FF 100%);
  --gold: #F5A623;
  --gold-dark: #D4900E;
  --success: #27AE60;
  --danger: #E74C3C;
  --bg-dark: #0A1628;
  --bg-section: #0E1F38;
  --bg-card: #132B4A;
  --bg-card-hover: #1A3A5F;
  --text-white: #FFFFFF;
  --text-light: #CBD5E1;
  --text-muted: #8899AA;
  --border-color: #1E3A5C;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

button:focus,
button:focus-visible {
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

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

.text-gold {
  color: var(--gold);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(77, 166, 255, 0.3);
}

.btn-primary:hover {
  background: #3A95EE;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(77, 166, 255, 0.5);
  color: var(--text-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #FFD700 100%);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.15rem;
}

/* ---------- Header / Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(77, 166, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-menu-close {
  display: none;
}

.navbar-nav a {
  padding: 8px 16px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--accent);
  background: rgba(77, 166, 255, 0.08);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(77, 166, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(155, 125, 184, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(245, 166, 35, 0.04) 0%, transparent 50%),
    linear-gradient(175deg, #070E1A 0%, #0D1B30 30%, #122442 55%, #0D1B30 80%, #070E1A 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(77, 166, 255, 0.06);
  box-shadow: inset 0 0 80px rgba(77, 166, 255, 0.03);
  pointer-events: none;
  animation: heroOrb1 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 1px solid rgba(155, 125, 184, 0.05);
  box-shadow: inset 0 0 100px rgba(155, 125, 184, 0.02);
  pointer-events: none;
  animation: heroOrb2 25s ease-in-out infinite;
}

@keyframes heroOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes heroOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

/* Hero Decorative Elements */
.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-decor .line {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(77,166,255,0.07), transparent);
  width: 1px;
}

.hero-decor .line-1 { left: 15%; height: 100%; animation: lineFloat 12s ease-in-out infinite; }
.hero-decor .line-2 { left: 40%; height: 80%; top: 10%; animation: lineFloat 16s ease-in-out infinite reverse; }
.hero-decor .line-3 { left: 65%; height: 90%; top: 5%; animation: lineFloat 14s ease-in-out infinite; }
.hero-decor .line-4 { left: 85%; height: 70%; top: 15%; animation: lineFloat 18s ease-in-out infinite reverse; }

.hero-decor .dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(77, 166, 255, 0.25);
}

.hero-decor .dot-1 { top: 20%; right: 12%; animation: dotPulse 4s ease-in-out infinite; }
.hero-decor .dot-2 { top: 55%; right: 25%; width: 3px; height: 3px; background: rgba(245,166,35,0.2); animation: dotPulse 5s ease-in-out infinite 1s; }
.hero-decor .dot-3 { top: 35%; right: 40%; width: 5px; height: 5px; background: rgba(155,125,184,0.15); animation: dotPulse 6s ease-in-out infinite 2s; }
.hero-decor .dot-4 { top: 75%; right: 18%; width: 3px; height: 3px; animation: dotPulse 4.5s ease-in-out infinite 0.5s; }
.hero-decor .dot-5 { top: 45%; right: 8%; width: 6px; height: 6px; background: rgba(77,166,255,0.12); animation: dotPulse 7s ease-in-out infinite 1.5s; }

.hero-decor .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(77, 166, 255, 0.08);
}

.hero-decor .ring-1 { width: 200px; height: 200px; top: 15%; right: 10%; animation: ringRotate 30s linear infinite; }
.hero-decor .ring-2 { width: 300px; height: 300px; top: 40%; right: 20%; border-color: rgba(155,125,184,0.05); animation: ringRotate 40s linear infinite reverse; }
.hero-decor .ring-3 { width: 120px; height: 120px; top: 60%; right: 35%; border-style: dashed; border-color: rgba(245,166,35,0.06); animation: ringRotate 20s linear infinite; }

@keyframes lineFloat {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-15px); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(77, 166, 255, 0.1);
  border: 1px solid rgba(77, 166, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 span {
  display: block;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

/* ---------- Section Titles ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(77, 166, 255, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(77, 166, 255, 0.1);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Tables ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table thead {
  background: var(--primary);
}

.info-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.info-table tbody tr {
  background: var(--bg-card);
  transition: var(--transition);
}

.info-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.info-table tbody tr:nth-child(even) {
  background: rgba(19, 43, 74, 0.5);
}

.info-table tbody tr:nth-child(even):hover {
  background: var(--bg-card-hover);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* ---------- Banner / CTA ---------- */
.banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(77, 166, 255, 0.15);
}

.banner-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 166, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
}

.banner-highlight {
  background: linear-gradient(135deg, #1B3A5C 0%, #0F2740 100%);
  border: 2px solid var(--gold);
  position: relative;
}

.banner-highlight::before {
  content: '🎁 BONUS';
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.banner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ---------- Bonus Banner ---------- */
.bonus-banner {
  background: linear-gradient(135deg, #1B3A5C 0%, #0A1628 60%, #1B3A5C 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #FFD700, var(--gold));
}

.bonus-amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(245, 166, 35, 0.3);
  margin-bottom: 8px;
}

.bonus-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ---------- Features List ---------- */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(77, 166, 255, 0.2);
  background: var(--bg-card-hover);
}

.feature-item i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-item strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 4px;
}

.feature-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Accordion / FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(77, 166, 255, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Two Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col-reverse {
  direction: rtl;
}

.two-col-reverse > * {
  direction: ltr;
}

/* ---------- Steps / Process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step-counter;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  counter-increment: step-counter;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(77, 166, 255, 0.3);
  transform: translateY(-4px);
}

.step-card::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* ---------- Rating Stars ---------- */
.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(39, 174, 96, 0.15);
  color: var(--success);
}

.badge-gold {
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold);
}

.badge-accent {
  background: rgba(77, 166, 255, 0.15);
  color: var(--accent);
}

/* ---------- Italy Flag Stripe ---------- */
.italy-stripe {
  height: 4px;
  background: linear-gradient(90deg, #009246 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #CE2B37 66.6%);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-heading {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(77, 166, 255, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #3A95EE;
  transform: translateY(-4px);
}

/* ---------- Local Italy Section ---------- */
.italy-section {
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(0, 146, 70, 0.05) 50%, rgba(206, 43, 55, 0.05) 100%);
}

.italy-flag-icon {
  display: inline-flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  width: 32px;
  height: 22px;
}

.italy-flag-icon span {
  flex: 1;
}

.italy-flag-icon .green { background: #009246; }
.italy-flag-icon .white { background: #FFFFFF; }
.italy-flag-icon .red { background: #CE2B37; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(77, 166, 255, 0.08);
  border: 1px solid rgba(77, 166, 255, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  background: rgba(77, 166, 255, 0.15);
  color: var(--accent);
}

/* ---------- Responsive ---------- */

/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col-reverse {
    direction: ltr;
  }

  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .banner-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-decor .ring { display: none; }
}

/* === MOBILE (max 768px) === */
@media (max-width: 768px) {
  /* --- Navbar --- */
  .navbar-inner {
    padding: 10px 0;
  }

  .navbar-logo img {
    height: 32px;
  }

  .navbar-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A1628;
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 2px;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav.open {
    display: flex !important;
  }

  .mobile-menu-close {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent) !important;
    border-bottom: 1px solid rgba(77, 166, 255, 0.15) !important;
    margin-bottom: 8px;
  }

  .navbar-nav a {
    padding: 16px 20px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(77, 166, 255, 0.06);
    border-radius: 0;
  }

  .navbar-nav a:last-child {
    border-bottom: none;
  }

  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    z-index: 1003;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .navbar-toggle:focus {
    outline: none;
    box-shadow: none;
  }

  .navbar-cta .btn {
    display: none;
  }

  .navbar-cta .lang-switch {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 1rem;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .hero-stat {
    background: rgba(19, 43, 74, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 14px 10px;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .hero-decor .line,
  .hero-decor .ring { display: none; }
  .hero-decor .dot { opacity: 0.5; }

  /* --- Sections --- */
  .section-padding {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .section-header .overline {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  /* --- Cards --- */
  .cards-grid,
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 24px 20px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  /* --- Tables --- */
  .table-wrapper {
    border-radius: 10px;
    margin: 0 -4px;
  }

  .info-table {
    font-size: 0.85rem;
  }

  .info-table th {
    padding: 12px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .info-table td {
    padding: 11px 14px;
    font-size: 0.85rem;
  }

  .info-table td:first-child {
    min-width: 120px;
  }

  /* --- Steps --- */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 24px 20px;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .step-card::before {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .step-card h3 {
    font-size: 1.05rem;
  }

  .step-card p {
    font-size: 0.9rem;
  }

  /* --- Banners --- */
  .banner {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .banner h3 {
    font-size: 1.3rem;
  }

  .banner p {
    font-size: 0.95rem;
  }

  .bonus-banner {
    padding: 28px 20px;
    border-radius: 14px;
    margin: 24px 0;
  }

  .bonus-amount {
    font-size: 2.4rem;
  }

  .bonus-desc {
    font-size: 1rem;
  }

  .banner-highlight::before {
    left: 20px;
    font-size: 0.7rem;
    top: -12px;
  }

  /* --- Features List --- */
  .feature-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .feature-item i {
    font-size: 1rem;
  }

  .feature-item strong {
    font-size: 0.95rem;
  }

  .feature-item span {
    font-size: 0.85rem;
  }

  /* --- FAQ --- */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
    gap: 12px;
  }

  .faq-question span {
    flex: 1;
    line-height: 1.4;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 16px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* --- Footer --- */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-heading {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  /* --- Badges --- */
  .badge {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  /* --- Two Col text sections --- */
  .two-col {
    gap: 28px;
  }

  .two-col p {
    font-size: 0.95rem;
  }

  /* --- Buttons General --- */
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* --- Cookie Banner --- */
  #cookie-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 80px !important;
    max-width: 100% !important;
    padding: 16px 18px !important;
  }

  /* --- Scroll to Top --- */
  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* --- Italy Section --- */
  .italy-stripe {
    height: 3px;
  }
}

/* === SMALL PHONE (max 400px) === */
@media (max-width: 400px) {
  .container {
    padding: 0 14px;
  }

  .hero {
    padding: 90px 0 44px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stat {
    padding: 10px 8px;
  }

  .hero-stat-value {
    font-size: 1.15rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .section-padding {
    padding: 36px 0;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .bonus-amount {
    font-size: 2rem;
  }

  .card {
    padding: 20px 16px;
  }

  .info-table th,
  .info-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .banner {
    padding: 22px 16px;
  }

  .banner h3 {
    font-size: 1.15rem;
  }

  .footer {
    padding: 32px 0 16px;
  }
}

/* === Mobile Sticky CTA Bar === */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(77, 166, 255, 0.15);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-sticky-cta .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }

  /* Push cookie banner above sticky CTA */
  #cookie-banner {
    bottom: 74px !important;
  }

  /* Push scroll-to-top above sticky CTA */
  .scroll-top {
    bottom: 70px;
  }

  /* Give footer bottom padding for sticky CTA */
  .footer {
    padding-bottom: 70px;
  }
}
