body {
margin: 0;
background-color: #10121d;
color:#f4f0e7;
font-family:Arial, sans-serif;
line-height:1.7;
}

header {
background-color: #0c0e17;
border-bottom: 1px solid #51452c;
padding: 20px 5%;
display: flex;
justify-content:space-between;
align-items:center ;
}

header h2 {
color:#e9c66f;
font-family: Georgia, serif;
}

nav a {
color: #f4f0e7;
text-decoration: none;
margin-left: 18px;
}

nav a:hover {
color: #e9c66f;
}
.hero {
text-align: center;
padding: 120px 20px;
background: linear-gradient(#10121d, #191c2b);
}

.hero h1 {
color: #e9c66f;
font: 45px Georgia, serif;
}

.button {
  display: inline-block;
  background-color: #e9c66f;
  color: #10121d;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 5px;
}

section h2 {
  color: #fff0c5;
  font-family: Georgia, serif;
}

.map {
position: relative;
  max-width: 1100px;
  width: 90%;
  height: 550px;
  margin:30px auto 0;
  border: 1px solid #c9c66f;
  border-radius: 12px;
  overflow: hidden;
  background:
  radial-gradient(circle at 15% 75%, #9871d144, transparent 30%),
  radial-gradient(circle at 80% 20%, #c9c66f22, transparent 30%),
  linear-gradient(135deg, #252b42, #10121d); 
} 

.route {
  position: absolute;
  width: 75%;
  height: 5px;
  top: 48%;
  left: 12%;
  background-color:#e9c66f ;
  border-radius: 10px;
  transform: rotate(-25deg);
  box-shadow: 0 0 15px #e9c66f;
}

.game summary {
display: flex;
align-items: center;
gap: 10px;
width: max-content;
padding: 9px 14px;
color: #fff0c5;
background-color: #191c2b;
border: 1px solid #e9c66f;
border-radius: 25px;
cursor: pointer;
list-style-type: none;
white-space:nowrap;
} 

.game summary::before {
content: "";
width: 14px;
height: 14px;
border: 2px solid #e9c66f;
border-radius: 50%;
background-color: #10121d;
flex-shrink: 0;
}
.game summary:hover,
.game[open] summary {
color: #e9c66f;
box-shadow: 0 0 12px #e9c66f55;
}

.game summary:hover::before,
.game[open] summary::before {
    background-color: #e9c66f;
}

.game {
    position: absolute;
}
.game1 {
  left: 7%;
  top: 72%;
}
.game2 {
  left: 32%;
  top: 48%;
}
.game3 {
  left: 59%;
  top: 28%;
}
.game4 {
  left: 80%;
  top: 9%;
}

.game4 summary {
  flex-direction: row-reverse;
}
.info {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 210px;
  padding: 15px;
  background-color: #191c2b;
  border: 1px solid #e9c66f;
  border-radius: 10px;
  z-index: 5;
  text-align: left;
  white-space: normal;
  box-shadow: 0 5px 20px #0008;
}

.info h3  {
color: #e9c66f;
margin-top: 0
}
.game1 .info,
.game2 .info {
  top: auto;
  bottom: calc(100% + 10px);
}
.game4 .info {
left: auto;
right: 0;
}
.map-text {
position: absolute;
bottom: 12px;
left:20px;
color: #e9c66f;
font-size: 12px;
letter-spacing: 12px;
}
.cards {
display: flex;
gap: 20px;
}
.card {
flex: 1;
padding:20px;
background-color: #191c2b;
border-radius: 8px;
}
.card h3 {
color: #e9c66f;
}
#concept {
background-color: #191c2b
}
footer {
background-color: #0c0e17;
text-align: center;
padding: 25px;
color: #e9c66f
}
.leaves {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
overflow: hidden;
pointer-events: none;
z-index: 100;
}
.leaves span {
position: absolute;
top: -40px;
left: var(--left);
width: 16px;
height: 22px;
background-color: #c58b35;
border-radius: 2px 100% 2px 100%;
opacity: 0.8;
  transform: rotate(45deg);
  animation: falling var(--speed) linear infinite;
  animation-delay: var(--delay);
}

.leaves span:nth-child(1) {
  --left: 5%;
  --speed: 10s;
  --delay: 0s;
}

.leaves span:nth-child(2) {
  --left: 10%;
  --speed: 13s;
  --delay: 3s;
  background-color: #9871d1;
}
.leaves span:nth-child(3) {
    --left: 32%;
    --speed: 11s;
    --delay: 1s;
}

.leaves span:nth-child(4) {
    --left: 48%;
    --speed: 15s;
    --delay: 5s;
    background-color: #e9c66f;
}

.leaves span:nth-child(5) {
    --left: 65%;
    --speed: 12s;
    --delay: 2s;
}

.leaves span:nth-child(6) {
    --left: 78%;
    --speed: 14s;
    --delay: 4s;
    background-color: #9871d1;
}

.leaves span:nth-child(7) {
    --left: 90%;
    --speed: 9s;
    --delay: 6s;
}

.leaves span:nth-child(8) {
    --left: 55%;
    --speed: 16s;
    --delay: 7s;
}


@keyframes falling {
    0% {
        top: -40px;
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(70px) rotate(180deg);
    }

    100% {
        top: 105vh;
        transform: translateX(-40px) rotate(360deg);
    }
}


@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin: 5px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    section {
        padding: 45px 5%;
    }

    .cards {
        flex-direction: column;
    }

    .map {
        height: 600px;
    }

    .route {
        width: 85%;
        left: 7%;
    }

    .game summary {
        font-size: 11px;
        padding: 7px 9px;
        gap: 6px;
    }

    .game summary::before {
        width: 11px;
        height: 11px;
    }

  .game {
    position: absolute;
}

.game1 {
    left: 7%;
    top: 72%;
}

.game2 {
    left: 32%;
    top: 48%;
}

.game3 {
    left: 59%;
    top: 28%;
}

.game4 {
    left: 80%;
    top: 9%;
}

    .info {
        width: 155px;
        padding: 10px;
        font-size: 12px;
    }

    .map-text {
        font-size: 10px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .leaves {
        display: none;
    }
}


