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

:root {
    --desert-sand: #D2B48C;
    --battle-green: #556B2F;
    --rusted-red: #8B0000;
    --midnight-black: #2B2B2B;
    --foggy-gray: #A9A9A9;
    --tactical-gold: #FFD700;
    --smoke-white: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Roboto Slab', serif;
    background: linear-gradient(135deg, var(--midnight-black) 0%, #1a1a1a 50%, var(--midnight-black) 100%);
    color: var(--desert-sand);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smoke Particles Animation */
.smoke-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.smoke-particles::before,
.smoke-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--smoke-white);
    border-radius: 50%;
    opacity: 0;
    animation: smokeFloat 8s infinite ease-in-out;
}

.smoke-particles::before {
    left: 20%;
    animation-delay: 0s;
}

.smoke-particles::after {
    left: 80%;
    animation-delay: 4s;
}

@keyframes smokeFloat {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, var(--midnight-black) 0%, rgba(43, 43, 43, 0.95) 50%, var(--midnight-black) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--rusted-red);
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--tactical-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px var(--rusted-red));
}

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

.nav-link {
    color: var(--desert-sand);
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--tactical-gold);
    border-color: var(--rusted-red);
    background: rgba(139, 0, 0, 0.1);
    transform: scale(1.05);
    text-shadow: 0 0 5px var(--tactical-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--rusted-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(45deg, transparent 25%, rgba(139, 0, 0, 0.1) 25%, rgba(139, 0, 0, 0.1) 50%, transparent 50%),
        linear-gradient(-45deg, transparent 25%, rgba(85, 107, 47, 0.1) 25%, rgba(85, 107, 47, 0.1) 50%, transparent 50%),
        radial-gradient(circle at center, var(--midnight-black) 0%, #1a1a1a 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
    color: var(--tactical-gold);
    text-shadow: 
        0 0 10px var(--rusted-red),
        0 0 20px var(--rusted-red),
        0 0 30px var(--rusted-red);
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--rusted-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--battle-green);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--desert-sand);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-button {
    background: linear-gradient(45deg, var(--rusted-red), #b30000);
    border: 2px solid var(--tactical-gold);
    color: var(--tactical-gold);
    padding: 1rem 2rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--rusted-red);
}

.cta-button .button-overlay {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: top 0.5s ease;
}

.cta-button:hover .button-overlay {
    top: 100%;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    color: var(--tactical-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--rusted-red);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--desert-sand);
    margin-bottom: 2rem;
}

.tactical-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--rusted-red), var(--tactical-gold), var(--rusted-red));
    margin: 0 auto;
    position: relative;
}

.tactical-line::before,
.tactical-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--rusted-red);
    transform: rotate(45deg);
}

.tactical-line::before {
    left: -4px;
}

.tactical-line::after {
    right: -4px;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: 
        linear-gradient(45deg, transparent 25%, rgba(85, 107, 47, 0.05) 25%, rgba(85, 107, 47, 0.05) 50%, transparent 50%),
        linear-gradient(-45deg, transparent 25%, rgba(139, 0, 0, 0.05) 25%, rgba(139, 0, 0, 0.05) 50%, transparent 50%);
    background-size: 60px 60px, 60px 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--tactical-gold);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(43, 43, 43, 0.8);
    border: 2px solid var(--rusted-red);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3);
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--tactical-gold);
    text-shadow: 0 0 10px var(--rusted-red);
}

.stat-label {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    color: var(--desert-sand);
    letter-spacing: 1px;
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    background: var(--midnight-black);
}

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

.weapon-crate {
    background: 
        linear-gradient(45deg, var(--midnight-black) 0%, #3a3a3a  50%, var(--midnight-black) 100%);
    border: 3px solid var(--battle-green);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.weapon-crate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 0, 0, 0.1) 10px,
            rgba(139, 0, 0, 0.1) 20px
        );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.weapon-crate:hover::before {
    opacity: 1;
}

