/* ============================================
   RULERS OF CORRUPTION — DARK PVP THEME
   Black & grey, hardcore, matches the shield logo
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #c8c8c8;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: #e0e0e0; }
a { color: #888; text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }
strong { color: #ddd; }
em { color: #999; font-style: italic; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(80, 80, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 32px; height: auto; }
.nav-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 3px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO — Full Screen RoC Crest
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(40, 40, 40, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(60, 60, 60, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 60, 60, 0.08) 0%, transparent 50%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 2s ease-out;
}
.hero-crest {
    width: 280px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 40px rgba(100, 100, 100, 0.3)) drop-shadow(0 0 80px rgba(80, 80, 80, 0.15));
    animation: crestPulse 4s ease-in-out infinite;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 12px;
    color: #d0d0d0;
    text-shadow: 0 0 30px rgba(150, 150, 150, 0.2);
    margin-bottom: 8px;
}
.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #777;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #555, transparent);
    margin: 0 auto 20px;
}
.hero-sub {
    font-size: 0.95rem;
    color: #555;
    letter-spacing: 1px;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #444;
    font-size: 1.2rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}
.section-dark {
    background: #080808;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 10px;
}
.section-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #555, transparent);
    margin: 0 auto 30px;
}
.section-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #777;
    max-width: 650px;
    margin: 0 auto 50px;
}

/* ============================================
   LEGACY — Vertical Timeline
   ============================================ */
.legacy-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.05rem;
    color: #999;
}
.legacy-intro p { margin-bottom: 12px; }
.timeline-vertical {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #333 10%, #333 90%, transparent);
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-marker {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #555;
    border: 2px solid #333;
    border-radius: 50%;
    transition: background 0.3s;
}
.timeline-item:hover .timeline-marker { background: #999; }
.timeline-content h3 {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 4px;
}
.timeline-year {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.timeline-content p {
    color: #888;
    margin-bottom: 12px;
}
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(80, 80, 80, 0.2);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 3px;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   WAR STORIES — Cards Grid
   ============================================ */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.story-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 100, 100, 0.5);
}
.story-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.8);
    transition: filter 0.3s;
}
.story-card:hover .story-img { filter: grayscale(0%) brightness(1); }
.story-body { padding: 20px; }
.story-body h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.story-game {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.story-body p { font-size: 0.9rem; color: #777; }

/* ============================================
   GALLERY — Screenshot Grid + Fullscreen
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.gallery-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    cursor: pointer;
    border-radius: 2px;
    filter: grayscale(40%) brightness(0.7);
    transition: filter 0.3s, transform 0.3s;
}
.gallery-thumb:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.03);
}
.gallery-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}
.gallery-overlay.active { display: flex; }
.gallery-full-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #888;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.gallery-close:hover { color: #fff; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
}
.gallery-nav:hover { color: #fff; }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

/* ============================================
   COMMUNITY — Link Cards
   ============================================ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}
.community-card {
    display: block;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.community-card:hover {
    transform: translateY(-4px);
    background: rgba(30, 30, 30, 0.8);
}
.community-card.discord:hover { border-color: #5865F2; }
.community-card.kick:hover { border-color: #53FC18; }
.community-card.rumble:hover { border-color: #85c742; }
.community-card.gm:hover { border-color: #8b5cf6; }
.community-icon { font-size: 2.5rem; margin-bottom: 12px; }
.community-card h3 {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.community-card p { font-size: 0.85rem; color: #666; }

.contact-card {
    text-align: center;
    padding: 40px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    max-width: 500px;
    margin: 0 auto;
}
.contact-card h3 {
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.contact-card p { color: #666; margin-bottom: 16px; font-size: 0.9rem; }
.contact-link {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #555;
    border-radius: 3px;
    color: #aaa;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.contact-link:hover {
    background: rgba(80, 80, 80, 0.2);
    color: #fff;
    border-color: #888;
}

/* ============================================
   ABOUT
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}
.about-text p {
    color: #888;
    margin-bottom: 16px;
    font-size: 1rem;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stat {
    text-align: center;
    padding: 20px;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 4px;
}
.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #bbb;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.clan-logos { text-align: center; }
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.clan-logo {
    width: 80px;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}
.clan-logo:hover { filter: grayscale(0%); transform: scale(1.1); }
.logo-caption { font-size: 0.8rem; color: #555; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 50px 0 30px;
    border-top: 1px solid rgba(60, 60, 60, 0.2);
    text-align: center;
}
.footer-content { text-align: center; }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.footer-logo { width: 28px; height: auto; opacity: 0.6; }
.footer-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #777;
    letter-spacing: 4px;
}
.footer-tagline { font-size: 0.75rem; color: #444; letter-spacing: 3px; margin-bottom: 12px; }
.footer-contact { font-size: 0.8rem; color: #555; margin-bottom: 8px; }
.footer-contact a { color: #777; }
.footer-contact a:hover { color: #fff; }
.footer-copy { font-size: 0.7rem; color: #333; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes crestPulse {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(100,100,100,0.3)) drop-shadow(0 0 80px rgba(80,80,80,0.15)); }
    50% { filter: drop-shadow(0 0 60px rgba(120,120,120,0.4)) drop-shadow(0 0 100px rgba(100,100,100,0.2)); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: rgba(10,10,10,0.98); padding: 20px; gap: 16px; border-bottom: 1px solid #222; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-crest { width: 180px; }
    .hero-title { font-size: 1.8rem; letter-spacing: 6px; }
    .hero-tagline { font-size: 0.9rem; letter-spacing: 4px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.6rem; letter-spacing: 4px; }
    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .stories-grid { grid-template-columns: 1fr; }
    .timeline-vertical { padding-left: 30px; }
    .timeline-vertical::before { left: 8px; }
    .timeline-marker { left: -28px; }
}
