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

body {
    font-family: 'Oswald', sans-serif;
    background: #EDCBAB url('imgs/pale-wall-texture.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle overlay to enhance texture */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 70%, rgba(232, 94, 58, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(10, 139, 139, 0.02) 0%, transparent 50%);
    background-size: 200px 200px, 150px 150px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Simple visible noise test */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(0,0,0,0.8) 0.5deg,
            transparent 1deg,
            transparent 360deg);
    background-size: 2px 2px;
}


.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    min-height: 850px;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.91 0.83 0.76 0 0 0.91 0.83 0.76 0 0 0.91 0.83 0.76 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 25px 25px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    position: relative;
}

.logo {
    width: 130px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 70px;
    position: absolute;
    right: 10px;
    top: 25px;
    z-index: 10;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #3a3029;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

nav a:hover {
    opacity: 0.7;
    transform: translateX(3px);
}

nav a.active {
    color: #e85e3a;
    font-weight: 600;
}

.game-button {
    background: #e85e3a !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(232, 94, 58, 0.3) !important;
    text-transform: uppercase !important;
}

.game-button:hover {
    background: #d64e2a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(232, 94, 58, 0.4) !important;
}

.game-button.active {
    background: #d64e2a !important;
    box-shadow: 0 6px 20px rgba(232, 94, 58, 0.5) !important;
}

/* Geometric Lines System */
/* Line connecting logo to nav frame */
.line-logo-to-nav {
    position: absolute;
    top: 80px;
    left: 195px;
    right: 360px;
    height: 2px;
    background: #3a3029;
    z-index: 3;
    width: 905px;
}

/* Navigation frame box */
.nav-frame-right {
    position: absolute;
    top: 196px;
    right: 40px;
    width: 2px;
    height: 558px;
    background: #3a3029;
    z-index: 3;
}

/* About page nav frame adjustment */
.about-nav-frame {
    height: 340px;
    top: 150px;
}

/* Home page nav frame adjustment */
.home-nav-frame {
    height: 340px;
    top: 150px;
}

/* Game page nav frame adjustment */
.game-nav-frame {
    height: 340px;
    top: 150px;
}

/* Services page nav frame adjustment */
.services-nav-frame {
    height: 340px;
    top: 150px;
}

.nav-frame-bottom {
    position: absolute;
    top: 148px;
    right: 40px;
    width: 260px;
    height: 2px;
    background: #3a3029;
    z-index: 3;
}

.nav-frame-left {
    position: absolute;
    top: 80px;
    right: 300px;
    width: 2px;
    height: 70px;
    background: #3a3029;
    z-index: 3;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    position: relative;
}

.main-title {
    font-size: clamp(60px, 10vw, 120px);
    line-height: 0.9;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 700;
    letter-spacing: -2px;
    padding: 0 80px;
    position: relative;
    z-index: 5;
}

.we-ignite {
    color: #3a3029;
    /* Use BACKCOUNTRY font when available */
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
}

.ideas {
    color: #e85e3a;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 260px;
    position: relative;
    /* 3D vintage shadow effect */
    text-shadow: 
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        7px 7px 0 #35231D,
        8px 8px 0 #35231D,
        9px 9px 0 #35231D,
        10px 10px 0 #35231D,
        11px 11px 0 #35231D,
        12px 12px 0 #35231D,
        13px 13px 15px rgba(53, 35, 29, 0.5); /* Soft shadow at the end */
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
    padding: 0 80px;
    position: relative;
    z-index: 5;
}

.video-container {
    width: 100%;
    height: 337px;
    background: #c4a590;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 3px;
}

/* Placeholder backgrounds for videos */
.video-1 {
    background: linear-gradient(180deg, #d4c4b4 0%, #a89484 100%);
}

.video-2 {
    background: linear-gradient(180deg, #e8b494 0%, #c89474 100%);
}

.text-content {
    padding: 40px;
    background: transparent;
    max-width: 500px;
    position: relative;
    margin-left: auto;
    margin-right: 40px;
}

.text-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #3a3029;
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-button {
    background: #0a8b8b;
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(10, 139, 139, 0.2);
}

.cta-button:hover {
    background: #097373;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 139, 139, 0.3);
}

/* =================================
   ABOUT US PAGE STYLES
   ================================= */

/* About Us Hero Section */
.about-hero {
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 5;
}

.about-header-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 80px;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
}

.about-word {
    color: #3a3029;
    font-size: clamp(60px, 10vw, 160px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 0.8;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    margin-bottom: 10px;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 500px;
}

.about-img {
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(58, 48, 41, 0.2);
}

.about-img-1 {
    grid-column: 1 / 3;
    width: 100%;
    height: 240px;
}

.about-img-2 {
    width: 100%;
    height: 240px;
}

.about-img-3 {
    width: 100%;
    height: 240px;
}

/* Cinematic GIF/Video Styles */
.about-gif {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(58, 48, 41, 0.2);
    background: #2a2a2a;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-gif-1 {
    grid-column: 1 / 3;
    width: 100%;
    height: 240px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.about-gif-2 {
    width: 100%;
    height: 240px;
    animation: floatAnimation 8s ease-in-out infinite reverse;
}

.about-gif-3 {
    width: 100%;
    height: 240px;
    animation: floatAnimation 7s ease-in-out infinite;
    animation-delay: -2s;
}

.cinematic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
}

.about-gif:hover .cinematic-video {
    transform: scale(1.05) rotateY(5deg) rotateX(-2deg);
    filter: brightness(1.1) contrast(1.3) saturate(1.4);
    box-shadow:
        0 25px 50px rgba(58, 48, 41, 0.4),
        0 0 50px rgba(232, 94, 58, 0.2);
}

.about-gif::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(232, 94, 58, 0.3) 50%,
        transparent);
    transition: left 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 2;
    pointer-events: none;
}

.about-gif:hover::before {
    left: 100%;
}

.about-gif::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        transparent 30%,
        rgba(58, 48, 41, 0.1) 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.about-gif:hover::after {
    opacity: 1;
}

.fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Floating animation keyframes */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-4px) rotate(-0.5deg);
    }
}

