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

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: #0a0a0a;
    color: #d0d0d0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Subtle grungy texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.08) 0px,
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.4));
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(231, 76, 60, 0.8));
    transform: scale(1.05);
}

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

.nav-links a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.8);
}

.nav-links a:hover {
    color: #e74c3c;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #e74c3c;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}

/* Main content */
main {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Mesh Network Background */
#mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
    filter: blur(40px);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
    filter: blur(40px);
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 7rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.2rem;
    color: #ffffff;
    line-height: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(231, 76, 60, 0.8),
        0 0 20px rgba(231, 76, 60, 0.5);
    position: relative;
}

.hero h1 span {
    color: #e74c3c;
    text-shadow: 
        0 0 20px rgba(231, 76, 60, 0.9),
        0 0 40px rgba(231, 76, 60, 0.6);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d0d0d0;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #e74c3c;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

.cta-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #d73528 100%);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(231, 76, 60, 0.4), inset 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid #e74c3c;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #d73528 0%, #b82e20 100%);
    box-shadow: 0 16px 48px rgba(231, 76, 60, 0.6);
    transform: translateY(-4px);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    background: transparent;
    color: #e74c3c;
    box-shadow: inset 0 0 0 2px rgba(231, 76, 60, 0.4), 0 8px 24px rgba(231, 76, 60, 0.15);
    border: 2px solid #e74c3c;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-secondary:hover {
    background: rgba(231, 76, 60, 0.12);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.4), inset 0 0 20px rgba(231, 76, 60, 0.1);
    transform: translateY(-4px);
    color: #ff8888;
}

.cta-button:active {
    transform: translateY(0px);
}

