/* ============================================================
   Pramenio - Main Stylesheet
   Color System #10 - Playful Bright
   White base, bright accents, blue/aqua/gold
   ============================================================ */

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1c2833;
  background: #ffffff;
  line-height: 1.7;
  padding-top: 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: #1a5276;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2e86c1;
}

a:focus-visible {
  outline: 2px solid #2e86c1;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  color: #1a5276;
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- 21+ Age Strip (Fixed) --- */
.age-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #e74c3c;
  color: #ffffff;
  text-align: center;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.age-strip__text {
  display: inline-block;
}

/* --- Header --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  z-index: 900;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo-img {
  width: 160px;
  height: auto;
}

/* Navigation */
.site-header__nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.site-header__nav-item {
  position: relative;
}

.site-header__nav-item > a {
  display: block;
  padding: 0 18px;
  line-height: 60px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #1c2833;
  transition: color 0.2s, background 0.2s;
}

.site-header__nav-item > a:hover,
.site-header__nav-item.is-active > a {
  color: #1a5276;
  background: #f0f8ff;
}

/* Mega Menu */
.has-mega {
  position: relative;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 520px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #2e86c1;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 950;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 20px 24px;
}

.mega-menu__group {
  padding: 0 12px;
}

.mega-menu__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5d6d7e;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

.mega-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu__links li {
  margin-bottom: 4px;
}

.mega-menu__links a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #1c2833;
  transition: color 0.2s, padding-left 0.2s;
}

.mega-menu__links a:hover {
  color: #2e86c1;
  padding-left: 4px;
}

/* Burger */
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.site-header__burger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #1a5276;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__inner {
  padding: 20px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.mobile-menu__close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #1a5276;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu__item a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1c2833;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__sublist {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 0;
  display: none;
}

.mobile-menu__sublist.is-open {
  display: block;
}

.mobile-menu__sublist a {
  font-size: 0.95rem;
  padding: 10px 0;
  color: #5d6d7e;
  font-weight: 400;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-menu__arrow {
  font-size: 0.7rem;
  margin-left: 6px;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 24px;
}

.mobile-menu__disclosure {
  font-size: 0.8rem;
  color: #7f8c8d;
  text-align: center;
}

/* --- Hero --- */
.hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f8f5 50%, #fef9e7 100%);
  text-align: center;
}

.hero__title {
  font-size: 2.6rem;
  color: #1a5276;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.2rem;
  color: #5d6d7e;
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero__compliance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  background: #ffffff;
  border: 1px solid #d5f5e3;
  border-radius: 10px;
  padding: 12px 24px;
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.hero__compliance-item {
  font-size: 0.85rem;
  color: #17a589;
  font-weight: 500;
}

.hero__compliance-item::before {
  content: "\2713 ";
  font-weight: 700;
}

/* --- Category Showcase (Hero #7) --- */
.category-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.category-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e8e8e8;
  transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 700;
}

