@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Noto+Sans+KR:wght@400;700;900&display=swap');

:root {
    --main-yellow: #ffcc00;
    --main-text: #333333;
    --main-blue: #4facfe;
    --text-color: #333333;
    --pop-pink: #ff7eb9;
    --pop-blue: #4facfe;
    --pop-yellow: #ffec3d;
    --pop-mint: #00ffcc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--main-yellow);
    color: var(--main-text);
    font-family: 'Noto Sans KR', sans-serif;
    min-height: 100vh;
}

#app {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 60px 20px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Global Top Nav (Original Dark Style) */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 2000;
    box-sizing: border-box;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #00f2ff;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link,
.lang-switcher a {
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #fff;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
    transition: all 0.2s;
    display: inline-block;
}

.nav-link:hover,
.lang-switcher a:hover:not(.active) {
    border-color: #00f2ff;
    color: #00f2ff;
    background: rgba(0, 242, 255, 0.1);
}

.lang-switcher a.active {
    border-color: #00f2ff;
    color: #00f2ff;
    background: rgba(0, 242, 255, 0.2);
}

/* Hamburger Menu Style */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2100;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-menu-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-right {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }
}

/* Home Page Header */
header {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.game-main-title {
    font-size: 3.5rem;
    color: var(--main-text);
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 5px;
}

.game-subtitle {
    font-size: 1.1rem;
    color: var(--main-text);
    font-weight: 700;
    opacity: 0.9;
}

.boardgame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.game-item-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 10px 0px var(--text-color), 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    aspect-ratio: 1 / 1.1;
    border: 3px solid var(--text-color);
    position: relative;
    overflow: hidden;
}

.game-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 0px var(--text-color), 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--pop-pink);
}

.game-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    font-family: 'Noto Sans KR', sans-serif;
}

.game-visual {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background: #fff;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.game-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-one-liner {
    font-size: 0.9rem;
    font-weight: 800;
    color: #444;
    line-height: 1.2;
    margin: 5px 0;
}