/*
Theme Name: Luxury Casino Verde
Theme URI: https://example.com
Author: Custom Theme
Description: Luxury Casino Theme - Dark Green & Gold
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: luxury-casino
*/

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #9A7A2E;
  --gold-gradient: linear-gradient(135deg, #9A7A2E 0%, #C9A84C 40%, #F0D980 70%, #C9A84C 100%);
  --green-darkest: #020D06;
  --green-dark: #051A0A;
  --green-mid: #0A2E12;
  --green-accent: #0F3D17;
  --green-bright: #1A6B2A;
  --white: #F5F0E8;
  --white-dim: rgba(245, 240, 232, 0.7);
  --white-faint: rgba(245, 240, 232, 0.15);
  --border-gold: rgba(201, 168, 76, 0.3);
  --border-gold-bright: rgba(201, 168, 76, 0.7);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.8);
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Sarabun', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--green-darkest);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--gold-light); }

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ─── UTILITY ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

.gold-divider {
  width: 80px; height: 2px;
  background: var(--gold-gradient);
  margin: 20px auto;
  position: relative;
}
.gold-divider::before, .gold-divider::after {
  content: '◆';
  position: absolute;
  top: -8px;
  color: var(--gold);
  font-size: 10px;
}
.gold-divider::before { left: -15px; }
.gold-divider::after { right: -15px; }

/* ─── SECTION TITLE ─── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title span { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { text-align: center; color: var(--white-dim); font-size: 1rem; margin-bottom: 50px; }

/* ─── BUTTONS ─── */
.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold-gradient);
  color: var(--green-darkest);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-gold:hover { color: var(--green-darkest); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.4); }
.btn-gold:hover::before { transform: translateX(100%); }

.btn-outline {
  display: inline-block;
  padding: 13px 35px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--gold-gradient); color: var(--green-darkest); }

/* ─── HEADER / NAV ─── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(2, 13, 6, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}
#site-header.scrolled { box-shadow: var(--shadow-gold); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  max-width: 1200px; margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 2px;
  text-decoration: none;
}
.site-logo span { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 6px; color: var(--gold-dark); -webkit-text-fill-color: var(--gold-dark); text-transform: uppercase; }

.main-nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-cta { margin-left: 20px; }

.header-actions { display: flex; align-items: center; gap: 15px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 25px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--green-darkest);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26,107,42,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}

.hero-corner {
  position: absolute;
  width: 150px; height: 150px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.3;
}
.hero-corner.tl { top: 80px; left: 40px; border-width: 2px 0 0 2px; }
.hero-corner.tr { top: 80px; right: 40px; border-width: 2px 2px 0 0; }
.hero-corner.bl { bottom: 40px; left: 40px; border-width: 0 0 2px 2px; }
.hero-corner.br { bottom: 40px; right: 40px; border-width: 0 2px 2px 0; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold-bright);
  padding: 8px 24px;
  margin-bottom: 30px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.3));
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--white-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 60px; justify-content: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-gold);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.stat-label { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--white-dim); }

/* ─── MARQUEE ─── */
.provider-marquee {
  background: var(--green-mid);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
  display: flex; align-items: center; gap: 15px;
}
.marquee-item::after { content: '◆'; color: var(--gold); font-size: 8px; }

/* ─── CASINO SECTION ─── */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.casino-card {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-accent) 100%);
  border: 1px solid var(--border-gold);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}
.casino-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.casino-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); border-color: var(--border-gold-bright); }
.casino-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.card-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--gold); letter-spacing: 1px; margin-bottom: 10px; }
.card-desc { font-size: 0.9rem; color: var(--white-dim); line-height: 1.6; margin-bottom: 20px; }
.card-tag { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--border-gold); display: inline-block; padding: 4px 12px; }

/* ─── PROMOTION BANNER ─── */
.promo-section {
  background: var(--green-mid);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.promo-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(201,168,76,0.08), transparent);
}

