/* ============================================================
   style.css — Lydicous.com
   Palette: background #0A0E1A / #0F1629 | accent #E63946 #1D4ED8 #FFFFFF
   Font: "Space Grotesk" (Google Fonts)
   ============================================================ */

/* ---------- GOOGLE FONT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ---------- VARIABLES ---------- */
:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #0F1629;
  --bg-card: #141A2E;
  --bg-card-hover: #1A2240;
  --accent-red: #E63946;
  --accent-blue: #1D4ED8;
  --accent-blue-light: #3B6FF0;
  --white: #FFFFFF;
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --font: 'Space Grotesk', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
  --container: 1160px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--white-90);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--accent-blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--white); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ---------- CONTAINER ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}
.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(29,78,216,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white-90);
  border: 1px solid var(--white-20);
}
.btn-outline:hover {
  border-color: var(--accent-blue-light);
  color: var(--accent-blue-light);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-list {
  display: flex;
  gap: 32px;
}
.nav-list a {
  color: var(--white-70);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width var(--transition);
}
.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 767px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 24px; text-align: center; }
  .nav-list a { font-size: 1.2rem; }
}

/* ============================================================
   HERO / INTRO
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(175deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--white-10);
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--accent-red); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--white-70);
  max-width: 660px;
  margin: 0 auto 24px;
}
.hero-mission {
  font-size: 0.95rem;
  color: var(--white-50);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   RATING SECTION
   ============================================================ */
.rating-section {
  padding: 70px 0 50px;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 10px; }
.section-title p { color: var(--white-50); max-width: 520px; margin: 0 auto; }

/* Offer Cards */
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.offer-card {
  display: grid;
  grid-template-columns: 48px 130px 1fr auto auto;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.offer-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow);
}
.offer-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-red);
  text-align: center;
  line-height: 1;
}
.offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-logo img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.offer-info { min-width: 0; }
.offer-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.offer-bonus {
  font-size: 0.9rem;
  color: var(--white-70);
  margin-bottom: 0;
}
.offer-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.score-value {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.score-label {
  font-size: 0.7rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.offer-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--white-50);
  border-top: 1px solid var(--white-10);
  padding-top: 12px;
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .offer-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 14px;
  }
  .offer-rank { font-size: 1.3rem; }
  .offer-logo { justify-content: center; }
  .offer-actions {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
  }
  .offer-score { flex-direction: row; gap: 10px; justify-content: center; }
}

/* ============================================================
   PRE-FOOTER SECTION (on index + other pages)
   ============================================================ */
.pre-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--white-10);
  padding: 50px 0;
}
.pre-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.pf-block h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.pf-block p {
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.75;
}
.pf-block a { color: var(--accent-blue-light); }
@media (max-width: 767px) {
  .pre-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-primary); }
.footer-main {
  border-top: 1px solid var(--white-10);
  padding: 50px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 0.88rem;
  color: var(--white-50);
  line-height: 1.7;
}
.footer-nav h4, .footer-contact h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--white-70);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--white-50); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 0.88rem; color: var(--white-50); margin-bottom: 8px; }
.footer-contact a { color: var(--accent-blue-light); }

.footer-regulators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
}
.footer-regulators a { opacity: 0.6; transition: opacity var(--transition); }
.footer-regulators a:hover { opacity: 1; }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-disclaimer {
  padding: 24px 0;
  text-align: center;
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--white-50);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}
.footer-disclaimer a { color: var(--accent-blue-light); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--white-10);
}
.footer-bottom p { font-size: 0.8rem; color: var(--white-50); margin: 0; }

@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-regulators { gap: 16px; }
}

/* ============================================================
   AGE VERIFICATION OVERLAY
   ============================================================ */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5,7,14,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.age-overlay.fade-out { animation: fadeOut 0.4s ease forwards; }
