/* ==========================================================================
   GOLDEN ROCK CLUB - CLEAN MOBILE-FIRST LANDING PAGE
   Theme: Deep Royal Navy Blue (#070e1b), Imperial Gold (#e5a93b), Pure White
   ========================================================================== */

:root {
  --navy-dark: #070e1b;
  --navy-main: #0c182e;
  --navy-card: #122240;
  --navy-card-hover: #1a2f57;
  --gold-primary: #e5a93b;
  --gold-light: #f7d488;
  --gold-dark: #b87b14;
  --gold-gradient: linear-gradient(135deg, #f7d488 0%, #e5a93b 50%, #b87b14 100%);
  --purple-accent: #9d4edd;

  --text-white: #ffffff;
  --text-gold: #f3c46b;
  --text-muted: #8d9bb5;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-gold: 0 4px 20px rgba(229, 169, 59, 0.25);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Mobile Viewport */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--navy-dark);
  color: var(--text-white);
  font-size: 14px;
}

body {
  background-color: var(--navy-dark);
  line-height: 1.5;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 14px;
}

/* Typography Utility */
.gold-text {
  background: linear-gradient(135deg, #fff3b0 0%, #e5a93b 60%, #b87b14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #081225;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-gold:active {
  transform: scale(0.96);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: rgba(229, 169, 59, 0.15);
  color: #fff;
}

/* HEADER NAVBAR (ONLY LOGO + 2 BUTTONS) */
.site-header {
  background: rgba(7, 14, 27, 0.96);
  border-bottom: 1px solid rgba(229, 169, 59, 0.3);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
}

.navbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(229, 169, 59, 0.4));
  border-radius: 50%;
}

.header-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* HERO BANNER */
.hero-deltin-style {
  background: radial-gradient(circle at center, rgba(229, 169, 59, 0.15) 0%, rgba(7, 14, 27, 0.98) 80%);
  padding: 30px 0 20px;
  text-align: center;
}

.hero-logo-container {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
}

.hero-big-logo {
  max-width: 180px;
  width: 45%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(229, 169, 59, 0.5));
  animation: pulseLogo 4s infinite alternate ease-in-out;
  border-radius: 50%;
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(229, 169, 59, 0.4));
  }

  100% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 28px rgba(229, 169, 59, 0.7));
  }
}


.deltin-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 169, 59, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-main-heading {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}

.hero-sub-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
}

/* QUICK NAV CATEGORY SCROLL BAR */
.category-scroll-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: none;
}

.category-scroll-bar::-webkit-scrollbar {
  display: none;
}

.cat-scroll-pill {
  flex: 0 0 auto;
  background: var(--navy-card);
  border: 1px solid rgba(229, 169, 59, 0.25);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-scroll-pill.active,
.cat-scroll-pill:hover {
  background: var(--gold-gradient);
  color: #081225;
  border-color: var(--gold-primary);
}

/* SECTION TITLES */
.section-container {
  padding: 24px 0 10px;
}

.section-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(229, 169, 59, 0.25);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.section-head-bar h2 {
  font-size: 1.25rem;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-count-pill {
  background: rgba(229, 169, 59, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
}

/* MOBILE-FIRST GAME LISTING CARDS (2 COLUMNS) */
.mobile-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .mobile-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-card-item {
  background: var(--navy-card);
  border: 1px solid rgba(229, 169, 59, 0.2);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.game-card-item:hover,
.game-card-item:active {
  border-color: var(--gold-primary);
  background: var(--navy-card-hover);
  transform: translateY(-2px);
}

.game-card-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 8px;
}

.game-card-icon {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: rgba(229, 169, 59, 0.12);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.game-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.game-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-card-action {
  width: 100%;
  padding: 6px 0;
  background: var(--gold-gradient);
  color: #081225;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: block;
}

/* GROUP SHOWCASE CARDS (MATKA & LOTTERY) */
.group-showcase-card {
  background: linear-gradient(135deg, #10203e 0%, #070e1b 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 14px;
}

.group-showcase-head {
  font-size: 1.2rem;
  color: var(--gold-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.group-pills-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
}

.group-tag-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FOOTER & FIXED DISCLAIMER */
.site-footer {
  background: #03070f;
  border-top: 1px solid var(--gold-primary);
  padding: 24px 0 30px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimer-box {
  background: rgba(229, 169, 59, 0.06);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

/* ==========================================================================
   PLAY NOW SELECTION MODAL POPUP
   ========================================================================== */
.grc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  padding: 16px;
}

.grc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.grc-modal-container {
  background: radial-gradient(circle at top center, #132442 0%, #070e1b 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 169, 59, 0.22);
  max-width: 500px;
  width: 100%;
  padding: 26px 20px 20px;
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.grc-modal-overlay.active .grc-modal-container {
  transform: scale(1) translateY(0);
}

.grc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.grc-modal-close:hover {
  background: var(--gold-gradient);
  color: #081225;
  border-color: var(--gold-primary);
  transform: rotate(90deg);
}

.grc-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.grc-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 169, 59, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.grc-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.grc-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Modal Grid Options */
.grc-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grc-arena-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy-card);
  border: 1px solid rgba(229, 169, 59, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.grc-arena-card:hover {
  background: var(--navy-card-hover);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 169, 59, 0.2);
}

.grc-arena-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  opacity: 0.6;
  transition: var(--transition);
}

.grc-arena-card:hover::before {
  opacity: 1;
  width: 6px;
}

.grc-arena-icon-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(7, 14, 27, 0.8);
  border: 1px solid rgba(229, 169, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.grc-arena-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grc-overlay-icon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--gold-gradient);
  color: #081225;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.grc-arena-content {
  flex: 1;
  min-width: 0;
}

.grc-arena-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.grc-arena-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  font-weight: 800;
  line-height: 1.2;
}

.grc-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 169, 59, 0.3);
}

.grc-arena-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grc-arena-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid rgba(229, 169, 59, 0.3);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.grc-arena-card:hover .grc-arena-arrow {
  background: var(--gold-gradient);
  color: #081225;
  border-color: var(--gold-primary);
  transform: translateX(3px);
}