:root {
  --color-bg-dark: #0c0c0c;
  --color-silk-red-1: #8b0000;
  --color-silk-red-2: #b22222;
  --color-silk-red-3: #1a1a1a;
  --color-gold: #d4af37;
  --color-gold-hover: #f1c40f;
  --color-red: #c1121f;
  --color-jade: #2a9d8f;
  --color-lantern: #ff8c00;
  --color-text-main: #f5f5f5;
  --color-text-muted: #aaaaaa;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  
  --silk-gradient: linear-gradient(135deg, var(--color-silk-red-1), var(--color-silk-red-2), var(--color-silk-red-3));
  
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, #1a0505 0%, #0c0c0c 70%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background: rgba(12, 12, 12, 0.95);
  box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
  padding: 1rem 5%;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--color-red);
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--color-text-main);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

nav a:hover, nav a.active {
  color: var(--color-gold);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--color-gold);
  color: var(--color-bg-dark) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--color-gold);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
  background: transparent;
  color: var(--color-gold) !important;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold) !important;
}
.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark) !important;
}

.mobile-menu-btn {
  display: none;
  font-size: 2rem;
  color: var(--color-gold);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 4rem;
  background: var(--silk-gradient);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/chinese-lantern-palace-hero-bg.jpg') center/cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

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

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero p.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-disclaimer {
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--color-red);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(193, 18, 31, 0.2);
}

.hero-disclaimer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.hero-disclaimer p:last-child {
  margin-bottom: 0;
}

.hero-disclaimer strong {
  color: var(--color-gold);
}

/* Lantern Particles */
.lantern-particle {
  position: absolute;
  width: 20px;
  height: 30px;
  background: radial-gradient(ellipse at center, var(--color-lantern) 0%, var(--color-red) 100%);
  border-radius: 10px;
  box-shadow: 0 0 20px var(--color-lantern);
  animation: floatUp 15s infinite linear;
  opacity: 0.6;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  margin: 1rem auto 0;
  box-shadow: 0 0 10px var(--color-gold);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Feature Cards */
.card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(26, 26, 26, 0.9);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card:hover::before {
  transform: translateX(100%);
}

.card-icon {
  font-size: 3rem;
  color: var(--color-red);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(193, 18, 31, 0.5);
}

/* Featured Game Section */
.featured-game {
  background: linear-gradient(to right, #0c0c0c, #1a0505, #0c0c0c);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.game-img-wrapper {
  position: relative;
  border: 4px solid var(--color-gold);
  border-radius: 8px;
  padding: 10px;
  background: var(--color-bg-dark);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.game-img-wrapper img {
  border-radius: 4px;
}

.game-info h3 {
  font-size: 2.2rem;
}

/* Game Iframe Wrapper */
.game-container {
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: var(--color-bg-dark);
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: none;
  border-radius: 4px;
}

/* Page Header */
.page-header {
  padding: 10rem 5% 4rem;
  text-align: center;
  background: var(--silk-gradient);
  border-bottom: 2px solid var(--color-gold);
  position: relative;
}

/* Content Blocks */
.content-block {
  margin-bottom: 3rem;
  background: rgba(26, 26, 26, 0.4);
  padding: 2.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.content-block p {
  margin-bottom: 1.2rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

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

/* Global Footer */
footer {
  background: #050505;
  border-top: 2px solid var(--color-red);
  padding: 4rem 5% 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-transform: uppercase;
}

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

.footer-col a {
  color: var(--color-text-muted);
}

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

.company-details p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-disclaimer {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

.global-disclaimer p {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.global-disclaimer p:last-child { margin-bottom: 0; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #666;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.badge {
  width: 40px; height: 40px;
  border: 2px solid #666;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; color: #666;
}

/* Accordion for FAQ */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}
.faq-question {
  padding: 1.5rem;
  background: rgba(26,26,26,0.6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--color-gold);
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(12,12,12,0.8);
}
.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0c0c0c;
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid var(--color-gold);
    display: none;
  }
  nav.active { display: flex; }
  nav ul { flex-direction: column; width: 100%; text-align: center; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding-top: 6rem; }
  .hero-buttons { flex-direction: column; }
}