/* style.css */
:root {
    --bg-dark: #0a0a0c;
    --bg-light: #ffffff;
    --bg-gray: #f5f5f5;
    --text-dark: #111111;
    --text-light: #f9f9f9;
    --text-muted: #888888;
    --accent-red: #e61c24;
    --accent-red-hover: #ff2a33;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-alt: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.section-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 100px 4%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.9rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

/* 1. Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 4px 0;
    /* slightly more padding */
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-dark);
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
}

.nav-logo {
    height: 85px;
    width: 85px;
    object-fit: cover;
    object-position: left center;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.logo-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #111111;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-studios {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-line {
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background-color: var(--accent-red);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #111111;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

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

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-red);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    transition: var(--transition);
}

.discord-btn:hover {
    background-color: var(--accent-red-hover);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #111;
    transition: var(--transition);
}

/* 2. Hero Section */
.hero-new {
    position: relative;
    height: auto;
    min-height: 600px;
    background-color: #ffffff;
    overflow: hidden;
    padding-top: 95px;
}

.hero-watermark {
    display: none;
}

/* Full-width background image — flows naturally, no cropping */
.hero-bg-wrapper {
    position: relative;
    width: 100%;
    z-index: 0;
}

.hero-bg-wrapper::after {
    display: none;
}

/* Bottom fade on the section itself so it stays fixed during parallax */
.hero-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1480px;
    height: 100%;
    padding: 0 4%;
    z-index: 2;
}

.hero-left {
    flex: 0 0 auto;
    width: 45%;
    z-index: 2;
    position: relative;
    padding: 60px 0;
    padding-left: 0;
}

.hero-watermark-img {
    position: absolute;
    top: 60%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: 1100px;
    object-fit: contain;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    filter: grayscale(100%);
}



/* Fade left edge of image into white background — smooth organic fade */
.hero-fade {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 18%,
            rgba(255, 255, 255, 0.95) 35%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.45) 68%,
            rgba(255, 255, 255, 0.15) 85%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-h1 {
    font-size: 3.0rem;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hw {
    color: #111111;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.08);
}

.hr {
    color: var(--accent-red);
    text-shadow: 0px 4px 12px rgba(230, 28, 36, 0.25), 0px 1px 2px rgba(0, 0, 0, 0.12);
}

.hero-p {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 36px;
    font-weight: 500;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
}

.btn-ghost {
    background-color: transparent;
    color: #111;
    border: 1px solid #000000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.btn-ghost:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
}

.play-icon {
    font-size: 0.8rem;
}

.hero-text-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin-top: 150px;
}

/* 3. Featured Games Section */
.games {
    background-color: var(--bg-light);
    position: relative;
}

.games .section-container {
    padding-top: 80px;
    padding-bottom: 60px;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.games-grid {
    display: flex;
    gap: 24px;
    margin-top: 30px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.games-grid::-webkit-scrollbar {
    display: none;
}

.game-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-dark);
    min-width: 340px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
}



.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 28, 36, 0.3);
}

.game-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.game-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 40%, #1a1a1a 60%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: shimmer 3s infinite;
}

.placeholder-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 1;
}

.genre-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-info {
    padding: 30px;
}

.game-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.game-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-learn-more svg {
    transition: transform 0.3s ease;
}

.btn-learn-more:hover {
    color: var(--accent-red);
}

.btn-learn-more:hover svg {
    transform: translateX(5px);
}

/* 4. About Studio Section */
.about {
    background-color: var(--bg-gray);
    text-align: center;
    position: relative;
}

.about .section-container {
    padding-top: 25px;
    padding-bottom: 20px;
}

.about-text {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 20px;
    color: #333;
    font-family: var(--font-alt);
    font-weight: 300;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-dark);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-red);
}

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

.value-title {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* 5. Latest News Section */
.news {
    background-color: var(--bg-light);
}

.news-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    width: 100%;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.news-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari/Opera */
}

/* News Scroll Container & Indicator Button */
.news-scroll-container {
    position: relative;
    width: 100%;
}

