:root {
    --soft-shadow: 0 6px 20px rgba(10, 10, 10, 0.08);
    --card-bg: #C4C4C4;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    padding: 0;
  overflow-x: hidden;

}

.logo-container {
  width: 150px;
  height: 150px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  margin-left: 1.5rem;
  object-fit: contain;

}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo-container img { animation-delay: 0.2s; }
ul li:nth-child(1) { animation-delay: 0.4s; }
ul li:nth-child(2) { animation-delay: 0.6s; }


header {
  
    top: 0;
    z-index: 1000;
    padding: 2px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgba(234, 230, 230, 0.7);

}

header nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.game_image {
    display: flex;
    flex-direction: column;
    width: 94vw;
    height: 60vh;
    margin: 2% 4% 2% 3%;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
}

.game_title{
      margin-bottom: 20px;
      font-size: 2rem;
}

.game_genre{
      margin-bottom: 20px;
      font-size: 1.5rem;

}

.game_info {
    margin-bottom: 20px;
    font-size: 1.2rem;

}

.info_section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 3% 10% 36px 3%;
    background-color: var(--card-bg);
    padding: 48px;
    border-radius: 30px;
}

.details_row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.group_Photoarea {
    display: flex;
    flex-direction: column;
    margin: 0 5% 20px 3%;
    border-radius: 30px;
}

.group_Photo {
    display: flex;
    flex-direction: row;
    border-radius: 30px;
    margin-top: 12%;
    height: 39vh;
}

.group_info {
    background-color: var(--card-bg);   
    border-radius: 30px;
    margin: 0 5% 0 3%;
}

.group_roles > h1{
    margin-right: 15%;
    margin-left: 20%;

}

.group_roles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 0;
    align-items: center;
}

.group_roles li {
    display: flex;
    list-style: disc;
    text-align: center;
    list-style-type: none;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.1rem;
    margin-bottom: 2%;
}

.group_roles h1 {
    margin: 3% 0 8px 0;
    text-align: center;
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
}

.download_button {
    display: flex;
    margin-bottom: 40px;
    margin-left: 2.5%;
    justify-content: left;
    border-radius: 30px;
}

button {
    margin: 0 6px;
    font-size: 20px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    color: #48515a;
    background: #C4C4C4;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

button:hover {
    box-shadow: var(--soft-shadow);
}

button:focus {
    outline: 2px solid rgba(74, 101, 133, 0.25);
    outline-offset: 2px;
}

.hidden {
    display: none !important;
}

footer {
  background-color: black;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
}

.footer-every {
  display: flex;
  gap: 50%;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.footer-team {
  display: flex;
  gap: 3rem;
}

.footer-collab {
  display: flex;
  gap: 20%;
}

.footer-swed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 43%;
}

.footer-ned {
  display: flex;
  align-items: center;
  min-width: 100% ;
}

.footer-dif {
  display: flex;
  align-items: center;
}

.footer-cop {
  text-align: center;
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.footer-cop_text {
  color: rgb(180, 180, 180);
  font-size: 0.9rem;
}

.footer-names {
  color: white;
  margin: 0.5rem 0;
}

.footer-title {
  color: white;
  margin-bottom: 1rem;
}

.footer-land {
  color: white;
  margin: 0.3rem 0;
}

.footer-di_text {
  color: white;
}

.footer-website ul,
.footer-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dropdown Menu Styling */
header nav ul {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 12px;
}

header nav ul > li {
    list-style: none;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: gray;
    border-radius: 20px;
    position: relative;
}

header nav ul > li > a,
.dropbtn {
    color: white;
    text-decoration: none;
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.dropdown {
    padding: 0;
}

.dropdown .dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 3rem;
    width: 100%;
}

.dropdown .dropbtn::after {
    content: "▾";
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    background: gray;
    border-radius: 16px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 5;
    list-style: none;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    animation: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

@media (max-width: 1024px) {
    .game_image {
        width: 90vw;
        height: 50vh;
        margin: 2% 5%;
    }
    
    .info_section {
        margin: 3% 5% 36px 5%;
        padding: 36px;
    }
    
    .group_Photoarea {
        margin: 0 3% 20px 3%;
    }
    
    .group_info {
        margin: 0 3%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 16px 24px;
    }
    
    .game_image {
        width: 85vw;
        height: 45vh;
        margin: 3% auto;
    }
    
    .game_title {
        font-size: 1.6rem;
    }
    
    .game_genre {
        font-size: 1.2rem;
    }
    
    .game_info {
        font-size: 1rem;
    }
    
    .details_row {
        flex-direction: column;
        align-items: center;
    }
    
    .info_section {
        margin: 2% auto;
        padding: 24px;
        width: 90vw;
        max-width: 100%;
    }
    
    .group_Photoarea {
        margin: 2% auto;
        width: 90vw;
    }
    
    .group_Photo {
        height: auto;
        min-height: 250px;
    }
    
    .group_info {
        margin: 2% auto;
        width: 90vw;
        padding: 24px;
    }
    
    .group_roles h1 {
        font-size: 1.5rem;
        margin: 2% 0 8px 0;
    }
    
    .group_roles li {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        font-size: 1rem;
    }
    
    button {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .footer-every {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-team,
    .footer-collab {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-swed {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 16px;
    }
    
    .game_image {
        width: 95vw;
        height: 35vh;
        margin: 4% auto;
        border-radius: 20px;
    }
    
    .game_title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .game_genre {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .game_info {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .info_section {
        margin: 2% auto;
        padding: 16px;
        width: 95vw;
        border-radius: 20px;
    }
    
    .group_Photoarea {
        margin: 2% auto;
        width: 95vw;
        border-radius: 20px;
    }
    
    .group_Photo {
        border-radius: 20px;
        min-height: 180px;
    }
    
    .group_info {
        margin: 2% auto;
        width: 95vw;
        padding: 16px;
        border-radius: 20px;
    }
    
    .group_roles h1 {
        font-size: 1.2rem;
        margin: 1% 0 6px 0;
    }
    
    .group_roles li {
        font-size: 0.95rem;
        margin-bottom: 1%;
    }
    
    .download_button {
        flex-direction: column;
        width: 95vw;
        margin: 2% auto 24px;
    }
    
    button {
        font-size: 14px;
        padding: 8px 12px;
        width: 100%;
    }
}