/* CSS Variables */
:root {
  --bg: #0f1720;           /* page background (deep blue/charcoal) */
  --panel: #121a24;        /* cards/sections */
  --muted: #8fa2b5;        /* secondary text */
  --text: #e6eef7;         /* primary text */
  --accent: #2bb0ff;       /* CTA blue */
  --accent-2: #3be3cf;     /* teal accent */
  --border: #223040;       /* soft borders */
  --radius: 16px;          /* rounded cards */
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image,
.service-image,
.game-image,
.blog-image,
.team-image,
.office-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.service-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.team-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

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

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Additional image styles for new images */
.contact-hero-image img,
.privacy-hero-image img,
.cookies-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: var(--surface-2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    font-size: 0.9rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1.125rem; font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4dc3ff;
}

ul {
    list-style: none;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    section {
        padding: 64px 0;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 176, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4dc3ff 0%, #3ba8e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 176, 255, 0.5), 0 4px 15px rgba(59, 227, 207, 0.3);
    border-color: #4dc3ff;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-2);
    border: 2px solid var(--accent-2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-2) 0%, #4dd4d4 100%);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 227, 207, 0.4), 0 4px 15px rgba(43, 176, 255, 0.2);
    border-color: var(--accent-2);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #4dc3ff 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 176, 255, 0.4), 0 4px 15px rgba(59, 227, 207, 0.2);
    border-color: var(--accent);
}

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 32, 0.7);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-mark {
    flex-shrink: 0;
}

.nav-brand h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text);
    font-weight: 700;
}

.site-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.site-nav li {
    margin: 0;
}

.nav-link {
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    background-color: rgba(43, 176, 255, 0.1);
    color: var(--accent);
}

.nav-link.active {
    background-color: rgba(43, 176, 255, 0.15);
    color: var(--accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 1px;
}

.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.3);
    background-color: rgba(43, 176, 255, 0.1);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.nav-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.3);
    border-radius: 8px;
}

/* Get Started Button */
.get-started-btn {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.get-started-btn:hover {
    background: #4dc3ff;
    transform: translateY(-2px);
}

.get-started-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.3);
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

/* Smooth scroll compensation for sticky header */
html {
    scroll-padding-top: 100px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg) 0%, var(--panel) 100%);
    color: var(--text);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(43, 176, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 227, 207, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated accent gradient lines */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(43, 176, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(59, 227, 207, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
}

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

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(43, 176, 255, 0.08) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: subtleShift 6s ease-in-out infinite;
    border-radius: var(--radius);
    pointer-events: none;
}

@keyframes subtleShift {
    0%, 100% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 30%, var(--accent-2) 70%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    border-radius: 1px;
    opacity: 0.6;
}

.hero__lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Page Header */
.page-header {
    background: var(--panel);
    color: var(--text);
    text-align: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    color: var(--muted);
    font-size: 1.125rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--text);
}

/* Services Section */
.services {
    background-color: var(--bg);
    padding: 64px 0;
}

.service-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 176, 255, 0.1);
    border-radius: 16px;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text);
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Features Section */
.features {
    background-color: var(--bg);
    padding: 64px 0;
}

.features h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    background: var(--panel);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

/* Games Section */
.games {
    background-color: var(--panel);
    padding: 64px 0;
}

.game-card {
    transition: transform 0.3s ease;
}

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

.game-cover {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.cover-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-content h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text);
}

.game-content p {
    color: var(--muted);
    line-height: 1.6;
}

/* Blog Section */
.blog {
    background-color: var(--bg);
    padding: 64px 0;
}

.blog-card {
    transition: transform 0.3s ease;
}

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

.blog-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text);
}

.blog-content p {
    color: var(--muted);
    line-height: 1.6;
}

/* CTA Strip Section */
.cta-strip {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* About Page */
.about-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: var(--panel);
    color: var(--text);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.stat-card h4 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(43, 176, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 227, 207, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(43, 176, 255, 0.06) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: aboutHeroShift 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aboutHeroShift {
    0%, 100% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
}

.hero-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: var(--radius);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    backdrop-filter: blur(15px);
    z-index: 1;
}

.hero-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(43, 176, 255, 0.06) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: panelShift 8s ease-in-out infinite;
    border-radius: var(--radius);
    pointer-events: none;
}

@keyframes panelShift {
    0%, 100% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    border-radius: 1px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 0;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Story Section */
.story-section {
    background-color: var(--bg);
    padding: 80px 0;
}

.story-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text);
}

