/* DeadZone Chronicles Shared Styles */
:root {
    --dc-red: #dc2626;
    --dc-dark-red: #991b1b;
    --dc-black: #000000;
    --dc-dark: #0a0a0a;
    --dc-gray: #1a1a1a;
    --dc-border: rgba(220, 38, 38, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.dc-page {
    background: var(--dc-black);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

body.dc-page h1, 
body.dc-page h2, 
body.dc-page h3, 
body.dc-page h4, 
body.dc-page h5, 
body.dc-page h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation */
.dc-nav {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dc-border);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dc-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dc-back-link {
    font-family: 'Orbitron', sans-serif;
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.dc-back-link:hover {
    color: #ef4444;
    transform: translateX(-5px);
}

.dc-nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.dc-nav-link {
    font-family: 'Orbitron', sans-serif;
    color: #a1a1aa;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.875rem;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.dc-nav-link:hover,
.dc-nav-link.active {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--dc-border);
}

/* Content Sections */
.dc-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.dc-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 3rem;
    color: #ffffff;
    text-align: center;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dc-section-description {
    font-family: 'Rajdhani', sans-serif;
    text-align: center;
    font-size: 1.125rem;
    color: #a1a1aa;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Panels */
.dc-panel {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--dc-border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dc-panel:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

/* Grid Layouts */
.dc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dc-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--dc-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.dc-card:hover {
    transform: translateY(-8px);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    background: rgba(26, 26, 26, 0.9);
}

/* Rules */
.dc-rule-item {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.6);
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.dc-rule-item:hover {
    background: rgba(26, 26, 26, 0.9);
    transform: translateX(8px);
    border-left-width: 6px;
}

.dc-rule-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dc-rule-description {
    font-family: 'Rajdhani', sans-serif;
    color: #a1a1aa;
    line-height: 1.8;
    font-weight: 500;
}

/* Gallery */
.dc-gallery-item {
    aspect-ratio: 16/9;
    background: var(--dc-gray);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--dc-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dc-gallery-item:hover {
    transform: scale(1.02);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.dc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 4rem;
    background: rgba(26, 26, 26, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .dc-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .dc-nav-links {
        justify-content: center;
    }

    .dc-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .dc-content {
        padding: 4rem 1.5rem;
    }

    .dc-panel {
        padding: 2rem;
    }

    .dc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dc-content {
        padding: 3rem 1rem;
    }
}
