/* ========================== */
/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* ========================== */
/* FONT FACE (YOUR OWN FONT) */
@font-face {
    font-family: 'Black Lives Matter';
    src: url('fonts/Black Lives Matter.otf') format('opentype');
}

/* ========================== */
/* GLOBAL BODY */
body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: #f5f5f5;
    background: #181818;
    background-size: 50px 50px;
    line-height: 1.6;
}

/* Smooth modal fade-in & scale */
.modal-enter {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .modal-enter {
        padding: 1.5rem !important;
        max-height: 95vh;
    }
}


/* Backdrop animation */
.modal-backdrop {
    transition: background-color 0.3s ease;
}


/* MODERN HEADER - BLACK/WHITE/GRAY THEME */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(0, 0, 0, 0.95);
    /* Fallback for browsers that don't support backdrop-filter */
    background: #000;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

header > div.max-w-7xl {
    padding: 0 3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* LOGO SECTION */
header .logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    /* Add vendor prefixes for filter support */
    -webkit-filter: brightness(1.1);
    -moz-filter: brightness(1.1);
    -o-filter: brightness(1.1);
    -ms-filter: brightness(1.1);
    filter: brightness(1.1);
}

header .logo:hover img {
    transform: scale(1.05);
    /* Add vendor prefixes for filter support */
    -webkit-filter: brightness(1.3);
    -moz-filter: brightness(1.3);
    -o-filter: brightness(1.3);
    -ms-filter: brightness(1.3);
    filter: brightness(1.3);
}

header .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* NAVIGATION */
header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #ccc;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, #888);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

header nav ul li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

header nav ul li a:hover::before {
    width: 80%;
}

header nav ul li a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    font-weight: 700;
}

header nav ul li a.active::before {
    width: 80%;
    background: linear-gradient(90deg, #fff, #ccc);
}

/* USER SECTION */
header .user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .user-name {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

header .btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

header .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

header .btn:hover::before {
    left: 100%;
}

header .btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

header .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

header .btn-secondary {
    background: #333;
    color: #fff;
    border-color: #555;
}

header .btn-secondary:hover {
    background: #444;
    border-color: #777;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

header .btn-logout {
    background: #666;
    color: #fff;
    border-color: #888;
}

header .btn-logout:hover {
    background: #777;
    border-color: #999;
    transform: translateY(-2px);
}

/* MOBILE MENU BUTTON */
header .mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

header .mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

header .mobile-menu-btn:hover span {
    background: #ccc;
}

header .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

header .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

header .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* SCROLL EFFECTS */
header.scrolled {
    height: 70px;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

header.scrolled .logo img {
    height: 40px;
}

header.scrolled .logo-text {
    font-size: 1.5rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    header > div.max-w-7xl {
        padding: 0 1.5rem;
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }
    
    header nav {
        display: none;
    }
    
    header .mobile-menu-btn {
        display: flex;
    }
    
    header .logo-text {
        font-size: 1.4rem;
    }
    
    header .user-section {
        display: none;
    }
}

/* NAVIGATION MENU */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 50px;
    margin: 0;
    padding: 0;
}

/* MOBILE MENU BUTTON */
#mobile-menu-button {
    display: none;
}

@media (max-width: 767px) {
    #mobile-menu-button {
        display: block;
    }
    nav ul {
        display: none;
    }
    #mobile-menu {
        display: none;
    }
    #mobile-menu.show {
        display: block;
    }
}
nav ul li a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #f5f5f5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #bdbdbd;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 0 1rem;
}
/* Removed .hero-content img rule that was conflicting with homepage logo */
.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    color: #fff;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    color: #ccc;
}
.hero-title {
    font-family: 'Orbitron', Arial, Helvetica, sans-serif;
}

/* BUTTONS - BLACK/WHITE/GRAY THEME */
.btn-primary, .btn-secondary {
    padding: 15px 40px;
    border: none;
    font-size: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Montserrat', sans-serif;
}
.btn-primary {
    background: #fff;
    color: #000;
    margin-right: 1rem;
    border: 2px solid #fff;
}
.btn-primary:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}
.btn-secondary {
    background: #333;
    color: #fff;
    border: 2px solid #555;
}
.btn-secondary:hover {
    background: #555;
    border-color: #777;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* SECTIONS */
section {
    padding: 4rem 2rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* FEATURES SECTION */
.features {
    background: #2a0a1e;
    color: white;
    text-align: center;
}
.features h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px #ff005e;
}
.feature-item {
    padding: 1rem;
}
.feature-item img {
    width: 100px;
    margin-bottom: 1rem;
}
.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.feature-item p {
    font-size: 1.1rem;
}

/* LATEST NEWS */
.latest-news {
    background: #1f0a17;
    color: white;
}
.latest-news h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 0 10px #ff005e;
}
.news-item {
    background: #3a0f2e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    transition: transform 0.3s ease;
}
.news-item:hover {
    transform: scale(1.05);
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-item h3 {
    margin: 1rem;
    font-size: 1.5rem;
}
.news-item p {
    margin: 0 1rem 1rem 1rem;
    font-size: 1rem;
}

/* COMMUNITY SECTION */
.community {
    background: #2a0a1e;
    color: white;
    text-align: center;
}
.community h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff005e;
}
.community p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.community a.btn-primary, .community a.btn-secondary {
    margin: 0 0.5rem;
}

