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

:root {
    --dark-bg: #1a2332;
    --darker-bg: #0f1419;
    --accent-green: #6ee7b7;
    --accent-teal: #5eead4;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #bfc9d6;
    --card-bg: #1e293b;
    --card-background: #1e293b;
    --border-color: #334155;
    
    /* Spacing variables for consistency */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border radius variables */
    --border-radius-small: 6px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.menu-open {
    overflow: hidden;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--darker-bg);
}

/* Ensure content is above starfield */
nav, section, footer, .content-banner, .updates-notification {
    position: relative;
    z-index: 1;
}

/* Ensure navigation is above all content */
nav {
    z-index: 100;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    font-family: 'Cinzel', serif;
    font-weight: 500;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    opacity: 1 !important;
    filter: none !important;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Ensure hamburger button is always visible and clickable */
.mobile-menu-toggle {
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}

/* Primary CTA - Most important action */
.cta-primary {
    background: var(--accent-green);
    color: var(--dark-bg);
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    width: 220px;
    white-space: nowrap;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

/* Secondary CTA - Important but not primary */
.cta-secondary {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.cta-secondary:hover {
    background: var(--accent-green);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Tertiary CTA - Supporting actions */
.cta-tertiary {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-block;
}

.cta-tertiary:hover {
    color: var(--accent-green);
}

/* Hero Section with Stacked Cards */
.hero {
    position: relative;
    min-height: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 5% 5rem 5%;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

.hero-text {
    z-index: 2;
    max-width: 450px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-text h1 .accent {
    color: var(--accent-green);
}

.accent-green {
    color: var(--accent-green);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Center-Focused Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 400px;
    height: 500px;
    perspective: 1000px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Center (active) slide */
.carousel-slide.active {
    z-index: 3;
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Previous slide - left side, partially hidden */
.carousel-slide.prev {
    z-index: 2;
    transform: translateX(-60%) scale(0.85);
    opacity: 0.6;
    filter: brightness(0.7);
}

/* Next slide - right side, partially hidden */
.carousel-slide.next {
    z-index: 2;
    transform: translateX(60%) scale(0.85);
    opacity: 0.6;
    filter: brightness(0.7);
}

/* Hidden slides */
.carousel-slide.hidden {
    z-index: 1;
    transform: scale(0.7);
    opacity: 0;
    pointer-events: none;
}

.carousel-slide.prev:hover,
.carousel-slide.next:hover {
    opacity: 0.8;
    filter: brightness(0.85);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: var(--accent-green);
    width: 30px;
    border-radius: 5px;
}

/* Content Banner Section */
.content-banner {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.2), rgba(94, 234, 212, 0.2));
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}


/* Important Updates Notification */
.updates-notification {
    max-width: 600px;
    margin: 1.5rem auto;
    padding: 0.9rem 1.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    animation: subtlePulse 3s ease-in-out infinite;
}

.notification-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notification-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: center;
}

.notification-text strong {
    color: var(--accent-gold);
    font-weight: 600;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 15px 3px rgba(245, 158, 11, 0.2);
    }
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.content-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--accent-green);
    text-align: center;
}

.content-banner p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.content-banner .cta-primary {
    display: inline-block;
}

.community-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.community-buttons .cta-primary {
    min-width: 200px;
    flex: 1;
    max-width: 220px;
}

/* Disabled elements styling */
.disabled {
    text-decoration: line-through;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Disabled button styling - maintains button appearance but crossed out */
.cta-primary.disabled {
    background: rgba(110, 231, 183, 0.3);
    color: rgba(30, 41, 59, 0.6);
    text-decoration: line-through;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-primary.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Disabled link styling - looks exactly like normal link but non-clickable */
.cta-tertiary.disabled {
    cursor: not-allowed;
    pointer-events: none;
}


/* Section Styling */
section {
    padding: 5rem 5% 0rem 5%;
    /* max-width: 1400px; */
    margin: 0 auto;
    overflow-x: hidden; /* Prevent horizontal scroll in sections */
}

#worlds {
    padding: 3rem 5%;
}

.section-divider {
    width: 80%;
    height: 2px;
    background: var(--border-color);
    margin: 3rem auto;
    border-radius: 1px;
    opacity: 0.6;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* Featured Games Gallery */
.games-gallery-wrapper {
    position: relative;
    max-width: 75rem;
    margin: 0 auto;
}

/* CTA Centering */
.cta-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.games-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.game-card:only-child {
    grid-column: 2;
  }

.game-card-image {
    width: 100%;
    height: 200px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

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

.status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(8px);
}

.game-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.game-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    flex: 1;
}

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

/* Game Gallery Styles */
.game-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Show gallery on hover - only if gallery has images */
.game-card:hover .game-gallery:not(:empty) {
    display: flex;
}

/* Only hide main image when gallery is visible and has content */
.game-card:hover .game-gallery:not(:empty) ~ img:first-child {
    opacity: 0;
}

.tag {
    padding: 0.3rem 0.75rem;
    background: rgba(110, 231, 183, 0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
}


/* Footer Newsletter */
.footer-newsletter {
    text-align: center;
}

.newsletter-icon {
    font-size: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 1rem 1.25rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-green);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-secondary);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.subscribe-btn {
    padding: 1rem 2rem;
    background: var(--accent-green);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.subscribe-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Newsletter alerts */
.newsletter-alert {
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.newsletter-alert-success {
    background-color: rgba(16, 191, 122, 0.1);
    border: 1px solid rgba(16, 191, 122, 0.3);
    color: #0c905c;
}

.newsletter-alert-error {
    background-color: rgba(242, 100, 59, 0.1);
    border: 1px solid rgba(242, 100, 59, 0.3);
    color: #ea4110;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter form spinner */
.formkit-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.formkit-spinner > div {
    width: 12px;
    height: 12px;
    background-color: currentColor;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    margin: 0 2px;
}

.formkit-spinner > div:nth-child(1) {
    animation-delay: -0.32s;
}

.formkit-spinner > div:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    margin: 0 auto;
    padding: 2rem 5% 2rem 5%;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.footer-main {
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: start;
}


.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    gap: 2rem;
    justify-self: center;
    align-self: stretch;
}

.footer-column h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
}

.footer-newsletter h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    justify-content: space-between;
}

.footer-column a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    width: 100%;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}


/* Worlds Section */
.worlds-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 75rem;
    gap: 2rem;
    margin: 0 auto 3rem;
}

.world-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.world-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-teal);
}

