:root {
    --bg-color: #1a1c29;
    /* Deep Charcoal / Midnight Blue */
    --text-color: #e0e6ed;
    --accent-red: #e63946;
    /* Sofa Tongue Red */
    --accent-orange: #ff9f1c;
    /* Warm Lamp Orange */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #24283b;
    --shadow-color: rgba(0, 0, 0, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.nav-logo {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 20px;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px var(--shadow-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-orange);
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;

    /* Base Image: Fixed & Cover */
    background-image: url('images/background3.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;

    /* Animation: Pulse Brightness */
    animation: pulseBrightness 8s ease-in-out infinite alternate;
}

@keyframes pulseBrightness {
    0% {
        filter: brightness(0.8);
    }

    100% {
        filter: brightness(1.0);
    }
}

/* Mythical Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Cover entire hero */
    z-index: 0;

    background:
        /* 1. Linear Gradient: Deep Black (Bottom) -> Transparent (Top) */
        linear-gradient(to top, #0a0a0f 0%, rgba(10, 10, 15, 0) 60%),

        /* 2. Radial Gradient: Neon Purple/Deep Blue Glow (Center) */
        radial-gradient(circle at center, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0) 70%),

        /* 3. Noise Texture */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");

    pointer-events: none;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Drop shadow to separate from background */
}

.hero-logo-img {
    width: 300px;
    /* Increased size for impact */
    max-width: 90vw;
    margin-bottom: 1.5rem;
    /* Neon Glow Drop Shadow */
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* .hero h1 styles already defined above */

.tagline {
    font-size: 1.5rem;
    color: var(--accent-orange);
    font-weight: 300;
    letter-spacing: 2px;
}

/* Section Common */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 100px;
    /* Prevent navbar occlusion */
}

/* Navbar Transition */
.navbar {
    transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* News Carousel */
.news-carousel-container {
    position: relative;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.news-card {
    min-width: 100%;
    text-align: center;
    padding: 0 2rem;
}

.news-date {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.game-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-steam {
    background: linear-gradient(135deg, #2a475e, #1b2838);
    color: #fff;
    margin-top: 1rem;
}

.btn-steam:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Glow Effects */
.game-card:hover {
    transform: scale(1.02);
}

.game-still-space:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.game-taram-baba:hover {
    box-shadow: 0 0 30px rgba(255, 159, 28, 0.2);
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.team-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    width: 300px;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Detailed Team Card (Founders/Leads) */
.team-card.detailed {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    text-align: left;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    /* Spacing between multiple detailed cards */
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    flex-shrink: 0;
}

.team-info {
    flex: 1;
}

.team-card h3 {
    margin-bottom: 0.2rem;
    color: var(--accent-orange);
    font-size: 1.5rem;
}

.team-role {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
    margin-bottom: 1rem;
    display: block;
}

.team-bio {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.9;
}

.team-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-orange);
    border: 1px solid var(--glass-border);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: 0.3s;
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
    border-color: var(--accent-orange);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .team-card.detailed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-photo {
        margin-bottom: 1.5rem;
    }

    .team-skills {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Navbar Logo Update */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-mascot {
    width: 40px;
    height: auto;
}

.nav-logo-text-img {
    height: 24px;
    /* Adjust as needed for visual balance */
    width: auto;
    display: block;
}

/* Studio Section - Redesign */
.studio-section {
    position: relative;
    width: 100%;
    padding: 5rem 2rem;
    background-color: transparent;
    /* Or var(--bg-color) if prefer obscure */
    /* Remove old background image and blur */
}

/* Sub-Headline */
.studio-sub-headline {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    /* Slightly smaller than section title (2.5rem) */
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.studio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.studio-narrative {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* Centered text block */
    color: #e0e6ed;
    /* Light Grey */
    font-size: 1.1rem;
    line-height: 1.8;
}

.studio-narrative p {
    margin-bottom: 0;
}

.studio-narrative strong {
    color: #fff;
    /* Highlight keywords if needed, or keep consistent */
}

/* Careers */
.careers {
    text-align: center;
    background: linear-gradient(rgba(26, 28, 41, 0.95), rgba(26, 28, 41, 0.95)), url('images/Sofa Interactive/logo-text.png');
    background-size: 80%;
    /* Adjust size to fit nicely as a background element */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    border-radius: 16px;
    margin: 5rem auto;
}

.careers h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: #bd2a36;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #111;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    font-size: 1.2rem;
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.btn-discord {
    background: #5865F2;
    color: white;
    font-size: 1.1rem;
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

.copyright {
    margin-top: 3rem;
    opacity: 0.4;
    font-size: 0.8rem;
}

/* Blog styles */

/* Blog Container */
.blog-container {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

/* Blog List Grid */
.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-list-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.blog-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.blog-list-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.blog-card-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Blog Full Article */
.blog-post-full {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-post-full .back-link {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    font-size: 0.9rem;
}

.blog-post-full .back-link:hover {
    text-decoration: underline;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.blog-date {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

.blog-hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e6ed;
}

.blog-body strong {
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: #fff;
}

/* Game Details Page Styles */

.game-details-container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
    min-height: 80vh;
}

.game-top-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .game-top-section {
        flex-direction: column;
    }
}

/* Media Gallery (Left 60%) */
.media-gallery {
    flex: 6;
}

.media-stage {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-stage iframe,
.media-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb {
    width: 100px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
    border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--accent-orange);
}

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

/* Info Sidebar (Right 40%) */
.game-info-sidebar {
    flex: 4;
    display: flex;
    flex-direction: column;
}

.game-page-title {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.game-page-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.steam-btn-large {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.3);
    transition: 0.3s ease;
}

.steam-btn-large:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(102, 192, 244, 0.6);
}

.game-short-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
    border-left: 3px solid var(--accent-red);
    padding-left: 1rem;
}

.game-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.3rem;
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.stat-label {
    opacity: 0.6;
}

.stat-value {
    font-weight: 600;
    color: #fff;
}

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

.game-tag {
    background: #2a475e;
    color: #66c0f4;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Bottom Section */
.about-game-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e6ed;
    max-width: 800px;
}

.about-game-text p {
    margin-bottom: 1.5rem;
}

.about-game-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.about-game-text li {
    margin-bottom: 0.5rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Reviews Section */
.game-reviews-section {
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-orange);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #e0e6ed;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    opacity: 0.7;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}

.review-user {
    font-weight: 600;
    color: #fff;
}

.review-icon {
    font-size: 1.2rem;
}

/* Newsletter Form */
.newsletter-container {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.newsletter-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.newsletter-input {
    flex: 1;
    background: #1a1a20;
    border: none;
    padding: 1rem 1.5rem;
    color: #f0f0f0;
    font-size: 1rem;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 0 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-btn:hover {
    background: #ff4500;
    /* Bright neon orange/red */
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 8px 8px 0 0;
        text-align: center;
    }

    .newsletter-btn {
        border-radius: 0 0 8px 8px;
        padding: 1rem;
    }
}

/* Careers Page Styles */
/* Careers Page Styles */
.careers-page-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    min-height: 80vh;
}

.careers-intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: #a0a0a0;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.job-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom-left-radius: 12px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.3);
}

.badge-open {
    background-color: #4cd964;
}

.badge-closed {
    background-color: var(--accent-red);
}

/* Open Card */
.job-card.open {
    opacity: 1.0;
    border: 1px solid rgba(76, 217, 100, 0.5);
    box-shadow: 0 0 15px rgba(76, 217, 100, 0.1);
}

/* Closed Card */
.job-card.closed {
    opacity: 0.7;
}

/* Job Tags */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--accent-orange);
    border: 1px solid var(--glass-border);
}

/* Apply Button */
.btn-apply {
    display: block;
    width: 100%;
    background: var(--accent-red);
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    margin-top: auto;
}

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

.apply-subtitle {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.6;
    margin-bottom: 0;
}

/* Responsive / Mobile Design */

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {

    /* Navbar Mobile */
    .hamburger {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        background: var(--bg-color);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--glass-border);
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Global Typography */
    .hero h1,
    .section-title,
    .game-page-title,
    .blog-title,
    .careers h2 {
        font-size: 2.2rem;
    }

    /* Reduced Padding */
    .hero,
    section,
    .careers-page-section,
    .studio-section,
    .blog-container,
    .game-details-container {
        padding: 3rem 1.5rem;
    }

    /* Grids to Single Column */
    .games-grid,
    .team-grid,
    .blog-list-grid,
    .reviews-grid,
    .job-grid {
        grid-template-columns: 1fr;
    }

    /* Game Details Specifics */
    .game-top-section {
        flex-direction: column;
        gap: 2rem;
    }

    .media-gallery {
        order: -1;
        /* Ensure media is on top */
    }

    .steam-btn-large {
        width: 100%;
    }

    /* Team Detailed Card */
    .team-card.detailed {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .team-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team-info>div {
        justify-content: center;
    }

    /* Padding adjustments */
    .blog-post-full,
    .job-card {
        padding: 1.5rem;
    }

    /* Gap adjustments */
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
        /* Gap between input and button */
        box-shadow: none;
    }

    .newsletter-input {
        border-radius: 8px;
        width: 100%;
    }

    .newsletter-btn {
        border-radius: 8px;
        width: 100%;
        padding: 1rem;
    }
}

/* Touch Targets */
.btn,
.steam-btn-large,
.newsletter-btn,
.carousel-btn,
.nav-links a {
    min-height: 44px;
}

/* Mobile Carousel Fix */
@media (max-width: 768px) {
    .news-carousel-container {
        padding: 2rem 1rem;
    }

    .news-card {
        padding: 0 1rem;
        /* Ensure it takes full width of the container minus padding */
        min-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}