/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #FFE66D 0%, #4ECDC4 50%, #FF8FA3 100%);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Fredoka One', cursive;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #000000;
    text-shadow: 4px 4px 0px #fff, 8px 8px 0px #000;
    animation: titleBounce 2s ease-in-out infinite;
}

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

/* Header */
.header {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    border-bottom: 6px solid #000;
    box-shadow: 0 8px 0 #fff, 0 16px 0 #000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 4px 4px 0px #000;
    /* animation: logoWobble 3s ease-in-out infinite; */
}

@keyframes logoWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 2px 2px 0px #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 3px solid #000;
    background: #4ECDC4;
    transition: all 0.3s ease;
}

.bouncy:hover {
    animation: boing 0.6s ease-in-out;
    background: #FFE66D;
    transform: scale(1.1);
}

@keyframes boing {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1.1); }
}

/* Banner */
.banner {
    margin-top: 120px;
    padding: 4rem 0;
    background: url('/assets/3917365-splitgate.jpg');
    border-bottom: 6px solid #000;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 4rem;
    color: #fff;
    text-shadow: 6px 6px 0px #000;
    margin-bottom: 1rem;
    /* animation: titleWobble 1s ease-in-out infinite; */
}

@keyframes titleWobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.05); }
}

.banner-text {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px #fff;
}

.banner-characters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.character {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.character:nth-child(1) { animation-delay: 0s; }
.character:nth-child(2) { animation-delay: 0.5s; }
.character:nth-child(3) { animation-delay: 1s; }
.character:nth-child(4) { animation-delay: 1.5s; }

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

.cta-button {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    border: 4px solid #000;
    border-radius: 30px;
    padding: 1rem 1rem;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000;
    box-shadow: 0 8px 0 #000;
    transition: all 0.3s ease;
}

.mega-bounce:hover {
    animation: megaBounce 0.6s ease-in-out;
    transform: translateY(-8px);
    box-shadow: 0 16px 0 #000;
}

/* @keyframes megaBounce {
    0% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.1) translateY(-5px); }
    50% { transform: scale(1.2) translateY(-10px); }
    75% { transform: scale(1.1) translateY(-5px); }
    100% { transform: scale(1.05) translateY(-8px); }
} */

/* Features */
.features {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 6px solid #000;
}

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

.feature-card {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border: 4px solid #000;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 0 #000;
    transition: all 0.3s ease;
}

.wobble-card:hover {
    animation: cardWobble 0.6s ease-in-out;
    transform: translateY(-10px);
    box-shadow: 0 18px 0 #000;
}

@keyframes cardWobble {
    0% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(3deg) translateY(-5px); }
    75% { transform: rotate(-3deg) translateY(-10px); }
    100% { transform: rotate(0deg) translateY(-10px); }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconSpin 4s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 0px #000;
}

/* About */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFE66D, #FFCC02);
    border-bottom: 6px solid #000;
}

.comic-panel {
    background: #fff;
    border: 6px solid #000;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 8px 0 #000;
}

.speech-bubble {
    background: #fb133d;
    border: 4px solid #000;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #000;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #fb133d;
}

.speech-bubble p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    text-align: center;
}

.team-characters {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.team-char {
    font-size: 4rem;
    animation: teamBounce 2s ease-in-out infinite;
}

.team-char:nth-child(1) { animation-delay: 0s; }
.team-char:nth-child(2) { animation-delay: 0.3s; }
.team-char:nth-child(3) { animation-delay: 0.6s; }
.team-char:nth-child(4) { animation-delay: 0.9s; }

@keyframes teamBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* Games */
.games {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 6px solid #000;
}

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

.game-card {
    background: linear-gradient(135deg, #fb133d, #fb133d);
    border: 4px solid #000;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 0 #000;
    transition: all 0.3s ease;
}

.toy-box:hover {
    animation: toyBoxShake 0.6s ease-in-out;
    transform: translateY(-10px);
    box-shadow: 0 18px 0 #000;
}

@keyframes toyBoxShake {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    75% { transform: translateY(-10px) rotate(-2deg); }
    100% { transform: translateY(-10px) rotate(0deg); }
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 3px solid #000;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 0.5rem;
}

.game-card p {
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 0px #000;
    margin-bottom: 1rem;
}

.play-button {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(45deg, #00b0a4, #04f4c4);
    border: 3px solid #000;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000;
    box-shadow: 0 6px 0 #000;
    transition: all 0.3s ease;
}

.giggly-button:hover {
    animation: gigglyWiggle 0.8s ease-in-out;
    transform: translateY(-6px);
    box-shadow: 0 12px 0 #000;
}

@keyframes gigglyWiggle {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-2px) rotate(3deg); }
    40% { transform: translateY(-4px) rotate(-3deg); }
    60% { transform: translateY(-6px) rotate(2deg); }
    80% { transform: translateY(-4px) rotate(-2deg); }
    100% { transform: translateY(-6px) rotate(0deg); }
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-bottom: 6px solid #000;
}

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

.contact-info p {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 6px 0 #000;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 2rem;
}

/* Disclaimer */
.disclaimer {
    padding: 2rem 0;
    background: #FFE66D;
    border-bottom: 6px solid #000;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.disclaimer-character {
    font-size: 3rem;
    animation: disclaimerWink 3s ease-in-out infinite;
}

@keyframes disclaimerWink {
    0%, 90%, 100% { transform: scale(1); }
    95% { transform: scale(1.2); }
}

.disclaimer p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 1px 1px 0px #fff;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #2c3e50;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #FFE66D;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 2px solid #FFE66D;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: #FFE66D;
    color: #2c3e50;
    animation: footerBounce 0.5s ease-in-out;
}

@keyframes footerBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .banner-characters {
        flex-wrap: wrap;
    }
    
    .character {
        font-size: 2.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Game Page Styles */
.game-page {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, #FFE66D 0%, #4ECDC4 50%, #FF8FA3 100%);
}

.game-container {
    padding: 2rem 0;
}

.game-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #000000;
    text-shadow: 4px 4px 0px #fff, 8px 8px 0px #000;
}

.game-frame {
    background: #fff;
    border: 6px solid #000;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 12px 0 #000;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    border: 3px solid #000;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    text-decoration: none;
    text-shadow: 2px 2px 0px #000;
    box-shadow: 0 6px 0 #000;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.back-button:hover {
    animation: backButtonBounce 0.6s ease-in-out;
    transform: translateY(-6px);
    box-shadow: 0 12px 0 #000;
}

@keyframes backButtonBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px) scale(1.05); }
    100% { transform: translateY(-6px); }
}