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

body, html {
    height: 100%;
    font-family: 'Cinzel', serif;
    color: black;
    overflow-x: hidden;
    background-color: black;
    scroll-behavior: smooth;

    /*background-image: url('Media/Background_test2.png');
  background-size: cover;         
  background-repeat: no-repeat;   
  background-attachment: fixed;   
  background-position: center;*/
}



.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: black;
  z-index: 1;
}

.body-wrapper{
  background-image: url('Media/Background_test2.png');
  background-size: 100% auto;         
  background-repeat: no-repeat;      
  background-position: top-center;
}

@media (max-width: 768px){
    .body-wrapper{
        background-image: none;
        background-color: black;
    }
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

 
  -webkit-mask-image: radial-gradient(ellipse at center, white 20%, transparent 100%);
  -webkit-mask-mode: alpha;
  mask-image: radial-gradient(ellipse at center, white 20%, transparent 100%);
  mask-mode: alpha;

}

/* Pulsante menu in alto a destra */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  cursor: pointer;
}

.menu-toggle img {
  width: 40px;
  height: auto;
}

/* Contenitore menu nascosto di default */
.dropdown-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  background: rgba(0, 0, 0, 0.9);
  padding: 80px 20px 20px;
  display: none; /* nascosto di default */
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 150;
  animation: slideDown 0.3s ease forwards;
}

/* Social in riga */
.dropdown-menu .social-links {
  display: flex;
  gap: 15px;
}

.dropdown-menu .social-links img {
  width: 30px;
  height: auto;
}

/* Side links in colonna */
.dropdown-menu .side-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.dropdown-menu .side-links a {
  color: white;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Animazione */
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Quando il menu è visibile */
.dropdown-menu.show {
  display: flex;
}


.video-wrapper video {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  object-position: center top;
  position: relative;
}


.center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 90px;   
  height: 90px;
  cursor: pointer;
  transition: image 0.3s ease;
}

.center-icon img {
  width: 100%;
  height: auto;
  opacity: 0.3;
  transition: opacity 0.6s ease;
}

.center-icon img:hover{
    opacity: 1;
}

.video-side-links {
  position: fixed;
  top: 12%;
  right: 120px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  z-index: 3;
  
}

.side-link {
  font-family: 'Cinzel', serif;
  color: white;
  font-size: 25px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
  transition: opacity 0.6s ease;
  transition: font-size 0.6s ease;
  text-align: right;
}

.side-link:hover {
  opacity: 0.7;
  cursor: pointer;
  font-size: 32px;
}

.vertical-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,    /* parte superiore nera */
    rgba(0, 0, 0, 0) 20%,     /* fade a trasparente */
    rgba(0, 0, 0, 0) 85%,     /* mantiene trasparente */
    rgba(0, 0, 0, 1) 100%   /* parte inferiore nera */
  );
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 60%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    /*margin-top: 350px;
        
    */

}

@media (max-width: 768px) {
    .hero-content {
        /*margin-top: 600px;*/
        height: 100%;
        padding: 40px 20px;
    }


}

.wishlist-btn {
    position: absolute;
    display: inline-block;
    /*margin-top: 800px;*/
    bottom: 150px;
    width: 260px;
    height: 85px;
    background-image: url('Media/WISHLIST_OFF.png');
    background-size: cover;
    background-repeat: no-repeat;
    text-indent: -9999px;
    border: none;
    cursor: pointer;
    transition: background-image 0.3s ease;
    transform: translateX(-50%);
}

    .wishlist-btn:hover {
        background-image: url('Media/WISHLIST_ON.png');
    }

.wishlist-title {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 30px;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
    max-height: 100px;
    position: absolute;
    transform: translateX(-50%);
    bottom: 60px;
    white-space: nowrap;
}

@media (max-width: 1224px) {
    .wishlist-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .wishlist-title {
        font-size: 15px;
        white-space: normal;
    }
}


.logo-sub-image {
  position: relative;
  margin-top: 50px;
  max-width: 200px;
  height: auto;
  left: 40px;
}

.hero-logo-fixed {
  position: absolute;
  top: 30px;
  left: 50px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo-fixed img {
  max-height: 250px;
  width: auto;
}

.hero-subtitle {
    position: absolute;
    top: 350px; /* stessa altezza del logo */
    left: 60px; /* posizione desktop: lato sinistro */
    font-family: 'Cinzel', serif;
    font-size: 25px;
    color: white;
    margin: 0;
    text-align: left;
    white-space: wrap;
    z-index: 3;
    max-width: 300px;
}

@media (max-width: 1228px) {
    .hero-subtitle {
        left: auto; /* rimuove la posizione a sinistra */
        right: 50px; /* spostata sul lato destro */
        text-align: right;
        top: 100px;
        font-size: 18px;
    }
}

@media (max-width: 768px){
    .hero-subtitle{
        display:none;
    }
}



@media (max-width: 768px) {
  .hero-logo-fixed {
    position: absolute;
    top: 120px;              /* altezza regolabile */
    left: 50%;               /* posiziona al centro */
    transform: translateX(-50%); /* centra esattamente */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;     /* centra il contenuto interno */
  }
}


.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  display: inline-block;
}