/* ABOUT SECTION */
.about-section {
    background: #2a0a1e;
    color: white;
}
.about-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff005e;
}
.about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* DOWNLOAD SECTION */
.download-hero {
    position: relative;
    text-align: center;
}
.download-hero img {
    border-radius: 15px;
    max-width: 100%;
    box-shadow: 0 0 20px rgba(255,0,94,0.7);
}
.download-btn {
    margin-top: 1rem;
    padding: 15px 40px;
    background: #d11a2a;
    color: white;
    font-size: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.download-btn:hover {
    background: #7E0F1A;
}

/* REQUIREMENTS SECTION */
.requirements-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.requirements-card {
    background: #3a0f2e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    flex: 1 1 300px;
}
.requirements-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* SUPPORT SECTION */
.support-section {
    background: #2a0a1e;
    color: white;
}
.support-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff005e;
}
.update-card-link {
    text-decoration: none;
}
.update-card {
    background: #3a0f2e;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    transition: 0.3s;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}
.update-card:hover {
    transform: scale(1.05);
}
.update-card img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.update-text {
    padding: 1rem;
}
.update-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.update-text p {
    font-size: 1rem;
}

/* LOGIN & REGISTER FORM - BLACK/WHITE/GRAY THEME */
.login-box, .register-box {
    background: #1a1a1a;
    border: 2px solid #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
}

.btn-login {
    background: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 10px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    font-weight: 600;
}
.btn-login:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* TABLES - BLACK/WHITE/GRAY THEME */
table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}
th {
    background: #000;
    color: #fff;
    text-align: left;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
tr:hover {
    background: #2a2a2a;
}
td {
    color: #ccc;
}

/* ADMIN BUTTONS */
.btn-success, .btn-warning, .btn-danger, .btn-secondary {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .features .grid, .latest-news .grid, .support-section .grid {
        grid-template-columns: 1fr !important;
    }
    .requirements-section {
        flex-direction: column;
    }
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
  100% { transform: translateY(0);}
}
.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes slidein {
  0% { opacity: 0; transform: translateY(-30px);}
  100% { opacity: 1; transform: translateY(0);}
}
.animate-slidein { animation: slidein 1s cubic-bezier(.68,-0.55,.27,1.55) 1; }

@keyframes fadein {
  0% { opacity: 0;}
  100% { opacity: 1;}
}
.animate-fadein { animation: fadein 1.2s ease-in forwards; opacity: 0;}
.animate-fadein.delay-200 { animation-delay: 0.2s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(20px);}
}
.animate-bounce { animation: bounce 2s infinite; }

.card-glass {
    background: rgba(26, 26, 26, 0.9);
    /* Fallback for browsers that don't support backdrop-filter */
    background: #1a1a1a;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #333;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    backdrop-filter: blur(20px) saturate(130%);
}
.card-glass:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border-color: #555;
}
.neon-glow {
    /* Add vendor prefixes for filter support */
    -webkit-filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    -moz-filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    -o-filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    -ms-filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    /* Fallback glow effect using box-shadow */
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.section-divider svg path {
    fill: #333 !important;
}

[data-scroll-reveal] { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(.68,-0.55,.27,1.55);}
[data-scroll-reveal].visible { opacity: 1; transform: none; }

/* ========================== */
/* MODERN FOOTER - BLACK/WHITE/GRAY THEME */
/* ========================== */

footer {
    background: #000;
    color: #ccc;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-main {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* FOOTER LOGO SECTION */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    /* Add vendor prefixes for filter support */
    -webkit-filter: brightness(1.1);
    -moz-filter: brightness(1.1);
    -o-filter: brightness(1.1);
    -ms-filter: brightness(1.1);
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    /* Add vendor prefixes for filter support */
    -webkit-filter: brightness(1.3);
    -moz-filter: brightness(1.3);
    -o-filter: brightness(1.3);
    -ms-filter: brightness(1.3);
    filter: brightness(1.3);
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* FOOTER SECTIONS */
.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #fff, #888);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    width: 100%;
}

/* FOOTER BOTTOM */
.footer-bottom {
    background: #000;
    border-top: 1px solid #222;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
    color: #fff;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .footer-logo-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
