/* --- HIDE ALL DEFAULT COPENHAGEN ELEMENTS --- */
.nav-wrapper,
.search,
.hero,
.breadcrumbs,
.footer,
.categories,
.section-tree,
.article-list,
.article-container,
.main-footer,
.sub-nav, {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

/* --- CUSTOM HOME BUTTON STYLING --- */
.custom-home-buttons {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto, auto);
  column-gap: 20px;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin: 20px auto;
}

.home-image-button {
  width: 60px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.2s ease;
  bottom: 20px;
}

.home-image-button:hover {
  transform: scale(1.05);
}

.support-button {
  background-color: var(--supportbuttoncolour);
  color: #FFFFFF;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.kb-button {
  background-color: #FC6518;
  color: #FFFFFF;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.shop-button {
  background-color: var(--webshopbuttoncolour);
  color: #FFFFFF;
  font-weight: bold;
  padding: 20px 30px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.social-button:hover {
  background-color: #0F3554;
}

.custom-hero-wrapper {
  margin-bottom: 40px;
}

.short-bar {
  background-color: var(--supportbuttoncolour);
  height: 50px;
  width: 100%;
  position: fixed;
  z-index: 3;
}

.long-banner {
  background-image: var(--long-banner-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 180px;
  position: relative;

}

/* Position buttons inside the long banner */
.hero-buttons {
  position: absolute;
  bottom: 40px; /* Distance from the bottom of banner */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  font-family: 'Orbitron', sans-serif;
}

.webshop-button {
  position: absolute;
  bottom: 10px; /* Distance from the bottom of banner */
  display: flex;
  gap: 20px;
  font-family: 'Orbitron', sans-serif;
  justify-content: center;
  width: 100%;
}

.hero-btn {
  background-color: #1F73B7;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-weight: bold;
}

.webshop-btn {
  all: unset;
  overflow: hidden;
  color: white;
  background-color: var(--webshopbuttoncolour);
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 70px;
  font-weight: bold;
  z-index: 2;
  position: relative;
  font-family: 'Orbitron', sans-serif;
}

.webshop-btn:hover {
  text-decoration: underline; 
  transform: scale(1.05);
}

.simple-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--webshopbuttoncolour);
  color: white;
  text-align: center;
  margin-top: 20px;
  padding: 2px;
  font-size: 10px;
  z-index: 3;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.footer-links {
  color: inherit; 
  text-decoration: none; 
}

.footer-links:hover {
  text-decoration: underline; 
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9; /* Maintain 16:9 ratio natively */
  z-index: 1;
  margin: 10px auto;
}

.video-wrapper iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-btn-image {
  width: 103px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.grid-merged {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  max-width: 410px;
  margin: 0 auto;
  align-items: center;
  padding: 20px;
}

.big-box {
  grid-row: span 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.big-box-img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

.small-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.store-img {
  width: 103px;
  height: 32px;
  object-fit: contain;
  position: relative;
}

.game-logo {
  font-family: 'Orbitron', sans-serif; 
  font-size: 3rem;
  color: #F8B90E; 
  text-shadow: 
    2px 2px 0 #000, 
    4px 4px 10px rgba(0,0,0,0.5); 
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.simple-text {
  font-size: 12pt;
  font-family: 'Roboto Mono', sans-serif; 
  color: white;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  background-color: #0F121D;
  border-radius: 30px;
  padding: 20px;
  border: 2px solid #FC6518; 
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.custom-dropdown {
  width: 300px;
  margin: 0 auto 20px;
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #F8B90E;
  border: 2px solid white;
  border-radius: 30px;
}

.dropdown-selected {
  background-color: #0F121D;
  padding: 12px 16px;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.dropdown-selected::after {
  content: "▼";
  float: right;
  margin-right: 10px;
  color: #F8B90E;
}

.dropdown-options {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #0F121D;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  margin-top: 5px;
  z-index: 99;
  list-style: none;
  padding: 0;
  border: 2px solid white;
}

.dropdown-options li {
  padding: 12px;
  text-align: center;
  cursor: pointer;
  border-bottom: 1px solid #1f1f2d;
  border-radius: 20px;
}

.dropdown-options li:last-child {
  border-bottom: none;
}

.dropdown-options li:hover {
  background-color: #1f1f2d;
}


.dropdown:hover {
  background-color: #F8B90E;
  color: #0F121D; 
  cursor: pointer; 
}

.page-background {
  position: relative;
  z-index: -1;
}

.page-background::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--page-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}


/* --- MOBILE ADJUSTMENTS --- */

@media (max-width: 480px) {
  .button-grid {
    width: 90%; 
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-buttons {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px; 
  }

  .video-wrapper {
    display: block;
    max-width: 90%; 
    aspect-ratio: 16 / 9;
    margin: 10px auto;
  }
  
  .video-wrapper iframe {
    width: 100%; 
    aspect-ratio: 16 / 9;
    height: auto; /
    border-radius: 12px; 
  }

  .grid-merged {
    display: grid;
    grid-template-columns: 1fr 1fr; /* for row 2 */
    grid-template-rows: auto auto;
    max-width: 100%;
    gap: 20px;
    scroll-margin-top: 30px;
  }
  
  .big-box {
    grid-column: 1 / -1; /* spans both columns */
  }

  .small-box {
    width: 100%;
  }

  .big-box-img {
    max-width: 100%; 
    height: auto;
  }

  .simple-footer {
    font-size: 8px; /* Adjust footer font size for mobile */
    padding: 2px;
  }

  .simple-text {
    max-width: 90%; /* Ensure it takes up more space on mobile */
  }

  .dropdown {
    width: 100%; /* Full width dropdown */
    font-size: 16px; /* Slightly smaller text for mobile */
    padding: 12px;
    margin: 15px auto;
  }

  /* adjusting button sizes on mobile */
  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .webshop-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .home-image-button {
    max-width: 50px;
  }
}
