/* ========================== */
/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto&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: 'Black Lives Matter', 'Orbitron', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background: radial-gradient(#b91352 2px, transparent 2px) #1a1a1a;
    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;
}


/* HEADER POLISH */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, #1a1a1acc, #000000cc);
    backdrop-filter: saturate(180%) blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 0, 94, 0.6);
    /* Removed flex and padding to avoid conflict with grid layout */
    /* display: flex; */
    /* align-items: center; */
    /* padding: 0 2rem; */
    transition: background-color 0.3s ease;
}

header > div.max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    overflow: hidden;
}

header nav {
    max-width: 100%;
    flex-shrink: 1;
    overflow: hidden;
    white-space: nowrap;
}

header:hover {
    background: linear-gradient(90deg, #ff005ecc, #d11a2acc);
    box-shadow: 0 6px 20px rgba(255, 0, 94, 0.9);
}

header .logo img,
footer img {
    height: 40px; /* unified header and footer logo size */
    width: auto;
    transition: transform 0.3s ease;
}

.main-header {
  box-shadow: 0 4px 24px rgba(255,0,94,0.10);
  background: linear-gradient(90deg, #1a1a1acc, #000000cc);
}
.logo img { transition: transform 0.25s; }
.logo:hover img { transform: scale(1.07);}
.nav-link, .nav-link-mobile {
  color: #fff;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link-mobile:hover {
  color: #ff005e;
}
.nav-link.active, .nav-link-mobile.active {
  color: #ff005e;
  font-weight: bold;
}
.mobile-nav {
  border-top: 1px solid #d11a2a33;
  animation: fadeInDown 0.3s;
}
@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-20px);}
  to   { opacity:1; transform:translateY(0);}
}
footer img { filter: drop-shadow(0 0 12px #ff005e66);}
footer a:hover i { color: #ff005e; }



header .logo img:hover {
    transform: scale(1.1);
}

/* 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: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ff005e;
}

/* 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;
}
.hero-content img {
    width: 200px;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}
.hero-content img:hover {
    transform: scale(1.05);
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff005e;
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(255,0,94,0.8);
}

/* BUTTONS */
.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 0 10px rgba(255,0,94,0.7);
}
.btn-primary {
    background: #d11a2a;
    color: white;
    margin-right: 1rem;
}
.btn-primary:hover {
    background: #7E0F1A;
    transform: scale(1.1);
    box-shadow: 0 0 20px #7E0F1A;
}
.btn-secondary {
    background: #444;
    color: white;
}
.btn-secondary:hover {
    background: #666;
    transform: scale(1.05);
}

/* ========================== */
/* ENHANCED TYPOGRAPHY & VISUAL HIERARCHY */
/* ========================== */

/* Enhanced heading styles with better spacing */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
    font-weight: 800;
    line-height: 1.1;
}

/* Improved text shadows for better readability */
.text-shadow-glow {
    text-shadow: 0 0 20px rgba(255, 0, 94, 0.6), 
                 0 4px 8px rgba(0, 0, 0, 0.8);
}

/* Enhanced button styles with better micro-interactions */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d11a2a 0%, #ff005e 100%);
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(255, 0, 94, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 0, 94, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Enhanced card designs with better depth */
.card-enhanced {
    background: linear-gradient(145deg, rgba(42, 10, 30, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(255, 0, 94, 0.2);
    backdrop-filter: blur(16px) saturate(150%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 94, 0.6), transparent);
}

.card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 0, 94, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 94, 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 POLISH */
.login-box, .register-box {
    background: #811f48;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.btn-login {
    background: #d11a2a;
    padding: 10px 30px;
    border-radius: 10px;
    font-size: 1.3rem;
    transition: 0.3s;
}
.btn-login:hover {
    background: #A11622;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #444;
}
th {
    background-color: #2a0a1e;
    text-align: left;
    font-weight: 700;
}
tr:hover {
    background-color: #3a0f2e;
}

/* ADMIN BUTTONS */
.btn-success, .btn-warning, .btn-danger, .btn-secondary {
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

/* ========================== */
/* RESPONSIVE UTILITIES */
/* ========================== */

/* Line clamp utility for text truncation */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .text-6xl {
        font-size: 3.5rem !important;
    }
    
    .text-7xl {
        font-size: 4rem !important;
    }
    
    .card-enhanced {
        padding: 1.5rem !important;
    }
    
    .stagger-animation {
        gap: 1.5rem !important;
    }
    
    .btn-enhanced {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* Enhanced focus states for accessibility */
.btn-enhanced:focus,
.card-enhanced:focus {
    outline: 2px solid rgba(255, 0, 94, 0.8);
    outline-offset: 2px;
}

/* Smooth loading states */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 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; }

/* ========================== */
/* ENHANCED ANIMATIONS & MICRO-INTERACTIONS */
/* ========================== */

/* Smooth scroll reveal animations */
@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered animations */
.stagger-animation > * {
    opacity: 0;
    animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced hover effects for images */
.image-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 94, 0.1), rgba(209, 26, 42, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-enhanced:hover::after {
    opacity: 1;
}

.image-enhanced img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-enhanced:hover img {
    transform: scale(1.08);
}

/* Particle background animation */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.particle-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(209, 26, 42, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 0, 94, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s infinite linear;
    pointer-events: none;
}

/* ...existing code... */