.world-card-image {
    width: 100%;
    height: 250px;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.world-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 10em;
}

.world-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.world-card-header h3 {
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.games-count {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
}

.world-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
}

.world-card-footer {
    padding: 1rem 2rem;
    background: rgba(110, 231, 183, 0.05);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.world-card-footer:hover {
    background: rgba(110, 231, 183, 0.2);
}

/* Game grid for individual world pages (full game cards) */
.world-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

/* Game grid for worlds page (small game previews within world cards) */
.world-card-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.world-game-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.world-game-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.world-game-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.world-game-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}


/* Games Page Styles */
.games-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* Additional styles for games page specific elements */
.game-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-tag {
    background: rgba(110, 231, 183, 0.1);
    color: var(--accent-green);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(110, 231, 183, 0.2);
}

/* Games page specific card styles */
.game-card-games {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.game-card-games:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.game-card-games .game-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.game-card-games .status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(8px);
}

.game-card-games .game-card-content {
    padding: 1.5rem;
    flex: 1;
}

.game-card-games h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    font-family: 'Cinzel', serif;
}

.game-card-games p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-card-games .game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.game-card-games .tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card-games .game-card-footer {
    padding: 1rem 1.5rem;
    background: rgba(110, 231, 183, 0.05);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: auto;
    cursor: pointer;
}

