@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

@font-face {
    font-family: 'Inter var';
    font-weight: 100 900;
    font-display: swap;
    font-style: oblique 0deg 10deg;
    src: url('inter.var.woff2') format('woff2');
}

/* ===== Reset & Base Styles ===== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dimensioni della scrollbar */
::-webkit-scrollbar {
    width: 0px; /* per scrollbar verticale */
    height: 10px; /* per scrollbar orizzontale */
}

  /* Colore del "thumb", cioè la parte che si muove */
  ::-webkit-scrollbar-thumb {
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
     border-radius: 0px
  }

  
  /* Sfondo invisibile: la scrollbar sembra sopra il contenuto */
    ::-webkit-scrollbar-track:vertical {
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
  }
  
  
  /* Colore quando ci passi sopra col mouse */
  ::-webkit-scrollbar-thumb:hover {
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
}

/* Base Typography */

:root {
    --font-base: 'Inter var', system-ui;
    --font-mono: 'JetBrains Mono', monospace;
    /* Color Palette */
    --primary-color: #5b2a1d; /* Colore principale scuro e terroso */
    --secondary-color: #d57d3a; /* Arancione caldo ma scuro */
    --accent-color: #8e4f2a; /* Tonalità di arancione scuro per un accento */
    --light-color: #f4f4f9; /* Colore chiaro neutro */
    --dark-color: #2d0f13; /* Colore scuro molto profondo */
}

html {
    scroll-behavior: smooth;
    touch-action: pan-y; /* abilita lo scroll verticale su touch */
    overscroll-behavior: contain; /* evita scroll "rimbalzi" */
}

body {
    background: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

hr {
    width: 50%;
    height: 1px;
    background-image: linear-gradient(to right, #f36f3f75, #f9a72b5d, #f4e14d5d, #ffbd4263);
    border: none;
    margin: auto;
    padding: 0;
}

#error-oriz {
    display: none;
}

/* section 1 */
#section1{
    width: 100%;
    height: 150vh;
    margin-top: 0;
}
/*CODICE EFFETTO SFONDO GRADIANT*/
.bgc_gradient {
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
    background-size: cover;
    width: 100%;
    height: 150vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    mix-blend-mode: screen;
    filter: contrast(110%) brightness(120%);
    transition: background-image 0.5s ease-out;
    will-change: background-image;
    padding-top: 100px;
}
canvas {
    display: block;
    position: absolute;
    z-index: -1;
}

#particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(206, 29, 17, 0.8); /* Colore delle particelle */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(209, 209, 209, 0.8); /* Ombra per dare un effetto luminoso */
    animation: drift 10s infinite linear;
}
/*CODICE CONTAINER LOGO*/

#logo_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
h3,h2, h1 {
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );      -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
h5{
background-image: linear-gradient(
    45deg,
    #FFFFFF 0%,
    #fcf805 66%,
    #ffbc05 100%
);  
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;    
    font-size: 1.15rem;
    opacity: 0.7;
}
h3 {
    font-size: 2.5rem;
}
h1 {
    font-size: 6.5rem;
    text-shadow:0 0 30px #ff0000;
}
#logo_container h1 {
    animation: pulse2 1s ease-in-out infinite;
}
#logo_home {
    width:90%;
    margin-bottom: 50px;
    margin-top: -30px;
    filter: drop-shadow(0px 0px 28px #f9a62b); /* Ombra alla sagoma dell'immagine */        
    animation: pulse3 5s ease-in-out ;
}

#phrase_logo {
    display: flex;
    gap: 10px;
    align-items: center;
}
#phrase_logo span {
    font-size: 32px;
}
#slogan {   
    font-size: 17px;
    line-height: 35px;
    margin-top: 15px;
    text-align: center;
}
#slogan-desk {
    display: none;
}
#btn-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: -20px;
}
.btn {  
    padding: 10px 20px;
    border-radius: 1rem;
    margin: 30px 0;
    background-color: #f9a72b98;
    border:none;
    box-shadow: 0 0 10px #f9a62b;
    font-size: 18px;
    font-weight: bolder;
    text-decoration: none;
    color: #cccccc;
    cursor:pointer;
}
#btn_buy {
    margin-top: 40px;
    background-color: #ffe60059;
    padding: 20px 40px;
    cursor: pointer;
}
/* CODICE PER BOTTONE COPIA CA*/

.copy-btn {
    position: relative;
    padding: 12px 24px;
    font-size: 16px;
    color: #9d9d9d;
    background: #3a054b44;
    border: 1px solid #db69348e;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px #ffffff;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    max-width: 300px; /* Imposta la larghezza massima */
    white-space: nowrap;
    text-overflow: ellipsis;
}