.news-scroll-btn {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(230, 28, 36, 0.4);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-scroll-btn:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 28, 36, 0.6);
}

.news-scroll-btn svg {
    transition: transform 0.3s ease;
}

.news-scroll-btn.at-end svg {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .news-scroll-btn {
        right: 0px;
        width: 44px;
        height: 44px;
    }
}

.news-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    align-self: flex-start;
}

.news-learn-more-btn:hover {
    color: var(--accent-red-hover);
    gap: 12px;
}

.news-learn-more-btn .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.news-learn-more-btn:hover .arrow {
    transform: translateX(4px);
}

.news-card {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 20px;
    transition: var(--transition);
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-8px);
}

.news-img-ph {
    width: 100%;
    height: 200px;
    background-color: var(--bg-gray);
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.news-img-ph::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

.news-category {
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-headline {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-date {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

/* Games Scroll Container & Indicator Button */
.games-scroll-container {
    position: relative;
    width: 100%;
}

.games-scroll-btn {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(230, 28, 36, 0.4);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.games-scroll-btn:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 28, 36, 0.6);
}

.games-scroll-btn svg {
    transition: transform 0.3s ease;
}

.games-scroll-btn.at-end svg {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .games-scroll-btn {
        right: 0px;
        width: 44px;
        height: 44px;
    }
}

/* Unified Game Cards (Games + Beta) */
.unified-games-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.unified-games-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari/Opera */
}

.unified-game-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-dark);
    width: 460px;
    min-width: 460px;
    flex-shrink: 0;
}

.unified-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(230, 28, 36, 0.2);
}

/* Card Image Area */
.unified-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.unified-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 40%, #1a1a1a 60%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.unified-card-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: shimmer 3s infinite;
}

.unified-img-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 6px;
    text-transform: uppercase;
    z-index: 1;
}

.unified-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.unified-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-red);
    padding: 6px 12px;
    border-radius: 2px;
    z-index: 2;
}

/* Card Body */
.unified-card-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unified-card-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.unified-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: none;
}

.unified-card-footer {
    display: flex;
    align-items: center;
    padding-top: 0;
    border-top: none;
}

.unified-card-meta {
    display: none;
}

.unified-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    padding: 0;
    border-radius: 0;
}

.unified-download-btn svg {
    transition: transform 0.3s ease;
}

.unified-download-btn:hover {
    color: var(--accent-red);
    transform: none;
    box-shadow: none;
}

.unified-download-btn:hover svg {
    transform: translateX(5px);
}

.unified-coming-soon-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0;
    border: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .unified-game-card {
        width: 300px;
        min-width: 300px;
    }
}

/* 7. Connect Section */
.connect-section {
    text-align: center;
    background-color: #ffffff;
    width: 100%;
}

.connect-section .section-container {
    padding-top: 30px;
    padding-bottom: 30px;
}

.connect-container {
    max-width: 800px;
    margin: 0 auto;
}

.connect-cta {
    max-width: 650px;
    margin: 0 auto 0;
}

.connect-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: #111111;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.connect-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.interest-form {
    width: 100%;
}

.interest-input-wrap {
    display: flex;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.interest-input-wrap input {
    flex: 1;
    padding: 16px 20px;
    background: #f5f5f7;
    border: none;
    color: #111111;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.interest-input-wrap input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.interest-input-wrap input:focus {
    background: #eaeaea;
}

.interest-btn {
    padding: 16px 28px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.interest-btn:hover {
    background: var(--accent-red-hover);
}

.interest-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.interest-msg {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-height: 20px;
}

.connect-social {
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 35px;
}

.connect-social-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    gap: 15px;
    transition: var(--transition);
}

.social-btn svg {
    color: #111111;
    transition: var(--transition);
}

.social-btn span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #111111;
    transition: var(--transition);
}

.social-btn:hover {
    background: #eaeaea;
    transform: translateY(-5px);
}

/* YouTube — red */
.social-btn[data-brand="youtube"]:hover {
    border-color: #FF0000;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.15);
}

