:root {
  --bg-color: #0b0f15;
  --bg-gradient: linear-gradient(135deg, #0b0f15 0%, #161f2b 50%, #0d131a 100%);
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --gold-glow: rgba(212, 175, 55, 0.5);
  --ruby-red: #e0115f;
  --emerald-green: #50c878;
  --sapphire-blue: #0f52ba;
  --text-color: #e0e0e0;
  --text-muted: #a0a0a0;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --border-radius: 12px;
}

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

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

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

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

a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 8px var(--gold-glow);
}

.header {
  background: rgba(11, 15, 21, 0.95);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 10px;
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  color: var(--gold-light);
  text-align: center;
  margin: 1.5em 0 0.5em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--gold-glow);
}

h1 {
  font-size: 2.2rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-top: 0.5em;
}

h2 {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

h2::before, h2::after {
  content: '♦';
  color: var(--ruby-red);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  text-shadow: 0 0 5px rgba(224, 17, 95, 0.7);
}

h2::before { left: -25px; }
h2::after { right: -25px; }

h3 {
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: none;
  text-align: left;
}

p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

ul {
  margin-bottom: 15px;
  padding-left: 20px;
  list-style: none;
}

ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 25px;
}

ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--emerald-green);
  text-shadow: 0 0 5px rgba(80, 200, 120, 0.7);
}

.hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px var(--gold-glow);
  border: 2px solid var(--gold);
}

.content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(11, 15, 21, 0.8);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 0 10px var(--gold-glow);
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

th {
  background: linear-gradient(90deg, var(--sapphire-blue), #0b0f15);
  color: var(--gold-light);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.table-wrapper {
  overflow-x: auto;
}

details {
  background: rgba(11, 15, 21, 0.8);
  border: 1px solid var(--gold);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  padding: 15px;
}

summary {
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
  font-size: 1.1rem;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  color: var(--ruby-red);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

details[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

details p {
  margin-top: 10px;
  margin-bottom: 0;
}

.footer {
  background: #05080b;
  border-top: 2px solid var(--gold);
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

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

.responsible-block {
  border: 1px solid var(--ruby-red);
  background: rgba(224, 17, 95, 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 20px auto;
  max-width: 600px;
}

.responsible-block h3 {
  color: var(--ruby-red);
  margin-top: 0;
  text-align: center;
}

.responsible-block p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.age-icon {
  display: inline-block;
  background: var(--ruby-red);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
  vertical-align: middle;
}

.play-demo-btn {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-demo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--gold-glow);
  color: #000;
  text-shadow: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 21, 0.98);
    border-bottom: 2px solid var(--gold);
    padding: 20px;
  }
  
  .nav.active {
    display: flex;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

@media (max-width: 320px) {
  .container { padding: 10px; }
  h1 { font-size: 1.5rem; }
  .play-demo-btn { font-size: 1rem; padding: 10px 20px; }
}

/* Modal (Lightbox) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius);
  animation: zoom 0.3s;
  object-fit: contain;
}

@keyframes zoom {
  from {transform:scale(0.8); opacity:0}
  to {transform:scale(1); opacity:1}
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--gold);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: #fff;
  text-shadow: 0 0 10px var(--gold-glow);
}

.content-image, .hero-image {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-image:hover, .hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px var(--gold-glow);
}