.promo-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.promo-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 15px;
}
.promo-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 20px; }
.promo-title strong { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.promo-desc { color: var(--white-dim); margin-bottom: 30px; line-height: 1.8; }

.promo-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid var(--border-gold-bright);
  padding: 40px;
  text-align: center;
  position: relative;
}
.promo-card::before { content: '★'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green-mid); padding: 0 10px; color: var(--gold); font-size: 1.2rem; }
.promo-percent { font-family: var(--font-display); font-size: 5rem; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.promo-label { font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--white-dim); margin-bottom: 20px; }
.promo-terms { font-size: 0.75rem; color: var(--white-dim); margin-top: 15px; }

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background: var(--green-mid);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  transition: all 0.4s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }

.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--green-accent), var(--green-bright));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--green-mid));
}

.blog-body { padding: 25px; }
.blog-cat { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-title { font-family: var(--font-heading); font-size: 1rem; color: var(--white); margin-bottom: 12px; line-height: 1.5; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: 0.85rem; color: var(--white-dim); line-height: 1.6; margin-bottom: 20px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--border-gold); font-size: 0.75rem; color: var(--white-dim); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  min-height: 350px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26,107,42,0.4), transparent);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 15px; }
.breadcrumb { font-size: 0.8rem; color: var(--white-dim); letter-spacing: 2px; }
.breadcrumb a { color: var(--gold-dark); }

/* ─── PROVIDER GRID ─── */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.provider-card {
  background: var(--green-mid);
  border: 1px solid var(--border-gold);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.provider-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); background: var(--green-accent); }
.provider-logo { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.provider-name { font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.provider-count { font-size: 0.75rem; color: var(--white-dim); }

/* ─── ARTICLE / SINGLE ─── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}
.article-content { background: var(--green-mid); border: 1px solid var(--border-gold); padding: 50px; }
.article-content h1 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--white); margin-bottom: 10px; line-height: 1.4; }
.article-content h2 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--gold); margin: 40px 0 15px; border-left: 3px solid var(--gold); padding-left: 15px; }
.article-content h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--white); margin: 30px 0 12px; }
.article-content p { color: var(--white-dim); line-height: 1.9; margin-bottom: 20px; }
.article-content ul, .article-content ol { color: var(--white-dim); padding-left: 25px; margin-bottom: 20px; line-height: 1.9; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.article-content th { background: var(--green-accent); color: var(--gold); font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 1px; padding: 12px 15px; border: 1px solid var(--border-gold); text-align: left; }
.article-content td { padding: 12px 15px; border: 1px solid var(--border-gold); color: var(--white-dim); font-size: 0.9rem; }
.article-content tr:nth-child(even) td { background: rgba(201,168,76,0.04); }

.article-meta { display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; align-items: center; }
.article-cat { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; background: var(--gold-gradient); color: var(--green-darkest); padding: 4px 14px; font-family: var(--font-heading); font-weight: 700; }
.article-date { font-size: 0.8rem; color: var(--white-dim); }

.sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--green-mid); border: 1px solid var(--border-gold); padding: 30px; margin-bottom: 25px; }
.widget-title { font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-gold); }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--green-dark);
  border-top: 1px solid var(--border-gold);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 15px; display: block; }
.footer-desc { font-size: 0.85rem; color: var(--white-dim); line-height: 1.8; margin-bottom: 25px; }
.footer-heading { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--white-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-gold);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 15px;
}
.footer-copy { font-size: 0.78rem; color: var(--white-dim); }
.footer-disclaimer { font-size: 0.7rem; color: rgba(245,240,232,0.4); text-align: center; flex: 1; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.2); }
  50% { box-shadow: 0 0 40px rgba(201,168,76,0.4); }
}

.fade-in { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .promo-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: fixed; inset: 0; top: 70px; background: rgba(2,13,6,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; text-align: center; }
  .hamburger { display: flex; }
  .hero-stats { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-corner { width: 80px; height: 80px; }
  .blog-grid { grid-template-columns: 1fr; }
}
