* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a0933;
  --secondary-color: #d4af37;
  --accent-color: #8b4789;
  --text-light: #f5f5f5;
  --text-dark: #1a0933;
  --bg-light: #faf8f5;
  --overlay: rgba(26, 9, 51, 0.95);
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d1555 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay);
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 3rem;
  border-radius: 20px;
  border: 3px solid var(--secondary-color);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.crown-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.modal-content h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-confirm, .btn-deny {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-confirm {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.btn-confirm:hover {
  background: #f0c748;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-deny {
  background: #666;
  color: white;
}

.btn-deny:hover {
  background: #888;
}

header {
  background: rgba(26, 9, 51, 0.95);
  border-bottom: 2px solid var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--secondary-color);
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 3px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

nav a:hover::after {
  width: 100%;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.3), rgba(212, 175, 55, 0.2));
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 2px solid var(--secondary-color);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 9, 51, 0.7);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--secondary-color);
}

.badge-icon {
  font-size: 1.5rem;
}

.intro {
  margin: 4rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.intro-text h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.intro-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.visual-card {
  background: rgba(139, 71, 137, 0.3);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.visual-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.important-notice {
  margin: 4rem 0;
}

.notice-box {
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.4), rgba(26, 9, 51, 0.9));
  padding: 3rem;
  border-radius: 20px;
  border: 3px solid var(--secondary-color);
  display: flex;
  gap: 2rem;
  align-items: start;
}

.notice-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.notice-content h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.notice-content ul {
  list-style: none;
}

.notice-content li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.1rem;
}

.notice-content li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.game-showcase {
  margin: 4rem 0;
  text-align: center;
}

.game-showcase h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.game-container {
  background: rgba(26, 9, 51, 0.5);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid var(--secondary-color);
  margin: 2rem auto;
  max-width: 800px;
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
  background: #000;
}

.game-note {
  margin-top: 1rem;
  font-style: italic;
  color: var(--secondary-color);
}

.why-choose {
  margin: 4rem 0;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: rgba(139, 71, 137, 0.3);
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  text-align: left;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.responsible-gaming {
  margin: 4rem 0;
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.4), rgba(26, 9, 51, 0.9));
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--secondary-color);
}

.rg-content h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.rg-content > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.rg-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.rg-tip {
  text-align: center;
  padding: 1.5rem;
  background: rgba(26, 9, 51, 0.5);
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
}

.tip-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.play-header {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.play-header h1 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.play-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
}

.play-game {
  margin: 3rem 0;
}

.game-wrapper {
  background: rgba(26, 9, 51, 0.5);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid var(--secondary-color);
  margin-bottom: 3rem;
}

.game-frame-full {
  width: 100%;
  height: 650px;
  border: none;
  border-radius: 10px;
  background: #000;
}

.play-instructions h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.instruction-card {
  background: rgba(139, 71, 137, 0.3);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  text-align: center;
}

.inst-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.instruction-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.play-reminder {
  margin: 3rem 0;
}

.reminder-box {
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.4), rgba(26, 9, 51, 0.9));
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--secondary-color);
}

.reminder-box h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.reminder-box ul {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.reminder-box li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.1rem;
}

.reminder-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.legal-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.3), rgba(212, 175, 55, 0.2));
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 2px solid var(--secondary-color);
}

.legal-header h1 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.legal-date {
  font-style: italic;
  color: var(--secondary-color);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-intro {
  background: rgba(139, 71, 137, 0.3);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  margin-bottom: 2rem;
}

.legal-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.legal-section {
  background: rgba(26, 9, 51, 0.5);
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--secondary-color);
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.legal-section h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
  list-style-type: disc;
}

.legal-section li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.legal-section strong {
  color: var(--secondary-color);
}

.highlight-section {
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.5), rgba(26, 9, 51, 0.8));
  border: 3px solid var(--secondary-color);
}

.legal-notice {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(139, 71, 137, 0.3));
  padding: 2rem;
  border-radius: 15px;
  border: 3px solid var(--secondary-color);
  margin-top: 2rem;
}

.legal-notice h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-notice p, .legal-notice ul {
  font-size: 1.1rem;
}

.legal-notice ul {
  list-style: none;
  margin-left: 0;
}

.legal-notice li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.legal-notice li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

footer {
  background: rgba(26, 9, 51, 0.95);
  border-top: 2px solid var(--secondary-color);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  background: var(--primary-color);
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--secondary-color);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(26, 9, 51, 0.98);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    border-left: 2px solid var(--secondary-color);
  }

  nav.active {
    right: 0;
  }

  nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .notice-box {
    flex-direction: column;
    padding: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .game-frame, .game-frame-full {
    height: 450px;
  }

  .legal-section {
    padding: 1.5rem;
  }
}
