/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

header h1 strong {
    font-weight: 900;
}

nav {
    margin-top: 1rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    color: #333;
    padding: 0.8rem 1.5rem;
    border-bottom: none;
    margin: 0;
}

.dropdown a:hover {
    background: #f8f9fa;
    color: #3498db;
}

main {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.main {
    text-align: center;
    margin-bottom: 4rem;
}

.main h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.main p {
    font-size: 1.4rem;
    color: #34495e;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.games {
    margin: 3rem 0;
}

.games h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

.game-scroll-container {
    overflow-x: auto;
    padding: 1rem 0;
}

.game-buttons {
    display: flex;
    gap: 2rem;
    min-width: max-content;
    padding-bottom: 1rem;
}

.game-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    text-align: center;
    border: 2px solid transparent;
}

.game-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.game-btn:first-child {
    background: #3498db;
    color: white;
}

.game-btn:nth-child(2) {
    background: #e74c3c;
    color: white;
}

.game-btn:nth-child(3) {
    background: #1abc9c;
    color: white;
}

.game-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.game-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.game-scroll-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

.menu-toggle {
    display: none;
}