/*
Theme Name: Diamond Reel Rush
Theme URI:
Author: Diamond Reel Rush
Description: Custom WordPress theme for Diamond Reel Rush casino landing page
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: drr
*/

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Cal Sans', Helvetica, sans-serif; background-color: #000415; color: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --blue-charcoal: #000415;
  --black-pearl: #080e28;
  --ebony-clay: #232b3e;
  --rhino: #2b3664;
  --lynch: #6f7aab;
  --lapis: #436fc2;
  --banana: #ffe224;
  --white: #ffffff;
  --cloud: #c7c7c7;
  --gunsmoke: #858585;
  --alto: #dbdbdb;
  --bright-gray: #33414c;
  --casal: #2b645e;
  --costa-del-sol: #64582b;
  --font-cal: 'Cal Sans', Helvetica, sans-serif;
  --font-outfit: 'Outfit', Helvetica, sans-serif;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  z-index: 100;
  padding: 14px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  width: 74px;
  height: 83px;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar__links li {
  list-style: none;
}
.navbar__links a,
.navbar__links li a {
  font-family: var(--font-cal);
  font-size: 14px;
  color: var(--alto);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.navbar__links a:hover,
.navbar__links li a:hover { color: var(--white); }
.navbar__links .current-menu-item > a,
.navbar__links .current_page_item > a { color: var(--white); }
.navbar__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--banana);
  color: #000;
  font-family: var(--font-cal);
  font-size: 14.8px;
  border-radius: 8px;
  padding: 10px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.navbar__contact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.navbar__contact:hover { transform: scale(1.03); }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  min-height: 650px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 386px;
  height: 386px;
  background: var(--lynch);
  border-radius: 50%;
  filter: blur(250px);
  top: 50px;
  right: 5%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero__content {
  max-width: 600px;
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-cal);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 24px;
}
.hero__title span { color: var(--lapis); }
.hero__text {
  font-family: var(--font-cal);
  font-size: 18.6px;
  color: var(--cloud);
  line-height: 1.55;
  max-width: 548px;
  margin-bottom: 33px;
}
.hero__visual {
  position: relative;
  flex-shrink: 0;
  width: 450px;
  height: 500px;
}
.hero__king {
  position: absolute;
  width: 387px;
  height: auto;
  right: 0;
  top: 0;
  z-index: 2;
}
.hero__cherry {
  position: absolute;
  width: 139px;
  left: -40px;
  top: 80px;
  z-index: 1;
}
.hero__diamond-sm {
  position: absolute;
  width: 129px;
  left: -10px;
  top: 300px;
  z-index: 3;
}
.hero__gem {
  position: absolute;
  width: 138px;
  right: -40px;
  top: 250px;
  z-index: 1;
}
.hero__coin-sm {
  position: absolute;
  width: 96px;
  right: -50px;
  top: 420px;
  z-index: 3;
}
.hero__coin-md {
  position: absolute;
  width: 116px;
  right: -10px;
  top: 50px;
  z-index: 1;
}
.hero__coin-lg {
  position: absolute;
  width: 200px;
  left: -40px;
  bottom: -30px;
  z-index: 1;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--banana);
  color: #000;
  font-family: var(--font-cal);
  font-size: 18.6px;
  border-radius: 15px;
  padding: 17px 50px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
  text-align: center;
}
.btn-primary:hover { transform: scale(1.03); }
.btn-primary-glow { position: relative; }
.btn-primary-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--banana);
  border-radius: 15px;
  filter: blur(25px);
  z-index: -1;
}
.btn-sm {
  font-size: 11.4px;
  padding: 10px 24px;
  border-radius: 9px;
}

/* ===== DIVIDER ===== */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  margin: 0;
}
.divider-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  text-align: center;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-family: var(--font-cal);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
}
.section-heading h2 span { color: var(--lapis); }
.section-subtext {
  font-family: var(--font-cal);
  font-size: 16px;
  color: var(--cloud);
  line-height: 1.55;
  text-align: center;
  max-width: 548px;
  margin: 0 auto 60px;
}

