/* CSS Reset to remove default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #c5c5ad; /* Couleur de fond semblable à du papier */
    position: relative;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    opacity: 0.2; /* Ajustez pour un grain plus ou moins visible */
    pointer-events: none; /* Permet de cliquer à travers le grain */
    z-index: -1;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    color: #333;
    padding: 2rem;
}

.hero-logo {
    width: 250px;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.social-icons a {
    color: #333;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons .text-icon {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.social-icons .svg-icon svg {
    width: 32px; /* Corresponds to font-size: 2rem */
    height: 32px;
    fill: #333;
}

.social-icons .social-icon-img {
    width: 32px;
    height: 32px;
}

.hero-title {
    display: none; /* Title is now hidden */
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 1.5s ease-in-out;
}

.fixed-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid #333;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.menu-button.live {
    background-color: #333;
    color: hsl(141.67deg 77.14% 72.55% / 90%);
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    animation: fadeIn 3.5s ease-in-out;
}

.scroll-down-indicator::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: #333;
    border-radius: 2px;
    animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.section-padding {
    padding: 60px 0;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.column-left {
    flex: 1;
    padding-right: 20px;
}

.column-left .image-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Give some height to the container */
}

.column-left .background-image,
.column-left .foreground-image {
    position: absolute;
    max-width: 80%; /* Adjust size as needed */
    height: auto;
    transition: transform 0.2s ease-out;
}

.column-left .background-image {
    z-index: 1;
    transform: rotate(-15deg); /* Rotation */
    max-width: 70%;
}

.column-left .foreground-image {
    z-index: 2;
    /* No rotation for the main character */
}

.column-right {
    flex: 1;
    padding-left: 20px;
}

.column-right h2 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.column-right p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Add some space before the tags */
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-button {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    background-color: transparent;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 2px solid #333;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

#what-is {
    background-color: transparent;
    color: #333;
}

/* Bento Section */
#bento {
    background-color: transparent;
    color: #333;
}

.bento-container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bento-header {
    text-align: center;
    margin-bottom: 30px;
}

.bento-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bento-header p {
    font-size: 1rem;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: rgba(255,255,255,0.7);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.bento-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* Ticker Styles */
.ticker-wrap {
    overflow: hidden;
    height: 75px;
    background-color: #333;
    color: #c5c5ad;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 60px 0 0; /* Adjust vertical spacing */
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

.ticker-wrap.no-top-margin {
    margin-top: 0;
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker-animation 40s linear infinite;
}

.ticker-item {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.ticker-item .dot {
    margin: 0 1rem;
    font-size: 1.5rem;
}

@keyframes ticker-animation {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* The translate value should be half of the ticker's width */
    }
}

#placeholder-section {
    color: #fff; /* Changed for better contrast on image */
    position: relative;
    overflow: hidden; /* Hide parts of the image that go outside the container */
}

#placeholder-section::before {
    content: '';
    position: absolute;
    top: -5%; /* Enlarge the pseudo-element to avoid showing edges on zoom out/pan */
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('imgs/sub_wall_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: organic-pan-zoom 40s ease-in-out infinite alternate;
}

#placeholder-section h2 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Add text shadow for readability */
}

#placeholder-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

@keyframes organic-pan-zoom {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.1) translate(2%, -2%);
    }
    50% {
        transform: scale(1) translate(-2%, 2%);
    }
    75% {
        transform: scale(1.1) translate(-1%, -1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Tailored NFTs Section */
#tailored-nfts {
    background-color: #3b3b3b; /* Lighter off-white background */
    color: #c2c0c0;
    padding-top: 0; /* Stick to the ticker */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

#tailored-nfts .container-fullwidth {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    z-index: 1;
}

#tailored-nfts .container-fullwidth.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-center {
    text-align: center;
}

.container-fullwidth {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tailored-nfts h2 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    padding-top: 60px; /* Spacing for the content */
}

.background-nft-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(3);
    opacity: 0.1;
    z-index: 0;
}

.video-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.nft-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: white;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.video-container.playing .play-button-overlay {
    opacity: 0;
}

#tailored-nfts p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.large-live-button {
    font-size: 1.5rem;
    padding: 1rem 2rem;
}

.large-live-button .live-dot {
    width: 15px;
    height: 15px;
    margin-right: 12px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    #what-is .container {
        flex-direction: column;
        text-align: center;
    }

    #what-is .column-left,
    #what-is .column-right {
        padding-left: 0;
        padding-right: 0;
    }

    #what-is .column-left {
        margin-bottom: 40px;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #what-is .column-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .column-left .image-stack {
        transform: scale(0.8);
    }
}

.site-footer {
    background-color: #333;
    color: #c5c5ad;
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-solana {
    display: flex;
    align-items: center;
    gap: 10px;
}

.solana-icon {
    width: 24px;
    height: 24px;
    fill: #c5c5ad;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #c5c5ad;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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