.hero-buttons a {
  padding: 15px 30px;
  /*background-color: #9e1313;*/
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hero-buttons a:hover {
  /*background-color: #c81e1e;*/
}




@media (max-width: 600px) {
  .hero-logo {
    max-width: 250px;
  }

  .hero-buttons a {
    padding: 12px 24px;
    font-size: 14px;
  }
}
.social-links {
  position: fixed;
  bottom: 150px;
  top: 60%;
  right: 120px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.social-links img {
  width: 60px;
  height: 60px;
  /*filter: brightness(0) invert(1); /* immagine chiara su sfondo scuro */
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

@media (max-width: 1224px) {
  .social-links {
    position: absolute;
    top: 10px;
    bottom: auto;
    right: 0;
    left: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
  }
}
.section-title {
  text-align: center;
  padding: 60px 60px 60px; 
  
  
}

@media (max-width: 768px){
    .section-title{
        padding: 60px 60px 60px;
    }
}

.section-title h2 {
  font-size: 40px;
  color: white; 
  margin: 0;
  font-family: 'Cinzel', serif;
  display: inline-block;
  position: relative;
}

.section-title p{
  font-size: 20px;
  color: white; 
  margin: 0;
  font-family: 'Cinzel', serif;
  margin-top: 50px;
}

.section-title .title-decor {
  display: block;
  height: auto;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}

.section-title .title-decor {
  width: fit-content;
  max-width: 100%;
}

.story-section {
    background-image: url('Media/promoart2.png'); /* Cambia con la tua immagine */
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.story-content {
    max-width: 600px;
    color: white;
}

/* Titolo e testo */
.story-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    gap: 20px;
    
}

.story-text {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 3px 8px rgba(0,0,0,1), /* ombra principale grande */
    0 0 5px rgba(0,0,0,0.9), /* alone intorno */
    0 0 10px rgba(0,0,0,0.7); /* alone più largo */
}

@media (max-width: 768px) {
    .story-title,
    .story-text {
        text-shadow: 0 3px 8px rgba(0,0,0,1), /* ombra principale grande */
        0 0 5px rgba(0,0,0,0.9), /* alone intorno */
        0 0 10px rgba(0,0,0,0.7); /* alone più largo */
    }
}


/* Desktop: testo a sinistra */
@media (min-width: 769px) {
    .story-content {
        margin-left: 5%;
        text-align: left;
    }
}

/* Mobile: testo centrato */
@media (max-width: 768px) {
    .story-content {
        margin: 0 auto;
        text-align: center;
    }
}

.game-features-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: transparent;
}

.carousel-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    max-width: 1280px; /* rispetta il body wrap */
    margin: 0 auto;
    overflow: hidden; /* nasconde il fuori-schermo */
    border-radius: 20px;
}

    .carousel-container::before,
    .carousel-container::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: clamp(40px, 7vw, 140px);
        pointer-events: none;
        z-index: 3;
    }

    .carousel-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0));
    }

    .carousel-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(0,0,0,0.85), rgba(0,0,0,0));
    }


.carousel-track {
    display: flex;
    gap: 24px; /* IMPORTANTE: lo script lo legge */
    will-change: transform;
    transition: transform 0.5s ease;
    align-items: center;
}

.feature-card {
    flex: 0 0 clamp(390px, 44vw, 550px); /* larghezza card */
    aspect-ratio: 1 / 1; /* QUADRATE */
    max-width: 100%;
    text-align: center;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 20px;
    text-decoration: none;
    filter: brightness(0.7);
    transform: scale(0.95);
    transition: filter 0.3s ease, transform 0.4s ease;
    position: relative;
}

    .feature-card.active {
        filter: brightness(1);
        transform: scale(1);
        z-index: 2;
    }



    .feature-card h3 {
        margin: 0 0 8px 0;
        font-size: clamp(18px, 2.2vw, 24px);
    }

    .feature-card p {
        margin: 0;
        font-size: clamp(12px, 1.8vw, 16px);
    }

    .feature-card:hover {
        filter: brightness(1.15);
        transform: scale(1.05);
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 4;
    border-radius: 50%;
}

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

