:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-red: #d32f2f; /* Scarlet Beret Red */
    --accent-blue: #1976d2;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 4px solid var(--accent-red);
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badges */
.badges {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: center;
}

.badge {
    height: 180px;
    width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

.badge-cct {
    transform: scale(2.6); /* Increased by another 30% from 2.0 */
}

.badge-cct:hover {
    transform: scale(2.7);
}

.badge-afsoc:hover {
    transform: scale(1.1);
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    background-color: rgba(0,0,0,0.6);
    padding: 5px 15px;
    display: inline-block;
    border: 1px solid #444;
}

/* Intro */
.intro {
    padding: 60px 0;
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
}

/* Badasses Section */
.badasses {
    padding: 40px 0 80px;
}

.badasses h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--accent-red);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.era-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: #fff;
    margin: 40px 0 20px;
    padding-left: 10px;
    border-left: 4px solid var(--accent-red);
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.card-image {
    height: 200px;
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: bold;
}

.card-image.placeholder {
    background: repeating-linear-gradient(
        45deg,
        #2c2c2c,
        #2c2c2c 10px,
        #333 10px,
        #333 20px
    );
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-family: var(--font-head);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.rank {
    display: block;
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    color: #555;
    font-size: 0.8rem;
}

/* Responsive Text */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .badges {
        gap: 15px;
    }
    .badge {
        height: 70px;
    }
}