@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Oswald:wght@500;700&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --accent: #8b0000;
    --accent-hover: #b30000;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: transparent;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,0.8)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="8"></line><line x1="12" y1="16" x2="12" y2="22"></line><line x1="2" y1="12" x2="8" y2="12"></line><line x1="16" y1="12" x2="22" y2="12"></line><circle cx="12" cy="12" r="1.5" fill="red" stroke="red"></circle></svg>') 12 12, crosshair;
}

a, button, .hamburger, .map-pin {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%238b0000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3" fill="%238b0000"></circle></svg>') 12 12, pointer;
}

h1, h2, h3, h4, .logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #030303;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.glitch-loader-logo {
    width: 150px;
    margin-bottom: 2rem;
    animation: simpleGlitch 0.2s infinite alternate;
}

.loader-text {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent);
    font-size: 1.2rem;
    animation: pulseLogo 2s infinite alternate;
}

@keyframes simpleGlitch {
    0% { transform: translate(1px, 2px); filter: drop-shadow(-2px 0 red); }
    100% { transform: translate(-2px, -1px); filter: drop-shadow(2px 0 blue); }
}

/* Bullet Hole Gimmick */
.bullet-hole {
    position: absolute;
    width: 35px;
    height: 35px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23fff" d="M48 10 L52 28 L62 25 L58 35 L82 30 L65 45 L90 50 L65 55 L75 75 L60 62 L55 85 L45 65 L30 80 L38 58 L10 65 L28 48 L5 50 L28 42 L18 20 L35 32 L40 15 Z"/><circle cx="50" cy="50" r="15" fill="%23fff"/><path stroke="%23fff" stroke-width="2.5" fill="none" stroke-linecap="round" d="M30 20 Q50 10 70 20 M20 30 Q10 50 20 70 M80 30 Q90 50 80 70 M30 80 Q50 90 70 80"/><path stroke="%23fff" stroke-width="1.5" fill="none" stroke-linecap="round" d="M22 12 Q50 -2 78 12 M12 22 Q-2 50 12 78 M88 22 Q102 50 88 78 M22 88 Q50 102 78 88"/></svg>') center/cover no-repeat;
    pointer-events: none;
    z-index: 9999;
    animation: dropHole 0.1s ease-out forwards;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.8));
}

@keyframes dropHole {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
}

.bg-dark {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-main);
    color: white;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2), rgba(10,10,10,0.95));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: #fff;
}

.hero-main-logo {
    max-width: 90%;
    max-height: 350px;
    margin-bottom: 2rem;
    filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.8));
    animation: pulseLogo 4s infinite alternate;
}

@keyframes pulseLogo {
    0% { filter: drop-shadow(0px 0px 15px rgba(139, 0, 0, 0.3)); transform: scale(1); }
    100% { filter: drop-shadow(0px 0px 30px rgba(139, 0, 0, 0.6)); transform: scale(1.03); }
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: #000;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* About Section */
.about-grid {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.about-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.about-text strong {
    color: #fff;
}

/* Glassmorphism Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 0, 0, 0.4);
    box-shadow: 0 15px 40px 0 rgba(139, 0, 0, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 1px;
}

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

/* Rules / Info Grid */
.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-box {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease;
}

.rule-box:hover {
    background: rgba(255,255,255,0.05);
}

.rule-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
}

.rule-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rule-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Trailer Section */
.trailer-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.trailer-wrapper {
    padding: 1rem;
}

.trailer-video {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    display: block;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%238b0000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3" fill="%238b0000"></circle></svg>') 12 12, pointer;
}

/* Team Grid */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-member {
    width: 250px;
    text-align: center;
}

.team-member h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-member span {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background-color: #030303;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: #444;
    font-size: 0.85rem;
}

/* Animations */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal {
    transform: translateY(30px);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Hamburger & Mobile Nav */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: var(--bg-darker);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 2rem;
        transition: 0.4s ease;
    }
    .nav-links.active {
        right: 0;
    }
    
    #navbar .btn-primary {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