/* Info boxes */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-box {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid #e74c3c;
    padding: 1.5rem;
    border-radius: 2px;
    animation: fadeInUp 1s ease-out;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.info-box strong {
    color: #e74c3c;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.info-box p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}

/* Features section */
.features-section {
    padding: 5rem 2rem;
    background: #0f0f0f;
    border-top: 2px solid #e74c3c;
    box-shadow: inset 0 0 30px rgba(231, 76, 60, 0.08);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    padding-bottom: 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #e74c3c 20%, #e74c3c 80%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.section-header h2 {
    font-size: 3.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(231, 76, 60, 0.6), 0 0 60px rgba(231, 76, 60, 0.2);
}

.section-header p {
    font-size: 1.15rem;
    color: #b0b0b0;
    max-width: 550px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* Features Grid - Node Connection Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    position: relative;
    padding: 2rem 1rem;
}

/* Vertical spine connecting all cards like a network bus */
.features-grid::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #e74c3c 10%,
        #e74c3c 90%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.4), inset 0 0 4px rgba(231, 76, 60, 0.3);
    z-index: 0;
    pointer-events: none;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 1px rgba(231, 76, 60, 0.1);
    display: flex;
    align-items: center;
    min-height: 110px;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e74c3c 20%, #e74c3c 80%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.8);
    z-index: 2;
    opacity: 0;
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-color: rgba(231, 76, 60, 0.5);
    transform: translateY(-4px) translateX(2px);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.25), 0 0 12px rgba(231, 76, 60, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

/* Node connection dot on the left side of each card */
.feature-card::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    background: #0a0a0a;
    border: 3px solid #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.7);
    z-index: 3;
    transition: all 0.3s ease;
}

.feature-card:hover::after {
    box-shadow: 0 0 20px rgba(231, 76, 60, 1);
    transform: translateY(-50%) scale(1.2);
}

/* Left sidebar for icon - red background */
.feature-icon {
    width: 60px;
    min-width: 60px;
    height: 100%;
    min-height: 110px;
    background: linear-gradient(135deg, #e74c3c 0%, #d73528 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #0a0a0a;
    flex-shrink: 0;
    position: relative;
    z-index: 4;
    box-shadow: inset -3px 0 10px rgba(0, 0, 0, 0.25), -2px 0 8px rgba(231, 76, 60, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #d73528 0%, #b82e20 100%);
    box-shadow: inset -3px 0 10px rgba(0, 0, 0, 0.3), 0 0 15px rgba(231, 76, 60, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content area to the right of icon sidebar */
.feature-content {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.feature-card h3 {
    color: #e74c3c;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
    line-height: 1.2;
}

.feature-card p {
    color: #999;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for node layout */
@media (max-width: 768px) {
    .features-grid::before {
        left: 24px;
    }
    
    .feature-card::after {
        left: 20px;
    }
    
    .feature-icon {
        width: 48px;
        min-width: 48px;
        font-size: 1.5rem;
    }
}

/* Map section */
.map-section {
    padding: 5rem 2rem;
    background: #0a0a0a;
    border-top: 2px solid #e74c3c;
    border-bottom: 2px solid #e74c3c;
    box-shadow: inset 0 0 30px rgba(231, 76, 60, 0.08);
}

.map-section h2 {
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(231, 76, 60, 0.5);
}

.map-section p {
    color: #888;
    margin-bottom: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    border: 2px solid #e74c3c;
    background: #0a0a0a;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.4);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.map-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
    background: #0a0a0a;
    /* Invert + hue-rotate flips the map's light basemap to a dark theme
       while keeping the red/accent hues close to the original palette. */
    filter: invert(0.93) hue-rotate(180deg);
}

/* Footer */
footer {
    background: #0a0a0a;
    border-top: 2px solid #e74c3c;
    padding: 3rem 2rem;
    margin-top: 0;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.footer-content p {
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e74c3c;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

.footer-links a:hover {
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 3.5rem;
        text-shadow: 
            2px 2px 0px #e74c3c,
            4px 4px 15px rgba(231, 76, 60, 0.5);
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Reduce mesh animation complexity on mobile */
    #mesh-canvas {
        opacity: 0.2;
        pointer-events: none;
    }

    .hero-background::before,
    .hero-background::after {
        display: none;
    }

    .map-container iframe {
        height: 400px;
    }

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

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

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

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: #e74c3c;
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(231, 76, 60, 0.6));
}

.info-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 2px;
}

/* What is MeshCore Section */
.what-is-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 50%, #0a0a0a 100%);
    border-top: 2px solid #e74c3c;
    border-bottom: 2px solid #e74c3c;
    box-shadow: inset 0 0 60px rgba(231, 76, 60, 0.05), inset 0 0 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.what-is-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.what-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(20, 20, 20, 0.7) 100%);
    border: 2px solid rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 1px rgba(231, 76, 60, 0.1);
    backdrop-filter: blur(10px);
}

.what-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, transparent 50%, rgba(231, 76, 60, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 8px;
}

.what-card:hover {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(15, 15, 15, 0.85) 100%);
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.25), inset 0 0 20px rgba(231, 76, 60, 0.05);
    transform: translateY(-6px);
}

.what-card:hover::after {
    opacity: 1;
}

.what-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e74c3c 15%, #e74c3c 85%, transparent 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.what-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

.what-card .card-number {
    font-family: 'Space Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: #e74c3c;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.5), 0 0 40px rgba(231, 76, 60, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    line-height: 1;
}

.what-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.what-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* OKI Alliance Section */
.alliance-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.3) 0%, rgba(15, 15, 15, 0.6) 50%, rgba(20, 20, 20, 0.3) 100%);
    border-bottom: 2px solid #e74c3c;
    box-shadow: inset 0 0 60px rgba(231, 76, 60, 0.04), inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.alliance-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.alliance-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(15, 15, 15, 0.4) 100%);
    border: 2px solid rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 1px rgba(231, 76, 60, 0.1);
    backdrop-filter: blur(10px);
}

.alliance-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e74c3c 20%, #e74c3c 80%, transparent 100%);
    border-radius: 8px 8px 0 0;
}

.alliance-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.alliance-logo {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 30px rgba(231, 76, 60, 0.4)) drop-shadow(0 0 60px rgba(231, 76, 60, 0.2));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alliance-logo-box:hover .alliance-logo {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 0 40px rgba(231, 76, 60, 0.6)) drop-shadow(0 0 80px rgba(231, 76, 60, 0.3));
}