/* Team Section */
.team-section {
    background-color: var(--panel);
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.team-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

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

.team-avatar {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.team-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

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

.team-bio {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: var(--bg);
    padding: 80px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background: var(--panel);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.mission-card h2, .vision-card h2 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.mission-card p, .vision-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 0;
}

/* Offices Section */
.offices-section {
    background-color: var(--panel);
    padding: 80px 0;
}

.offices-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.office-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

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

.office-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.office-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.office-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .hero-panel {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding: 0 1rem;
    }
}

/* Services Page */
.services-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(43, 176, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 227, 207, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(43, 176, 255, 0.08) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: servicesHeroShift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes servicesHeroShift {
    0%, 100% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
}

.services-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.services-hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    border-radius: 1px;
    opacity: 0.6;
}

.services-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Services Grid Section */
.services-grid-section {
    background-color: var(--bg);
    padding: 80px 0;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(43, 176, 255, 0.03) 50%, transparent 60%);
    background-size: 200% 200%;
    transition: background-position 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 8px 25px rgba(43, 176, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.service-card:hover::before {
    background-position: 100% 100%;
}

.service-card .service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* How We Work Section */
.how-we-work-section {
    background-color: var(--panel);
    padding: 80px 0;
}

.how-we-work-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--accent);
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin: 0 2rem;
    flex: 1;
    max-width: 400px;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--accent-2);
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.cta-content .btn-primary {
    background: white;
    color: var(--accent);
    border: 2px solid white;
    font-weight: 600;
}

.cta-content .btn-primary:hover {
    background: transparent;
    color: white;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--panel) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(43, 176, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 227, 207, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(43, 176, 255, 0.03) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: statsShift 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsShift {
    0%, 100% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(43, 176, 255, 0.02) 50%, transparent 60%);
    background-size: 200% 200%;
    transition: background-position 0.3s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(43, 176, 255, 0.15);
}

.stat-card:hover::before {
    background-position: 100% 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    font-size: 1.125rem;
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #ff6b35 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: ctaShift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 150px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Reduce shadows on mobile for performance */
    .card,
    .service-card,
    .game-card,
    .blog-card,
    .stat-card,
    .office-card,
    .team-card,
    .mission-card,
    .vision-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .hero-card {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 30px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .timeline-content {
        margin: 1rem 0 0 0;
        max-width: none;
    }
    
    .timeline-number {
        align-self: flex-start;
    }
}

.service-card {
    background: var(--panel);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--accent-2);
}

.service-card ul {
    margin-top: 1.5rem;
}

.service-card li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
}

