@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Roboto+Condensed:ital,wght@0,700;1,900&display=swap');

:root {
    --primary-red: #cc0000;
    --deep-black: #050505;
    --card-bg: #0f0f0f;
    --pure-white: #ffffff;
    --gray-text: #888888;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: var(--deep-black);
    color: var(--pure-white);
    overflow-x: hidden;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: var(--pure-white);
}

.logo span {
    color: black;
    background: var(--primary-red);
    padding: 2px 10px;
    margin-left: 5px;
    transform: skewX(-15deg);
    display: inline-block;
}

nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 30px; }
nav ul li a {
    text-decoration: none;
    color: var(--pure-white);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover, 
nav ul li a.active { 
    color: var(--primary-red); 
}

/* --- Hero & Index Elements --- */
header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(5,5,5,1)), 
                url('https://blog.fivemods.io/storage/2025/01/981-1-1300x650.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: 8px 8px 0px rgba(204, 0, 0, 0.4);
}

.hero-content h1 span { display: block; color: var(--pure-white); }

.btn-main, .btn-secondary {
    padding: 18px 45px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
    transition: 0.3s;
}

.btn-main { background: var(--primary-red); color: white; border: 2px solid var(--primary-red); }
.btn-main:hover { background: transparent; box-shadow: 0 0 20px var(--primary-red); }

.btn-secondary { border: 2px solid white; color: white; }
.btn-secondary:hover { background: white; color: black; }

#info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10%;
    margin-top: -80px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-top: 5px solid var(--primary-red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.card-tag { color: var(--primary-red); letter-spacing: 3px; font-size: 0.7rem; display: block; margin-bottom: 10px; }
.card p { font-size: 2.2rem; font-family: 'Oswald', sans-serif; }

/* --- Sub-Page Layout --- */
.sub-page {
    padding-top: 160px; /* Pushes content below the fixed nav */
    min-height: 80vh;
}

.content-section { padding: 0 10%; }

.section-title { 
    font-size: 3rem; 
    margin-bottom: 50px; 
    border-left: 10px solid var(--primary-red); 
    padding-left: 20px; 
    text-transform: uppercase; 
}

/* Rules/Features/Keys Styling */
.rule-box, .feat-card, .key-item { 
    background: #111; 
    padding: 20px; 
    margin-bottom: 15px; 
    transition: 0.3s; 
}

.rule-box:hover { border-left: 10px solid var(--primary-red); background: #1a1a1a; }
.rule-box span { color: var(--primary-red); font-size: 1.5rem; font-weight: bold; margin-right: 25px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feat-card { border: 1px solid #222; }
.feat-card:hover { border-color: var(--primary-red); transform: translateY(-5px); }

.key-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
kbd { background: var(--primary-red); color: white; padding: 5px 12px; font-family: 'Oswald', sans-serif; border-radius: 3px; }

/* --- Blank Footer --- */
footer {
    height: 150px; /* Provides consistent empty space at the bottom */
    width: 100%;
}
