/**
 * JCM Studios - Modern Brutalism Design System
 * A bold, contemporary design featuring oversized typography, dramatic contrast,
 * and immersive visual experiences
 */

/* ====================================
   RESET & BASE
   ==================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ====================================
   CSS VARIABLES
   ==================================== */

:root {
    /* Colors - Primary */
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-dark: #000000;
    --bg-dark-blue: #0A0A1F;
    
    /* Colors - Text */
    --text-primary: #000000;
    --text-secondary: #FFFFFF;
    --text-tertiary: #666666;
    --text-accent: #FF4C4C;
    
    /* Colors - Accent */
    --accent-red: #FF4C4C;
    --accent-orange: #FF6B35;
    --gradient-rainbow: linear-gradient(180deg, #FFE500 0%, #FF6B00 25%, #FF0040 50%, #8B00FF 75%, #0066FF 100%);
    --gradient-warm: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    
    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    --spacing-4xl: 128px;
    --spacing-5xl: 192px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 76, 76, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.6s ease-in-out;
    
    /* Layout */
    --max-width: 1440px;
    --nav-height: 80px;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 12vw, 240px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 96px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.card-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.2;
}

.body-text {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}

.body-text-lg {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.label-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ====================================
   LAYOUT & CONTAINERS
   ==================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.section {
    padding: var(--spacing-5xl) 0;
}

.section-sm {
    padding: var(--spacing-3xl) 0;
}

/* Full height sections */
.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================
   NAVIGATION
   ==================================== */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.nav-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo span {
    display: none;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--transition-base);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
}

.nav-toggle-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language selector */
.language-selector {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-pill);
    background-color: var(--bg-light);
    transition: background-color var(--transition-base);
}

.language-button:hover {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    right: 0;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: left;
    transition: background-color var(--transition-base);
}

.language-option:hover {
    background-color: var(--bg-light);
}

/* ====================================
   BUTTONS
   ==================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
}

.btn-primary:hover {
    background-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--bg-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: blur(20px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 235, 59, 0.15) 0%, 
        rgba(255, 152, 0, 0.2) 25%, 
        rgba(255, 64, 129, 0.25) 50%, 
        rgba(156, 39, 176, 0.2) 75%, 
        rgba(33, 150, 243, 0.15) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 245, 245, 0.85) 100%);
}

/* Geometric patterns */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 0, 255, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Additional geometric shapes */
.hero-patterns {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
    pointer-events: none;
}

.hero-pattern-circle {
    position: absolute;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-pattern-circle.circle-1 {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
}

.hero-pattern-circle.circle-2 {
    bottom: 25%;
    right: 20%;
    width: 200px;
    height: 200px;
    animation-direction: reverse;
    animation-duration: 25s;
}

.hero-pattern-square {
    position: absolute;
    border: 3px solid var(--accent-red);
    transform: rotate(45deg);
    animation: rotate 15s linear infinite reverse;
}

.hero-pattern-square.square-1 {
    top: 15%;
    right: 25%;
    width: 100px;
    height: 100px;
}

.hero-pattern-square.square-2 {
    bottom: 30%;
    left: 25%;
    width: 120px;
    height: 120px;
    animation-duration: 18s;
}

.hero-pattern-square.square-3 {
    top: 50%;
    left: 15%;
    width: 80px;
    height: 80px;
    border-color: var(--accent-orange);
    animation-duration: 22s;
}

.hero-pattern-square.square-4 {
    top: 40%;
    right: 15%;
    width: 90px;
    height: 90px;
    border-color: #8B00FF;
    animation-duration: 16s;
    animation-direction: reverse;
}

/* Triangle patterns */
.hero-pattern-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    animation: rotate 20s linear infinite;
}

.hero-pattern-triangle.triangle-1 {
    top: 35%;
    left: 20%;
    border-width: 0 50px 86.6px 50px;
    border-color: transparent transparent var(--accent-red) transparent;
    opacity: 0.15;
    animation-duration: 24s;
}

.hero-pattern-triangle.triangle-2 {
    bottom: 35%;
    right: 25%;
    border-width: 86.6px 50px 0 50px;
    border-color: var(--accent-orange) transparent transparent transparent;
    opacity: 0.15;
    animation-duration: 28s;
    animation-direction: reverse;
}

.hero-pattern-triangle.triangle-3 {
    top: 60%;
    right: 10%;
    border-width: 0 40px 69.3px 40px;
    border-color: transparent transparent #0066FF transparent;
    opacity: 0.15;
    animation-duration: 19s;
}

/* Circle patterns (additional) */
.hero-pattern-circle.circle-3 {
    top: 45%;
    right: 35%;
    width: 100px;
    height: 100px;
    border-color: #FF0040;
    animation-duration: 30s;
}

.hero-pattern-circle.circle-4 {
    top: 70%;
    left: 30%;
    width: 120px;
    height: 120px;
    border-color: #0066FF;
    animation-duration: 22s;
    animation-direction: reverse;
}

.hero-pattern-circle.circle-5 {
    top: 25%;
    left: 35%;
    width: 80px;
    height: 80px;
    border-color: #FFE500;
    animation-duration: 26s;
}

/* Hexagon patterns */
.hero-pattern-hexagon {
    position: absolute;
    width: 100px;
    height: 57.74px;
    background: transparent;
    border-left: 3px solid var(--accent-orange);
    border-right: 3px solid var(--accent-orange);
    opacity: 0.15;
    animation: rotate 25s linear infinite;
}

.hero-pattern-hexagon::before,
.hero-pattern-hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    left: -3px;
}