.category-card__icon--poker { background: linear-gradient(135deg, #1a5276, #2e86c1); }
.category-card__icon--casino { background: linear-gradient(135deg, #e74c3c, #f39c12); }
.category-card__icon--ruleta { background: linear-gradient(135deg, #17a589, #1abc9c); }
.category-card__icon--blackjack { background: linear-gradient(135deg, #f39c12, #e67e22); }

.category-card__title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.category-card__desc {
  font-size: 0.85rem;
  color: #5d6d7e;
  margin: 0;
}

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

.section--alt {
  background: #f8f9fa;
}

.section--blue {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
  color: #ffffff;
}

.section--blue h2,
.section--blue h3,
.section--blue .section__label {
  color: #ffffff;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2e86c1;
  font-weight: 600;
  margin-bottom: 8px;
}

.section__title {
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.1rem;
  color: #5d6d7e;
  max-width: 700px;
  margin-bottom: 2rem;
}

.section--blue .section__sub {
  color: #d5f5e3;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #e8e8e8;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
}

.card__icon--blue { background: #2e86c1; }
.card__icon--red { background: #e74c3c; }
.card__icon--green { background: #17a589; }
.card__icon--gold { background: #f39c12; }

.card__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.92rem;
  color: #5d6d7e;
  margin: 0;
}

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

.two-col__img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

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

.step {
  text-align: center;
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: #2e86c1;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  margin-top: 8px;
}

.step__text {
  font-size: 0.9rem;
  color: #5d6d7e;
  margin: 0;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #1c2833;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: #f8f9fa;
}

.faq-item__icon {
  font-size: 1.2rem;
  color: #2e86c1;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding: 0 20px 18px;
}

.faq-item__answer p {
  font-size: 0.95rem;
  color: #5d6d7e;
  margin-bottom: 0.5rem;
}

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

/* --- CTA Banner (Variant #4) --- */
.cta-banner {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a5276, #2e86c1);
  border-radius: 16px;
  color: #ffffff;
  margin: 20px 0;
}

.cta-banner__title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1.1rem;
  color: #d5f5e3;
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-banner__btn {
  display: inline-block;
  background: #f39c12;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
}

.cta-banner__btn:hover {
  background: #e67e22;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background: #1c2833;
  color: #bdc3c7;
  padding: 50px 0 0;
  margin-top: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2c3e50;
}

.site-footer__logo {
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.site-footer__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #95a5a6;
  margin: 0;
}

.site-footer__heading {
  font-size: 0.95rem;
  color: #ecf0f1;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2c3e50;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: 8px;
}

.site-footer__links a {
  color: #bdc3c7;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__disclaimer {
  font-size: 0.83rem;
  color: #95a5a6;
  line-height: 1.6;
  margin: 0;
}

.site-footer__block--copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2c3e50;
  margin-top: 0;
}

.site-footer__block--copyright p {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 4px;
}

.site-footer__small {
  font-size: 0.78rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1c2833;
  color: #ecf0f1;
  z-index: 999;
  padding: 16px 0;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: #bdc3c7;
  margin: 0;
  flex: 1;
}

.cookie-banner__text a {
  color: #85c1e9;
  text-decoration: underline;
}

.cookie-banner__btn {
  flex-shrink: 0;
  background: #2e86c1;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  background: #1a5276;
}

/* --- Content Pages --- */
.content-page {
  padding: 50px 0;
}

.content-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.content-page__title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.content-page__lead {
  font-size: 1.15rem;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.content-page h2 {
  margin-top: 2.5rem;
}

.content-page h3 {
  margin-top: 1.5rem;
  color: #2c3e50;
}

.content-page p,
.content-page li {
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Sidebar Legal Pages --- */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 70px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e8e8e8;
}

.legal-sidebar__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5d6d7e;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.legal-sidebar__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-sidebar__links li {
  margin-bottom: 4px;
}

.legal-sidebar__links a {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #1c2833;
  border-radius: 6px;
  transition: background 0.2s;
}

.legal-sidebar__links a:hover {
  background: #e8e8e8;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1c2833;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5dbdb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #2e86c1;
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.15);
}

.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__btn {
  background: #2e86c1;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.contact-form__btn:hover {
  background: #1a5276;
}

/* --- Thank You Page --- */
.thank-you {
  text-align: center;
  padding: 100px 0;
}

.thank-you__icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #17a589;
}

.thank-you__title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.thank-you__text {
  font-size: 1.1rem;
  color: #5d6d7e;
  max-width: 500px;
  margin: 0 auto 30px;
}

/* --- Responsible Page --- */
.support-info {
  background: #fef9e7;
  border: 1px solid #f9e79f;
  border-radius: 12px;
  padding: 28px;
  margin: 24px 0;
}

.support-info__phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e74c3c;
}

.support-info__link {
  color: #2e86c1;
  font-weight: 600;
}

/* --- Grid Balance --- */
.grid-3-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-3-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.grid-2-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: relative;
    top: 0;
  }

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

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    padding-top: 92px; /* 32px age-strip + 60px fixed header */
  }

  .site-header {
    position: fixed;
    top: 32px; /* below the fixed age-strip */
    left: 0;
    right: 0;
    z-index: 950;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__burger {
    display: flex;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__sub {
    font-size: 1rem;
  }

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

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

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

  .category-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3-3,
  .grid-4-2,
  .grid-3-2,
  .grid-2-2 {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .hero__compliance {
    flex-direction: column;
    gap: 4px;
  }

  .content-page__title {
    font-size: 1.6rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .cta-banner__title {
    font-size: 1.5rem;
  }

  .cta-banner {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  .category-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .section {
    padding: 35px 0;
  }
}