.service-card li::before {
    content: "✓";
    color: var(--accent-2);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Games Page */
.games-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.games-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

.game-card {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

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

.game-info {
    padding: 24px;
}

.game-tags {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.tag {
    background-color: rgba(59, 227, 207, 0.1);
    color: var(--accent-2);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid rgba(59, 227, 207, 0.2);
}

/* New Games Page Styles */
.games-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games-hero .hero-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.games-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

.games-hero .hero-illustration {
    max-width: 100%;
    margin: 0 auto;
}

/* Games Grid Section */
.games-grid-section {
    background-color: var(--bg);
    padding: 80px 0;
}

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

.game-card {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.game-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-cover svg {
    width: 100%;
    height: 100%;
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.game-genre {
    font-size: 1rem;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-description {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive Design for Games Page */
@media (max-width: 768px) {
    .games-hero h1 {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-card {
        margin: 0 1rem;
    }
    
    .game-info {
        padding: 1.5rem;
    }
}

/* Blog Page */
.blog-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.blog-card {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

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

.blog-info {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.badge {
    background-color: var(--accent);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.page-number {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--panel);
    color: var(--muted);
}

.page-number.active,
.page-number:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* New Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    background-color: var(--bg);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.categories-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-pill {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
}

.category-pill.active,
.category-pill:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Blog Posts Section */
.blog-posts-section {
    background-color: var(--bg);
    padding: 80px 0;
}

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

.blog-card {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: 100%;
}

.blog-info {
    padding: 2rem;
}

.blog-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
    line-height: 1.3;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--accent-2);
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-excerpt {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    padding: 80px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    background: white;
    color: var(--bg);
}

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

.newsletter-form .btn-primary {
    padding: 1rem 2rem;
    border: 2px solid white;
    background: white;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: transparent;
    color: white;
}

.newsletter-success {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-success p {
    color: white;
    margin: 0;
    font-size: 1.125rem;
}

/* Responsive Design for Blog Page */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .categories-container {
        gap: 0.75rem;
    }
    
    .category-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card {
        margin: 0 1rem;
    }
    
    .blog-info {
        padding: 1.5rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
}

/* Contact Page */
.contact-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
    color: var(--accent-2);
}

.contact-form {
    background: var(--panel);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

/* New Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--bg);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info-container h2 {
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 2rem;
}

.contact-form-container p {
    margin-bottom: 2rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-form {
    background: var(--panel);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Contact Info */
.contact-info-container p {
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--panel);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    color: white;
}

.contact-method h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-2);
    font-size: 1.125rem;
}

.contact-method p {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

/* Offices Section */
.offices-section {
    background-color: var(--panel);
    padding: 80px 0;
}

.offices-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--accent);
}

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

.office-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}

.office-card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.office-address {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.office-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    padding: 80px 0;
    text-align: center;
}

.contact-cta-section .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.contact-cta-section .btn-primary {
    background: white;
    color: var(--accent);
    border: 2px solid white;
    font-weight: 600;
}

.contact-cta-section .btn-primary:hover {
    background: transparent;
    color: white;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .office-card {
        margin: 0 1rem;
    }
    
    .contact-cta-section h2 {
        font-size: 2rem;
    }
}

/* Legal Pages */
.legal-content {
    background-color: var(--bg);
    padding: 64px 0;
}

.legal-text h3 {
    color: var(--accent);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h4 {
    color: var(--muted);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.contact-info {
    background: var(--panel);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 1px solid var(--border);
}

/* Privacy Policy Page Styles */
.privacy-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Table of Contents Section */
.toc-section {
    background-color: var(--bg);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.toc-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.toc-container h2 {
    margin-bottom: 2rem;
    color: var(--accent);
    font-size: 2rem;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toc-nav li {
    margin: 0;
}

.toc-nav a {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    font-weight: 500;
}

.toc-nav a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Privacy Content Section */
.privacy-content {
    background-color: var(--bg);
    padding: 80px 0;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-text section {
    margin-bottom: 4rem;
}

.privacy-text h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.privacy-text h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.privacy-text p {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.1rem;
}

.privacy-text .contact-details {
    background: var(--panel);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.privacy-text .contact-details h3 {
    color: var(--accent-2);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-text .contact-details p {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.privacy-text .contact-details p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Privacy Policy */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2.5rem;
    }
    
    .toc-nav ul {
        gap: 0.75rem;
    }
    
    .toc-nav a {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .privacy-text {
        padding: 0 1rem;
    }
    
    .privacy-text h2 {
        font-size: 1.75rem;
    }
    
    .privacy-text p {
        font-size: 1rem;
    }
}

/* Cookie Policy Page Styles */
.cookies-hero {
    background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cookies-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookies-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookies-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Cookie Policy Content Section */
.cookies-content {
    background-color: var(--bg);
    padding: 80px 0;
}

.cookies-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.cookies-text section {
    margin-bottom: 4rem;
}

.cookies-text h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cookies-text h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.cookies-text h3 {
    color: var(--accent-2);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.cookies-text p {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.1rem;
}

.cookies-text .last-updated {
    background: var(--panel);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
    border: 1px solid var(--border);
    text-align: center;
    font-size: 1.1rem;
}

/* Responsive Design for Cookie Policy */
@media (max-width: 768px) {
    .cookies-hero h1 {
        font-size: 2.5rem;
    }
    
    .cookies-text {
        padding: 0 1rem;
    }
    
    .cookies-text h2 {
        font-size: 1.75rem;
    }
    
    .cookies-text h3 {
        font-size: 1.25rem;
    }
    
    .cookies-text p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--panel);
    color: var(--text);
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

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

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--text);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-mark {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    transition: all 0.3s ease;
}

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

.office-info {
    margin-top: 1rem;
}

.office-location {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.office-details {
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
}

/* Cookie Consent Modal */
#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow);
}

.cookie-modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.cookie-modal-content p {
    margin-bottom: 2rem;
    color: var(--muted);
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Request Service Modal */
#request-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

#request-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.modal-form {
    display: grid;
    gap: 1.5rem;
}

.modal-form .form-group {
    margin: 0;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.1);
}

.modal-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-form button[type="submit"]:hover:not(:disabled) {
    background: #4dc3ff;
    transform: translateY(-2px);
}

.modal-form button[type="submit"]:disabled {
    background: var(--muted);
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message-success {
    background-color: rgba(59, 227, 207, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(59, 227, 207, 0.2);
}

.form-message-error {
    background-color: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Utility Classes */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.muted {
    color: var(--muted);
}

.pill {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--panel);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pill:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }
    
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--panel);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero responsive */
    .hero-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Section titles responsive */
    .section-title {
        font-size: 2rem;
    }

    /* CTA responsive */
    .cta-title {
        font-size: 2rem;
    }
}

    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-grid,
    .games-grid,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .games-filters {
        justify-content: center;
    }

    .filter-btn {
        margin-bottom: 0.5rem;
    }
    
    section {
        padding: 48px 0;
    }

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .card {
        padding: 20px;
    }
    
    .hero__lead {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions for interactive elements */
button, a, .nav-link, .filter-btn {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 176, 255, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Performance optimizations */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover,
    .service-card:hover,
    .game-card:hover,
    .blog-card:hover {
        transform: none;
    }
}
