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

:root {
    --bg-primary: #F6F4F0;
    --bg-secondary: #FFFFFF;
    --accent-red: #DA392B;
    --contrast-purple: #272443;
    --highlight-yellow: #FFE659;
    --text-primary: #272443;
    --text-secondary: #6B6B6B;
    --text-muted: #9B9B9B;
    --border-color: #E0E0E0;
    --overlay-dark: rgba(39, 36, 67, 0.8);
    --overlay-light: rgba(39, 36, 67, 0.4);
    --shadow-light: rgba(39, 36, 67, 0.1);
    --shadow-medium: rgba(39, 36, 67, 0.2);
    --shadow-dark: rgba(39, 36, 67, 0.3);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Suez One', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 0;
    height: auto;
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 40px 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navigation Menu - Top Left */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    background: rgba(246, 244, 240, 0.75);
    backdrop-filter: blur(30px);
    border-radius: 0 0 20px 20px;
    padding: 1rem 2rem 1.5rem 2rem;
    box-shadow: 0 8px 32px rgba(39, 36, 67, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(246, 244, 240, 0.4);
    border-top: none;
    margin: 0;
    margin-right: 2rem;
    order: 2;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-red);
    background: rgba(218, 57, 43, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(246, 244, 240, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(39, 36, 67, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(246, 244, 240, 0.4);
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-link {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-link:hover {
    background: rgba(218, 57, 43, 0.1);
    color: var(--accent-red);
    border-left-color: var(--accent-red);
    padding-left: 2rem;
    transform: translateY(-2px);
}

/* Studio Logo - Top Right */
.nav-logo {
    background: transparent;
    padding: 0;
    transition: all 0.3s ease;
    margin: 0;
    order: 1;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(39, 36, 67, 0.3));
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
/* 4-Line Hamburger Menu */
#nav-icon3 {
    display: none;
    width: 45px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    background: rgba(246, 244, 240, 0.60);
    backdrop-filter: blur(30px);
    border-radius: 0 0 10px 10px;
    padding: 8px;
    /* border: 1px solid rgba(39, 36, 67, 0.2); */
    order: 2;
    margin: 0;
    align-self: flex-start;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nav-icon3:hover {
    background: rgba(246, 244, 240, 0.80);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 36, 67, 0.2);
}

#nav-icon3:active {
    transform: translateY(0px) scale(0.95);
    transition: all 0.1s ease;
}

#nav-icon3.open {
    background: rgba(218, 57, 43, 0.1);
    border: 1px solid rgba(218, 57, 43, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(218, 57, 43, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(218, 57, 43, 0.1);
    }
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nav-icon3 span:nth-child(1) {
    top: 8px;
    left: 20%;
    width: 60%;

}

#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
    top: 15px;
    left: 20%;
    width: 60%;
}

#nav-icon3 span:nth-child(4) {
    top: 22px;
    left: 20%;
    width: 60%;
}

#nav-icon3.open span:nth-child(1) {
    top: 15px;
    width: 0%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
}

#nav-icon3.open span:nth-child(2) {
    top: 15px;
    left: 20%;
    width: 60%;
    transform: rotate(45deg);
    transform-origin: center center;
    background: var(--accent-red);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nav-icon3.open span:nth-child(3) {
    top: 15px;
    left: 20%;
    width: 60%;
    transform: rotate(-45deg);
    transform-origin: center center;
    background: var(--accent-red);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nav-icon3.open span:nth-child(4) {
    top: 15px;
    width: 0%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video video,
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Ensure smooth video playback */
    will-change: transform;
    /* Handle different aspect ratios */
    min-width: 100%;
    min-height: 100%;
}

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

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Games Overlay */
.hero-games-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(transparent, rgba(39, 36, 67, 0.9));
    padding: 2rem 0 2rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-games-title {
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--bg-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-games-grid .game-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    box-shadow: none;
}

.hero-games-grid .game-card:hover {
    transform: scale(1.05);
}


.hero-games-grid .game-poster {
    position: relative;
    width: 250px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    padding: 1.2rem;
    gap: 1.2rem;
    transform-style: preserve-3d;
}

.hero-games-grid .game-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 230, 89, 0.3) 0%, 
        rgba(218, 57, 43, 0.2) 30%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-games-grid .game-poster > img {
    display: none;
}

.hero-games-grid .game-card:hover .game-poster {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(25px);
    transform: translateY(-4px) rotateX(5deg);
}

.hero-games-grid .game-card:hover .game-poster::before {
    opacity: 1;
}

/* Game Info Section */
.hero-games-grid .game-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-games-grid .game-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.hero-games-grid .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-games-grid .game-card:hover .game-icon {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.hero-games-grid .game-card:hover .game-icon img {
    transform: scale(1.1);
}

.hero-games-grid .game-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 255, 255, 0.1);
    line-height: 1.2;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.hero-games-grid .game-card:hover .game-name {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 230, 89, 0.3);
    transform: translateY(-1px);
}

