@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap");

:root {
  --fiets-red: #e63946;
  --dutch-blue: #457b9d;
  --sky-blue: #a8dadc;
  --pure-white: #ffffff;
  --light-cream: #f8f9fa;
  --dark-gray: #1d3557;
  --text-dark: #2b2d42;
  --speed-orange: #f77f00;
}

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

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--pure-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: linear-gradient(
      90deg,
      transparent 0%,
      rgba(168, 218, 220, 0.1) 50%,
      transparent 100%
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      rgba(69, 123, 157, 0.03) 100px,
      rgba(69, 123, 157, 0.03) 200px
    );
  pointer-events: none;
  z-index: 0;
  animation: moveLines 20s linear infinite;
}

@keyframes moveLines {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(200px);
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--dark-gray);
}

h1 {
  font-size: clamp(2.5em, 6vw, 4em);
  margin-bottom: 20px;
  font-weight: 900;
}

h2 {
  font-size: clamp(2em, 5vw, 3em);
  margin-bottom: 25px;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--fiets-red), var(--speed-orange));
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.4em, 3vw, 1.8em);
  margin-bottom: 15px;
  color: var(--dutch-blue);
}

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

header {
  background: linear-gradient(
    135deg,
    var(--pure-white) 0%,
    var(--light-cream) 100%
  );
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(69, 123, 157, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--fiets-red);
}

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

.logo {
  font-size: clamp(1.5em, 3vw, 2em);
  font-weight: 900;
  color: var(--fiets-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.logo i {
  font-size: 1.2em;
  color: var(--dutch-blue);
  animation: cycle 3s ease-in-out infinite;
}

@keyframes cycle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(360deg);
  }
}

.logo:hover {
  transform: translateX(10px);
  color: var(--speed-orange);
}

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

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

nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--fiets-red);
  transition: all 0.3s;
  transform: translateX(-50%);
}

nav a:hover {
  color: var(--fiets-red);
}

nav a:hover::before {
  width: 80%;
}

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

.hero {
  padding: 100px 0;
  background: linear-gradient(
      135deg,
      rgba(168, 218, 220, 0.3) 0%,
      rgba(255, 255, 255, 0.9) 100%
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 50px,
      rgba(69, 123, 157, 0.05) 50px,
      rgba(69, 123, 157, 0.05) 100px
    );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "🚴";
  position: absolute;
  font-size: 15em;
  opacity: 0.05;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  animation: cycleMove 20s linear infinite;
}

@keyframes cycleMove {
  0% {
    right: -100px;
  }
  100% {
    right: calc(100% + 100px);
  }
}

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

.hero h1 {
  color: var(--dark-gray);
  line-height: 1.2;
}

.hero h1 span {
  color: var(--fiets-red);
}

.hero-text {
  font-size: clamp(1.1em, 2vw, 1.4em);
  margin: 30px 0;
  max-width: 700px;
  color: var(--text-dark);
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--fiets-red), var(--speed-orange));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

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

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

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

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

.section-subtitle {
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 600px;
  margin: 15px auto 0;
  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: 20px;
  box-shadow: 0 5px 20px rgba(69, 123, 157, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(168, 218, 220, 0.2) 0%,
    transparent 70%
  );
  transition: all 0.5s;
  opacity: 0;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
}

.feature-box:hover::before {
  opacity: 1;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-icon {
  font-size: 3em;
  color: var(--fiets-red);
  margin-bottom: 20px;
  display: block;
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 3px dashed var(--sky-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.feature-box h3 {
  margin-bottom: 15px;
}

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

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

.game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 5px 20px rgba(69, 123, 157, 0.1);
  position: relative;
}

.game-card::before {
  content: "→";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2em;
  color: var(--fiets-red);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s;
  z-index: 10;
}

.game-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.game-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
}

.game-thumbnail {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--sky-blue), var(--dutch-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-thumbnail::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.1) 20px,
    rgba(255, 255, 255, 0.1) 40px
  );
  animation: moveStripes 20s linear infinite;
}

@keyframes moveStripes {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.game-thumbnail i {
  font-size: 4em;
  color: white;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

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

.game-info h3 {
  margin-bottom: 12px;
}

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

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 53, 87, 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;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--fiets-red), var(--speed-orange));
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.3em, 2.5vw, 1.8em);
}

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

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

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

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

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

.rule-item {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(69, 123, 157, 0.1);
  border-left: 5px solid var(--fiets-red);
  transition: all 0.3s;
}

.rule-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 25px rgba(230, 57, 70, 0.2);
  border-left-color: var(--speed-orange);
}

.rule-item i {
  font-size: 2.5em;
  color: var(--dutch-blue);
  margin-bottom: 15px;
  display: block;
}

.rule-item h4 {
  color: var(--dark-gray);
  margin-bottom: 12px;
  font-size: 1.2em;
}

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

.rule-item a {
  color: var(--fiets-red);
  text-decoration: underline;
  font-weight: 600;
}

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

.faq-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(69, 123, 157, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 5px 25px rgba(230, 57, 70, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 1.1em;
}

.faq-question i {
  color: var(--fiets-red);
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
  color: var(--text-dark);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 20px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(69, 123, 157, 0.1);
}

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

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

.form-group label i {
  margin-right: 8px;
  color: var(--fiets-red);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--light-cream);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 1em;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fiets-red);
  background: white;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

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

button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--fiets-red), var(--speed-orange));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

footer {
  background: linear-gradient(135deg, var(--dark-gray), var(--dutch-blue));
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--fiets-red),
    var(--speed-orange),
    var(--fiets-red)
  );
}

.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: var(--speed-orange);
  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: linear-gradient(
    135deg,
    rgba(69, 123, 157, 0.95),
    rgba(29, 53, 87, 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: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: rideIn 0.5s ease-out;
}

@keyframes rideIn {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.age-verification-content::before {
  content: "🚴";
  position: absolute;
  font-size: 8em;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.age-verification-content h2 {
  margin-bottom: 25px;
  color: var(--dark-gray);
  font-size: clamp(2em, 4vw, 2.8em);
}

.age-verification-content h2::after {
  display: none;
}

.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: 18px 45px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.age-btn.yes {
  background: linear-gradient(135deg, var(--fiets-red), var(--speed-orange));
  color: white;
  border: none;
}

.age-btn.yes:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.age-btn.no {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 25px;
  box-shadow: 0 -5px 25px rgba(69, 123, 157, 0.2);
  border-top: 3px solid var(--fiets-red);
  z-index: 2500;
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.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;
}

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

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

.cookie-btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Poppins", sans-serif;
}

.cookie-btn.accept {
  background: var(--fiets-red);
  color: white;
  border: none;
}

.cookie-btn.accept:hover {
  background: var(--speed-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.cookie-btn.decline {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

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

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

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(69, 123, 157, 0.1);
}

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

.policy-content h2 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.policy-content h3 {
  font-size: 1.3em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--dutch-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(--fiets-red);
  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(69, 123, 157, 0.2);
}

.policy-content th {
  background: var(--sky-blue);
  color: var(--dark-gray);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--fiets-red), var(--speed-orange));
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s;
}

.back-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

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

  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 60px 0;
  }

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

  .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: 40px 30px;
  }

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

  .age-btn {
    width: 100%;
  }

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

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

@media (max-width: 480px) {
  .logo {
    font-size: 1.5em;
  }

  nav a {
    font-size: 0.9em;
  }
}

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

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