.social-btn[data-brand="youtube"]:hover svg,
.social-btn[data-brand="youtube"]:hover span {
    color: #FF0000;
}

/* Discord — blurple */
.social-btn[data-brand="discord"]:hover {
    border-color: #5865F2;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.15);
}

.social-btn[data-brand="discord"]:hover svg,
.social-btn[data-brand="discord"]:hover span {
    color: #5865F2;
}

/* Instagram — gradient pink */
.social-btn[data-brand="instagram"]:hover {
    border-color: #E1306C;
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.15);
}

.social-btn[data-brand="instagram"]:hover svg,
.social-btn[data-brand="instagram"]:hover span {
    color: #E1306C;
}

/* X (Twitter) — black */
.social-btn[data-brand="x"]:hover {
    border-color: #000000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.social-btn[data-brand="x"]:hover svg,
.social-btn[data-brand="x"]:hover span {
    color: #000000;
}

/* 8. Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 35px 4% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1480px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    width: 160px;
    height: auto;
    margin-bottom: 12px;
    opacity: 1;
    border-radius: 4px;
}

.footer-brand p {
    color: #aaaaaa;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    min-width: 150px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-link-item {
    color: #888888;
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.footer-link-item:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666666;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    color: #666666;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* =============================================
   DYNAMIC ELEMENTS — CORE STYLES
   ============================================= */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--accent-red);
    border-radius: 3px;
    transition: width 0.15s ease;
}

.preloader-text {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.preloader-dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-red), #ff6b6b);
    z-index: 1001;
    transition: width 0.05s linear;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Game Filter Tabs */
.game-filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.filter-tab {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border: 1px solid var(--border-dark);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.filter-tab:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.filter-tab.active {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    padding: 30px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-red);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(230, 28, 36, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 28, 36, 0.5);
}

/* Body loaded state — prevent scroll during preloader */
body:not(.loaded) {
    overflow: hidden;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 992px)
   ============================================= */