.game-card-games .game-card-footer:hover {
    background: rgba(110, 231, 183, 0.2);
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-carousel {
        max-width: 100%;
    }

    .carousel-track {
        width: 350px;
        height: 450px;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }
    
    .carousel-btn.next {
        right: 0.5rem;
    }

    .games-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .worlds-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        margin-bottom: 3rem;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 150px);
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }

    /* Content Banner Mobile */
    .content-banner {
        padding: 3rem 0;
    }

    .banner-content {
        padding: 0 1rem;
    }

    .content-banner h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .content-banner p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .community-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .community-buttons .cta-primary {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
        flex: none;
    }

    .hero-carousel {
        max-width: 100%;
        height: 450px;
    }

    .carousel-track {
        width: 300px;
        height: 400px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }
    
    .carousel-btn.next {
        right: 0.5rem;
    }

    .carousel-slide.prev {
        transform: translateX(-70%) scale(0.75);
    }

    .carousel-slide.next {
        transform: translateX(70%) scale(0.75);
    }

    .games-gallery {
        grid-template-columns: 1fr;
    }

    .worlds-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark-bg);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 9999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

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

    .nav-links li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 10001;
    }

    /* Mobile overlay - disabled to prevent hamburger button issues */
    .nav-overlay {
        display: none;
    }
    
    .mobile-overlay {
        display: none;
    }
    
    /* Better visual effect without overlay interference */
    body.menu-open {
        background: var(--darker-bg);
    }
    
    body.menu-open nav {
        background: var(--dark-bg);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    /* Darken content sections when menu is open */
    body.menu-open section {
        opacity: 0.7;
        filter: brightness(0.8);
    }
    
    /* Keep navigation bright */
    body.menu-open nav {
        opacity: 1 !important;
        filter: none !important;
    }

    footer {
        padding: 2rem 5% 2rem 5%;
    }

    .footer-main {
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-newsletter {
        text-align: center;
        padding: 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        justify-self: center;
        max-width: 100%;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }


}

/* About Page Styles */

/* Page Hero */
.page-hero {
    padding: 5rem 5% 6rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

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

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-family: 'Space Grotesk', sans-serif;
}

/* Mission Section */
.mission-section {
    padding: 5rem 5%;
    /*background: var(--darker-bg);*/
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.mission-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-image {
    width: 100%;
    height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Values Section */
.values-section {
    padding: 5rem 5%;
    background: var(--dark-bg);
    text-align: center;
}

.values-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Space Grotesk', sans-serif;
}

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

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

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%) brightness(200%);
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-green);
}

.value-card p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: 5rem 5%;
    background: var(--darker-bg);
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.team-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.team-member {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
}

