/* ======================================
   A$$ KEETCHUM - MHGA STYLE
   ====================================== */

/* IMPORTANT: Tous les styles sont scopés à #site-content pour ne PAS affecter le jeu */

/* Reset & Base - Scoped to site-content only */
#site-content * {
    box-sizing: border-box;
}

/* Reset seulement les éléments qui n'ont PAS besoin de margins pour le centrage */
#site-content h1, #site-content h2, #site-content h3, #site-content h4, #site-content h5, #site-content h6,
#site-content p, #site-content span, #site-content a, #site-content button,
#site-content ul, #site-content li, #site-content img {
    margin: 0;
    padding: 0;
}

#site-content {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(180deg, #9b87f5 0%, #7dd3fc 100%);
    min-height: 100vh;
    width: 100vw;
    height: 100vh;
    color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
}

/* Quand #site-content est display:none, il ne doit rien bloquer */
#site-content:not([style*="display: block"]):not([style*="display:block"]) {
    z-index: -9999;
    pointer-events: none;
    visibility: hidden;
}

/* Quand #site-content est visible (display: block), il prend le dessus */
#site-content[style*="display: block"],
#site-content[style*="display:block"] {
    z-index: 99999;
    pointer-events: auto;
    visibility: visible;
}


/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: #1a1a1a;
    padding: 1rem 2rem;
    margin: 0;
    width: 100%;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 4px solid #000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.site-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.site-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.site-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.6rem, 1.2vw, 0.9rem);
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: #fbbf24;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid #000;
    font-weight: bold;
    white-space: nowrap;
}

.btn-join {
    background: transparent;
    color: #fff;
    border-color: #fbbf24;
}

.btn-join:hover {
    background: #fbbf24;
    color: #000;
}

.btn-buy {
    background: #fbbf24;
    color: #000;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 0 #000;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 100;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    margin-bottom: 1rem;
    color: #fbbf24;
    font-style: italic;
    text-shadow: 4px 4px 0px #000,
                 -2px -2px 0px #000,
                 2px -2px 0px #000,
                 -2px 2px 0px #000;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: #fff;
    font-style: italic;
    margin-bottom: 2rem;
}

.troll-emoji {
    display: inline-block;
}

/* Main Content Container */
.site-container {
    position: relative;
    z-index: 100;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 6rem 2rem;
    width: 100%;
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: #e5e1d8;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 5px solid #000;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #000;
    font-weight: bold;
    margin-bottom: 1rem;
    word-break: break-word;
}

.stat-label {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    color: #1a1a1a;
    text-transform: uppercase;
}

/* Content Section */
.content-section {
    background: #e5e1d8;
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 5px solid #000;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .section-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 4px solid #000;
    transition: transform 0.3s ease;
}

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

.section-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #fbbf24;
    font-style: italic;
}

.section-text p {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    line-height: 1.8;
    color: #1a1a1a;
}

/* Tokenomics Section */
.tokenomics-section {
    position: relative;
    z-index: 100;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 5px solid #000;
}

.tokenomics-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: #fbbf24;
    font-style: italic;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tokenomics-item {
    background: #e5e1d8;
    border-radius: 20px;
    padding: 2rem;
    border: 4px solid #000;
    transition: transform 0.3s ease;
}

.tokenomics-item:hover {
    transform: translateY(-5px);
}

.tokenomics-item h3 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.tokenomics-item p {
    font-size: clamp(0.6rem, 1.2vw, 0.9rem);
    line-height: 1.6;
    color: #1a1a1a;
}

/* Contract Address Band */
.contract-band {
    position: relative;
    z-index: 100;
    background: #1a1a1a;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 30px;
    border: 5px solid #fbbf24;
}

.contract-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contract-title img {
    max-width: 300px;
    height: auto;
}

.contract-address-box {
    background: #2a2a2a;
    border: 3px solid #fbbf24;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contract-address-box:hover {
    background: #3a3a3a;
    transform: scale(1.02);
}

.contract-address-box h2 {
    font-size: clamp(0.6rem, 2vw, 1.2rem);
    color: #fbbf24;
}

.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fbbf24;
    color: #000;
    padding: 2rem 3rem;
    border-radius: 20px;
    border: 5px solid #000;
    font-size: 1.2rem;
    z-index: 100000;
    transition: transform 0.3s ease;
}

.copy-notification.show {
    transform: translate(-50%, -50%) scale(1);
}

/* Community Section */
.community-section {
    position: relative;
    z-index: 100;
    text-align: center;
    padding: 3rem 2rem;
}

.community-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: #fbbf24;
    font-style: italic;
}

.community-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.community-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.community-icon:hover {
    transform: translateY(-10px) scale(1.2);
}

/* Roadmap Section */
.roadmap-section {
    position: relative;
    z-index: 100;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 5px solid #000;
}

.roadmap-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: #fbbf24;
    font-style: italic;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #e5e1d8;
    border-radius: 20px;
    border: 4px solid #000;
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    transform: translateX(10px);
}

.roadmap-phase {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: bold;
}

.roadmap-content {
    font-size: clamp(0.6rem, 1.2vw, 0.9rem);
    color: #1a1a1a;
    line-height: 1.8;
}

.roadmap-content ul {
    list-style: none;
    padding-left: 0;
}

.roadmap-content li {
    margin-bottom: 0.5rem;
}

.roadmap-item.completed {
    border-color: #4ade80;
}

.roadmap-item.completed .roadmap-phase::before {
    content: "✅ ";
}

/* How To Buy Section */
.htb-section {
    position: relative;
    z-index: 100;
    background: #e5e1d8;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 30px;
    border: 5px solid #000;
}

.htb-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: #fbbf24;
    font-style: italic;
}

.htb-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .htb-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.htb-step {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 4px solid #000;
    transition: transform 0.3s ease;
}

.htb-step:hover {
    transform: translateY(-10px);
}

.htb-step img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.htb-step h3 {
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.htb-step p {
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    line-height: 1.6;
    color: #1a1a1a;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: #fbbf24;
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    text-decoration: none;
    border: 4px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 0 #000;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-container {
    text-align: center;
    margin: 2rem 0;
}

/* Footer */
footer {
    position: relative;
    z-index: 100;
    background: #1a1a1a;
    padding: 2rem;
    margin: 3rem 0 0 0;
    border-radius: 30px;
    border: 4px solid #000;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 0.8rem 1rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .site-logo {
        max-width: 80px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .site-container {
        padding: 0 1rem 4rem 1rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-section,
    .tokenomics-section,
    .roadmap-section,
    .htb-section {
        padding: 2rem 1.5rem;
        border-width: 4px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .htb-steps {
        grid-template-columns: 1fr;
    }
}

/* Remove old complex animations */
.site-background,
.floating-text,
.particle-container {
    display: none;
}

/* Cards Gallery Section - Basic Styles */
.cards-gallery-section {
    position: relative;
    z-index: 100;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
}

.gallery-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #fbbf24;
    font-style: italic;
}

.gallery-subtitle {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    color: #fff;
    margin-bottom: 3rem;
}
