/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-red: #ff3333;
    --dark-red: #990000;
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --text-gray: #b3b3b3;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 2px solid var(--primary-red);
    background-color: rgba(13, 13, 13, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    min-height: 40vh; /* Shorter for internal pages */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, #260000 0%, #0d0d0d 70%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero h1 span {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
}

/* Main Layout Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 50vh;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Generic Inner Page Content Styling */
.content-block {
    background-color: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 40px;
    margin-top: 20px;
}

.content-block h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

.content-block p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Links Grid Structure */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.link-card {
    background-color: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    display: block;
}

.link-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 51, 51, 0.1);
}

.link-card h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-card h3::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.link-card:hover h3::after {
    transform: translateX(5px);
}

.link-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #060606;
    border-top: 1px solid #1a1a1a;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
}