.copy-btn:hover {
    background: #f9a72ba4;
    color: #fff;
    box-shadow: 0 0 15px  #f9772b;
}
.copy-btn::before {
    padding-right: 11px;
    content: "\f0c5"; /* Codice Unicode dell'icona */
    font-family: "Font Awesome 6 Free"; /* Assicurati di usare la famiglia corretta */
    font-weight: 400; /* Peso "Regular" */
    margin-right: 8px; /* Spazio tra l'icona e il testo */
}
/* Stile per il testo di conferma */
.copy-btn.copied {
    background: #0f0 !important;
    color: #000 !important;
    box-shadow: 0 0 15px #0f0;
}

/* GALLERY */
#banner-gallery {
    width: 120%;
    position: absolute;
    height: 100px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
    justify-content: center;
    animation: enter2 1s ease-in-out;
    transform: rotate(10deg);
    margin-top: 50px;
    margin-bottom: -180px;
    z-index: 999;
}
 h1 {
    color: #ffffffd1;
    text-shadow: 0 0 10px #ffffff;
    font-size: 5rem;
}

@media screen and (min-width:768px){
    #banner-gallery {
        display: none;
    }
}
#gallery {
    width: 100%;
    overflow-x: scroll;
}

.scroll-gallery{
    width: 100%;
    height: 500px;
    position: relative;
}

.photo-container {
    width: 100%;
    height: 100%;
    padding: 50px;
}

@media screen and (min-width:768px){
    .photo-container {
        padding: 160px;
    }

}
.photo {
    width: 300px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 1s ease;
    margin: 20px;
    
}
  

/* CODICE SECTION 2 */

#section-2 {
    width: 100%;
    border-top:1px solid #ff00006d;
}

#game-box {
    display: none;
    width: 100%;
    height: auto;
    border:10px solid red;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
#game-img img {
    margin-top: 10px;
    border:5px solid #ff0000c4;
    border-radius: 10px;
    box-shadow: 0 0 20px #ff0000c4;
}

#section2-container {
    width: 100%;
    height: auto;
    padding-bottom: 50px;
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 100px;
}
/* section 3 */
#section-3 {
    width: 100%;
    position: relative;  /* Necessario per posizionare i bottoni sopra il carosello */
}

.story-container {
    width: 100%;
    background-image: linear-gradient(to left, #6b360a72, #33190060);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: none; /* Nascondi tutte le storie inizialmente */
}

.story-container.active {
    display: flex;  /* Mostra la storia attiva */
}

/* Bottoni per navigazione */
.carousel-button {
    position: absolute;
    top: 50px;
    transform: translateY(-50%);
    color: rgb(236, 143, 20);
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    font-size: 36px;
}

.prev {
    left: 35%;
}

.next {
    right: 35%;
}


#story-title {
    margin: 30px 0 0 15px;
    font-size: 2rem;
    background-image: linear-gradient(45deg, #f36f3f, #f9a62b, #f4e04d, #ffbc42);
}
#story-box {
    width: 90%;
    border-radius: 1rem;
    background-image: linear-gradient(to left, #3f340496, #4f1e0856, #44180a8e);
    color: #9d9d9d;
    border:1px solid #a048006d;
    padding: 20px;
    margin: 40px;
    line-height: 30px;
    font-family: sans-serif;
    font-size: larger;
    text-align: center;
}

.story {
    margin: 30px 0;
}
.story strong {
    font-size: 1.5rem;
    color: #f9a72b;
}
footer {
    width: 100%;
    padding-top: 25px;
    z-index: 99;
    height: auto;
background-image: linear-gradient(
    45deg,
    #ffffff00 0%,
    #df610ed5 66%,
    #d8c303dc 100%
    );  
}
#social-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 0px;
    align-items: center;
}
.social-box {
    width: auto;
    display: flex;
    gap: 10px;
    padding: 5px 20px;
    margin-bottom: 60px;

}
.social-box:nth-child(1):after {
    content: '|';
    color: rgb(211, 101, 11);
    margin-left: 20px;
}
.social-box:nth-child(2):after {
    content: '|';
    color: rgb(211, 101, 11);
    margin-left: 20px;
}
.social-box:nth-child(3):after {
    content: '|';
    color: rgb(211, 101, 11);
    margin-left: 20px;
}


.social-box i {
    color: #ffffff;
    font-size:25px;
    margin-right: 10px;
}
.social-box a {
    text-decoration: none;
    color: #ffffff;
}

.social-box:nth-child(4) a {
    color: #00000052;
    cursor: wait;
}

