/* ============ RoyalSea Casino — base styles ============ */
:root {
  --bg: #091016;
  --bg-card: #0d1721;
  --bg-surf: #111e2b;
  --bg-surf2: #17293a;

  --accent: #29a0cc;
  --accent2: #3cb8e6;
  --accent-green: #48c74e;
  --accent-red: #e74c3c;
  --neon: #33d1ff;
  --success: #2ec167;

  --text: #ffffff;
  --text2: #708499;

  --border: rgba(41, 160, 204, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);

  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 30, 43, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--accent2); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.lang-switcher a {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  border-radius: 6px;
  transition: all .2s ease;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher a.active {
  background: var(--accent);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-green);
  color: #062810;
  box-shadow: 0 4px 14px rgba(72, 199, 78, 0.25);
}
.btn-primary:hover {
  background: #56d65c;
  transform: translateY(-1px);
  color: #062810;
}
.btn-secondary {
  background: var(--accent);
  color: #fff;
}
.btn-secondary:hover { background: var(--accent2); color: #fff; }
.btn-large { padding: 14px 30px; font-size: 15px; }

/* ============ Hero ============ */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse at top left, rgba(41,160,204,0.12), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(51,209,255,0.08), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #fff 0%, #b8e3f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 24px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(9,16,22,0.4));
  pointer-events: none;
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

/* ============ Sections ============ */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0 0 18px;
  line-height: 1.2;
  color: var(--text);
}
.section h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  margin: 28px 0 12px;
  color: var(--text);
  line-height: 1.3;
}
.section p { margin: 0 0 16px; color: #c8d4e0; }
.section ul, .section ol { color: #c8d4e0; padding-left: 22px; margin: 0 0 18px; }
.section ul li, .section ol li { margin-bottom: 8px; }

.section-alt { background: var(--bg-card); }

/* ============ Feature grid ============ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41,160,204,0.4);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--bg-surf2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent2);
}
.feature-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--text); }
.feature-card p { font-size: 14.5px; color: var(--text2); margin: 0; }

/* ============ Tables ============ */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.payment-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  min-width: 540px;
}
.payment-table th,
.payment-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.payment-table th {
  background: var(--bg-surf);
  color: var(--accent2);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .5px;
}
.payment-table tr:last-child td { border-bottom: none; }
.payment-table tr:hover td { background: rgba(41,160,204,0.04); }

/* ============ FAQ ============ */
.faq { margin: 32px 0 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: #c8d4e0;
  font-size: 15px;
  line-height: 1.65;
}

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  border: 1px solid rgba(41,160,204,0.3);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(51,209,255,0.18), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin: 0 0 12px; position: relative; }
.cta-banner p { color: var(--text2); margin: 0 0 22px; position: relative; }
.cta-banner .btn { position: relative; }

/* ============ Breadcrumbs ============ */
.breadcrumbs {
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0; margin: 0;
}
.breadcrumbs li::after {
  content: "›";
  margin-left: 6px;
  color: var(--text2);
}
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current="page"] { color: var(--accent2); }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  padding: 44px 0 30px;
  background: linear-gradient(180deg, rgba(41,160,204,0.06), transparent);
}
.page-hero h1 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px;
  line-height: 1.2;
}
.page-hero p { color: var(--text2); font-size: 17px; margin: 0; max-width: 820px; }
.page-hero-img {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ============ Stats row ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent2);
  display: block;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; }

/* ============ Pros/Cons ============ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.pros, .cons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.pros h3, .cons h3 { margin: 0 0 12px; font-size: 18px; }
.pros h3 { color: var(--success); }
.cons h3 { color: var(--accent-red); }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros ul li, .cons ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 14.5px;
  color: #c8d4e0;
}
.pros ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.cons ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-surf);
  border-top: 1px solid var(--border);
  padding: 44px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: var(--text);
  font-size: 15px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col p { color: var(--text2); font-size: 14px; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent2); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  margin-right: 10px;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text2);
  font-size: 13px;
}
.footer-bottom a { color: var(--text2); }
.footer-bottom a:hover { color: var(--accent2); }

/* ============ Forms (contact) ============ */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 22px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg-surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { min-height: 140px; resize: vertical; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-surf);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a.active::after { display: none; }
  .header-inner { position: relative; }
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 18px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .header-right .btn-secondary { display: none; }
}