/* Magnetic effect on mouse proximity */
.about-gif {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.about-gif:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.ducks-vertical,
.on-vertical,
.fire-vertical {
    color: #e85e3a;
    font-size: clamp(60px, 10vw, 160px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 0.8;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        7px 7px 0 #35231D,
        8px 8px 15px rgba(53, 35, 29, 0.5);
    margin-bottom: 0px;
}

/* About Content Sections */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 80px 0;
    padding: 0 80px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #d4c4b4 0%, #a89484 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(58, 48, 41, 0.15);
}

.mission-section {
    background: rgba(58, 48, 41, 0.05);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #35231D;
}

.mission-title {
    font-size: 32px;
    font-weight: 700;
    color: #35231D;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;

}

.mission-text {
    font-size: 18px;
    line-height: 1.7;
    color: #3a3029;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Team Section */
.team-section {
    padding: 80px 80px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.team-title {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #3a3029;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 48, 41, 0.15);
    border-color: #e85e3a;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e85e3a, #d64e2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: bold;
}

.team-name {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3a3029;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-role {
    font-size: 16px;
    color: #e85e3a;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #3a3029;
    opacity: 0.8;
}

/* Values Section */
.values-section {
    background: rgba(58, 48, 41, 0.03);
    padding: 80px;
    margin: 60px 0;
    border-radius: 8px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.values-title {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #3a3029;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e85e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.value-name {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #3a3029;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-description {
    font-size: 16px;
    line-height: 1.6;
    color: #3a3029;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 80px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.cta-text {
    font-size: 24px;
    color: #3a3029;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #EDCBAB;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.page-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(58, 48, 41, 0.1) 25%,
        rgba(58, 48, 41, 0.2) 50%,
        rgba(58, 48, 41, 0.1) 75%,
        transparent);
    transition: left 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.page-transition.active::before {
    left: 100%;
}

.page-transition::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.91 0.83 0.76 0 0 0.91 0.83 0.76 0 0 0.91 0.83 0.76 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 25px 25px;
    opacity: 0.5;
    animation: noiseShift 2s ease-in-out infinite alternate;
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(2px, 2px); }
}

.transition-text {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: clamp(40px, 8vw, 80px);
    color: #3a3029;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 10px rgba(53, 35, 29, 0.3);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.page-transition.active .transition-text {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.page-transition.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.page-transition.fade-out .transition-text {
    opacity: 0;
    transform: translateY(-20px) scale(1.1);
    transition: all 0.4s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.page-transition.fade-out::before {
    left: -100%;
    transition: left 0.8s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

body.transitioning .container {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* =================================
   GAME PAGE STYLES
   ================================= */

/* Game Hero Section */
.game-hero {
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 5;
}

.game-header-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 80px;
    align-items: center;
}

.game-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-title,
.on-fire-title {
    color: #e85e3a;
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 0.8;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        7px 7px 0 #35231D,
        8px 8px 15px rgba(53, 35, 29, 0.5);
}

.game-subtitle {
    color: #3a3029;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: 4px;
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
}

.game-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e85e3a 0%, #d64e2a 100%);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(232, 94, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.game-image::after {
    content: '🔥🦆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.8;
}

/* Game Story Section */
.game-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 80px 0;
    padding: 0 80px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.story-content {
    background: rgba(58, 48, 41, 0.05);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #35231D;
}

.story-title {
    font-size: 36px;
    font-weight: 700;
    color: #35231D;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
}

.story-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #3a3029;
    margin-bottom: 25px;
    font-weight: 400;
}

.story-text strong {
    color: #e85e3a;
    font-weight: 600;
}

.story-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #d4c4b4 0%, #a89484 100%);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(58, 48, 41, 0.15);
    position: relative;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Game Features Section */
.game-features {
    padding: 80px;
    margin: 60px 0;
    background: rgba(58, 48, 41, 0.03);
    border-radius: 8px;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.features-title {
    font-size: 48px;
    font-weight: 700;
    color: #3a3029;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 48, 41, 0.15);
    border-color: #e85e3a;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e85e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.feature-name {
    font-size: 24px;
    font-weight: 600;
    color: #3a3029;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: #3a3029;
    opacity: 0.8;
}

/* Game Download Section */
.game-download {
    text-align: center;
    padding: 80px;
    background: linear-gradient(135deg, rgba(232, 94, 58, 0.1) 0%, rgba(214, 78, 42, 0.1) 100%);
    border-radius: 8px;
    margin: 60px 0;
    position: relative;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.download-title {
    font-size: 48px;
    font-weight: 700;
    color: #e85e3a;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
}

.download-text {
    font-size: 20px;
    color: #3a3029;
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.6;
}

.download-button {
    background: #e85e3a;
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(232, 94, 58, 0.3);
}

.download-button:hover {
    background: #d64e2a;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 94, 58, 0.4);
}

.download-note {
    margin-top: 20px;
    font-size: 14px;
    color: #3a3029;
    opacity: 0.7;
    font-style: italic;
}

/* =================================
   SERVICES PAGE STYLES
   ================================= */

/* Services Hero Section */
.services-hero {
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 5;
}

.services-header-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.services-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 0px;
}

.our-and-image {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 0px;
}

.our-title {
    color: #3a3029;
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 0.8;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    margin-bottom: 0px;
}

.services-title {
    color: #e85e3a;
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 0.8;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        7px 7px 0 #35231D,
        8px 8px 15px rgba(53, 35, 29, 0.5);
}

.pixel-duck {
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

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

/* Services Content Section */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin: 80px 0;
    padding: 0 80px;
    position: relative;
    z-index: 5;
    align-items: flex-start;
}

.services-image {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(58, 48, 41, 0.2);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 40px;
}

.services-image-top {
    width: 200px;
    height: 150px;
    margin-bottom: 20px;
    margin-left: -30px;
}

.services-top-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-name {
    font-size: 36px;
    font-weight: 700;
    color: #3a3029;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
}

.service-line {
    width: 100%;
    height: 3px;
    background: #e85e3a;
    border-radius: 2px;
}

.contact-us-button {
    background: #0a8b8b;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(10, 139, 139, 0.3);
    margin-top: 20px;
    align-self: flex-start;
}

.contact-us-button:hover {
    background: #097373;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 139, 139, 0.4);
}

/* Animation Classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */

/* Large screens */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 450px 1fr;
        gap: 40px;
    }

    nav {
        right: 0px;
    }

    /* About page adjustments */
    .about-header-layout {
        gap: 60px;
    }

    /* Game page adjustments */
    .game-header-layout {
        gap: 60px;
    }

    /* Services page adjustments */
    .services-content {
        gap: 40px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 20px 30px;
    }

    /* Hero sections */
    .hero {
        padding: 80px 0 60px 0;
    }

    .about-hero, .game-hero, .services-hero {
        padding: 80px 0 40px 0;
    }

    /* About page tablet */
    .about-header-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-images-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .about-img-1, .about-img-2, .about-img-3,
    .about-gif-1, .about-gif-2, .about-gif-3 {
        height: 200px;
    }

    /* Game page tablet */
    .game-header-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .game-image {
        height: 300px;
    }

    .game-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Services page tablet */
    .services-header-layout {
        justify-content: center;
    }

    .our-and-image {
        justify-content: center;
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-list {
        padding-left: 0;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 15px 20px;
    }

    /* Header mobile */
    header {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    nav {
        position: relative;
        right: auto;
        top: auto;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-column {
        gap: 15px;
    }

    nav a {
        font-size: 16px;
        padding: 8px 16px;
    }

    .game-button {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }

    /* Typography mobile */
    .main-title, .about-title {
        font-size: clamp(40px, 8vw, 80px);
        padding: 0 20px;
        text-align: center;
    }

    .ideas {
        font-size: 120px;
    }

    /* Content grid mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        margin-top: 40px;
    }

    .video-container {
        height: 250px;
    }

    .text-content {
        padding: 20px;
        margin: 0;
    }

    /* About page mobile */
    .about-header-layout {
        grid-template-columns: 1fr;
        padding: 0 20px;
        text-align: center;
    }

    .about-left {
        gap: 20px;
    }

    .about-word,
    .ducks-vertical,
    .on-vertical,
    .fire-vertical {
        font-size: clamp(40px, 8vw, 80px);
    }

    .about-content,
    .team-section,
    .values-section,
    .cta-section {
        padding: 40px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Game page mobile */
    .game-header-layout {
        grid-template-columns: 1fr;
        padding: 0 20px;
        text-align: center;
    }

    .game-title,
    .on-fire-title {
        font-size: clamp(50px, 10vw, 100px);
    }

    .game-subtitle {
        font-size: clamp(18px, 4vw, 28px);
    }

    .game-story {
        padding: 0 20px;
    }

    .game-features {
        padding: 40px 20px;
    }

    .game-download {
        padding: 40px 20px;
    }

    /* Services page mobile */
    .services-header-layout {
        padding: 0 20px;
        justify-content: center;
    }

    .services-left {
        align-items: center;
    }

    .our-and-image {
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
        align-items: center;
    }

    .our-title,
    .services-title {
        font-size: clamp(40px, 8vw, 80px);
        text-align: center;
    }

    .services-image-top {
        margin-left: 0;
        width: 150px;
        height: 112px;
    }

    .services-content {
        padding: 0 20px;
    }

    .services-image {
        height: 300px;
    }

    .service-name {
        font-size: 24px;
    }

    /* Grids mobile */
    .team-grid,
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Buttons mobile */
    .cta-button,
    .download-button,
    .contact-us-button {
        font-size: 16px;
        padding: 14px 30px;
    }

    /* Hide all lines on mobile */
    .line-logo-to-nav,
    .nav-frame-top,
    .nav-frame-right,
    .nav-frame-bottom,
    .nav-frame-left,
    .content-frame-top,
    .content-frame-right,
    .content-frame-bottom,
    .content-frame-left,
    .nav-to-content-connector {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    nav {
        gap: 15px;
    }

    .nav-column {
        gap: 10px;
    }

    nav a {
        font-size: 14px;
        padding: 8px 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .game-button {
        font-size: 12px !important;
        padding: 10px 14px !important;
        min-height: 44px !important;
    }

    .main-title, .about-title {
        font-size: clamp(30px, 8vw, 60px);
    }

    .ideas {
        font-size: 80px;
    }

    .our-title,
    .services-title,
    .game-title,
    .on-fire-title {
        font-size: clamp(30px, 8vw, 60px);
    }

    .service-name {
        font-size: 20px;
    }

    .features-title,
    .values-title,
    .team-title {
        font-size: 32px;
    }

    /* Optimize page transitions for mobile */
    .transition-text {
        font-size: clamp(32px, 10vw, 60px);
        letter-spacing: 2px;
    }

    /* Improve touch targets */
    .cta-button,
    .download-button,
    .contact-us-button {
        min-height: 48px;
        touch-action: manipulation;
    }

}

/* ===== RETRO LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EDCBAB 0%, #d4c4b4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    animation: logoGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(232, 94, 58, 0.3));
}

@keyframes logoGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(232, 94, 58, 0.3));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(232, 94, 58, 0.6));
    }
}

.loading-text {
    font-family: 'BACKCOUNTRY', 'Oswald', sans-serif;
    font-size: 32px;
    color: #35231D;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D;
    animation: textFlicker 1.5s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-bar-container {
    width: 300px;
    height: 8px;
    background: rgba(58, 48, 41, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid #35231D;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #e85e3a, #0a8b8b, #e85e3a);
    background-size: 200% 100%;
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 3s ease-in-out forwards, gradientShift 2s linear infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes gradientShift {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loading-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #35231D;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Vintage scanlines effect */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(58, 48, 41, 0.03) 2px,
        rgba(58, 48, 41, 0.03) 4px
    );
    pointer-events: none;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

/* ===== SUBTLE PROFESSIONAL SLOGAN ANIMATIONS ===== */
.we-ignite,
.ideas {
    display: inline-block;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Subtle hover effects */
.we-ignite:hover {
    transform: translateY(-2px);
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        0 0 15px rgba(10, 139, 139, 0.3);
}

.ideas:hover {
    transform: translateY(-2px) scale(1.02);
    text-shadow:
        1px 1px 0 #35231D,
        2px 2px 0 #35231D,
        3px 3px 0 #35231D,
        4px 4px 0 #35231D,
        5px 5px 0 #35231D,
        6px 6px 0 #35231D,
        0 0 20px rgba(232, 94, 58, 0.4);
}

