:root {
  --delft-blue: #1e3a8a;
  --cobalt-blue: #003d82;
  --light-blue: #3b82f6;
  --porcelain-white: #fefefe;
  --cream-white: #faf9f6;
  --text-dark: #1f2937;
  --border-blue: #2563eb;
  --shadow-blue: rgba(30, 58, 138, 0.15);
}

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

body {
  font-family: "Georgia", "Garamond", serif;
  background: var(--porcelain-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(30, 58, 138, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(30, 58, 138, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(30, 58, 138, 0.02) 0%,
      transparent 40%
    );
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  color: var(--delft-blue);
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--delft-blue),
    transparent
  );
}

h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

header {
  background: linear-gradient(
    180deg,
    rgba(250, 249, 246, 0.98) 0%,
    rgba(254, 254, 254, 0.95) 100%
  );
  padding: 25px 0;
  box-shadow: 0 2px 15px var(--shadow-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--delft-blue);
}

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

.logo {
  font-size: 2em;
  font-weight: 600;
  color: var(--delft-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Georgia", serif;
}

.logo i {
  font-size: 1.3em;
  color: var(--delft-blue);
  border: 3px solid var(--delft-blue);
  border-radius: 50%;
  padding: 8px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  transition: all 0.3s;
  padding: 8px 16px;
  border-radius: 25px;
  position: relative;
}

nav a:hover {
  color: var(--delft-blue);
  background: rgba(30, 58, 138, 0.05);
}

nav a i {
  color: var(--delft-blue);
  margin-right: 6px;
}

.hero {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(
      rgba(254, 254, 254, 0.95),
      rgba(250, 249, 246, 0.95)
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(30, 58, 138, 0.02) 20px,
      rgba(30, 58, 138, 0.02) 40px
    );
  position: relative;
  border-bottom: 2px solid rgba(30, 58, 138, 0.1);
}

.hero::before {
  content: "❀ ✿ ❀ ✿ ❀ ✿ ❀ ✿ ❀";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--delft-blue);
  opacity: 0.2;
  font-size: 2em;
  letter-spacing: 20px;
}

.hero::after {
  content: "❀ ✿ ❀ ✿ ❀ ✿ ❀ ✿ ❀";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--delft-blue);
  opacity: 0.2;
  font-size: 2em;
  letter-spacing: 20px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--delft-blue);
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--delft-blue);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  border-radius: 50px;
  border: 3px solid var(--delft-blue);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px var(--shadow-blue);
}

.cta-button:hover {
  background: white;
  color: var(--delft-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-blue);
}

.cta-button i {
  margin-right: 8px;
}

section {
  padding: 80px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--cream-white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

.features {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.feature-box {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  border: 2px solid rgba(30, 58, 138, 0.15);
  transition: all 0.3s;
  position: relative;
  text-align: center;
  box-shadow: 0 3px 15px rgba(30, 58, 138, 0.08);
}

.feature-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--delft-blue), var(--light-blue));
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px var(--shadow-blue);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3em;
  color: var(--delft-blue);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 3px solid var(--delft-blue);
  border-radius: 50%;
  background: white;
}

.feature-box h3 {
  color: var(--delft-blue);
  margin-bottom: 15px;
}

.feature-box p {
  color: var(--text-dark);
  line-height: 1.8;
  opacity: 0.85;
}

.games-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid rgba(30, 58, 138, 0.15);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-blue);
  border-color: var(--delft-blue);
}

.game-thumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.05),
    rgba(59, 130, 246, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4em;
  color: var(--delft-blue);
  position: relative;
  border-bottom: 3px solid rgba(30, 58, 138, 0.1);
}

.game-thumbnail i {
  border: 4px solid var(--delft-blue);
  border-radius: 50%;
  padding: 25px;
  background: white;
}

.game-thumbnail::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--delft-blue);
  border-radius: 50%;
  opacity: 0.3;
}

.game-thumbnail::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--delft-blue);
  border-radius: 50%;
  opacity: 0.3;
}

.game-info {
  padding: 25px;
  text-align: center;
}

.game-info h3 {
  color: var(--delft-blue);
  margin-bottom: 12px;
  font-size: 1.3em;
}

.game-info p {
  color: var(--text-dark);
  font-size: 0.95em;
  opacity: 0.8;
  line-height: 1.7;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  border-radius: 20px;
  position: relative;
  border: 4px solid var(--delft-blue);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--delft-blue);
  padding: 20px 30px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: white;
}

.close-modal {
  background: white;
  border: none;
  color: var(--delft-blue);
  font-size: 1.5em;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.close-modal:hover {
  transform: rotate(90deg);
  background: var(--cream-white);
}

.modal-body {
  flex: 1;
  padding: 10px;
  overflow: hidden;
}

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

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.rule-item {
  background: white;
  padding: 30px;
  border-left: 5px solid var(--delft-blue);
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.08);
}

.rule-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px var(--shadow-blue);
}

.rule-item i {
  font-size: 2.5em;
  color: var(--delft-blue);
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 3px solid var(--delft-blue);
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.05);
}

