/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0b0b12;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --accent-primary: #ffc400;
    --accent-secondary: #ffc371;
    --accent-neon: #ffd000;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #8a8a9e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-card: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #f5f5f5;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    background: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
    color: #ff6a00;
    text-align: center;
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;

    /* Touch target */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 180px;
    min-width: 180px;
}

.about-actions .btn-primary {
    background: #fe5500;

    /* Only affects primary buttons in about section */
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.5),
        inset 0 -4px 0 rgba(0, 0, 0, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.3),
        inset 0 -3px 0 rgb(255, 255, 255),
        0 4px 8px rgb(0, 0, 0);
    border-radius: 8px;
}

.btn-secondary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 0 rgba(0, 0, 0, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 180px;
    min-width: 180px;
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.5),
        inset 0 -4px 0 rgba(0, 0, 0, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Cards */
.card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

/* Tags */
.tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-neon);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.platform-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: #ffffff;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--space-sm) * 1.1) 0;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
}

.nav-menu-left {
    margin-right: auto;
}

.nav-menu-right {
    margin-left: auto;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: calc(var(--space-sm) * 1.1) calc(var(--space-md) * 1.1);
    border-radius: var(--radius-sm);
    font-size: calc(var(--font-size-lg) * 1.05);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(253, 203, 0, 0.0);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 20;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Slider - Activision Style */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slides-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: var(--space-xl);
    margin-left: 9%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(3px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1.1;
}

.hero-title-image {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    width: auto;
    margin: 0 auto var(--space-sm) auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    object-fit: contain;
    display: block;
    object-position: center;
    vertical-align: top;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: var(--space-lg);
    color: #fff;
    text-shadow: none;
    font-weight: 300;
    line-height: 1.3;
}

.hero-content .btn {
    font-size: 1rem;
    padding: var(--space-sm) var(--space-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Slider Animation - Smooth transitions */
.hero-slides-container.slide-0 {
    transform: translateX(0%);
}

.hero-slides-container.slide-1 {
    transform: translateX(-100%);
}

.hero-slides-container.slide-2 {
    transform: translateX(-200%);
}

.hero-slides-container.slide-3 {
    transform: translateX(-300%);
}

.hero-slides-container.slide-4 {
    transform: translateX(-400%);
}

/* Slider Controls - Activision Style */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 12px;
    min-width: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}

.slider-dot:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Sections */
.section-title {
    text-align: left;
    margin-bottom: var(--space-2xl);
    color: #002233;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4.5rem;
    background: none;
    padding: 0 0px 0 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    position: relative;
    z-index: 20;
    margin-top: -20px;
}

/* Main Content Column */
.main-content-column {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    margin: var(--space-lg) var(--space-2xl) var(--space-3xl) var(--space-2xl);
    position: relative;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Content Section */
.hero-content-section {
    padding: var(--space-2xl) 0;
    background: url('/assets/img/studio_header.png') center top/100% auto no-repeat;
    border-radius: 24px 24px 0 0;
    margin: 0;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: var(--space-1xl);
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    padding-top: 300px;
}

.hero-text-content {
    width: 100%;
    max-width: 750px;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(0px);
}

.hero-text-content h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.hero-text-content p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

/* Ambitious Dirt iPhone Section */
.ambitious-dirt-section {
    padding: 0;
    text-align: center;
    background: transparent;
    margin: 0;
    margin-top: -24px;
    position: relative;
    z-index: 10;

    /* Touch the bottom of hero section */
}

.ambitious-dirt-section .container {
    padding: 0;
    max-width: none;
    margin: 0;
}

.ambitious-dirt-image {
    width: 100%;
    height: auto;
    max-height: 1240px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 10;
}

.ambitious-dirt-image:hover {
    transform: none;
}

.games-section {
    padding: var(--space-xl) 0;
    background: #ffffff;
    margin-top: -300px;
    position: relative;
    z-index: 0;
    padding-top: 230px;
}

.games-section .section-title {
    font-size: 4.5rem;
    margin-bottom: var(--space-2xl);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: var(--space-xl);
}

.game-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.game-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: none;
    outline: none;
}

.game-content {
    padding: var(--space-lg);
    background-color: #ffffff;
}

.game-content h3 {
    margin-bottom: var(--space-sm);
    color: #1a1a2e;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 2.5rem;
    font-weight: 800;
}

.game-content p {
    margin-bottom: var(--space-md);
    color: #000000;
    font-size: 1.3rem;
    font-weight: 100px;
}

.game-tags {
    margin-bottom: var(--space-md);
}

/* Chibi Section */
.chibi-section {
    text-align: right;
    margin-top: -750px;
    padding: var(--space-lg) 0;
    position: relative;
    z-index: -1;
}

.chibi-image {
    max-width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.chibi-image:hover {
    transform: scale(1.05);
}

.about-section {
    padding: var(--space-2xl) 0;
    margin-top: -60px;
    text-align: center;
    background: url('/assets/img/Recruitment_background.png') center top/cover no-repeat;
    height: 650px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-content {
    padding-top: 220px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 1rem;
    text-align: left;
    margin-left: 150px;
}

.about-content h2 {
    margin-bottom: var(--space-md);
    grid-column: 1;
    grid-row: 1;
}

.about-content p {
    max-width: 500px;
    margin: 0 0 var(--space-lg) 0;
    font-size: 1.3rem;
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    color: #000000;
}

.about-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-start;
    flex-wrap: nowrap;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    margin-left: 300px;
    transform: scale(1.2);
    align-items: center;
    z-index: 2;
    position: relative;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: var(--space-2xl) 0 0;
    margin-top: -100px;
    width: 100vw;
    position: relative;
    z-index: 5;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 10;
    min-height: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.6fr 0.6fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xs);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-section:first-child h3 {
    margin-top: -8px;
}

.footer-section:first-child p {
    margin-top: -5px;
}

.footer-character {
    width: 360px;
    height: auto;
    margin-top: -40px;
    margin-left: -30px;
    transition: transform 0.3s ease;
}

.footer-character:hover {
    transform: scale(1.1);
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:first-child h3,
.footer-section:first-child p {
    text-align: left !important;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: inline-block;
    font-size: var(--font-size-xl);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-top: -60px;
}

/* Work Page Styles */
.work-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
}

.work-hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.work-hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.featured-projects {
    padding: var(--space-3xl) 0 var(--space-3xl) 0;
    margin-top: var(--space-xl);
}

.projects-grid-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.project-card-large {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image-large {
    height: 300px;
    overflow: hidden;
}

.project-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content-small {
    padding: var(--space-md);
}

.project-content-small h3 {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    text-align: left;
}

.project-content-small p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    font-size: 1rem;
    text-align: left;
}

/* Contact Form Styles */
.contact-form {
    max-width: 1100px;
    margin: var(--space-xl) auto 0;
    background: rgb(23, 27, 31);
    padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-xl);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

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

.form-group label {
    color: white;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: white;
    color: black;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.15);
}

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

.contact-form .btn {
    margin-top: var(--space-md);
    width: 100%;
    max-width: 200px;
}

.work-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #e2e2e4 0%, #b9b9b9 100%);
    color: rgb(6, 13, 33);
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-logo {
        position: static;
        transform: none;
        order: 2;
        flex: 1;
        text-align: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e0e0e0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu-left,
    .nav-menu-right {
        margin: 0;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .nav-link {
        color: #333333;
        padding: var(--space-sm);
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:hover {
        background: rgba(253, 194, 0, 1.0);
    }

    /* Mobile Hero - Just Title Image in Upper Left */
    .hero-content {
        position: absolute;
        top: calc(var(--space-md) + 12px);
        left: var(--space-md);
        z-index: 3;
        background: none;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-width: none;
        width: auto;
    }

    .hero-content h1,
    .hero-content p,
    .hero-content .btn {
        display: none;
    }

    .hero-title-image {
        max-height: 48px;
        margin: 0;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    }

    /* Mobile Hero Content Section - Keep moved up */
    .hero-content-section {
        padding: var(--space-lg) 0;
        min-height: 600px;
        align-items: flex-start;
    }

    .hero-content-wrapper {
        justify-content: flex-start;
        padding-top: 200px;
    }

    /* Mobile Slider Arrows - Smaller */
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .slider-prev {
        left: 1.5rem;
    }

    .slider-next {
        right: 1.5rem;
    }

    /* Mobile Games Section - Move Much Lower */
    .games-section {
        margin-top: -80px;
        padding-top: 240px;
    }

    /* Mobile Game Cards - 25% Smaller */
    .game-card {
        transform: scale(0.75);
        transform-origin: center;
    }

    .game-image {
        height: 300px;
    }

    .game-content h3 {
        font-size: 2rem;
    }

    .game-content p {
        font-size: 1.1rem;
    }

    /* Mobile Games Grid - Very Close Spacing */
    .games-grid {
        gap: 0;
    }

    /* Mobile Game Card Hover - Reduce Scale Effect */
    .game-card:hover {
        transform: translateY(-1px) scale(0.75);
    }

    /* Mobile Game Cards - Reduce Vertical Spacing */
    .game-card {
        margin-bottom: -80px;
    }

    /* Mobile Games Section Title - Smaller, Moved Down, and Centered */
    .games-section .section-title {
        font-size: 2.7rem;
        margin-bottom: -30px;
        margin-top: 100px;
        text-align: center !important;
    }

    /* Mobile Chibi Section - Move Down, Left Align, and Scale Up */
    .chibi-section {
        margin-top: 50px;
        text-align: left;
    }

    .chibi-image {
        transform: scale(1.5);
        max-width: 80%;
    }

    /* Mobile About Section - Center Text */
    .about-section {
        text-align: center;
    }

    .about-content {
        display: block;
        text-align: center;
        padding-top: 120px;
        margin-left: 0;
    }

    .about-content h2,
    .about-content p {
        text-align: center;
        grid-column: unset;
        grid-row: unset;
        max-width: none;
    }

    /* Mobile About Actions - Side by Side and Centered */
    .about-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        margin-left: 0;
        transform: scale(1);
        grid-column: unset;
        grid-row: unset;
        align-self: unset;
    }

    /* Mobile About Actions - Hide Our Services Button */
    .about-actions .btn-outline {
        display: none;
    }

    /* Mobile About Actions - Move Join Our Team Button Down */
    .about-actions .btn-primary {
        margin-top: 10px;
    }

     /* Mobile Studio Header - Use Mobile Version */
     .hero-content-section {
         background: url('/assets/img/studio_header_mobile.png') center top/100% auto no-repeat;
     }

     /* Mobile Footer - Hide Games, Company, and Connect Sections */
     .footer-section:nth-child(2),
     .footer-section:nth-child(3),
     .footer-section:nth-child(4) {
         display: none;
     }

    /* Mobile Footer - Center Playhybrid Games Content */
    .footer-content {
        display: block !important;
        text-align: center !important;
    }

    .footer-section:first-child {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-section:first-child h3,
    .footer-section:first-child p {
        text-align: center !important;
    }

    .footer-character {
        display: block !important;
        margin: 0 auto !important;
        margin-left: auto !important;
        margin-top: -40px !important;
    }
}

.slider-prev {
    left: var(--space-sm);
}

.slider-next {
    right: var(--space-sm);
}

.about-actions {
    flex-direction: column;
    align-items: center;
}

/* Work Page Responsive */
.work-hero-content h1 {
    font-size: 2.5rem;
}

.project-card.featured {
    grid-column: span 1;
}

.projects-grid {
    grid-template-columns: 1fr;
}

.services-grid {
    grid-template-columns: 1fr;
}

.process-steps {
    grid-template-columns: 1fr;
}

.cta-buttons {
    flex-direction: column;
    align-items: center;
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    /* XS Hero - Just Title Image in Upper Left */
    .hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-image {
        object-fit: cover;
        object-position: center center;
    }

    .hero-content {
        position: absolute;
        top: calc(var(--space-sm) + 10px);
        left: var(--space-sm);
        z-index: 3;
        background: none;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-width: none;
        width: auto;
    }

    .hero-content h1,
    .hero-content p,
    .hero-content .btn {
        display: none;
    }

    .hero-title-image {
        max-height: 36px;
        margin: 0;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    }

    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Page-specific Styles */
.games-hero,
.jobs-hero,
.services-hero {
    text-align: center;
}

.support-hero {
    padding: var(--space-2xl) 0;
    text-align: center;
    background: #ffffff;
}

.games-hero h1,
.jobs-hero h1,
.services-hero h1,
.support-hero h1 {
    margin-bottom: var(--space-md);
}

/* Game Detail Sections */
.game-detail-section {
    padding: var(--space-2xl) 0;
}

.game-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.game-detail:nth-child(even) .game-detail-content {
    order: 2;
}

.game-detail:nth-child(even) .game-detail-image {
    order: 1;
}

.game-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.game-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
}

.game-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Jobs Section */
.jobs-section {
    padding: var(--space-2xl) 0;
    background: transparent;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.job-card {
    background: var(--gradient-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.job-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.job-location,
.job-type {
    padding: var(--space-xs) var(--space-sm);
    background: #ffffff;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.benefits-section {
    padding: var(--space-2xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.benefit-card {
    text-align: center;
    padding: var(--space-lg);
}

.benefit-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

/* Services Section */
.services-section {
    padding: var(--space-2xl) 0;
    background: transparent;
    position: relative;
}

/* Services Hero Banner */
.services-hero-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    z-index: 10;
}

.services-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.services-section-title {
    text-align: left;
    margin-top: 30px;
    margin-bottom: var(--space-2xl);
    color: #002233;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    background: none;
    padding: 0 0px 0 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-background-clip: unset;
}

.services-grid-container {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-xl);
}

.services-bottom-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.services-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    width: 50%;
}

.services-background-image {
    position: absolute;
    right: -30px;
    top: calc(50% + 25px);
    transform: translateY(-50%);
    z-index: -1;
    opacity: 1;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.services-bg-img {
    width: 750px;
    height: auto;
}

/* Services page specific overrides */
body:has(.services-section) .footer {
    margin-top: 0;
}

body:has(.services-section) .main-content-column {
    margin-top: -200px;
    z-index: 5;
}

body:has(.services-section) .cta-section {
    margin-bottom: -100px;
    padding-bottom: 100px;
}

/* Homepage specific overrides */
body:has(.games-section) .section-title {
    text-align: right;
}

body:has(.games-section) .games-section {
    margin-top: -350px;
}

/* Work page specific overrides */
body:has(.featured-projects) .main-content-column {
    margin-top: -250px;
    z-index: 5;
}

body:has(.featured-projects) .work-section-title {
    margin-top: -35px;
}

/* Jobs page specific overrides */
body:has(.jobs-section) .main-content-column {
    margin-top: -200px;
    z-index: 5;
}

.service-card {
    background: #ffffff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 700px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    display: none;
}

.service-card h3 {
    min-height: 5rem;
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    min-height: 5rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features {
    list-style: none;
    margin: 0;
    text-align: left;
    flex-grow: 1;
    min-height: 10rem;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
}

.service-features li {
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-md);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-weight: bold;
}

.process-section {
    padding: var(--space-2xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin: 0 auto var(--space-md);
    color: var(--text-primary);
}

.cta-section {
    padding: var(--space-2xl) 0;
    background: transparent;
    text-align: center;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

/* Contact Section */
.contact-section {
    padding: var(--space-2xl) 0;
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-methods {
    margin-top: var(--space-lg);
}

.contact-method {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: #ffffff;
    border-radius: var(--radius-md);
}

.contact-method h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.response-time {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: white;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: white;
    color: black;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
    text-align: left;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.error-message {
    color: #ff6b6b;
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
    display: none;
}

.error-message.show {
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-2xl) 0;
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.faq-item {
    background: var(--gradient-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.faq-item a {
    color: var(--accent-primary);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .game-detail {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .game-detail:nth-child(even) .game-detail-content,
    .game-detail:nth-child(even) .game-detail-image {
        order: unset;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Work Page Responsive */
@media (max-width: 768px) {
    .projects-grid-two-column {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: var(--space-lg);
    }
}

/* Work Page Specific Styles */
.work-section-title {
    text-align: left;
    margin-bottom: var(--space-2xl);
    color: #002233;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-neon);
    outline-offset: 2px;
}
}