.alliance-logo-box h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.5), 0 0 30px rgba(231, 76, 60, 0.2);
}

.alliance-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.alliance-text p {
    color: #c0c0c0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.alliance-text strong {
    color: #e74c3c;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

.alliance-link {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, #e74c3c 0%, #d73528 100%);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border: 2px solid #e74c3c;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    width: fit-content;
}

.alliance-link:hover {
    background: linear-gradient(135deg, #d73528 0%, #b82e20 100%);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.5);
    transform: translateY(-3px);
}

/* Get Connected Section */
.get-connected-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(231, 76, 60, 0.3);
}

.get-connected-title {
    color: #e74c3c;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.4), 0 0 40px rgba(231, 76, 60, 0.15);
    text-align: center;
    font-weight: 900;
}

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

.connection-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 2px solid rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 1px rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.connection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, transparent 50%, rgba(231, 76, 60, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 8px;
}

.connection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e74c3c 15%, #e74c3c 85%, transparent 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.connection-card:hover {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 16px 50px rgba(231, 76, 60, 0.2), inset 0 0 20px rgba(231, 76, 60, 0.05);
    transform: translateY(-6px);
}

.connection-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.8);
}

.connection-card:hover::after {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(231, 76, 60, 0.4));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.connection-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 0 20px rgba(231, 76, 60, 0.6));
}

.connection-card h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.connection-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Icon Styling */
.icon-btn {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: currentColor;
}

.icon-small {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.icon-section {
    margin-right: 0.7rem;
    font-size: 2rem;
    color: #e74c3c;
    filter: drop-shadow(0 0 10px rgba(231, 76, 60, 0.4));
}

.icon-title {
    margin-right: 0.8rem;
    font-size: 1.5rem;
    color: #e74c3c;
    filter: drop-shadow(0 0 8px rgba(231, 76, 60, 0.3));
}

.icon-discord {
    font-size: 2rem;
    background: linear-gradient(135deg, #e74c3c 0%, #d73528 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 0.5));
}

.icon-contact {
    font-size: 2rem;
    color: #e74c3c;
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 0.5));
}

.icon-resources {
    font-size: 2rem;
    color: #e74c3c;
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 0.5));
}

.connection-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #e74c3c 0%, #d73528 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #e74c3c;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Space Mono', monospace;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    cursor: pointer;
    align-self: flex-start;
}

.connection-btn:hover {
    background: linear-gradient(135deg, #d73528 0%, #b82e20 100%);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.5);
    transform: translateY(-3px);
    border-color: #ff6666;
}

.resources-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.2rem;
}

.resources-links a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Space Mono', monospace;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(231, 76, 60, 0.2);
}

.resources-links a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.resources-links a:hover {
    color: #ff8888;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
    transform: translateX(4px);
    border-bottom-color: rgba(231, 76, 60, 0.5);
}

.resources-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.footer-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(231, 76, 60, 0.2);
}

.footer-header p {
    margin: 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #777;
}

.footer-header p:first-child {
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.footer-header p:last-child {
    color: #e74c3c;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

/* Additional animations */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(231, 76, 60, 0.6);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.what-card.fade-in,
.connection-card {
    animation: slideUp 0.6s ease-out forwards;
}

.what-card.fade-in:nth-child(1) { animation-delay: 0.1s; }
.what-card.fade-in:nth-child(2) { animation-delay: 0.2s; }
.what-card.fade-in:nth-child(3) { animation-delay: 0.3s; }
.what-card.fade-in:nth-child(4) { animation-delay: 0.4s; }
.what-card.fade-in:nth-child(5) { animation-delay: 0.5s; }
.what-card.fade-in:nth-child(6) { animation-delay: 0.6s; }

.connection-card:nth-child(1) { animation-delay: 0.1s; }
.connection-card:nth-child(2) { animation-delay: 0.2s; }
.connection-card:nth-child(3) { animation-delay: 0.3s; }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .alliance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .alliance-logo {
        width: 140px;
        height: 140px;
    }

    .what-is-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .get-connected-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .what-card {
        padding: 2rem;
    }

    .connection-card {
        padding: 2rem;
    }
}

