/* ========================================
   ZOMBIE THEME - PROJECT ZOMBOID
   ======================================== */

/* Custom Properties */
:root {
    --primary-red: #dc2626;
    --dark-red: #7f1d1d;
    --blood-red: #991b1b;
    --bg-dark: #000000;
    --bg-dark-secondary: #0a0a0a;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #1f1f1f;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid var(--dark-red);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--dark-red) 0%, var(--blood-red) 100%);
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--blood-red) 0%, var(--primary-red) 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1679590060902-3556e64a676f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHx6b21iaWUlMjBhcG9jYWx5cHNlfGVufDF8fHx8MTc2MzMzODMyMnww&ixlib=rb-4.1.0&q=80&w=1920') center/cover no-repeat fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100vh;
}

.skull-icon i {
    font-size: 5rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(220, 38, 38, 1));
    }
}

.glow-text {
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    font-weight: 700;
    letter-spacing: 2px;
}

.online-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px #22c55e;
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 20px #22c55e;
    }
}

.btn-glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(156, 163, 175, 0.6);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-down 1.5s ease-in-out infinite;
}

@keyframes scroll-down {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.about-section,
.features-section,
.connect-section,
.rules-section {
    background: var(--bg-dark);
    position: relative;
}

.about-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-dark-secondary));
}

.features-section {
    background: var(--bg-dark-secondary);
    background-image: url('https://images.unsplash.com/photo-1761549148556-a2cf3307f8b8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxzdXJ2aXZhbCUyMGhvcnJvcnxlbnwxfHx8fDE3NjMzMzgzMjN8MA&ixlib=rb-4.1.0&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.95), 
        rgba(0, 0, 0, 0.85), 
        rgba(0, 0, 0, 0.95));
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.connect-section {
    background: linear-gradient(to bottom, 
        var(--bg-dark), 
        rgba(127, 29, 29, 0.1), 
        var(--bg-dark));
}

.section-title {
    font-weight: 700;
    letter-spacing: 2px;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-red);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--bg-dark) 100%);
    border: 2px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.feature-card:hover {
    border-color: var(--dark-red);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(127, 29, 29, 0.3);
    border: 2px solid var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(127, 29, 29, 0.5);
    border-color: var(--primary-red);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

/* ========================================
   FEATURE ITEMS
   ======================================== */
.feature-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    height: 100%;
}

.feature-item:hover {
    border-color: var(--dark-red);
    background: rgba(0, 0, 0, 0.6);
}

.feature-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(127, 29, 29, 0.3);
    border: 1px solid var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-item-icon {
    background: rgba(153, 27, 27, 0.3);
}

.feature-item-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* ========================================
   CONNECT SECTION
   ======================================== */
.connect-box {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--bg-dark) 100%);
    border: 2px solid var(--dark-red);
    padding: 3rem;
    box-shadow: 0 0 50px rgba(220, 38, 38, 0.3);
    border-radius: 8px;
}

.server-icon-wrapper i {
    font-size: 4rem;
    color: var(--primary-red);
    padding: 2rem;
    background: rgba(127, 29, 29, 0.3);
    border: 2px solid var(--dark-red);
    display: inline-block;
}

.server-ip {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--dark-red);
    padding: 1rem 2rem;
    border-radius: 4px;
}

.server-ip code {
    color: var(--text-light);
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: rgba(127, 29, 29, 0.3);
    border: 1px solid var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-weight: 600;
    flex-shrink: 0;
}

.step-item p {
    margin: 0;
    padding-top: 4px;
}

/* ========================================
   RULES SECTION
   ======================================== */
.rule-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    height: 100%;
}

.rule-card:hover {
    border-color: var(--dark-red);
}

.rule-icon {
    width: 48px;
    height: 48px;
    background: rgba(127, 29, 29, 0.3);
    border: 1px solid var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.rule-card:hover .rule-icon {
    background: rgba(153, 27, 27, 0.4);
}

.rule-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: var(--bg-dark);
    border-top: 1px solid rgba(127, 29, 29, 0.3);
}

.footer-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .skull-icon i {
        font-size: 3.5rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .server-ip code {
        font-size: 1rem;
    }
    
    .connect-box {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.bg-dark-custom {
    background-color: var(--bg-dark);
}

.text-blood {
    color: var(--primary-red);
}

.border-blood {
    border-color: var(--dark-red) !important;
}
