:root {
  color-scheme: dark;
  --bg-color: #1a1a1d;
  --bg-alt: #222226;
  --text-main: #f8f9fa;
  --text-muted: #c0c0c0;
  --primary: #e63946;
  
  --primary-hover: #c1121f;
  --secondary: #f4a261;
  
  --accent: #2a9d8f;
  
  --border-color: #333;
}


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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  color: var(--secondary);
  text-align: center;
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  background-color: rgba(26, 26, 29, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-area img {
  height: 40px;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--main-text);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}


.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn img {
  width: 20px;
  height: 15px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: var(--bg-alt);
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
  z-index: 1;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  max-height: 300px;
  overflow-y: auto;
}

.lang-dropdown a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-dropdown a:hover {
  background-color: #333;
}

.lang-selector:hover .lang-dropdown {
  display: block;
}


.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--secondary);
  color: #1a1a1d;
  transform: translateY(-2px);
}


.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 29, 0.9), rgba(230, 57, 70, 0.1)), url('../screens/Section_Main_Hot_Chillies_Game_screen_with_reels_chilli_strings_and_jackpots.webp') center/cover no-repeat;
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 29, 0.85);
  
  z-index: 1;
}

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

.hero p.subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}


.section {
  padding: 60px 0;
  margin: 40px 0;
  
  border-bottom: 1px solid var(--border-color);
}

.section:nth-child(even) {
  background-color: var(--bg-alt);
}

.section-content {
  max-width: 800px;
  
  margin: 0 auto;
}


.section-content ul:not(.pros-list):not(.cons-list) {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  
  font-weight: 500;
}

.section-content ul:not(.pros-list):not(.cons-list) li {
  margin-bottom: 0.5rem;
}

.cta-wrapper {
  text-align: center;
  margin-top: 30px;
}


.demo-section {
  padding: 60px 0;
  background-color: var(--bg-alt);
  text-align: center;
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto 30px;
  background-color: #000;
  border: 2px solid var(--primary);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.demo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../screens/Section_Main_Hot_Chillies_Game_screen_with_reels_chilli_strings_and_jackpots.webp') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.demo-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}


.content-img {
  margin: 30px auto;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.info-table th,
.info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  color: var(--secondary);
  font-weight: bold;
  width: 30%;
}

.info-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}


.footer {
  background-color: #111;
  padding: 50px 0 20px;
  text-align: center;
  border-top: 2px solid var(--primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-main);
}

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

.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: #777;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .demo-container {
    aspect-ratio: 9/16;
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  .demo-container {
    aspect-ratio: 16/9;
  }
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-btn {
  padding: 8px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  background-color: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.header-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}


.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.toc h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.toc ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.toc li {
  margin-bottom: 10px;
}

.toc li:last-child {
  margin-bottom: 0;
}

.toc a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-color);
}

.toc a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}


.pros-list,
.cons-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.pros-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

.cons-list li::before {
  content: "❌";
  position: absolute;
  left: 0;
  top: 0;
}


details {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

details:hover {
  border-color: var(--secondary);
}

summary {
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-main);
  outline: none;
  list-style: none;
  
  position: relative;
  padding-right: 30px;
}

summary::-webkit-details-marker {
  display: none;
  
}

summary::after {
  content: "➕";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1rem;
}

details[open] summary::after {
  content: "➖";
}

details p {
  margin-top: 15px;
  margin-bottom: 0;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}
