/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #ffffff;
    --accent-secondary: #e0e0e0;
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    --shadow: rgba(0, 0, 0, 0.5);
    --border-color: rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --accent-primary: #000000;
    --accent-secondary: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Link Styles */
a {
    color: #ffffff;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover {
    color: #cccccc;
}

a:visited {
    color: #e0e0e0;
}

[data-theme="light"] a {
    color: #000000;
}

[data-theme="light"] a:hover {
    color: #333333;
}

[data-theme="light"] a:visited {
    color: #555555;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

[data-theme="light"] .logo,
[data-theme="light"] .nav-brand h1 {
    color: #000000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.language-selector {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.language-selector:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.language-selector:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .language-selector:hover {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .language-selector:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.language-selector option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--accent-primary);
}

[data-theme="light"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon,
.sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: inline;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
}

[data-theme="light"] .animated-bg {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
}

@keyframes bgFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-md);
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.greeting {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.5);
    background: #f0f0f0;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Light theme button overrides */
[data-theme="light"] .btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-primary:hover {
    background: #1a1a1a;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .btn-secondary {
    color: #000000;
    border: 2px solid #000000;
}

[data-theme="light"] .btn-secondary:hover {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link {
    color: #000000;
}

[data-theme="light"] .nav-link::after {
    background: #000000;
}

[data-theme="light"] .section-title {
    color: #000000;
}

[data-theme="light"] .platform-tag {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

[data-theme="light"] .game-badge {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

[data-theme="light"] .game-badge.coming-soon {
    background: rgba(100, 100, 100, 0.9);
    color: #ffffff;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator .scroll-arrow {
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    font-size: 1.5rem;
    display: block;
}

/* ============================================
   Projects Section
   ============================================ */
.projects-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    width: 100%;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.project-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-actions {
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-play {
    flex: 1;
    min-width: 120px;
    background: #ffffff;
    color: #000000;
    text-align: center;
    justify-content: center;
}

.btn-issues {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-info {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-issues:hover,
.btn-info:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-play:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Light theme overrides for game buttons */
[data-theme="light"] .btn-play {
    background: #000000;
    color: #ffffff;
}

[data-theme="light"] .btn-play:hover {
    background: #1a1a1a;
}

[data-theme="light"] .btn-issues,
[data-theme="light"] .btn-info {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

[data-theme="light"] .btn-issues:hover,
[data-theme="light"] .btn-info:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
}

.announcement-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.announcement-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.announcement-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.announcement-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.announcement-content ul {
    margin-left: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.announcement-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-card);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--accent-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-play,
    .btn-issues,
    .btn-info {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .theme-toggle {
        padding: 0.5rem;
    }
}

/* ============================================
   Studio Design - Game Studio Layout
   ============================================ */

/* Studio Hero Section */
.studio-hero .hero-content {
    text-align: center;
}

.studio-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

[data-theme="light"] .studio-title {
    color: #000000;
}

.studio-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.studio-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
}

/* Games Section */
.games-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

/* Platform Filter */
.platform-filter {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

/* Light theme filter buttons */
[data-theme="light"] .filter-btn {
    border: 2px solid #000000;
    color: #000000;
}

[data-theme="light"] .filter-btn:hover {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .filter-btn.active {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Games Container */
.games-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Game Card - Large Card Style */
.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all var(--transition-normal);
    height: 400px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
}

.game-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.game-badge.coming-soon {
    background: rgba(150, 150, 150, 0.9);
    color: #000000;
}

/* Game Info */
.game-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-genre {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-platforms {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.platform-tag {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #ffffff;
}

.game-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.game-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Coming Soon Card */
.coming-soon-card .game-thumbnail {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-card .game-thumbnail img {
    opacity: 0.5;
}

/* News Section */
.news-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.news-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
}

[data-theme="light"] .news-badge {
    background: #000000;
    color: #ffffff;
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: var(--spacing-md);
    padding-top: calc(var(--spacing-md) + 2.5rem);
}

.news-card.featured .news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--spacing-md);
}

.news-card:has(.news-image) .news-content {
    padding-top: var(--spacing-md);
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.news-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.news-meta span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

[data-theme="light"] .news-meta span {
    background: rgba(0, 0, 0, 0.1);
}

.news-card.placeholder {
    opacity: 0.7;
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
}

.news-more {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* About Section - Studio */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.about-text h4 {
    font-size: 1.3rem;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.contact-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateX(5px);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.studio-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition-normal);
}

.studio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.studio-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.studio-icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
    object-fit: contain;
    filter: brightness(0) invert(1);
}

[data-theme="light"] .studio-icon-img {
    filter: brightness(0) invert(0);
}

.studio-card h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.studio-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer Updates */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

[data-theme="light"] .footer-brand h3 {
    color: #000000;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #cccccc;
}

[data-theme="light"] .footer-links a {
    color: #000000;
}

[data-theme="light"] .footer-links a:hover {
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .game-card {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Advertisement Styles
   ============================================ */
.ad-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: var(--spacing-sm);
    text-align: center;
    overflow: hidden;
}

.ad-container::before {
    content: '광고';
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

/* Header Ad */
.ad-header {
    margin-top: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* Games Section with Sidebar */
.games-with-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-md);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Sidebar Ad */
.ad-sidebar {
    position: relative;
}

.ad-sticky {
    position: sticky;
    top: 100px;
    width: 160px;
}

/* Between Games Ad */
.ad-between-games {
    max-width: 100%;
    margin: var(--spacing-md) 0;
}

/* Before Footer Ad */
.ad-before-footer {
    max-width: 1200px;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* Responsive Ad Styles */
@media (max-width: 1200px) {
    .games-with-sidebar {
        grid-template-columns: 1fr;
    }

    .ad-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .ad-header {
        margin-top: 60px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .ad-before-footer {
        margin: var(--spacing-md) auto;
    }

    .ad-container::before {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .studio-title {
        font-size: 2.5rem;
    }
    
    .studio-tagline {
        font-size: 1.2rem;
    }
    
    .studio-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        margin-bottom: var(--spacing-lg);
    }
    
    .scroll-indicator {
        bottom: 30px;
        font-size: 0.8rem;
    }
    
    .platform-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
    
    .game-actions {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
