:root {
  --navy: #0a1628;
  --navy-light: #142640;
  --navy-mid: #1a3050;
  --gold: #d4af37;
  --gold-light: #f0d878;
  --gold-dark: #b8901e;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-muted: #8a9bb0;
  --success: #2d8659;
  --error: #c0392b;
  --warning: #e6a817;
  --accent: #e8c547;
  --border-gold: rgba(212, 175, 55, 0.3);
  --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

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

a:hover { color: var(--gold-light); }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  transition: background 0.3s ease;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero.jpg') center / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, var(--navy) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
}

.hero p {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: Georgia, serif;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.35);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

/* ===== Sections ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--gold);
}

.feature-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Game Section ===== */
.game-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  padding: 4rem 1.5rem;
}

.game-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-gold);
}

.game-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.game-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.slot-machine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.reel {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.reel.spinning {
  animation: reel-bounce 0.1s linear infinite;
}

@keyframes reel-bounce {
  0% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}

.reel-symbol {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.reel.spinning .reel-symbol {
  opacity: 0.6;
}

.game-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.bet-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bet-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bet-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--navy-light);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bet-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.bet-display {
  font-size: 1.1rem;
  color: var(--gold);
  min-width: 50px;
  text-align: center;
  font-weight: 700;
}

.spin-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
}

.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.stat-box {
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.win-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.3rem;
  color: var(--gold-light);
  min-height: 1.5rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.win-message.show {
  opacity: 1;
  animation: win-pop 0.5s ease;
}

@keyframes win-pop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===== Paytable ===== */
.paytable {
  margin-top: 2rem;
  background: var(--navy-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.paytable h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.paytable table {
  width: 100%;
  border-collapse: collapse;
}

.paytable th, .paytable td {
  padding: 0.6rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.paytable th {
  color: var(--gold);
  font-size: 0.85rem;
}

.paytable td {
  color: var(--cream);
  font-size: 0.9rem;
}

.paytable .sym-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.paytable .sym-cell img {
  width: 28px;
  height: 28px;
}

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

.faq-item {
  background: var(--navy-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1rem;
  font-family: Georgia, serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover { background: rgba(212, 175, 55, 0.05); }

.faq-toggle {
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--cream);
  font-size: 0.95rem;
}

/* ===== Content Pages ===== */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.page-hero h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-section h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.content-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.5rem;
  border-radius: 1px;
}

.content-section p {
  color: var(--cream);
  margin-bottom: 1rem;
}

.content-section ul {
  list-style: none;
  margin: 1rem 0 1rem 0;
}

.content-section ul li {
  color: var(--cream);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.content-section ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.4rem;
}

.about-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  margin: 2rem 0;
}

/* ===== Contact Form ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-success {
  display: none;
  background: rgba(45, 134, 89, 0.15);
  border: 1px solid var(--success);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--success);
  text-align: center;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
  animation: win-pop 0.4s ease;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-gold);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 36px;
}

.footer-brand span {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p { margin-bottom: 0.5rem; }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navy-mid);
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-text {
  color: var(--cream);
  font-size: 0.9rem;
  max-width: 600px;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: Georgia, serif;
}

.cookie-btn:hover {
  background: var(--gold-light);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gold);
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .hero-badges { gap: 0.75rem; }
  .badge { font-size: 0.75rem; padding: 0.4rem 0.75rem; }

  .section { padding: 2.5rem 1.5rem; }
  .section-title { font-size: 1.6rem; }

  .game-container { padding: 1.25rem; }
  .game-title { font-size: 1.4rem; }
  .reel { min-height: 90px; }
  .reel-symbol { width: 48px; height: 48px; }
  .slot-machine { padding: 1rem; gap: 0.5rem; }

  .game-stats { grid-template-columns: 1fr; }
  .stat-box { display: flex; justify-content: space-between; align-items: center; }
  .stat-label { text-align: left; }
  .stat-value { text-align: right; }

  .page-hero h1 { font-size: 1.8rem; }
  .content-section { padding: 2rem 1.25rem; }
  .content-section h2 { font-size: 1.3rem; }

  .cookie-banner { flex-direction: column; text-align: center; gap: 0.75rem; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .logo-text { font-size: 1.1rem; }
  .logo-img { height: 32px; }
  .btn { padding: 0.7rem 1.8rem; font-size: 0.9rem; }
  .game-controls { flex-direction: column; gap: 0.75rem; }
  .spin-btn { width: 100%; }
}