.rule-item h4 {
  color: var(--delft-blue);
  margin-bottom: 10px;
  font-size: 1.2em;
}

.rule-item p {
  color: var(--text-dark);
  line-height: 1.8;
  opacity: 0.85;
}

.rule-item a {
  color: var(--delft-blue);
  text-decoration: underline;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 45px;
  border-radius: 20px;
  border: 2px solid rgba(30, 58, 138, 0.15);
  box-shadow: 0 5px 20px rgba(30, 58, 138, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--delft-blue);
  font-weight: 600;
  font-size: 0.95em;
}

.form-group label i {
  margin-right: 8px;
  color: var(--delft-blue);
  border: 2px solid var(--delft-blue);
  border-radius: 50%;
  padding: 4px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--cream-white);
  border: 2px solid rgba(30, 58, 138, 0.2);
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 1em;
  font-family: "Georgia", serif;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--delft-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: var(--delft-blue);
  color: white;
  border: 3px solid var(--delft-blue);
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Georgia", serif;
}

button[type="submit"]:hover {
  background: white;
  color: var(--delft-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow-blue);
}

footer {
  background: linear-gradient(180deg, var(--delft-blue), var(--cobalt-blue));
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 5px solid var(--light-blue);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3em;
}

.footer-section p,
.footer-section ul {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

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

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

.age-verification-content {
  background: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  max-width: 550px;
  border: 5px solid var(--delft-blue);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.age-verification-content::before {
  content: "✿ ❀ ✿ ❀ ✿ ❀ ✿";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--delft-blue);
  opacity: 0.2;
  font-size: 1.5em;
  letter-spacing: 15px;
}

.age-verification-content::after {
  content: "✿ ❀ ✿ ❀ ✿ ❀ ✿";
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--delft-blue);
  opacity: 0.2;
  font-size: 1.5em;
  letter-spacing: 15px;
}

.age-verification-content h2 {
  margin-bottom: 25px;
  color: var(--delft-blue);
}

.age-verification-content p {
  margin-bottom: 30px;
  color: var(--text-dark);
  font-size: 1.1em;
  line-height: 1.8;
}

.age-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-btn {
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 600;
  border: 3px solid var(--delft-blue);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Georgia", serif;
}

.age-btn.yes {
  background: var(--delft-blue);
  color: white;
}

.age-btn.yes:hover {
  background: white;
  color: var(--delft-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-blue);
}

.age-btn.no {
  background: white;
  color: var(--delft-blue);
}

.age-btn.no:hover {
  background: var(--cream-white);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, white, var(--cream-white));
  padding: 25px;
  box-shadow: 0 -5px 25px var(--shadow-blue);
  border-top: 3px solid var(--delft-blue);
  z-index: 2500;
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-content p {
  color: var(--text-dark);
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
}

.cookie-content a {
  color: var(--delft-blue);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 30px;
  font-weight: 600;
  border: 2px solid var(--delft-blue);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Georgia", serif;
}

.cookie-btn.accept {
  background: var(--delft-blue);
  color: white;
}

.cookie-btn.accept:hover {
  background: white;
  color: var(--delft-blue);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px var(--shadow-blue);
}

.cookie-btn.decline {
  background: white;
  color: var(--delft-blue);
}

.cookie-btn.decline:hover {
  background: var(--cream-white);
}

.policy-page {
  padding: 60px 0;
  background: var(--porcelain-white);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  border: 2px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 5px 20px rgba(30, 58, 138, 0.08);
}

.policy-content h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--delft-blue);
}

.policy-content h2 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--delft-blue);
  text-align: left;
}

.policy-content h2::after {
  display: none;
}

.policy-content h3 {
  font-size: 1.3em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--delft-blue);
}

.policy-content p {
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.9;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 20px;
  margin-left: 30px;
  color: var(--text-dark);
}

.policy-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-content a {
  color: var(--delft-blue);
  text-decoration: underline;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.policy-content th,
.policy-content td {
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(30, 58, 138, 0.2);
}

.policy-content th {
  background: rgba(30, 58, 138, 0.1);
  color: var(--delft-blue);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: var(--delft-blue);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--delft-blue);
  transition: all 0.3s;
}

.back-link:hover {
  background: white;
  color: var(--delft-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-blue);
}

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

  h2 {
    font-size: 2em;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    justify-content: center;
  }

  .hero {
    padding: 60px 0;
  }

  .hero::before,
  .hero::after {
    font-size: 1em;
    letter-spacing: 10px;
  }

  .features,
  .games-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    height: 85vh;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .age-verification-content {
    margin: 20px;
    padding: 30px;
  }

  .age-buttons {
    flex-direction: column;
    width: 100%;
  }

  .age-btn {
    width: 100%;
  }

  .policy-content {
    padding: 30px 20px;
  }

  .contact-form {
    padding: 30px;
  }
}

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

  h2 {
    font-size: 1.6em;
  }

  .logo {
    font-size: 1.5em;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    display: block;
    text-align: center;
  }
}

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

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