:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #ffffff;
  
  --color-red: #c1121f;
  --color-dark-red: #780000;
  --color-white: #ffffff;
  
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-light: #ffffff;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.3);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 1024px) {
  .container { padding: 0 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

.text-center { text-align: center; }
.text-red { color: var(--color-red); }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--color-dark-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--color-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--color-red);
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-red);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  
  .mobile-nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    padding: 20px;
    border-bottom: 2px solid var(--color-red);
    box-shadow: var(--shadow-md);
  }
  
  .mobile-nav-open .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0;
  background-color: var(--bg-primary);
  background-image: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.95)), url('images/photo-1542124564-927b2a632c0d.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid rgba(193, 18, 31, 0.2);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero p {
  font-size: 1.2rem;
  color: #dddddd;
  margin-bottom: 30px;
}

.disclaimer-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
  color: #cccccc;
}

@media (max-width: 768px) {
  .hero { padding: 80px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

/* Game Section */
.game-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--color-red);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.game-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--bg-primary);
  border: 1px solid var(--color-red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .game-container { width: 95%; }
}
@media (max-width: 768px) {
  .game-container { width: 100%; border-radius: var(--radius-sm); }
  .game-section { padding: 60px 0; }
}

/* Info Cards / Features Section */
.features-section {
  padding: 90px 0;
  background-color: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(193, 18, 31, 0.1);
  color: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

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

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Content Pages (About, Terms, etc.) */
.page-header {
  padding: 80px 0 40px;
  background-color: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.content-card {
  background-color: var(--bg-card);
  color: var(--text-secondary);
  padding: 50px;
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.content-card h2, .content-card h3 {
  color: var(--text-primary);
  margin: 30px 0 15px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin-bottom: 20px;
}

.content-card ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-card li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .content-card { padding: 30px 20px; }
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: var(--transition);
}

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

/* Footer */
.site-footer {
  background-color: #080808;
  padding: 60px 0 20px;
  border-top: 2px solid var(--color-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #888;
  margin-top: 15px;
  max-width: 400px;
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #888;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-disclaimer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  font-size: 0.85rem;
}

.footer-disclaimer p {
  margin-bottom: 10px;
}

.age-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #666;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 15px;
  color: #888;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 15px auto 0; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}