/* ===== WHY PLAY / FEATURE CARDS ===== */
.why-play { padding: 80px 0; }
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-card {
  background: var(--blue-charcoal);
  border: 1px solid var(--rhino);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  padding-bottom: 30px;
}
.feature-card__glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(100px);
  top: -122px;
  left: -112px;
  pointer-events: none;
}
.feature-card__glow--blue { background: var(--rhino); }
.feature-card__glow--yellow { background: var(--costa-del-sol); }
.feature-card__glow--teal { background: var(--casal); }
.feature-card__image-wrapper {
  display: flex;
  justify-content: center;
  padding: 11px 0 0;
  height: 237px;
  position: relative;
  z-index: 1;
}
.feature-card__image {
  width: 226px;
  height: 226px;
  object-fit: cover;
}
.feature-card__body {
  padding: 0 22px;
  position: relative;
  z-index: 1;
}
.feature-card__title {
  font-family: var(--font-cal);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 10px;
}
.feature-card__title span { color: var(--lapis); }
.feature-card__text {
  font-family: var(--font-cal);
  font-size: 14px;
  color: var(--gunsmoke);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ===== SLOT GAMES ===== */
.slot-games { padding: 80px 0; }
.slot-games__title {
  font-family: var(--font-cal);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.slot-games__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 33px;
  margin-bottom: 40px;
}
.slot-card {
  background: var(--ebony-clay);
  border: 1px solid var(--bright-gray);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 0.72;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot-games__cta {
  display: flex;
  justify-content: center;
}

/* ===== CTA BANNER ===== */
.cta-banner { padding: 80px 0; }
.cta-banner__inner {
  background: var(--black-pearl);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  min-height: 270px;
}
.cta-banner__content {
  position: relative;
  z-index: 2;
}
.cta-banner__title {
  font-family: var(--font-cal);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}
.cta-banner__title .line1 {
  font-size: 72px;
  color: var(--white);
  display: block;
}
.cta-banner__title .line2 {
  font-size: 100px;
  color: var(--lapis);
  display: block;
  line-height: 1.1;
}
.cta-banner__btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.cta-banner__king {
  position: absolute;
  right: -20px;
  bottom: 0;
  height: 120%;
  width: auto;
  max-width: 260px;
  z-index: 1;
  object-fit: contain;
  object-position: bottom right;
}

/* ===== FAQ / ACCORDION ===== */
.faq-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.faq-section .section-subtext { margin-bottom: 40px; }
.faq-wrapper {
  position: relative;
  max-width: 789px;
  margin: 0 auto;
}
.faq-decorations {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.faq-decor { position: absolute; }
.faq-decor--diamond { width: 129px; left: -180px; top: 0; }
.faq-decor--cherry { width: 139px; right: -180px; top: 80px; }
.faq-decor--coin-left { width: 191px; left: -200px; bottom: -30px; }
.faq-decor--coin-right { width: 96px; right: -150px; bottom: 50px; }
.accordion {
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.accordion__header {
  background: var(--rhino);
  border-radius: 18px;
  padding: 29px 47px 29px 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  transition: background 0.2s;
}
.accordion__header:hover { background: #324077; }
.accordion__chevron {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion__chevron svg { width: 14px; height: 8px; }
.accordion.is-open .accordion__chevron { transform: rotate(0deg); }
.accordion:not(.is-open) .accordion__chevron { transform: rotate(180deg); }
.accordion__title {
  font-family: var(--font-outfit);
  font-size: 22.5px;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}
.accordion__body {
  background: var(--rhino);
  border-radius: 0 0 18px 18px;
  padding: 0 47px 30px 85px;
  margin-top: -18px;
  display: none;
}
.accordion.is-open .accordion__body { display: block; }
.accordion.is-open .accordion__header { border-radius: 18px 18px 0 0; }
.accordion__text {
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.66;
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 80px 0; }
.about-section .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about__image { flex-shrink: 0; width: 358px; }
.about__image img { width: 100%; height: auto; }
.about__content { flex: 1; }
.about__title {
  font-family: var(--font-cal);
  font-size: 42px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 35px;
}
.about__text {
  font-family: var(--font-cal);
  font-size: 18.6px;
  color: var(--cloud);
  line-height: 1.86;
}

/* ===== CONTENT BODY ===== */
.content-body { padding: 80px 0; }
.content-body__inner { max-width: 900px; margin: 0 auto; }
.content-body__text {
  font-family: var(--font-cal);
  font-size: 18.6px;
  color: var(--cloud);
  line-height: 1.86;
}
.content-body__text p { margin-bottom: 24px; }
.content-body__text p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  text-align: center;
}
.footer__logo {
  width: 74px;
  height: 83px;
  object-fit: contain;
  margin: 0 auto 24px;
}
.footer__nav {
  margin-bottom: 20px;
}
.footer__nav ul,
.footer__nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.footer__nav li { list-style: none; }
.footer__nav a {
  font-family: var(--font-cal);
  font-size: 16px;
  color: var(--white);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--banana); }
.footer__brand {
  font-family: var(--font-cal);
  font-size: 12px;
  color: var(--banana);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__disclaimer {
  font-family: var(--font-cal);
  font-size: 14px;
  color: var(--gunsmoke);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 20px;
}
.footer__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  align-items: center;
}
.footer__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
}
.footer__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer__badge-label {
  font-family: var(--font-cal);
  font-size: 13px;
  color: var(--gunsmoke);
}
.footer__copyright {
  font-family: var(--font-cal);
  font-size: 14px;
  color: var(--gunsmoke);
}

/* ===== GAME POPUP ===== */
#game-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}
#game-popup-overlay.is-active { display: block; }
#game-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 900px;
  background: var(--black-pearl);
  border-radius: 15px;
  overflow: hidden;
}
#game-popup.is-active { display: block; }
#game-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
#game-popup-close:hover { background: rgba(255,255,255,0.1); }
#game-popup-content {
  width: 100%;
  aspect-ratio: 16/9;
  padding-top: 40px;
}
#game-popup-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 60px 0 80px;
}
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--black-pearl);
  border: 1px solid var(--ebony-clay);
  border-radius: 15px;
  padding: 40px;
}
.contact-form__group {
  margin-bottom: 24px;
}
.contact-form__label {
  display: block;
  font-family: var(--font-cal);
  font-size: 14px;
  color: var(--cloud);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.contact-form__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--blue-charcoal);
  border: 1px solid var(--ebony-clay);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-outfit);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form__input::placeholder {
  color: var(--gunsmoke);
}
.contact-form__input:focus {
  border-color: var(--lapis);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form__submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-cal);
}
.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 20px;
}
.contact-form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lapis), var(--casal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-form__success h3 {
  font-family: var(--font-cal);
  font-size: 24px;
  color: var(--banana);
}
.contact-form__success p {
  font-family: var(--font-outfit);
  font-size: 16px;
  color: var(--gunsmoke);
  max-width: 400px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero__title { font-size: 52px; }
  .hero__visual { width: 320px; height: 400px; }
  .hero__king { width: 280px; }
  .hero { padding: 60px 0 80px; min-height: auto; }
  .feature-cards { gap: 24px; }
  .feature-card__image-wrapper { height: 200px; }
  .feature-card__image { width: 180px; height: 180px; }
  .slot-games__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cta-banner__title .line1 { font-size: 52px; }
  .cta-banner__title .line2 { font-size: 72px; }
  .cta-banner__king { max-width: 200px; }
  .faq-decor--diamond, .faq-decor--cherry,
  .faq-decor--coin-left, .faq-decor--coin-right { display: none; }
  .about-section .container { gap: 40px; }
  .about__image { width: 280px; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__contact { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar.is-open .navbar__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-pearl);
    padding: 24px;
    gap: 24px;
    border-radius: 0 0 15px 15px;
    z-index: 100;
  }
  .navbar.is-open .navbar__links li { width: 100%; }
  .navbar.is-open .navbar__contact {
    display: inline-flex;
    margin-top: 8px;
  }
  .hero .container { flex-direction: column; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__title { font-size: 44px; }
  .hero__visual { width: 100%; max-width: 350px; height: 380px; margin: 0 auto; }
  .hero__king { width: 260px; right: 10%; }
  .section-heading h2 { font-size: 34px; }
  .feature-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .slot-games__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner__inner { flex-direction: column; text-align: center; padding: 30px 24px; min-height: auto; }
  .cta-banner__title .line1 { font-size: 40px; }
  .cta-banner__title .line2 { font-size: 56px; }
  .cta-banner__king { position: relative; right: auto; bottom: auto; height: auto; max-width: 200px; margin: 20px auto 0; }
  .cta-banner__btn { margin-top: 24px; }
  .accordion__header { padding: 20px 24px; }
  .accordion__title { font-size: 18px; }
  .accordion__body { padding: 0 24px 20px 60px; }
  .accordion__text { font-size: 16px; }
  .about-section .container { flex-direction: column; align-items: center; text-align: center; }
  .about__image { width: 250px; }
  .about__title { font-size: 34px; }
  .content-body__text { font-size: 16px; }
  .footer__nav ul, .footer__nav { gap: 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .hero__text { font-size: 16px; }
  .hero__visual { height: 300px; max-width: 280px; }
  .hero__king { width: 200px; }
  .hero__cherry, .hero__gem, .hero__coin-sm, .hero__coin-md, .hero__coin-lg, .hero__diamond-sm { display: none; }
  .section-heading h2 { font-size: 28px; }
  .section-subtext { font-size: 14px; }
  .slot-games__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .slot-card { aspect-ratio: 0.8; }
  .cta-banner__title .line1 { font-size: 30px; }
  .cta-banner__title .line2 { font-size: 42px; }
  .btn-primary { padding: 14px 36px; font-size: 16px; }
  .about__image { width: 200px; }
  .about__title { font-size: 28px; }
  .about__text { font-size: 16px; }
  .content-body__text { font-size: 15px; }
  .footer__nav ul, .footer__nav { gap: 20px; }
  .contact-form-wrapper { padding: 24px 20px; }
}
