/* ========== CSS VARIABLES ========== */
:root {
    --red: #DC143C;
    --yellow: #FFD700;
    --green: #00FF41;
    --dark: #0a0a0a;
    --dark-alt: #1a1a1a;
    --light: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Archivo', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--red);
    z-index: 1000;
    padding: 1rem 2rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-small {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    line-height: 1;
}

.logo-small .rockem-sm {
    color: var(--red);
    text-shadow: 2px 2px 0 var(--yellow);
}

.logo-small .sockem-sm {
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--green);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--green));
    transition: width 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--green);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), #8B0000);
    color: var(--yellow);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--green);
}

.btn-secondary:hover {
    background: var(--green);
    color: var(--dark);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    position: relative;
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, #1a0000 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 255, 65, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 0.95;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--red) 0%, var(--yellow) 50%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

/* ========== LOADING ========== */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.5rem;
    color: var(--green);
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ========== FOOTER ========== */
footer {
    background: #000;
    border-top: 2px solid var(--red);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #999;
    line-height: 1.8;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: var(--green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--green);
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    nav {
        gap: 1rem;
    }

    nav a {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 0.5rem;
    }

    .logo-small {
        font-size: 1.5rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
