/* CSS-only hamburger menu */
.nav-toggle {
    display: none;
}

.coin {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: coinFloat 4s ease-in-out infinite;
    box-shadow: 0 4px 8px rgba(255,215,0,0.3);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #8b0000 0%, #000000 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        width: 80%;
        text-align: center;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        cursor: pointer;
        z-index: 1000;
    }
    
    .nav-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
        min-height: 60vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    .hero-visual {
        width: 300px;
        height: 250px;
    }
    
    .character {
        width: 60px;
        height: 60px;
    }
    
    .character.char3 {
        width: 80px;
        height: 80px;
    }
    
    .game-bubble i {
        font-size: 1.2rem;
    }
    
    .game-bubble span {
        font-size: 0.6rem;
    }
    
    .phone-frame {
        width: 80px;
        height: 140px;
        padding: 10px;
    }
    
    .game-preview i {
        font-size: 1.5rem;
    }
    
     .coin {
        width: 25px;
        height: 25px;
    }
    
    .coin i {
        font-size: 0.9rem;
    }
    
    .trophy-float {
        width: 30px;
        height: 30px;
    }
    
    .trophy-float i {
        font-size: 1.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 675px) {
    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .hero-visual {
        width: 350px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .games-section h2, .features h2 {
        font-size: 2rem;
    }
    
    .hero-visual {
        width: 250px;
        height: 200px;
    }
    
    .character {
        width: 50px;
        height: 50px;
    }
    
    .character.char3 {
        width: 70px;
        height: 70px;
    }
    
    .phone-frame {
        width: 60px;
        height: 100px;
        padding: 8px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    .coin {
        width: 20px;
        height: 20px;
    }
    
    .coin i {
        font-size: 0.8rem;
    }
}
