:root {
    --bg-primary: #1A0F0A;
    --border-primary: #2d1b13;
    --bg-tertiary: #573d2a;
    --page-secondary: #573d2a;
    --page-secondary-hover: #6b4a35;
    --page-primary: #fefefe;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
}

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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--page-primary);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header - Fixed to top */
header {
    background-color: rgba(26, 15, 10, 0.98);
    border-bottom: 1px solid var(--border-primary);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.announcement-bar {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: rgb(147, 197, 253);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.announcement-content {
    max-width: 1440px;
    margin: 0 auto;
}

#announcement-text {
    transition: opacity 0.3s ease;
}

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

main.container {
    padding-top: 180px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0;
    text-decoration: none;
}

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

.logo-kambex {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 27px;
    background: linear-gradient(135deg, #fefefe 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-labs {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1;
}

.nav-left {
    display: flex;
    gap: 1rem;
    margin-left: 3rem;
}

.header-right {
    display: flex;
    gap: 2.5rem;
    margin-left: 2rem;
    margin-bottom: 0.5rem;
}

.nav-btn, .nav-btn-secondary, .nav-btn-primary {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

.nav-btn {
    padding: 0.625rem 1.5rem;
    background-color: var(--page-secondary);
    color: var(--page-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: 1px solid var(--border-primary);
    display: inline-block;
}

.nav-btn:hover {
    background-color: var(--page-secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn-secondary {
    padding: 0.625rem 1.5rem;
    background-color: var(--page-secondary);
    color: var(--page-primary);
    text-decoration: none;
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-block;
}

.nav-btn-secondary:hover {
    background-color: var(--page-secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn-primary {
    padding: 0.625rem 1.5rem;
    background-color: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: 1px solid var(--accent-red);
    display: inline-block;
}

.nav-btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--page-primary);
}

h2 {
    font-size: 2rem;
    color: var(--page-primary);
}

/* Hero Section - Full bleed, no box */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    margin: 0 -2rem 4rem -2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(26, 15, 10, 0.95) 50%, rgba(220, 38, 38, 0.1) 100%);
    position: relative;
    border-bottom: 1px solid var(--border-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    font-weight: 700;
}

.hero > p {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background-color: rgba(26, 15, 10, 0.7);
    border: 1px solid rgba(220, 38, 38, 0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-subtext {
    margin-top: 2rem;
    font-size: 1rem;
    color: #9ca3af;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background-color: var(--page-secondary);
}

.btn-secondary:hover {
    background-color: var(--page-secondary-hover);
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1rem;
}

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

.btn-large {
    padding: 1.3rem 3.5rem;
    font-size: 1.25rem;
}

/* Featured Game Section - Boxed */
.featured-game {
    background: linear-gradient(135deg, rgba(45, 27, 19, 0.5) 0%, rgba(26, 15, 10, 0.7) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

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

.game-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.game-feature-card {
    background-color: rgba(15, 7, 5, 0.4);
    border: 1px solid rgba(87, 61, 42, 0.4);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.game-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.game-feature-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Features Grid - No container box, full width with spacing */
.features-grid {
    margin: 6rem 0;
}

.features-grid h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(87, 61, 42, 0.25) 0%, rgba(26, 15, 10, 0.6) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1rem;
}

/* DDoS Protection - Full width colored section */
.ddos-protection {
    margin: 6rem -2rem;
    padding: 2rem 2rem;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.08) 0%, rgba(26, 15, 10, 0.9) 50%, rgba(220, 38, 38, 0.08) 100%);
}

.ddos-protection h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #e5e7eb;
    max-width: 850px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

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

.protection-category {
    background-color: rgba(26, 15, 10, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
}

.protection-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fca5a5;
    font-family: 'Playfair Display', serif;
}

.protection-category ul {
    list-style: none;
    padding: 0;
}

.protection-category ul li {
    padding: 0.9rem 0;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(87, 61, 42, 0.3);
    font-size: 0.95rem;
}

.protection-category ul li:last-child {
    border-bottom: none;
}

.protection-guarantee {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    background-color: rgba(220, 38, 38, 0.15);
    border: 2px solid rgba(220, 38, 38, 0.4);
    border-radius: 10px;
    color: #fecaca;
    font-weight: 600;
    font-size: 1.05rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.protection-guarantee small {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Solutions - Minimal container */
.custom-solutions {
    margin: 6rem 0;
}

.custom-solutions h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: linear-gradient(135deg, rgba(45, 27, 19, 0.4) 0%, rgba(87, 61, 42, 0.25) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    background: linear-gradient(135deg, rgba(45, 27, 19, 0.6) 0%, rgba(87, 61, 42, 0.4) 100%);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.solution-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Hardware Ownership - Asymmetric layout */
.hardware-ownership {
    margin: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hardware-ownership h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.hardware-ownership > p {
    font-size: 1.15rem;
    color: #e5e7eb;
    line-height: 1.8;
    padding-right: 2rem;
}

.hardware-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    background-color: rgba(26, 15, 10, 0.5);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background-color: rgba(26, 15, 10, 0.8);
    border-left-width: 6px;
    transform: translateX(5px);
}

.spec-item strong {
    color: var(--accent-red);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

/* Custom Solutions Section */
.custom-solutions-detail {
    margin: 6rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.custom-solutions-detail h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.custom-solutions-detail > p {
    font-size: 1.15rem;
    color: #e5e7eb;
    line-height: 1.8;
    padding-right: 2rem;
}

.custom-solutions-specs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-solution-item {
    background-color: rgba(26, 15, 10, 0.5);
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-solution-item:hover {
    background-color: rgba(26, 15, 10, 0.8);
    border-left-width: 6px;
    transform: translateX(5px);
}

.custom-solution-item strong {
    color: var(--accent-red);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .custom-solutions-detail {
        grid-template-columns: 1fr;
    }
    
    .custom-solutions-detail > p {
        padding-right: 0;
        text-align: center;
    }
}

/* Extended Features - Compact grid, no heavy styling */
.extended-features {
    margin: 6rem 0;
}

.extended-features h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3rem;
}

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

.ext-feature {
    background-color: rgba(87, 61, 42, 0.15);
    border: 1px solid rgba(87, 61, 42, 0.3);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    transition: all 0.3s ease;
}

.ext-feature:hover {
    border-color: var(--accent-red);
    background-color: rgba(87, 61, 42, 0.25);
    transform: translateY(-4px);
}

.ext-feature h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.ext-feature p {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Network Map - Full bleed */
.network-map {
    margin: 6rem -2rem;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.9) 0%, rgba(45, 27, 19, 0.8) 100%);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.network-map h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.map-container {
    margin: 3rem auto;
    max-width: 1200px;
}

.location-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.location-region {
    background-color: rgba(87, 61, 42, 0.2);
    border: 1px solid rgba(87, 61, 42, 0.4);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.location-region:hover {
    background-color: rgba(87, 61, 42, 0.3);
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.location-region h3 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    color: var(--page-primary);
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
}

.location-region ul {
    list-style: none;
    padding: 0;
}

.location-region ul li {
    padding: 0.6rem 0;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.map-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: #9ca3af;
    font-style: italic;
}

/* Coming Soon - Boxed but lighter */
.coming-soon {
    margin: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.4) 0%, rgba(45, 27, 19, 0.4) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 4rem 2rem;
}

.coming-soon h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.game-pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.75rem;
    margin: 3rem 0;
}

.pipeline-game {
    background: linear-gradient(135deg, rgba(87, 61, 42, 0.25) 0%, rgba(45, 27, 19, 0.4) 100%);
    border: 1px solid rgba(87, 61, 42, 0.4);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pipeline-game:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    background: linear-gradient(135deg, rgba(87, 61, 42, 0.4) 0%, rgba(45, 27, 19, 0.6) 100%);
}

.game-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pipeline-game h4 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.badge-launch {
    display: inline-block;
    background-color: rgba(220, 38, 38, 0.2);
    border: 1px solid var(--accent-red);
    color: #fca5a5;
    padding: 0.35rem 0.9rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.newsletter-signup {
    background-color: rgba(26, 15, 10, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    max-width: 650px;
    margin: 3rem auto 0 auto;
}

.newsletter-signup h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.newsletter-signup p {
    color: #d1d5db;
    margin-bottom: 1.75rem;
}

.newsletter-signup form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-signup input[type="email"] {
    flex: 1;
    min-width: 280px;
    padding: 0.9rem 1.25rem;
    background-color: rgba(26, 15, 10, 0.8);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    color: var(--page-primary);
    font-size: 1rem;
}

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

/* Trust Indicators - No box, spacing */
.trust-indicators {
    margin: 6rem 0;
}

.trust-indicators h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3rem;
}

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

.trust-item {
    background-color: rgba(87, 61, 42, 0.2);
    border: 1px solid rgba(87, 61, 42, 0.4);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    background-color: rgba(87, 61, 42, 0.3);
}

.trust-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.trust-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
}

.trust-item p {
    color: #d1d5db;
    line-height: 1.7;
}

/* About Philosophy - Simple text section */
.about-philosophy {
    margin: 6rem 0;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.about-philosophy h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.about-philosophy p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #e5e7eb;
    margin-bottom: 1.75rem;
}

/* Final CTA - Full width dramatic */
.final-cta {
    margin: 6rem -2rem 0 -2rem;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(26, 15, 10, 0.95) 50%, rgba(220, 38, 38, 0.2) 100%);
    border-top: 2px solid var(--accent-red);
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.final-cta > p {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    position: relative;
}

.cta-subtext {
    margin-top: 2rem;
    font-size: 1rem;
    color: #9ca3af;
}

/* Old game grid styles - keep for compatibility */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    background-color: rgba(26, 15, 10, 0.9);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
}

.game-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Footer Styles */
footer {
    background-color: rgba(15, 7, 5, 0.98);
    border-top: 1px solid var(--border-primary);
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--page-primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent-red);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0;
    text-decoration: none;
}

.molecular-icon-small {
    width: 60px;
    height: 60px;
}

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

.footer-logo-kambex {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;   
    font-size: 22.5px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 20.25px;
    background: linear-gradient(135deg, #fefefe 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-labs {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #dc2626;
    letter-spacing: 0.1125em;
    text-transform: uppercase;
    line-height: 1;
}

.footer-tagline {
    color: #b8b8b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.footer-social a {
    color: #b8b8b8;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--accent-red);
}

.footer-payment {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    text-align: center;
}

.footer-payment p {
    color: #b8b8b8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.payment-icons {
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-bottom {
    background-color: rgba(10, 5, 3, 0.98);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-primary);
}

.footer-bottom p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hardware-ownership {
        grid-template-columns: 1fr;
    }
    
    .hardware-ownership > p {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    section h2, .features-grid h2, .trust-indicators h2, .about-philosophy h2 {
        font-size: 2rem;
    }

    .feature-cards,
    .game-showcase {
        grid-template-columns: 1fr;
    }

    .features-extended-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-container {
        grid-template-columns: 1fr  1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-left {
        flex-direction: column;
        width: 100%;
    }

    .nav-left, .header-right {
        width: 100%;
        justify-content: center;
    }

    main.container {
        padding-top: 280px;
    }

    .hero, .ddos-protection, .network-map, .final-cta {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero > p {
        font-size: 1.05rem;
    }

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

    .newsletter-signup form {
        flex-direction: column;
    }

    .newsletter-signup input[type="email"] {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
	text-align: left;
    }
    .footer-brand {
	grid-column:1;
    }
}


/* Network Map with Interactive Dots */
.network-map {
    margin: 6rem -2rem;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.9) 0%, rgba(45, 27, 19, 0.8) 100%);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.network-map h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.map-container {
    margin: 3rem auto;
    max-width: 1400px;
}

.world-map {
    position: relative;
    width: 100%;
    background-color: rgba(15, 7, 5, 0.6);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    opacity: 0.3;
    filter: grayscale(100%) brightness(0.4);
}

.location-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.dot-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
}

.dot-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--accent-red);
    border-radius: 50%;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.location-popup {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.98) 0%, rgba(45, 27, 19, 0.98) 100%);
    border: 2px solid var(--accent-red);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.location-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--accent-red);
}

.location-dot:hover .location-popup,
.location-dot.active .location-popup {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.location-popup h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: var(--page-primary);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.ping-status {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ade80;
}

.ping-status.testing {
    color: #fbbf24;
}

.ping-status.error {
    color: #ef4444;
}

.location-flag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.5rem;
}

.map-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .world-map {
        padding: 1rem;
    }
    
    .location-dot {
        width: 16px;
        height: 16px;
    }
    
    .dot-pulse {
        width: 16px;
        height: 16px;
    }
    
    .location-popup {
        min-width: 180px;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .location-dot {
        width: 14px;
        height: 14px;
    }
    
    .dot-pulse {
        width: 14px;
        height: 14px;
    }
    
    .location-popup {
        min-width: 160px;
        padding: 0.75rem;
    }
    
    .location-popup h4 {
        font-size: 0.95rem;
    }
    
    .ping-status {
        font-size: 0.95rem;
    }
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #d1d5db;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.primary {
    background-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

.legend-dot.secondary {
    background-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

/* Primary location dots - GREEN */
.location-dot.primary .dot-pulse {
    background-color: #4ade80;
    animation: pulse-green 2s infinite;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}

.location-dot.primary .dot-pulse::before {
    background-color: #4ade80;
}

.location-dot.primary .location-popup {
    border: 2px solid #4ade80;
}

.location-dot.primary .location-popup::after {
    border-top: 10px solid #4ade80;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* Secondary location dots - YELLOW */
.location-dot.secondary .dot-pulse {
    background-color: #fbbf24;
    animation: pulse-yellow 2s infinite;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
}

.location-dot.secondary .dot-pulse::before {
    background-color: #fbbf24;
}

.location-dot.secondary .location-popup {
    border: 2px solid #fbbf24;
}

.location-dot.secondary .location-popup::after {
    border-top: 10px solid #fbbf24;
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.layer-description {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
    font-style: italic;
}
