:root {
  --primary-dark: #1a3a2e;
  --secondary-dark: #4a1a1a;
  --accent-gold: #d4af37;
  --light-gold: #f4e4b8;
  --deep-burgundy: #5c1f1f;
  --forest-green: #2d5016;
  --text-light: #f5f5dc;
  --text-gold: #ffd700;
  --shadow-dark: rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--secondary-dark) 100%
  );
  color: var(--text-light);
  line-height: 1.8;
  min-height: 100vh;
}

header {
  background: linear-gradient(
    to bottom,
    rgba(26, 58, 46, 0.95),
    rgba(74, 26, 26, 0.95)
  );
  padding: 1.5rem 2rem;
  border-bottom: 3px solid var(--accent-gold);
  box-shadow: 0 4px 20px var(--shadow-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-gold);
  text-shadow: 2px 2px 4px var(--shadow-dark);
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
}

nav a:hover {
  color: var(--accent-gold);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

section {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: rgba(26, 58, 46, 0.6);
  border: 3px solid var(--accent-gold);
  border-radius: 10px;
  box-shadow: 0 10px 40px var(--shadow-dark);
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    var(--accent-gold),
    var(--light-gold),
    var(--accent-gold)
  );
  border-radius: 10px;
  z-index: -1;
  opacity: 0.3;
}

h1,
h2,
h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--accent-gold);
  text-shadow: 2px 2px 6px var(--shadow-dark);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  text-align: center;
  letter-spacing: 3px;
}

h2 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(45, 80, 22, 0.8),
    rgba(92, 31, 31, 0.8)
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--light-gold);
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--accent-gold), #b8941f);
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 50px;
  border: 3px solid var(--light-gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #ffd700, var(--accent-gold));
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  background: linear-gradient(
    135deg,
    rgba(45, 80, 22, 0.5),
    rgba(92, 31, 31, 0.5)
  );
  border: 3px solid var(--accent-gold);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.game-card:hover::before {
  left: 100%;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
  border-color: var(--text-gold);
}

.game-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--secondary-dark)
  );
  border: 2px solid var(--accent-gold);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.game-thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.2) 0%,
    transparent 70%
  );
}

.game-card h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.game-card p {
  color: var(--light-gold);
  font-size: 1rem;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  background: var(--primary-dark);
  border: 5px solid var(--accent-gold);
  border-radius: 15px;
  position: relative;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: 3px solid var(--light-gold);
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--shadow-dark);
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--text-gold);
}

.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.vision-text {
  padding: 2rem;
}

.vision-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(
    135deg,
    var(--forest-green),
    var(--deep-burgundy)
  );
  border: 3px solid var(--accent-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent-gold);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
}

.contact-info i {
  color: var(--accent-gold);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.contact-item {
  margin: 2rem 0;
  font-size: 1.2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

label {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input,
textarea {
  padding: 1rem;
  background: rgba(26, 58, 46, 0.8);
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1.1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--text-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"] {
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--accent-gold), #b8941f);
  color: var(--primary-dark);
  border: 3px solid var(--light-gold);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #ffd700, var(--accent-gold));
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(45, 80, 22, 0.4);
  border: 2px solid var(--accent-gold);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(92, 31, 31, 0.4);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(92, 31, 31, 0.6);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3rem;
}

.faq-question i {
  color: var(--accent-gold);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

footer {
  background: linear-gradient(
    to top,
    rgba(26, 58, 46, 0.95),
    rgba(74, 26, 26, 0.95)
  );
  padding: 3rem 2rem 2rem;
  border-top: 3px solid var(--accent-gold);
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  justify-items: start;
}

.footer-section {
  width: 100%;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section p {
  text-align: left;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.8rem 0;
  text-align: left;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 2px solid var(--accent-gold);
  color: var(--light-gold);
  max-width: 1200px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 46, 0.98),
    rgba(74, 26, 26, 0.98)
  );
  padding: 2rem;
  border-top: 3px solid var(--accent-gold);
  box-shadow: 0 -5px 30px var(--shadow-dark);
  z-index: 1500;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.8rem 2rem;
  border: 2px solid var(--accent-gold);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--accent-gold), #b8941f);
  color: var(--primary-dark);
}

.cookie-decline {
  background: transparent;
  color: var(--text-light);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--secondary-dark)
  );
  border: 5px solid var(--accent-gold);
  border-radius: 15px;
  padding: 4rem;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.6);
  position: relative;
}

.age-modal-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    var(--accent-gold),
    var(--light-gold),
    var(--accent-gold)
  );
  border-radius: 15px;
  z-index: -1;
  opacity: 0.3;
}

.age-modal-content i {
  font-size: 5rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.age-modal-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border: none;
}

.age-modal-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.age-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.age-btn {
  padding: 1.2rem 3rem;
  border: 3px solid var(--accent-gold);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.age-yes {
  background: linear-gradient(135deg, var(--accent-gold), #b8941f);
  color: var(--primary-dark);
}

.age-no {
  background: rgba(92, 31, 31, 0.8);
  color: var(--text-light);
}

.age-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .vision-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
  }

  .age-buttons {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-content {
  max-width: 1000px;
  margin: 0 auto;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.legal-content strong {
  color: var(--accent-gold);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 35px auto;
}

.footer-legal img {
  height: 60px;
}