.age-modal {
  background: var(--bg-card);
  border: 1px solid var(--white-20);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.age-modal-icon { margin-bottom: 20px; }
.age-modal h2 { margin-bottom: 16px; font-size: 1.4rem; }
.age-modal p { font-size: 0.92rem; color: var(--white-70); margin-bottom: 28px; line-height: 1.7; }
.age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-confirm {
  background: var(--accent-blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-confirm:hover { background: var(--accent-blue-light); }
.btn-exit {
  background: transparent;
  border: 1px solid var(--white-20);
  color: var(--white-70);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-exit:hover { border-color: var(--accent-red); color: var(--accent-red); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--bg-card);
  border-top: 1px solid var(--white-10);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; color: var(--white-70); margin: 0; flex: 1; min-width: 240px; }
.cookie-inner a { color: var(--accent-blue-light); }
.btn-cookie-accept {
  background: var(--accent-blue);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--accent-blue-light); }

/* ============================================================
   PAGE SECTIONS (general)
   ============================================================ */
.page-section {
  padding: 70px 0 50px;
}
.page-section h1 { margin-bottom: 24px; text-align: center; }
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(175deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--white-10);
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--white-50); max-width: 560px; margin: 0 auto; }

.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.content-block h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  position: relative;
  padding-left: 16px;
}
.content-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}
.content-block p, .content-block li {
  font-size: 0.93rem;
  color: var(--white-70);
  line-height: 1.8;
}
.content-block ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.content-block li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
}
.content-block li::before {
  content: '—';
  position: absolute;
  left: -6px;
  color: var(--accent-red);
}
.content-block a { color: var(--accent-blue-light); }

/* Inline regulators row */
.regulators-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
  margin-top: 20px;
  border-top: 1px solid var(--white-10);
}
.regulators-row a { opacity: 0.6; transition: opacity var(--transition); }
.regulators-row a:hover { opacity: 1; }

/* ============================================================
   OFFER DETAIL PAGE
   ============================================================ */
.offer-detail-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(175deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--white-10);
}
.offer-detail-hero img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: var(--radius);
}
.offer-detail-hero h1 { margin-bottom: 10px; }

.offer-detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.offer-detail-description {
  font-size: 0.95rem;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 32px;
}
.offer-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.detail-item {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white-50);
  margin-bottom: 8px;
}
.detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.offer-detail-actions {
  text-align: center;
  margin-bottom: 20px;
}
.offer-detail-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--white-50);
  margin-bottom: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-blue-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--white); }

@media (max-width: 767px) {
  .offer-detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
  .offer-detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { font-size: 0.92rem; color: var(--white-70); }
.contact-info a { color: var(--accent-blue-light); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-70);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--white-20);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); color: var(--white); }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-blue);
  flex-shrink: 0;
}
.checkbox-group label {
  font-size: 0.85rem;
  color: var(--white-70);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--white-50);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22C55E;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.92rem;
  display: none;
}

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 32px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent-blue-light);
}
.value-card p {
  font-size: 0.85rem;
  color: var(--white-50);
  margin: 0;
}
@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIBLE GAMING — resource cards
   ============================================================ */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}
.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: border-color var(--transition);
}
.resource-card:hover { border-color: var(--accent-blue); text-decoration: none; }
.resource-card img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.resource-card span { font-size: 0.9rem; color: var(--white-70); font-weight: 500; }
@media (max-width: 479px) {
  .resource-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--white-10) 30%, var(--accent-red) 50%, var(--white-10) 70%, transparent);
  margin: 0;
  border: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 1024px) {
  :root { --container: 940px; }
}
@media (max-width: 768px) {
  .hero { padding: 56px 0 40px; }
  .rating-section { padding: 48px 0 32px; }
  .page-section { padding: 48px 0 32px; }
}
@media (max-width: 320px) {
  body { font-size: 14px; }
  .container { padding: 0 12px; }
  .age-modal { padding: 28px 20px; }
}