/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Realistic semi-impasto style */
    --primary-color: #2f353a;
    --secondary-color: #5a6a72;
    --accent-color: #b56d3f;
    --pop-yellow: #c59f67;
    --pop-blue: #6f8794;
    --bg: #d9dee2;
    --bg-card: rgba(246, 242, 235, 0.95);
    --bg-alt: #cfd6dc;
    --text-primary: #2f353a;
    --text-secondary: #4a545c;
    --text-muted: #6f7a84;
    --glass-border: rgba(47, 53, 58, 0.22);
    --gradient-primary: linear-gradient(145deg, #726a60 0%, #b56d3f 100%);
    --gradient-secondary: linear-gradient(145deg, #53616a 0%, #7b8d97 100%);
    --gradient-accent: linear-gradient(145deg, #8f7c66 0%, #c59f67 100%);
    --shadow-soft: 0 8px 20px rgba(47, 53, 58, 0.12);
    --shadow-md: 0 16px 38px rgba(47, 53, 58, 0.16);
    --shadow-lg: 0 24px 56px rgba(47, 53, 58, 0.2);
    --brutal: var(--shadow-soft);
    --brutal-lg: var(--shadow-md);
    --brutal-hover: 0 20px 44px rgba(47, 53, 58, 0.24);
    --radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'KoHo', 'Noto Serif JP', system-ui, sans-serif;
    background-color: var(--bg);
    background-image:
        radial-gradient(1200px 620px at 14% -10%, rgba(111, 135, 148, 0.26), transparent 55%),
        radial-gradient(900px 520px at 88% 8%, rgba(181, 109, 63, 0.22), transparent 52%),
        linear-gradient(160deg, #e4e8ec 0%, #d7dde2 48%, #ced5db 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(241, 236, 229, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(47, 53, 58, 0.28);
    box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
    background: rgba(241, 236, 229, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: clamp(0.8rem, 1.8vw, 1.05rem);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon-pharmacy,
.logo-icon-biotech,
.logo-icon-record,
.logo-icon-software {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--pop-yellow));
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-nav {
    padding: 0.65rem 1.65rem;
    background: var(--gradient-primary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'KoHo', sans-serif;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.02em;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}


.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

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

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(100% 62% at 50% 100%, rgba(47, 53, 58, 0.18), transparent 60%),
        radial-gradient(58% 45% at 10% 20%, rgba(111, 135, 148, 0.22), transparent 55%),
        radial-gradient(50% 40% at 90% 18%, rgba(181, 109, 63, 0.22), transparent 54%),
        linear-gradient(165deg, #ede8e1 0%, #ddd6cd 55%, #d2cbc2 100%);
}

.hero-spotlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(217, 222, 226, 0.92) 0%, transparent 72%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(197, 159, 103, 0.28);
    border: 1px solid rgba(47, 53, 58, 0.35);
    border-radius: var(--radius);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: none;
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: none;
}

.hero-title {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: clamp(2rem, 6.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.14;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: none;
}

.title-word {
    display: inline-block;
    margin: 0 0.5rem;
}

.title-word.highlight {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(181, 109, 63, 0.25);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'KoHo', sans-serif;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.btn-outline:hover {
    background: var(--pop-yellow);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-quicklinks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.quicklink-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.quicklink-item:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.quicklink-icon {
    font-size: 1.1rem;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-value-static {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.stat-value-static:hover {
    color: var(--secondary-color);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

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

/* Section Styles */
section {
    padding: 120px 0;
}

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

.section-label {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: rgba(197, 159, 103, 0.24);
    border: 1px solid rgba(47, 53, 58, 0.34);
    border-radius: var(--radius);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.section-title {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Games Section */
.games-section {
    background: var(--bg-alt);
}

.games-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.game-featured {
    position: relative;
}

.game-media {
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    min-height: 500px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.game-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-1 {
    background: linear-gradient(145deg, #5d686f 0%, #7f919d 46%, #b89f83 100%);
}

.game-2 {
    background: linear-gradient(145deg, #7d5d4d 0%, #b28468 100%);
}

.game-3 {
    background: linear-gradient(145deg, #4f565d 0%, #727d88 100%);
}

.game-4 {
    background: linear-gradient(145deg, #9f8567 0%, #b56d3f 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(47, 53, 58, 0.16) 0%, rgba(47, 53, 58, 0.74) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.game-info {
    max-width: 600px;
    color: #fff;
}

.game-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-badge.new {
    background: var(--gradient-primary);
    color: #fff;
    border-color: var(--primary-color);
}

.game-badge.coming {
    background: var(--gradient-accent);
    color: #fff;
    border-color: var(--primary-color);
}

.game-badge.popular {
    background: var(--gradient-secondary);
    color: #fff;
    border-color: var(--primary-color);
}

/* Small grid cards: keep high-contrast pill on photo */
.game-card .game-badge {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.game-title {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.game-genre {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.game-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.game-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.4rem 0.85rem;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
    border: 2px solid var(--primary-color);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-card .game-image {
    height: 200px;
    min-height: 200px;
    position: relative;
}

.game-card .game-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.game-card .game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.game-content {
    padding: 2rem;
}

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

.game-card .game-genre {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.game-card .game-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.game-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.game-link:hover {
    color: var(--secondary-color);
}

/* Studio Section */
.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.studio-description p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.studio-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: var(--radius);
    border: 2px solid var(--primary-color);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.value-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.studio-visual {
    position: relative;
}

.studio-image {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, #54636d 0%, #86715c 48%, #c8b9a8 100%);
    border-radius: calc(var(--radius) + 4px);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

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

.card-icon {
    font-size: 2rem;
}

.card-number {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.card-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Careers Section */
.careers-section {
    background: var(--bg);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.career-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 2px solid var(--primary-color);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.career-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.career-title {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.career-type {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.career-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.career-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.35rem 0.8rem;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.68rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.career-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.career-link:hover {
    color: var(--secondary-color);
}

.careers-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: calc(var(--radius) + 6px);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
}

.careers-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 350px;
}

.image-placeholder.news-1 {
    background: linear-gradient(145deg, #6a7880 0%, #b89f83 100%);
}

.image-placeholder.news-2 {
    background: linear-gradient(145deg, #886a57 0%, #cdb89c 100%);
}

.image-placeholder.news-3 {
    background: linear-gradient(145deg, #5a6871 0%, #b5a18d 100%);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.85rem;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: 'KoHo', ui-monospace, monospace;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: block;
}

.news-title {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background: var(--bg-alt);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, rgba(197, 159, 103, 0.55), rgba(246, 242, 235, 0.95));
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.contact-text h4 {
    font-family: 'KoHo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-reach {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-media h4 {
    font-family: 'KoHo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow-md);
    backdrop-filter: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: #ffffff;
    border: 2px solid rgba(17, 24, 39, 0.7);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: 'KoHo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(184, 92, 86, 0.55);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: linear-gradient(178deg, #2f353a 0%, #262b30 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(197, 159, 103, 0.35);
    color: #ebe3d8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.footer .logo-icon,
.footer .logo-icon svg {
    color: #c59f67;
}

.footer-address {
    color: rgba(235, 227, 216, 0.72);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-brand {
    max-width: 320px;
}

.footer .logo {
    font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: clamp(0.75rem, 1.6vw, 0.95rem);
}

.footer .logo-text {
    color: #fff9f0;
}

.footer-tagline {
    color: rgba(242, 232, 220, 0.82);
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 480px;
    margin-left: auto;
}

.footer-title {
    font-family: 'KoHo', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e8c99a;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(242, 232, 220, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: #e8c547;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 201, 154, 0.25);
    color: rgba(242, 232, 220, 0.55);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(242, 232, 220, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #e8c547;
}

.footer-legal span {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-card.featured {
        grid-column: span 1;
    }
    
    .studio-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        backdrop-filter: none;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-nav {
        display: none;
    }
    
    .hero-quicklinks {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .studio-values {
        grid-template-columns: 1fr;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .floating-card {
        position: static;
        margin: 1rem 0;
    }
}