.member-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.8), rgba(94, 234, 212, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(26, 35, 50, 0.9);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.member-social a:hover {
    background: var(--dark-bg);
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-green);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.member-role {
    color: var(--accent-teal);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design for Team Section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-image {
        height: 240px;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .team-section .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 5%;
    }
    
    .member-image {
        height: 200px;
    }
    
    .member-info {
        padding: 1.25rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
}


/* Journey Section */
.journey-section {
    padding: 5rem 5%;
    /*background: var(--darker-bg);*/
}

/* Timeline Styles */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.timeline-item:nth-child(odd) {
    grid-template-areas: "year content";
}

.timeline-item:nth-child(even) {
    grid-template-areas: "content year";
}

.timeline-year-side {
    grid-area: year;
}

.timeline-content {
    grid-area: content;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--darker-bg);
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-year-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    height: 100%;
    position: relative;
    align-self: center;
}

.timeline-item:nth-child(odd) .timeline-year-side {
    justify-content: flex-end;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-year-side {
    justify-content: flex-start;
    align-items: center;
}

.timeline-year-side .timeline-year {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(110, 231, 183, 0.2);
    color: var(--accent-green);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Responsive for About Page */
@media (max-width: 1024px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-dot {
        left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        order: 1;
    }
    
    .timeline-item:nth-child(even) .timeline-year-side {
        order: 2;
    }
}

/* World Page Specific Styles */

/* World Hero Banner */
.world-hero {
    padding: 5rem 5% 5rem 5%;
    border-bottom: 1px solid var(--border-color);
}

.world-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.world-hero-image {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.world-hero-text {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wiki-link {
    margin: 0 auto;
}

.wiki-link a {
    font-size: 1rem;
    display: inline-block;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.world-banner {
    width: 100%;
}

.world-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.world-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Game Hero Banner */
.game-hero {
    padding: 3rem 5% 3rem 5%;
}

.game-hero-content {
    max-width: 1200px;
    margin: 3% auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.game-hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-hero-left .wiki-link {
    align-self: flex-end;
}

/* Screenshots Card */
.screenshots-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Card Title Styles */
.card-title {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.card-title-accent-green {
    color: var(--accent-green);
}

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

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

/* Game Details Section */
.game-details {
    padding: 0rem 5% 3rem;
}

.game-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 3rem;
}

.game-details-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-details-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.key-features-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.game-developers-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.world-section-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.world-section-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.world-image {
    flex: 0 0 200px;
}

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

.world-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.world-description-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

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

.other-games h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.other-games-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.other-game-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--darker-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.other-game-item:hover {
    background: var(--card-background);
    transform: translateY(-2px);
}

.other-game-image {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

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

.other-game-content {
    flex: 1;
}

.other-game-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.other-game-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}


.developers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.developer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.developer-row:last-child {
    border-bottom: none;
}

.developer-role {
    color: var(--text-secondary);
    font-weight: 500;
}

.developer-name {
    color: var(--text-primary);
    font-weight: 600;
}


.features-mechanics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.features-section h3,
.mechanics-section h3 {
    font-size: 1.2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-section ul,
.mechanics-section ul {
    list-style: none;
    padding: 0;
}

.features-section li,
.mechanics-section li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.features-section li::before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

.mechanics-section li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.game-info-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}


.info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-section p {
    color: var(--text-secondary);
    margin: 0;
}

.tags-list,
.platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--accent-purple);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--accent-purple);
}

.synopsis-card {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}


.synopsis-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.back-to-games {
    text-align: center;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.back-to-games .cta-tertiary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-games .cta-tertiary:hover {
    color: var(--accent-green);
}

/* Medium screen responsiveness for game details */
@media (max-width: 1024px) {
    .game-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .world-section-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .world-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .world-info {
        text-align: center;
    }
    
    .world-info .cta-secondary {
        display: inline-block;
        margin: 0 auto;
    }
    
    .other-games {
        text-align: center;
    }
    
    .other-games h3 {
        text-align: center;
    }
}

/* Mobile responsiveness for game details */
@media (max-width: 768px) {
    .game-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .world-section-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .world-image {
        flex: none;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .world-info {
        text-align: center;
    }
    
    .world-info .cta-secondary {
        display: inline-block;
        margin: 0 auto;
    }
    
    .other-games {
        text-align: center;
    }
    
    .other-games h3 {
        text-align: center;
    }

    .features-mechanics-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .key-features h2,
    .game-info-card h2,
    .synopsis-card h2 {
        /*text-align: center;*/
    }

    .features-section h3,
    .mechanics-section h3 {
        /*text-align: center;*/
    }

    .tags-list,
    .platforms-list {
        justify-content: center;
    }

    .back-to-games {
        text-align: center;
    }
}

.game-hero-right {
    flex: 1;
}

.game-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* World Features */
.world-features {
    padding: 3rem 5%;
    background: var(--dark-bg);
}

.features-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.indicator {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--dark-bg);
}

.indicator.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--dark-bg);
}

.features-carousel {
    position: relative;
    width: 90%;
    margin: 2rem auto 0;
}

.carousel-content {
    position: relative;
    justify-self: center;
}

.feature-slide {
    display: none;
}

.feature-slide.active {
    display: block;
}

.features-carousel .carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

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

.carousel-controls .btn-prev {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls .btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls .carousel-btn {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
}

.carousel-controls .carousel-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: scale(1.1);
}

.features-carousel .carousel-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.feature-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-green);
    font-family: 'Cinzel', serif;
    margin-bottom: 2rem;
}

.feature-description {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.9;
    font-family: 'Space Grotesk', sans-serif;
    text-align: justify;
    font-weight: 400;
}

.feature-description p {
    margin-bottom: 1.5rem;
}

.feature-description p:last-child {
    margin-bottom: 0;
}

.feature-description strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* Mobile responsive for world features */
@media (max-width: 768px) {
    .feature-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-description {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .features-carousel .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-controls {
        gap: 1rem;
        margin-top: 1rem;
    }
}

/* World Games Section */
.world-games {
    padding: 5rem 5%;
}

.world-games .game-card {
    display: flex;
    flex-direction: column;
}

.world-games .game-card-content {
    flex: 1;
}

.game-card-footer {
    padding: 1rem 1.5rem;
    background: rgba(110, 231, 183, 0.05);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: auto;
}

.game-card-footer:hover {
    background: rgba(110, 231, 183, 0.2);
}

.game-card-cta {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    cursor: pointer;
}

.back-to-worlds {
    text-align: center;
}

.back-to-worlds a {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* World Page Responsive */
@media (max-width: 1024px) {
    .world-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .world-card-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-title {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .world-hero {
        padding: 2rem 5% 3rem;
    }
    
    .world-hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .world-description {
        font-size: 1rem;
    }
    
    .game-hero {
        padding: 2rem 5% 3rem;
    }
    
    .game-hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .game-description {
        font-size: 1rem;
    }
    
    .world-features {
        padding: 3rem 5%;
    }
    
    .features-carousel .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .carousel-controls {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .feature-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-description {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .feature-content {
        padding: 1.5rem 0.5rem;
        max-width: 90%;
    }
    
    .feature-title {
        font-size: 1.5rem;
        text-align: center !important;
    }
    
    .world-games-grid {
        grid-template-columns: 1fr;
    }
    
    .world-card-games-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.mb-1-5 {
    margin-bottom: 1.5rem;
}

/* Team Members Grid */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    column-gap: 1rem;
    row-gap: 2.5rem;
    margin-top: 0.5rem;
}

.team-member-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    margin: 1rem 2rem 0rem;
}

.team-member-circle:hover {
    transform: scale(1.05);
}

.team-member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-teal);
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.team-member-circle:hover .team-member-avatar {
    border-color: var(--accent-gold);
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-green);
    text-align: center;
    margin: 0;
    margin-top: 0.75rem;
}

.team-member-class {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    margin-top: 0.25rem;
    font-style: italic;
    max-width: 150px;
}

/* Responsive Team Grid */
@media (max-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(3, auto);
        column-gap: 0.75rem;
        row-gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-members-grid {
        grid-template-columns: repeat(2, auto);
        column-gap: 0.5rem;
        row-gap: 1.75rem;
    }
    
    .team-member-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .team-members-grid {
        grid-template-columns: repeat(2, auto);
        column-gap: 0.25rem;
        row-gap: 1.5rem;
    }
    
    .team-member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .team-member-name {
        font-size: 1rem;
    }
    
    .team-member-class {
        font-size: 0.8rem;
    }
}

/* Design Philosophy Page Styles */
.philosophy-section {
    margin: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.philosophy-section:nth-child(odd) {
    flex-direction: row-reverse;
}

.philosophy-section-title {
    flex: 0 0 33.333%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.philosophy-section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    margin: 0;
    position: relative;
}

.philosophy-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-green));
}

.philosophy-section-content {
    flex: 0 0 66.667%;
    padding: 2rem;
}

.principle-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.principle-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
}

/* Responsive Design Philosophy */
@media (max-width: 768px) {
    .philosophy-section {
        flex-direction: column !important;
        margin: 3rem 0;
        min-height: auto;
    }
    
    .philosophy-section-title {
        flex: none;
        padding: 1rem 2rem;
        margin-bottom: 2rem;
    }
    
    .philosophy-section-title h2 {
        font-size: 2rem;
    }
    
    .philosophy-section-content {
        flex: none;
        padding: 0 2rem;
    }
    
    .principle-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .principle-card h3 {
        font-size: 1.3rem;
    }
    
    .principle-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .philosophy-section {
        margin: 2rem 0;
    }
    
    .philosophy-section-title {
        padding: 1rem;
    }
    
    .philosophy-section-title h2 {
        font-size: 1.8rem;
    }
    
    .philosophy-section-content {
        padding: 0 1rem;
    }
    
    .principle-card {
        padding: 1.25rem;
    }
    
    .principle-card h3 {
        font-size: 1.2rem;
    }
}