/* ============================================
   ATOMIC BOMBERMAN MUSEUM - LANDING PAGE
   90s Retro Styling
   ============================================ */

:root {
    --hot-pink: #ff00ff;
    --cyan: #00ffff;
    --lime: #00ff00;
    --yellow: #ffff00;
    --orange: #ff6600;
    --navy: #000033;
    --dark-purple: #330033;
    --light-purple: #9933ff;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-purple) 50%, var(--navy) 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float-up {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-up-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px var(--hot-pink), 0 0 20px var(--hot-pink);
    }
    50% {
        box-shadow: 0 0 20px var(--hot-pink), 0 0 30px var(--hot-pink), 0 0 40px var(--cyan);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out;
}

.header-image-wrapper {
    margin-bottom: 20px;
}

.title-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px var(--hot-pink)) drop-shadow(0 0 5px var(--cyan));
    animation: pulse 3s ease-in-out infinite;
}

.main-title {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 4rem;
    font-weight: bold;
    color: var(--hot-pink);
    text-shadow:
        3px 3px 0 var(--cyan),
        6px 6px 0 var(--lime),
        -2px -2px 0 var(--orange);
    letter-spacing: 2px;
    animation: neon-flicker 4s ease-in-out infinite;
    margin: 20px 0;
}

.subtitle {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 1.3rem;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    font-style: italic;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.decoration {
    position: fixed;
    z-index: 5;
    pointer-events: none;
}

.decoration-image {
    image-rendering: pixelated;
    width: 100%;
    height: auto;
}

.bombdude {
    left: 20px;
    top: 200px;
    width: 120px;
    animation: float-up 4s ease-in-out infinite;
}

.pow-flame {
    right: 30px;
    top: 300px;
    width: 100px;
    animation: float-up 5s ease-in-out infinite;
}

.pow-bomb {
    right: 40px;
    top: 600px;
    width: 90px;
    animation: float-up-2 6s ease-in-out infinite;
}

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

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome-section {
    background: linear-gradient(135deg, var(--dark-purple), var(--navy));
    border: 5px ridge var(--hot-pink);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out 0.2s backwards;
}

.welcome-section h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 2rem;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--orange);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.welcome-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #fff;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--light-purple), var(--dark-purple));
    border: 5px outset var(--hot-pink);
    padding: 50px 40px;
    margin-bottom: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow:
        0 10px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out 0.4s backwards;
}

.cta-section h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 2.2rem;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--lime);
    text-shadow: 0 0 5px var(--lime);
    margin-bottom: 30px;
    font-weight: bold;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-weight: bold;
    color: var(--navy);
    background: linear-gradient(135deg, var(--lime), var(--yellow));
    border: 8px outset var(--lime);
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    animation: glow 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px var(--hot-pink);
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-style: inset;
}

.button-icon {
    font-size: 1.5rem;
}

.button-text {
    display: inline;
}

.button-arrow {
    font-size: 1.5rem;
    animation: bounce 1.5s ease-in-out infinite;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.features-section h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 2rem;
    color: var(--hot-pink);
    text-shadow: 2px 2px 0 var(--cyan);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

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

.feature-card {
    background: linear-gradient(135deg, #6600cc, #9933ff);
    border: 5px ridge var(--hot-pink);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    animation: slideInUp 1s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.5s; }
.feature-card:nth-child(2) { animation-delay: 0.6s; }
.feature-card:nth-child(3) { animation-delay: 0.7s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 12px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px var(--hot-pink);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 1.3rem;
    color: var(--lime);
    text-shadow: 0 0 5px var(--lime);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.4;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, var(--navy), var(--dark-purple));
    border: 5px groove var(--cyan);
    padding: 50px 40px;
    margin-bottom: 60px;
    border-radius: 10px;
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out 0.6s backwards;
}

.stats-section h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 2rem;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--orange);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    background: rgba(255, 0, 255, 0.1);
    border: 5px outset var(--cyan);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(0, 255, 255, 0.3);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(0, 255, 255, 0.3),
        0 0 15px var(--cyan);
}

.stat-number {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 3rem;
    font-weight: bold;
    color: var(--lime);
    text-shadow: 0 0 10px var(--lime);
    margin-bottom: 10px;
}

.stat-label {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 1rem;
    color: var(--yellow);
    text-shadow: 0 0 5px var(--orange);
    text-transform: uppercase;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    background: linear-gradient(135deg, var(--dark-purple), var(--navy));
    border: 5px ridge var(--hot-pink);
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out 0.7s backwards;
}

.info-section h2 {
    font-family: "Comic Sans MS", "Chalkboard SE", monospace;
    font-size: 2rem;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.info-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 5px ridge var(--hot-pink);
    background: linear-gradient(135deg, var(--dark-purple), var(--navy));
    color: var(--cyan);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.footer a {
    color: var(--lime);
    text-decoration: none;
    text-shadow: 0 0 5px var(--lime);
    transition: all 0.2s;
    font-weight: bold;
}

.footer a:hover {
    color: var(--hot-pink);
    text-shadow: 0 0 10px var(--hot-pink);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        text-shadow:
            2px 2px 0 var(--cyan),
            4px 4px 0 var(--lime);
    }

    .title-image {
        max-width: 300px;
    }

    .header {
        margin-bottom: 40px;
    }

    .container {
        padding: 15px;
    }

    .welcome-section,
    .cta-section,
    .info-section {
        padding: 25px;
        border-width: 3px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
        gap: 10px;
        flex-direction: column;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .stats-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .title-image {
        max-width: 250px;
    }

    .welcome-section h2,
    .cta-section h2,
    .features-section h2,
    .stats-section h2,
    .info-section h2 {
        font-size: 1.4rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .container {
        padding: 10px;
    }

    .features-section,
    .stats-section {
        margin-bottom: 40px;
    }
}