/* Progress Bar - Removed as part of carousel functionality */

/* Removed carousel-specific active states and animations */

.hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--contrast-purple) 0%, var(--accent-red) 50%, var(--highlight-yellow) 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 36, 67, 0.3) 0%, rgba(39, 36, 67, 0.1) 50%, rgba(39, 36, 67, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    text-align: left;
    z-index: 1;
    animation: scaleInFade 1s ease-out;
    max-width: 600px;
    padding: 0 2rem;
    position: absolute;
    top: 30%;
    left: 5%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--bg-primary);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 500px);
    gap: 3rem;
    margin-top: 4rem;
    justify-content: center;
}

.game-card {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: 0 8px 32px var(--shadow-light);
}

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

.game-poster {
    position: relative;
    width: 256px;
    height: 343px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary);
}

.game-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-poster img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(39, 36, 67, 0.9));
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-title {
    font-size: 1.8rem;
    color: var(--bg-primary);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Games Showcase Section - REMOVED */

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-image {
    flex-shrink: 0;
}

.play-game-img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-red);
    font-family: 'Suez One', serif;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

.about-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-red);
    font-family: 'Suez One', serif;
    position: absolute;
    bottom: -40px;
    right: -20px;
    opacity: 0.3;
}

/* Join Section */
.join-section {
    padding: 8rem 0;
    background: var(--contrast-purple);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFE659" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23FFE659" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23FFE659" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23FFE659" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23FFE659" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.join-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.join-section .section-title {
    color: var(--bg-primary);
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.join-section .section-title::after {
    background: linear-gradient(90deg, var(--highlight-yellow), var(--accent-red));
    left: 0;
    transform: none;
}

.join-text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.join-text {
    font-size: 1.2rem;
    color: rgba(246, 244, 240, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 500px;
}

.join-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-us-img {
    max-width: 300px;
    height: auto;
    transition: transform 0.1s ease-out;
    transform-origin: center;
    transform-style: preserve-3d;
}

/* Join Section Responsive */
@media (max-width: 768px) {
    .join-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .join-text-content {
        text-align: center;
        max-width: 100%;
    }
    
    .join-section .section-title {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .join-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .join-text {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .join-us-img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .join-section {
        padding: 6rem 0;
    }
    
    .join-section .section-title {
        font-size: 2rem;
    }
    
    .join-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .join-us-img {
        max-width: 200px;
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), #B8322A);
    color: var(--bg-primary);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 8px 25px rgba(218, 57, 43, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(218, 57, 43, 0.5), 0 0 20px rgba(255, 230, 89, 0.3);
    border-color: var(--highlight-yellow);
}

/* Footer */
.footer {
    background: var(--text-primary);
    background-image: url('../images/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(39, 36, 67, 0.8); /* Dark overlay for better text readability */
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}


.footer-email {
    font-size: 1.2rem;
    color: var(--bg-primary);
    font-weight: 500;
}

.footer-careers-note {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.social-link:hover {
    color: var(--highlight-yellow);
    background: rgba(255, 230, 89, 0.1);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    margin-bottom: 2rem;
}

.footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page Hero (for non-home pages) */
.page-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow), var(--accent-red));
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Careers Page */
.careers-section {
    padding: 6rem 0 8rem;
    background: var(--bg-primary);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.job-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.job-type {
    background: linear-gradient(135deg, var(--accent-red), #B8322A);
    color: var(--bg-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.job-button {
    display: inline-block;
    background: transparent;
    color: var(--accent-red);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid var(--accent-red);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.job-button:hover::before {
    left: 0;
}

.job-button:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Job Details Page */
.job-details-section {
    padding: 10rem 0 8rem;
    background: var(--bg-primary);
}

.job-details {
    max-width: 900px;
    margin: 0 auto;
}

.job-details .job-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.job-details .job-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
}

.job-details .job-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.job-content {
    line-height: 1.8;
}

.job-section {
    margin-bottom: 3rem;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.job-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.job-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-red), var(--highlight-yellow));
    border-radius: 2px;
}

.job-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.job-section ul {
    color: var(--text-secondary);
    padding-left: 2rem;
    font-size: 1.05rem;
}

.job-section li {
    margin-bottom: 0.8rem;
    position: relative;
}

.job-section li::marker {
    color: var(--accent-red);
}

.job-apply {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.apply-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), #B8322A);
    color: var(--bg-primary);
    padding: 1.3rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(218, 57, 43, 0.3);
}

.apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(218, 57, 43, 0.4);
}

.apply-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* Game Template Page */


.game-header {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
}

.game-cover {
    position: relative;
}

.game-poster {
    width: 350px;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

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

.game-info h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.game-genre {
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.game-platforms {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.game-description {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.game-content {
    max-width: 900px;
    margin: 0 auto;
}

.game-content h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1rem;
}

.game-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-red), var(--highlight-yellow));
    border-radius: 2px;
}

.game-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.game-features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.game-features h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.feature-item h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.game-media {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.game-media h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.media-placeholder {
    background: var(--bg-secondary);
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 6rem 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Game Media Sections */
.trailer-section {
    margin-bottom: 4rem;
}

.trailer-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-trailer {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-medium);
    margin: 0 auto;
    display: block;
}

.screenshots-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-medium);
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleInFade {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(1.2);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes scaleInFadeMobile {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1.2);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        top: 25%;
        left: 5%;
        transform: translateY(-50%);
    }
    
    .hero-title {
        font-size: 3.5rem;
        white-space: nowrap;
    }
    
    .hero-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .hero-games-grid .game-poster {
        width: 200px;
        height: 200px;
    }
    
    .hero-games-grid .game-icon {
        width: 110px;
        height: 110px;
        border-radius: 16px;
    }
    
    .hero-games-grid .game-name {
        font-size: 1rem;
    }
    
    .hero-games-grid .game-info {
        flex-direction: column;
        gap: 0.6rem;
        margin: 0;
        padding: 0;
        width: 100%;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
    
    /* Touch-friendly improvements for tablet */
    .hero-games-grid .game-card {
        min-height: 44px;
        cursor: pointer;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero-games-grid .game-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 20px 20px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    #nav-icon3 {
        display: block;
        order: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.60);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 20px;
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(39, 36, 67, 0.1);
        border-radius: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu.active .nav-link {
        animation: slideInFromTop 0.4s ease-out forwards;
        opacity: 0;
        transform: translateY(-20px);
    }
    
    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes slideInFromTop {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .nav-dropdown .dropdown-menu.active {
        display: block;
    }
    
    .nav-dropdown .dropdown-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-dropdown .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: var(--text-secondary);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-dropdown .dropdown-menu a:hover {
        color: var(--accent-red);
        border-left-color: var(--accent-red);
        background: rgba(218, 57, 43, 0.1);
    }
    
    .nav-logo {
        padding: 0;
        order: 1;
        margin: 0;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Hero Section - Centered Layout */
    .hero {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        margin-bottom: 0;
        max-width: 100%;
        padding: 0 1rem;
        z-index: 3;
        animation: scaleInFadeMobile 1s ease-out;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        white-space: nowrap;
    }
    
    /* Mobile Games Grid - Improved 2x2 Layout */
    .hero-games-overlay {
        background: linear-gradient(transparent, rgba(39, 36, 67, 0.8));
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem 0 1.5rem 0;
        z-index: 2;
        height: auto;
        min-height: fit-content;
    }
    
    .hero-games-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-games-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-games-grid .game-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        padding: 0;
        transition: all 0.3s ease;
        width: 160px;
        height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        position: relative;
    }
    
    .hero-games-grid .game-card:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .hero-games-grid .game-poster {
        width: 100%;
        height: auto;
        background: none;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .hero-games-grid .game-poster {
        width: 160px;
        height: 160px;
        background: none;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .hero-games-grid .game-poster > img {
        display: none;
    }
    
    .hero-games-grid .game-info {
        flex-direction: column;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        width: 160px;
        height: 160px;
        align-items: center;
        justify-content: center;
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .hero-games-grid .game-icon {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }
    
    .hero-games-grid .game-name {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
    }
    
    /* Removed carousel-specific mobile styles */
    
    .section-title {
        font-size: 2rem;
    }
    
    /* About Section Mobile Styles */
    .about-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .play-game-img {
        max-width: 150px;
        order: 2;
    }
    
    .about-header .section-title {
        order: 1;
        margin-bottom: 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-content: center;
    }
    
    .game-poster {
        height: 400px;
    }
    
    /* Games Showcase Mobile Styles - REMOVED */
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .game-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .game-poster {
        margin: 0 auto;
        width: 300px;
        height: 450px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .game-info h1 {
        font-size: 2.5rem;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        white-space: nowrap;
    }
    
    .hero-content {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 0;
        z-index: 3;
        animation: scaleInFadeMobile 1s ease-out;
    }
    
    /* Mobile Games Grid - Enhanced for small screens */
    .hero-games-overlay {
        background: linear-gradient(transparent, rgba(39, 36, 67, 0.9));
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem 0 1rem 0;
        z-index: 2;
        height: auto;
        min-height: fit-content;
    }
    
    .hero-games-container {
        padding: 2rem 0.75rem;
    }
    
    .hero-games-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-games-grid .game-card {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        padding: 0;
        transition: all 0.3s ease;
        width: 150px;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        position: relative;
    }
    
    .hero-games-grid .game-card:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.18);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    }
    
    .hero-games-grid .game-poster {
        width: 150px;
        height: 150px;
        background: none;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .hero-games-grid .game-poster > img {
        display: none;
    }
    
    .hero-games-grid .game-info {
        flex-direction: column;
        gap: 0.4rem;
        margin: 0;
        padding: 0;
        width: 150px;
        height: 150px;
        align-items: center;
        justify-content: center;
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .hero-games-grid .game-icon {
        width: 90px;
        height: 90px;
        border-radius: 16px;
    }
    
    .hero-games-grid .game-name {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.1;
        margin: 0;
    }
    
    /* Touch-friendly improvements */
    .hero-games-grid .game-card {
        min-height: 44px; /* Minimum touch target size */
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero-games-grid .game-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .game-trailer {
        max-width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .game-info h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 15px 20px 15px;
    }
    
    .nav-menu {
        padding: 2rem 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-logo {
        padding: 0;
    }
    
    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0 0.1rem;
    }
    
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(39, 36, 67, 0.1);
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: none;
        border: 1px solid rgba(39, 36, 67, 0.2);
        min-width: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }
    
    .dropdown-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem 0.5rem;
        color: var(--text-primary);
    }
    
    .dropdown-link:hover {
        background: rgba(218, 57, 43, 0.1);
        color: var(--accent-red);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Games Showcase Small Screen Styles - REMOVED */
}


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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ----------------------------- */
/* Rookie Tales Legal Pages Cards */
/* ----------------------------- */
.policy-section {
    padding: 6rem 0 8rem;
    background: var(--bg-primary);
  }
  
  .policy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .policy-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-light);
    position: relative;
    overflow: hidden;
  }
  
  .policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .policy-card:hover::before {
    transform: scaleX(1);
  }
  
  .policy-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 40px var(--shadow-medium);
  }
  
  .policy-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  .policy-card p,
  .policy-card li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
  }
  
  .policy-card ul {
    padding-left: 1.5rem;
  }
  
  .policy-card li::marker {
    color: var(--accent-red);
  }
  
  @media (max-width: 768px) {
    .policy-card {
      padding: 2rem;
    }
  }
  

/* Focus States for Accessibility */
.nav-link:focus,
.cta-button:focus,
.job-button:focus,
.apply-button:focus,
.store-link:focus {
    outline: 3px solid var(--highlight-yellow);
    outline-offset: 2px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact-form-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Google Forms Embed Styles */
.google-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-light);
    border: 2px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
    z-index: 1;
}

.google-form-iframe {
    width: 100%;
    height: 1000px;
    border: none;
    display: block;
    background: transparent;
    padding-top: 1rem;
}

.contact-form {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-light);
    border: 2px solid var(--border-color);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--highlight-yellow));
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(218, 57, 43, 0.1);
    transform: translateY(-2px);
}

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

.form-file {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-file:hover {
    border-color: var(--accent-red);
    background: rgba(218, 57, 43, 0.05);
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-red), #B8322A);
    color: var(--bg-primary);
    padding: 1.3rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(218, 57, 43, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(218, 57, 43, 0.4);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-success,
.form-error {
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 500;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

/* Form Responsive Design */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 6rem 0;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-form-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Google Forms Responsive - Tablet */
    .google-form-container {
        margin: 0 auto;
        border-radius: 16px;
        max-width: calc(100% - 2rem);
    }
    
    .google-form-iframe {
        height: 900px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea,
    .form-file {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-submit {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .contact-form-subtitle {
        font-size: 1rem;
    }
    
    /* Google Forms Responsive - Mobile */
    .google-form-container {
        margin: 0 auto;
        border-radius: 12px;
        max-width: calc(100% - 1rem);
    }
    
    .google-form-iframe {
        height: 800px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: var(--text-primary);
        --text-secondary: var(--text-primary);
    }
}