.weapon-crate:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--rusted-red);
    box-shadow: 
        0 20px 40px rgba(139, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.crate-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--rusted-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.weapon-crate:hover .crate-overlay {
    opacity: 1;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.game-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.weapon-crate:hover .game-image {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.game-title {
    font-size: 1.4rem;
    color: var(--tactical-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px var(--rusted-red);
}

.game-description {
    color: var(--desert-sand);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-link {
    display: inline-block;
    background: linear-gradient(45deg, var(--rusted-red), #b30000);
    color: var(--tactical-gold);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    border: 1px solid var(--tactical-gold);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--rusted-red);
}

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

.game-link:hover::before {
    left: 100%;
}

/* Community Section */
.community-section {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(85, 107, 47, 0.1) 0%, transparent 50%),
        var(--midnight-black);
}

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

.dog-tag-card {
    background: rgba(43, 43, 43, 0.9);
    border: 2px solid var(--battle-green);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.dog-tag-card:hover {
    transform: translateY(-5px);
    border-color: var(--tactical-gold);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.dog-tag-chain {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 4px;
    height: 40px;
    background: 
        repeating-linear-gradient(
            to bottom,
            var(--foggy-gray) 0px,
            var(--foggy-gray) 3px,
            transparent 3px,
            transparent 6px
        );
}

.dog-tag-card h3 {
    font-size: 1.8rem;
    color: var(--tactical-gold);
    margin-bottom: 1rem;
}

.dog-tag-card p {
    color: var(--desert-sand);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.rank-badge {
    display: inline-block;
    background: var(--rusted-red);
    color: var(--tactical-gold);
    padding: 0.5rem 1rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 1px solid var(--tactical-gold);
}

/* Events Section */
.events-section {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, var(--midnight-black) 0%, #1a1a1a 100%);
}

.hud-overlay {
    background: 
        linear-gradient(45deg, rgba(43, 43, 43, 0.9) 0%, rgba(85, 107, 47, 0.1) 50%, rgba(43, 43, 43, 0.9) 100%);
    border: 2px solid var(--tactical-gold);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hud-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rusted-red), var(--tactical-gold), var(--rusted-red));
    animation: scanline 2s infinite;
}

@keyframes scanline {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.countdown-container h3 {
    font-size: 2.5rem;
    color: var(--tactical-gold);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--rusted-red);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(139, 0, 0, 0.3);
    border: 1px solid var(--rusted-red);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
}

.time-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--tactical-gold);
    text-shadow: 0 0 10px var(--rusted-red);
}

.time-label {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.9rem;
    color: var(--desert-sand);
    letter-spacing: 1px;
}

.time-separator {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--rusted-red);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.event-description {
    font-size: 1.1rem;
    color: var(--desert-sand);
    max-width: 600px;
    margin: 0 auto;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 0;
    background: 
        linear-gradient(45deg, rgba(139, 0, 0, 0.1) 0%, transparent 50%, rgba(139, 0, 0, 0.1) 100%);
}

.disclaimer-content {
    text-align: center;
    background: rgba(43, 43, 43, 0.8);
    border: 2px solid var(--tactical-gold);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--tactical-gold));
}

.disclaimer-content h3 {
    font-size: 2rem;
    color: var(--tactical-gold);
    margin-bottom: 1rem;
}

.disclaimer-content p {
    font-size: 1.1rem;
    color: var(--desert-sand);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: 
        linear-gradient(90deg, var(--midnight-black) 0%, #1a1a1a 50%, var(--midnight-black) 100%);
    border-top: 3px solid var(--rusted-red);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.5rem;
    color: var(--tactical-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 5px var(--rusted-red);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--desert-sand);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--tactical-gold);
    text-shadow: 0 0 5px var(--tactical-gold);
}

.footer-section p {
    color: var(--desert-sand);
    line-height: 1.7;
}

.tactical-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tactical-icon {
    font-size: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tactical-icon:hover {
    transform: scale(1.2) rotate(15deg);
    filter: drop-shadow(0 0 10px var(--tactical-gold));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--rusted-red);
}

.barbed-wire {
    height: 2px;
    background: 
        repeating-linear-gradient(
            90deg,
            var(--rusted-red) 0px,
            var(--rusted-red) 10px,
            transparent 10px,
            transparent 15px
        );
    margin-bottom: 1rem;
    position: relative;
}

.barbed-wire::before,
.barbed-wire::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 6px;
    height: 6px;
    background: var(--rusted-red);
    transform: rotate(45deg);
}

.barbed-wire::before {
    left: 20%;
}

.barbed-wire::after {
    right: 20%;
}

.footer-bottom p {
    color: var(--foggy-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--midnight-black);
        flex-direction: column;
        padding: 1rem 2rem;
        border-top: 1px solid var(--rusted-red);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .time-value {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tactical-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .weapon-crate {
        padding: 1rem;
    }
    
    .dog-tag-card {
        padding: 1.5rem;
    }
    
    .hud-overlay {
        padding: 2rem;
    }
    
    .countdown-container h3 {
        font-size: 2rem;
    }
}