/* Hover solo dove supportato */
@media (hover: hover) {
    .feature-card:hover:not(.active) {
        filter: brightness(0.85);
        transform: scale(0.97);
    }
}

/* Mobile: card un filo più strette per far respirare i lati */
@media (max-width: 768px) {
    .feature-card {
        flex-basis: 88vw;
    }
}


/* Base della nuova sezione */
.story-section-right {
    position: relative;
    display: flex;
    justify-content: flex-end; /* spinge il contenuto a destra */
    align-items: center;
    background-image: url('Media/Screen6.png');
    background-size: cover;
    background-position: center;
    padding: 60px 320px;
    min-height: 500px; /* opzionale */
    text-shadow: 0 3px 8px rgba(0,0,0,1), /* ombra principale grande */
    0 0 5px rgba(0,0,0,0.9), /* alone intorno */
    0 0 10px rgba(0,0,0,0.7); /* alone più largo */
}

    /* Contenuto testo */
    .story-section-right .story-content {
        max-width: 600px;
        text-align: right; /* testo allineato a destra */
    }

    .story-section-right .story-title {
        font-size: 36px;
        color: white; /* testo bianco */
        margin-bottom: 20px;
    }

    .story-section-right .story-text {
        font-size: 1.2rem;
        color: white; /* testo bianco */
        line-height: 1.6;
    }

/* Mobile */
@media (max-width: 768px) {
    .story-section-right {
        justify-content: center; /* su mobile il testo va centrato */
        padding: 40px 20px;
        text-align: center;
        text-shadow: 0 3px 8px rgba(0,0,0,1), /* ombra principale grande */
        0 0 5px rgba(0,0,0,0.9), /* alone intorno */
        0 0 10px rgba(0,0,0,0.7); /* alone più largo */
        background-size: 450%;
        background-position: 30% center;
    }

        .story-section-right .story-content {
            text-align: center;
            padding-right: 0;
        }
}




.dungeon-section {
    /*color: white;
    justify-content: center;*/
    display: flex;
    align-content: center;
    align-items: center;
    
}



.dungeon-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width:100%;
  max-width: 4000px;
  margin: 0 auto;
  gap: 50px;
  padding-left: 20vw;
  padding-right: 5vw;
  flex-wrap: wrap;
  
}

.dungeon-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  background-color: black;
}

.dungeon-text {
    max-width: 500px;
    padding: 100px 0;
}

.dungeon-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
}

.dungeon-text p {
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Cinzel', serif;
}


@media screen and (max-width: 1024px) {
  .dungeon-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-left: 5vw;
    padding-right: 5vw;
    text-align: center;
    justify-content: center;
  }

  .dungeon-text, .dungeon-img {
    max-width: 100%;
  }

  .dungeon-text h2 {
    font-size: 28px;
  }

  .dungeon-text p {
    font-size: 16px;
  }
}

@media screen and (max-width: 1224px) {
  .video-side-links {
    display: none;
  }
}

.media-presskit-section {
  padding: 20px 20px 150px 20px;
  
  color: white;
}

.media-presskit-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.presskit-left {
  flex: 1;
  text-align: center;
}

    .presskit-left h3 {
        margin-bottom: 20px;
        font-size: 1.8rem;
    }

.presskit-img {
  max-width: 50%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.presskit-img:hover {
  transform: scale(1.05);
}

.presskit-right {
  flex: 1;
  text-align: center;
}

.presskit-right h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.newsletter-form input {
  padding: 12px;
  width: 80%;
  max-width: 400px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 24px;
  background-color: #cda434; /* o colore del tuo brand */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e1c254;
}

@media (max-width: 768px) {
  .media-presskit-container {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}

.platform-release-section {
  position: relative;
  
  overflow: hidden;
  padding: 200px 20px;
  color: white;
}

.platform-release-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;      /* dimensione immagine */
  height: 300px;
 
  background-size: contain;
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 1;      /* sottoimpressione */
  z-index: 0;        /* dietro al contenuto */
}

@media (max-width: 768px) {
  .platform-release-section::before {
    display: none;
  }

  .platform-release-section{
      padding: 60px 20px; 
  }
}

.platform-release-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
  
}

.platform-box,
.release-box {
  flex: 1 1 45%;
  text-align: center;
  
}

.platform-box h2,
.release-box h2 {
    
  font-size: 24px;
  margin-bottom: 20px;
}

.platform-icons {
    
  display: flex;
  justify-content: center;
  gap: 20px;
}

.platform-icons img {
  width: 150px;
  height: auto;
  
}

.tba-text {
  font-size: 20px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .platform-release-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.site-footer {
  
  color: #aaa;
  padding: 40px 20px 20px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy p {
    margin: 0;
    font-size: 12px;
    color: white;
}
