/* ============================================================================
   WASTELAND OBLIVION - TACTICAL HIGH-CONTRAST THEME (STRICT GRAYSCALE)
   ============================================================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #000000;
    color: #a3a3a3;
    overflow-x: hidden;
}

/* Military-style headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.logo-font {
    font-family: 'Teko', sans-serif !important;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Cinematic Backgrounds */
.hero-bg {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.snazzy-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.snazzy-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: grayscale(100%) contrast(1.1) brightness(0.5);
    transition: all 1s ease;
}

@media (max-width: 768px) {
    .snazzy-bg-container img {
        object-position: center;
        filter: grayscale(100%) contrast(1.1) brightness(0.3);
    }
}

.group\/hero:hover .snazzy-bg-container img,
.group\/world:hover .snazzy-bg-container img {
    filter: grayscale(20%) contrast(1.1) brightness(0.6);
    transform: scale(1.02);
}

/* Section Treatment */
.section-bg {
    background: #050505;
    position: relative;
    border-top: 1px solid #171717;
}

/* ============================================================================
   TACTICAL COMPONENTS
   ============================================================================ */

/* Angular Cards */
.feature-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    border: 1px solid #262626;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #0f0f0f;
    border-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Stat Cards */
.stat-card {
    background: #0a0a0a;
    border: 2px solid #262626;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    padding: 1.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #ffffff;
    transform: scale(1.05);
}

/* Act Cards */
.act-card {
    background: #0a0a0a;
    border: 2px solid #171717;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.act-card:hover {
    border-color: #ffffff;
    background: #0f0f0f;
}

.act-icon-container {
    width: 4rem;
    height: 4rem;
    background: #171717;
    border: 1px solid #262626;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.act-card:hover .act-icon-container {
    background: #ffffff;
    color: #000;
    transform: scale(1.1);
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.cta-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #404040;
}

.cta-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.05);
}

/* RESERVED FOR WARNINGS ONLY */
.tactical-warning, .warning-text {
    color: #FFB300 !important;
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.4);
}

.warning-bg {
    background-color: #FFB300 !important;
    color: #000000 !important;
}

.warning-border {
    border-color: #FFB300 !important;
}

/* Stat Bars */
.stat-bar {
    background-color: #171717;
    height: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    background-color: #404040;
    height: 100%;
    transition: width 1s ease;
}

.feature-card:hover .stat-bar-fill {
    background-color: #ffffff;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 1px solid #171717;
    backdrop-filter: blur(10px);
}

/* Special Button (Market/Identity) - Now Neutral */
.special-link {
    background: #ffffff;
    color: #000000 !important;
}

.special-link:hover {
    background: #a3a3a3;
}

/* Tactical Burger */
.burger-line {
    border-radius: 2px;
    transition: all 0.3s ease;
}

#mobile-menu-button.is-active .line-1 {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #ffffff;
}

#mobile-menu-button.is-active .line-2 {
    opacity: 0;
    transform: translateX(-10px);
}

#mobile-menu-button.is-active .line-3 {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: #ffffff;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ffffff;
    padding-left: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Animations */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 5;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 6s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { bottom: 100%; }
    100% { bottom: -100%; }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .logo-font {
        letter-spacing: 0.02em !important;
        font-size: 1.1rem !important;
    }

    @media (max-width: 400px) {
        .logo-font {
            font-size: 0.9rem !important;
        }
    }

    .act-title {
        font-size: 1.5rem;
    }

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

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}