.social-box:nth-child(4) i {
    color: #00000052;
}

footer p {
    color: rgba(221, 146, 8, 0.613);
    width: 100%;
    text-align: center;

}

@media screen and (min-width:400px){
  
    .scroll-gallery{
        padding-left: 0%;
    }
 
}
@media screen and (max-width:500px){
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    .bgc_gradient {
        padding-top:60px;
    }

    #logo_home {
        width:200px;
        animation: pulse4 5s ease-in-out;
        transform: scale(1.2);
    }
    #logo_container h3 {
        font-size: 2rem;
    }
    .prev {
        left: 2%;
        font-size: 20px;
    }
    
    .next {
        right: 2%;
        font-size: 20px;
    }
    #slogan {
        font-size: 16px;
        line-height: 25px;
        margin-top: 8px;
        margin-bottom: 10px;
    }
    #gallery {
        width: 100%;
        height: auto;
        padding-top: 160px;
        position: relative;
        padding-bottom: 0px;
        overflow-y:hidden ;
    }

    .scroll-gallery{
        padding: 20px;
        width: 0%;
        padding-left: 150%;
        transform: translateY(-20%) scale(1.4);
        height: 320px;
        position: relative;
        display: flex;
    }
    
    .photo-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
    .photo {
        width:220px;
        margin-top: 100px;
        margin-bottom: 40px;
        height: auto;
    }
          

    #section-2 {
        width: 100%;
    }
    #section2-container {
        display: flex;
        justify-content: start;
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: hidden;
        gap: 40px;
        flex-wrap: nowrap;
        padding:20px;
    }
    #title-section2-box {
        display: none;
    }
    .box-info-token {
        height: 170px; 
        min-width: 100%;
    }
    #social-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .social-box {
        width: 40%;
    }
    .social-box:nth-child(1):after {
        content: '';
        color: rgb(211, 101, 11);
        margin-left: 20px;
    }
    .social-box:nth-child(2):after {
        content: '';
        color: rgb(211, 101, 11);
    }
    .social-box:nth-child(3):after {
        content: '';
        color: rgb(211, 101, 11);
        margin-left: 20px;
    }
    .social-box:nth-child(4):after {
        content: '';
        color: rgb(211, 101, 11);
    }
    #mascotte-f {
    position: absolute;
    width: 200px;
    animation: enter1 2s ease-in-out;
    bottom:-55%;
    right: -11%;
    z-index: 1;
}

}

@media screen and (min-width:1200px){
    #slogan-desk {
        display: block;
        margin: 25px ;
    }
    #slogan {
        display: none;
    }
    #section2-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }
    .box-info-token {
        width: 50%;
        margin-bottom: 0px;
        margin-top: 0px;
    }
    .box-info-token:last-child {
        margin-top: 40px;
    }
    #story-box {
        width: 85%;
        line-height: 30px;
    }

    #mascotte-f {
        display: block;
        position: absolute;
        bottom: -60%;
        right: 10px;
        animation: enter1 2s ease-in-out;
    }
    
}
@media screen and (min-width:1380px){
    #section1 {
        height: 100%;
    }
    #slogan-desk {
        display: block;
    }
    #slogan {
        display: none;
    }
    #section2-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }
    .box-info-token {
        width: 40%;
    }
    .box-info-token:last-child {
        margin-top: 0px;
    }

    #story-box {
        width: 65%;
    }
    
}

@media screen and (min-width:1700px){
    #slogan-desk {
        display: block;
    }
    #slogan {
        display: none;
    }
    #section2-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }
    .box-info-token {
        width: 30%;
        margin-bottom: -0px;
    }

}

@media screen and (min-width:1919px){
    #slogan-desk {
        display: block;
    }
    #slogan {
        display: none;
    }
    #section2-container {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }
    .box-info-token {
        width: 30%;
    }

    #section1 {
        margin-top: 100px;
    }
}
@media screen and (min-width:2500px){

}
@media (min-device-aspect-ratio: 13/9) and (max-device-width: 1024px),
       (max-height: 480px) and (orientation: landscape) {
    /* Stili aggiuntivi */
    #error-oriz {
        display: block;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 9999;
        background-color: rgb(2, 2, 16);
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    #error-oriz span {
        font-size: 1.5rem;
        font-weight: bolder;
        color: #7a7a7a;
    }
    #error-oriz i {
        font-size: 4rem;
        color: rgb(78, 17, 163);
        margin-bottom: 40px;
    }
    #logo_home {
        display: none;
    }
    section {
        display: none;
    }
    ::-webkit-scrollbar {
        display: none;
    }
}