/* 반응형 디자인 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 1.2rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .main h2 {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: block;
        right: 1rem;
        top: 1rem;
    }
    
    .nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    
    .nav-container.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin: 0;
        border-radius: 0;
    }
    
    .dropdown a {
        color: rgba(255,255,255,0.9);
        padding-left: 3rem;
    }
    
    .dropdown a:hover {
        background: rgba(255,255,255,0.2);
        color: white;
    }
    
    .game-buttons {
        gap: 1rem;
    }
    
    .game-btn {
        min-width: 160px;
        padding: 1.5rem;
        font-size: 1rem;
    }
}