/* ==========================================================================
   Royal Reels 23 — base styles
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #3a3a3f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 120px;
}

/* --- Headings ------------------------------------------------------------ */

h1,
h2,
h3 {
  color: #101012;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0;
}

h1 {
  font-size: clamp(2.15rem, 5.1vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 48px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.22;
  margin: 64px 0 24px;
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.3;
  margin: 44px 0 18px;
}

/* --- Text ---------------------------------------------------------------- */

p {
  margin: 0 0 26px;
}

strong {
  color: #101012;
  font-weight: 700;
}

a {
  color: #1b4fd8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid #e9e9ee;
  margin: 56px 0;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  margin: 0 0 46px;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  display: inline-block;
  padding: 18px 54px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd45e 0%, #f2a81c 100%);
  color: #2a1a00;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38), 0 0 0 4px rgba(255, 255, 255, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  transform: translateY(-50%) scale(1.045);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

/* --- Lists --------------------------------------------------------------- */

ul,
ol {
  margin: 0 0 26px;
  padding-left: 26px;
}

li {
  margin-bottom: 12px;
  padding-left: 6px;
}

li::marker {
  color: #9a9aa4;
}

/* --- Tables -------------------------------------------------------------- */

.table-wrap {
  margin: 0 0 34px;
  overflow-x: auto;
  border: 1px solid #e9e9ee;
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  line-height: 1.6;
}

th,
td {
  padding: 15px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eeeef2;
}

th {
  background: #fafafc;
  color: #101012;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody td:first-child {
  color: #101012;
  font-weight: 600;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid #eeeef2;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-q {
  color: #101012;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 12px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 900px) {
  body {
    font-size: 17px;
    line-height: 1.75;
  }

  .wrap {
    padding: 44px 20px 80px;
  }

  h1 {
    margin-bottom: 32px;
  }

  .hero {
    border-radius: 14px;
    margin-bottom: 34px;
  }

  .hero-cta {
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 14px 38px;
  }

  .hero-cta:hover,
  .hero-cta:focus {
    transform: translate(-50%, -50%) scale(1.045);
  }

  th,
  td {
    padding: 13px 16px;
  }

  table {
    font-size: 15.5px;
  }
}
