html, body {
    height: 100vh; 
    margin: 0;
    display: flex;
    flex-direction: column; 
    overflow-x: hidden;
    scrollbar-width: none;
} 

footer{
    position: relative;
    width: 100%; 
    margin-top: auto;
    align-self: center;
    align-items: center;
    justify-content: center;
    text-align: center;  
}
footer .hero-title {
    font-size: 1.5rem;  
    margin-bottom: 0.5rem;     
} 
.reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroEntrance {
    from {transform: scale(1.1) translateY(-20px); opacity: 0;}
    to {transform: scale(1) translateY(0); opacity: 1;}
}

@keyframes waveFloat {
    0% {transform:scaleX(5);}     
    /* 50% {transform:translateY(+10px);}  */
    
    /* 100% {transform: translateY(0);}         */
}

.hero-section {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 8rem 1.5rem 12rem 1.5rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    animation: heroEntrance 1.2s ease-out forwards; 
}

.hero-content {
    max-width: 90vw;
    /* max-width: 56rem; */ 
    margin: 0 auto;  
}

.hero-title {
    font-size: clamp(2rem, 8vw , 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-transform: uppercase; 
}

.wave-container { 
    position: relative;
    background-color: #1e293b;
    color: #ffffff;
    /* Extra top padding so the wave doesn't cover the text */
    padding: 10rem 1.5rem 6.25rem 1.5rem;

}
 
.wave-divider {
    position: absolute;
    top: -1px;
    left: 0; 
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    animation: waveFloat 1.2s ease-in-out  ;
}

.wave-divider svg {
    display: block;
    width: 100%; 
     /* calc(100% + 1.3px); */
    min-width: 100%;
    height: 10vh;
}
  
.wave-divider .shape-fill {
    fill: #ffffff; 
}

.sub-tag{
    display:  inline-block;
    background: rgba(255,255,255,0.2); 
    padding: 5px;
    border-radius: 50px; 
    border: 1px;
    text-transform: uppercase;

}
 
.scroll{ 
    display: flex;
    flex: 1;
    min-height: fit-content;
    flex-direction: column;

    overflow-x:hidden;
    overflow-y: auto;
    scrollbar-width: none;

    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    

    align-items: center;
 
}

.scroll section{
    will-change: transform;
    position: sticky;
    /* scroll-snap-align: start;  
    scroll-margin-top: 20px; */

    top: 20px;
    flex: 0 0 60%; 
    width: 90%; 
    margin-bottom: 5vh; 

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #1e293b;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);    
    
    view-timeline: --card-scroll block;
    animation: card-enter linear both;
    animation-timeline: --card-scroll;
    animation-range: entry 0% entry 100%; 
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);;
}  
@keyframes card-enter {
    from { 
        transform: rotate(3deg) scale(1.1);  
    }
    to { 
        transform: rotate(0deg) scale(1);  
    }
}
/* 
.scroll section:hover{
    transform: translateX(1px);
    background: #001642;
} */
.scroll section:nth-child(2) { top: 40px; }
.scroll section:nth-child(3) { top: 60px; }
.scroll section:nth-child(4) { top: 80px; }
.scroll section:nth-child(5) { top: 100px; }
.scroll section:nth-child(6) { top: 120px; }

.scroll a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* The "Glass" effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration:none;

    z-index: 2;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(2, 2, 2, 0.781) 100%);
    z-index: 1; 

}

.card-mileage {
    background-image: url('photography/images/564314344vds/_107653000ABDD7.webp'); /* Use a high-res photo */
    background-size: cover;
    background-position: center;
    
}
.card-pay { 
        background-image: url('photography/images/564314344vds/_5755700000B9E9.webp'); /* Use a high-res photo */
    background-size: cover;
    background-position: center;
}

.card-endless-game{
    background-color: #1e293b;
    background-image: url('games/endless_game/background_2.jpg');
    
}

.card-photography{
    background-image: url('photography/images/564314344vds/_30359100057C2F.webp'); /* Use a high-res photo */
     background-size: cover;
    background-position: center ;
}

.card-generic{
    background-color: #1e293b;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

