/* ===================================================
   PERIMENTU.COM — Main Stylesheet
   Fonts: Montserrat (headings) + Inter (body)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --navy:       #0a0e2a;
  --navy-mid:   #0d1235;
  --navy-light: #141944;
  --navy-card:  #111638;
  --teal:       #00d4c8;
  --teal-dark:  #00b3a8;
  --teal-glow:  rgba(0, 212, 200, 0.18);
  --gold:       #f5c518;
  --gold-dark:  #d4a800;
  --white:      #ffffff;
  --gray-100:   #e8eaf2;
  --gray-300:   #9aa0bc;
  --gray-500:   #5a6080;
  --danger:     #ff4d6d;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-card: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 30px rgba(0, 212, 200, 0.25);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--gray-100);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

/* ─── Utility ────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  margin-top: 10px;
  border-radius: 2px;
}

.section-text {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ─── Scroll Reveal ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── HERO SECTION ────────────────────────────── */
.hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,200,0.12) 0%, transparent 70%),
    linear-gradient(160deg, #0e1340 0%, #080b22 40%, #090c28 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4c8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  animation: heroGlow 4s ease-in-out infinite alternate;
  max-width: 680px;
}

@keyframes heroGlow {
  0%   { text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 0px rgba(0,212,200,0); }
  100% { text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 60px rgba(0,212,200,0.2); }
}

/* ─── BRAND CARD ──────────────────────────────── */
.brand-section {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  margin-top: -60px;
  margin-bottom: 48px;
}

.brand-card {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #161d4a 0%, #0f1430 100%);
  border: 1px solid rgba(0,212,200,0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: shimmer 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.brand-card:hover {
  box-shadow: var(--shadow-card), 0 0 50px rgba(0,212,200,0.35);
  border-color: rgba(0,212,200,0.4);
}

.brand-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.brand-card__logo {
  margin-top: 8px;
}

.brand-card__logo img,
.brand-card__logo svg {
  width: 140px;
  height: auto;
}

.brand-card__info {
  padding: 0 10px;
}

.brand-card__bonus-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.brand-card__bonus-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.brand-card__sub-text {
  font-size: 0.82rem;
  color: var(--gray-300);
}

.brand-card__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 120px;
}

.brand-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.brand-card__score {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.brand-card__score span {
  font-size: 0.85rem;
  color: var(--gray-300);
  font-weight: 400;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
  white-space: nowrap;
}

.btn-cta:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #ffd740, var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,197,24,0.4);
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(245,197,24,0); }
}

/* ─── CONTENT SECTIONS ────────────────────────── */
.content-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.content-section:nth-child(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 100%);
}

/* ─── RESPONSIBLE GAMING ──────────────────────── */
.responsible-section {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.responsible-section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-300);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
}

.responsible-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.responsible-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}

.responsible-logos a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.responsible-logos img,
.responsible-logos svg {
  height: 52px;
  width: auto;
  display: block;
}

/* ─── 18+ DISCLAIMER ──────────────────────────── */
.disclaimer-strip {
  background: linear-gradient(90deg, #0c0f2a, #111638, #0c0f2a);
  border-top: 1px solid rgba(255,77,109,0.25);
  border-bottom: 1px solid rgba(255,77,109,0.25);
  padding: 20px 24px;
}

.disclaimer-strip__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-strip__badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer-strip__text {
  font-size: 0.78rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.disclaimer-strip__text strong {
  color: var(--gray-100);
}

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #080b20 0%, #050816 100%);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 56px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer__text {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--gray-300);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__links a:hover {
  color: var(--teal);
  padding-left: 6px;
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logos a {
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer__logos a:hover {
  opacity: 1;
}

.footer__logos svg,
.footer__logos img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px;
  flex-wrap: wrap;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
}

.footer__phone svg {
  width: 18px;
  height: 18px;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  flex: 1;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,212,200,0.08);
}

/* ─── COOKIE BANNER ───────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #141944 0%, #0d1030 100%);
  border-top: 1px solid rgba(0,212,200,0.3);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner.hide {
  transform: translateY(100%);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.83rem;
  color: var(--gray-300);
  min-width: 240px;
}

.cookie-banner__text a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,212,200,0.35);
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-300);
  font-size: 0.78rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-cookie-decline:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}

/* ─── POLICY PAGE STYLES ──────────────────────── */
.page-header {
  background: linear-gradient(160deg, #0e1340 0%, #080b22 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(0,212,200,0.15);
}

.page-header__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header__subtitle {
  font-size: 0.9rem;
  color: var(--gray-300);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}

.policy-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin: 2rem 0 0.75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 0.9rem;
  line-height: 1.75;
}

.policy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.policy-content ul li {
  font-size: 0.9rem;
  color: var(--gray-300);
  padding: 5px 0 5px 20px;
  position: relative;
}

.policy-content ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.policy-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all var(--transition);
}

.back-link:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ─── NAV ─────────────────────────────────────── */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
}

.site-nav__logo span {
  color: var(--teal);
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    min-height: 260px;
    /* Extra bottom padding so the overlapping card doesn't cover hero text */
    padding: 70px 20px 130px;
  }

  /* Brand card overlaps hero by ~half card height on mobile */
  .brand-section {
    margin-top: -110px;
    padding: 0;
    margin-bottom: 32px;
  }

  .brand-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 18px 24px;
    text-align: center;
  }

  .brand-card__logo {
    margin: 8px auto 0;
  }

  .brand-card__meta {
    align-items: center;
    min-width: unset;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand-card__badge {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .btn-cta {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

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

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

  .footer__logos {
    gap: 24px;
  }

  .responsible-logos {
    gap: 24px;
  }

  .brand-card__info {
    padding: 0;
  }

  .disclaimer-strip__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .btn-cookie-accept,
  .btn-cookie-decline {
    flex: 1;
    text-align: center;
  }
}

/* ─── Particle dots (decorative) ─────────────── */
@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(-18px); opacity: 1; }
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--teal);
  animation: floatDot linear infinite;
}