@media (max-width: 992px) {
    .footer-links-horizontal {
        gap: 30px;
    }

    .hero-left {
        width: 50%;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 100px 40px;
        transition: 0.4s ease-in-out;
        border-left: 1px solid var(--border-color);
    }

    .nav-links a {
        color: #fff;
        font-size: 1rem;
        padding: 10px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .join-btn {
        display: none;
    }

    .nav-logo {
        height: 55px;
        width: 55px;
    }

    .logo-main {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .logo-studios {
        font-size: 0.55rem;
        letter-spacing: 3px;
    }

    .logo-line {
        width: 12px;
    }

    /* --- Hero Section --- */
    .hero-new {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* Push content to the bottom over the image */
        padding-top: 65px;
        /* height of mobile navbar */
        min-height: 93vh;
        /* Increase height (length) on mobile without affecting background ratios */
        background-color: #ffffff;
        /* Smooth fallback */
        overflow: hidden;
    }

    .hero-bg-img {
        display: block !important;
        content: url('hero_mobile.png?v=120') !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important; /* Keep original knight facing the castle orientation */
    }

    .hero-bg-wrapper {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100% - 65px);
        z-index: 0;
        overflow: hidden;
        background-image: none !important;
    }

    .hero-fade {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Smooth fade from transparent at top to solid white at bottom — no blur */
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 15%,
                rgba(255, 255, 255, 0.6) 40%,
                rgba(255, 255, 255, 0.85) 65%,
                rgba(255, 255, 255, 0.98) 80%,
                rgba(255, 255, 255, 1) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .hero-watermark-img {
        display: none;
        /* Hide watermark on mobile */
    }
    .hero-container {
        position: relative;
        z-index: 2; /* Sits on top of image and blur filter */
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        padding: 160px 6% 40px; /* Balanced vertical padding to keep elements overlayed near bottom while preventing button cutoff */
        background-color: transparent; /* Sitting directly on the blur layer */
        display: block;
        box-sizing: border-box;
    }

    .hero-left {
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .hero-text-content {
        margin-top: 0;
        max-width: 100%;
    }

    .hero-h1 {
        font-size: 2.3rem;
        /* beautiful large mobile headings */
        line-height: 1.15;
        margin-bottom: 16px;
        text-align: left;
        color: #111111;
    }

    .hero-p {
        font-size: 1.05rem;
        color: #444444;
        /* Dark gray for high-contrast legibility */
        margin-bottom: 28px;
        max-width: 100%;
        text-align: left;
        line-height: 1.5;
        font-weight: 500;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        /* Spans full width of screen container, matching the screenshot! */
        justify-content: center;
        padding: 15px 24px;
        font-size: 0.85rem;
    }

    .btn-ghost {
        background-color: transparent;
        color: #111111 !important;
        border: 1px solid #111111 !important;
    }

    .btn-ghost:hover {
        background-color: #f5f5f5 !important;
        border-color: #333333 !important;
    }

    /* --- Connect Section Mobile --- */
    .connect-section .section-container {
        padding: 30px 4%;
    }

    .connect-social {
        margin-top: 30px;
        padding-top: 20px;
    }

    .connect-title {
        font-size: 1.8rem;
    }

    .connect-subtitle {
        font-size: 0.95rem;
    }

    .interest-input-wrap {
        flex-direction: column;
        border-radius: 4px;
    }

    .interest-input-wrap input {
        border-radius: 4px 4px 0 0;
    }

    .interest-btn {
        border-radius: 0 0 4px 4px;
        padding: 14px 24px;
    }

    /* --- Section Utilities --- */
    .section-container {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* --- Games Section --- */
    .games .section-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .games-grid {
        gap: 16px;
        margin-top: 20px;
    }

    .game-card {
        min-width: 260px;
        max-width: 260px;
    }

    .game-info {
        padding: 20px;
    }

    .game-title {
        font-size: 1.3rem;
    }

    .game-desc {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    /* --- About Section --- */
    .about-text {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }

    .stat-card {
        padding: 20px 10px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 30px 20px;
    }

    /* --- Services Section --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* --- Careers Section --- */
    .careers {
        padding: 80px 5%;
    }

    .careers-title {
        font-size: 2.2rem;
    }

    .careers-text {
        font-size: 1rem;
    }

    /* --- News Section --- */
    .news-grid {
        gap: 20px;
    }

    .news-card {
        width: 290px;
        min-width: 290px;
        padding-bottom: 15px;
    }

    .news-headline {
        font-size: 1.2rem;
    }

    /* --- Social / Contact --- */
    .social-links {
        gap: 12px;
        margin-top: 24px;
    }

    .social-btn {
        width: 100px;
        height: 100px;
        gap: 10px;
    }

    .social-btn svg {
        width: 24px;
        height: 24px;
    }

    .social-btn span {
        font-size: 0.75rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 30px 5% 15px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 25px;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .footer-links-grid {
        justify-content: flex-start;
        gap: 30px 40px;
        width: 100%;
    }

    .footer-col {
        min-width: 120px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 15px;
        text-align: left;
    }

    /* --- Game Filter --- */
    .game-filter-tabs {
        justify-content: center;
    }

    /* --- Back to Top --- */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    .hero-h1 {
        font-size: 1.6rem;
    }

    .hero-p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .game-card {
        min-width: 220px;
        max-width: 220px;
    }

    .unified-game-card {
        width: 260px;
        min-width: 260px;
    }

    .news-card {
        width: 250px;
        min-width: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .social-btn {
        width: 80px;
        height: 80px;
        gap: 8px;
    }

    .social-btn svg {
        width: 20px;
        height: 20px;
    }

    .social-btn span {
        font-size: 0.65rem;
    }

    .careers-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

/* ===== NO PLATFORM GAMES MESSAGE ===== */
.no-platform-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    width: 100%;
    text-align: center;
}

.no-platform-msg span {
    font-size: 3rem;
    opacity: 0.6;
}

.no-platform-msg p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #888;
    letter-spacing: 0.5px;
}