.hero-pattern-hexagon::before {
    bottom: 100%;
    border-bottom: 28.87px solid var(--accent-orange);
}

.hero-pattern-hexagon::after {
    top: 100%;
    border-top: 28.87px solid var(--accent-orange);
}

.hero-pattern-hexagon.hex-1 {
    top: 55%;
    left: 5%;
    animation-duration: 35s;
}

.hero-pattern-hexagon.hex-2 {
    top: 20%;
    right: 10%;
    animation-duration: 30s;
    animation-direction: reverse;
}

/* Line patterns */
.hero-pattern-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-red) 50%, transparent 100%);
    opacity: 0.1;
    animation: lineMove 15s ease-in-out infinite;
}

.hero-pattern-line.line-1 {
    top: 30%;
    left: 0;
    right: 0;
    animation-delay: 0s;
}

.hero-pattern-line.line-2 {
    top: 65%;
    left: 0;
    right: 0;
    animation-delay: 5s;
}

.hero-pattern-line.line-3 {
    top: 80%;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
    animation-delay: 10s;
}

@keyframes lineMove {
    0%, 100% {
        transform: translateX(-10%) scaleX(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(0%) scaleX(1);
        opacity: 0.1;
    }
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-2xl);
}

.hero-tagline {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    color: var(--text-tertiary);
    margin-top: var(--spacing-md);
}

.hero-location {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-top: var(--spacing-sm);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-tertiary);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all var(--transition-base);
}

.scroll-indicator:hover {
    color: var(--accent-red);
    transform: translateX(-50%) scale(1.05);
}

.scroll-indicator-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ====================================
   VIDEO SECTION
   ==================================== */

.video-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    overflow: hidden;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%) scale(1.15);
    object-fit: cover;
    pointer-events: none;
    background: #000;
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 100vw;
        height: 56.25vw;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.video-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-2xl);
}

.video-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-secondary);
}

.video-subtitle {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    margin-top: var(--spacing-md);
}

.video-description {
    font-size: 18px;
    line-height: 1.7;
    margin-top: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.store-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.store-badge {
    height: 50px;
    width: auto;
    transition: transform var(--transition-base);
}

.store-badge:hover {
    transform: scale(1.05);
}

/* ====================================
   CARDS & GRIDS
   ==================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.game-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Cleaner look: subtle border instead of heavy shadow */
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.game-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-light);
    /* Add a subtle bottom border to separate image from white content */
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.game-card-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    width: fit-content;
    display: inline-block;
    line-height: 1.2;
}

.game-card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--accent-orange);
    width: 0;
    transition: width var(--transition-base);
}

.game-card:hover .game-card-title::after {
    width: 100%;
}

.game-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.game-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(0,0,0,0.05); /* Subtle separator for actions */
    margin-top: auto;
}

.game-card-store-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.game-card-store-badge {
    height: 36px; /* Slightly smaller for better proportion */
    width: auto;
    transition: transform var(--transition-base);
    opacity: 0.9;
}

.game-card-store-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

.game-card-link {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    background-color: transparent;
    color: var(--text-tertiary);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all var(--transition-base);
}

.game-card-link:hover {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    border-color: var(--bg-dark);
}

/* ====================================
   TEAM SECTION
   ==================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.team-member {
    text-align: center;
}

.team-member-photo {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.team-member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.team-member-title {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
}

.team-member-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.team-member-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--accent-red);
    transform: translateY(-2px);
}

/* Responsive team page */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   CONTACT PAGE
   ==================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-xl);
    align-items: start;
}

/* Form Styling */
.contact-form {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background-color: var(--bg-white);
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

/* Contact Info Cards (Right Column) */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info-card {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-content p,
.contact-info-content a {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.contact-info-content a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* Responsive Contact */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    font-size: 16px;
    opacity: 0.8;
    transition: opacity var(--transition-base);
    position: relative;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--accent-orange);
    width: 0;
    transition: width var(--transition-base);
}

.footer-link:hover {
    opacity: 1;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ====================================
   UTILITIES
   ==================================== */

.text-center {
    text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mt-3xl { margin-top: var(--spacing-3xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }

.hidden {
    display: none !important;
}

/* Connect list */
.connect-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 720px;
    margin: 0 auto;
}

.connect-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content */
    padding: var(--spacing-md) 0 var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    color: #fff;
    text-decoration: none;
}

/* Remove the previous full-width underline on the item */
.connect-item::after {
    display: none; 
}

.connect-item-label {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative; /* Position for the underline */
    display: inline-block;
}

/* Add underline to the label (words) */
.connect-item-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px; /* Spacing from text */
    height: 3px; /* Thicker line */
    background-color: var(--accent-orange); /* Orange color */
    width: 0;
    transition: width var(--transition-base);
}

.connect-item:hover .connect-item-label::after {
    width: 100%;
}

/* ====================================
   ANIMATIONS
   ==================================== */

/* Base reveal class */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.stagger-grid > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-grid.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-grid.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-grid.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-grid.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-grid.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-grid.is-visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-grid.is-visible > *:nth-child(6) { transition-delay: 0.6s; }

/* Fade in without movement */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.is-visible {
    opacity: 1;
}

/* Scale up (good for badges/images) */
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-up.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Responsive for founder card on team page */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: var(--spacing-2xl);
        padding-bottom: var(--spacing-3xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: var(--spacing-lg) 0;
        font-size: 20px;
        text-align: center;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .video-cta {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Founder card mobile responsive */
    .container > div > div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        padding: var(--spacing-xl) !important;
        gap: var(--spacing-xl) !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
