﻿/* ========================================================================
   1) RESET / BASE STYLES
   ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: linear-gradient(to bottom, rgba(180,28,28,0.9) 0%, rgba(0,0,0,0.8) 100%);
}

body {
    line-height: 1.6;
    padding-top: 80px; /* header height */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
    color: #ccc; /* global text */
}
    /* Tint overlay */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: rgba(0,0,0,1);
        mix-blend-mode: multiply;
        z-index: 1;
    }

    body > * {
        position: relative;
        z-index: 2;
    }



img, video, svg, picture {
    mix-blend-mode: normal !important;
}
a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* ========================================================================
   2) HEADER / NAVIGATION + HOVER‐ONLY DROPDOWN
   ======================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-bottom: 3px solid #c9302c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(201, 48, 44, 0.1) 50%, transparent 100%),
        repeating-linear-gradient(90deg, 
            transparent 0px, 
            transparent 2px, 
            rgba(201, 48, 44, 0.05) 2px, 
            rgba(201, 48, 44, 0.05) 4px
        );
    pointer-events: none;
}

.bg-smoke {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/index/smoke.gif') center/cover no-repeat;
    z-index: 1;
}
.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(201, 48, 44, 0.5));
    transition: all 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 8px rgba(201, 48, 44, 0.8));
    transform: scale(1.05);
}

.nav > ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav > ul > li {
    position: relative;
    height: 100%;
}

.nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #efefef;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav > ul > li > a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 48, 44, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav > ul > li > a:hover::before,
.nav > ul > li > a.active::before {
    opacity: 1;
}

.nav > ul > li > a:hover,
.nav > ul > li > a.active {
    color: #ffffff;
    border-bottom-color: #c9302c;
    background: linear-gradient(180deg, rgba(201, 48, 44, 0.1) 0%, rgba(201, 48, 44, 0.2) 100%);
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #333;
    border-top: 2px solid #c9302c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style-type: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #333;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    font-family: 'Anton', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(201, 48, 44, 0.2) 0%, rgba(201, 48, 44, 0.1) 100%);
    padding-left: 2rem;
}

/* External link styling */
.nav > ul > li > a[target="_blank"] {
    position: relative;
}

.nav > ul > li > a[target="_blank"]::after {
    content: "↗";
    font-size: 0.8rem;
    margin-left: 0.5rem;
    opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .nav {
        padding: 0 1rem;
    }
    
    .logo {
        left: 1rem;
    }
    
    .nav > ul > li > a {
        padding: 0 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav > ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav > ul > li > a {
        padding: 0 0.8rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
}

/* Update body padding to match new header height */
body {
    padding-top: 80px; /* updated from 60px */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* ========================================================================
   3) BUTTONS
   ======================================================================== */
.btn, .card-btn {
    display: inline-block;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: background 0.2s;
}

    .btn:hover, .card-btn:hover {
    }

/* ========================================================================
   4) HERO & FEATURED‐VIDEO FRAMES
   ======================================================================== */
.video-frame {
    position: relative;
    margin: 3rem auto;
    background-size: cover;
    background-position: center;
    width: 1800px;
    height: 900px; /* your frame dims */
    background-image: url("assets/index/videoframe.png");
}

.hero {
    /* remove any fixed height you may have set previously */
    height: auto !important;
    /* stack children vertically and center them */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* optional padding so content isn’t flush to the edges */
    padding: 2rem 1rem !important;
    /* ensure nothing overflows out of the top */
    overflow: hidden !important;
}

.hero-frame {
    background-image: url("assets/index/videoframe.png");
}

.herovideo {
    padding: 2rem 0rem 0rem 0rem !important;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1800px;
    max-height: 900px;
    margin: 0 auto;
}

.featured-frame {
}

.video-frame iframe {
    position: absolute;
    border: none;
    top: 10%;
    left: 6%;
    width: 88%;
    height: 80%;
}

/* ========================================================================
   5) GAME PILLARS & FEATURES IMAGES
   ======================================================================== */
.game-pillars,
.features-section {
    text-align: center;
}

.pillars-img,
.features-img {
    width: 600px;
    height: auto;
    display: inline-block;
}

/* ========================================================================
   6) FOOTER
   ======================================================================== */
.footer {
    margin-top: auto;
    background: #222;
    color: #ddd;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .footer-links a img {
        width: 24px;
        filter: brightness(0.8);
    }

.footer-copy {
    font-size: 0.9rem;
    color: #aaa;
}

/* ========================================================================
   7) RESPONSIVE
   ======================================================================== */
@media (max-width: 768px) {
    .video-frame {
        width: 90vw;
        height: calc(90vw * 337/600);
    }

        .video-frame iframe {
            top: 10%;
            left: 6%;
            width: 88%;
            height: 80%;
        }

    .pillars-img, .features-img {
        width: 90vw;
    }

    .nav > ul {
        flex-wrap: wrap;
    }
}
