/* --- Base, Fonts & Body --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    /* Dark, futuristic gradient background */
    background-color: #0a0a1a;
    background-image: radial-gradient(ellipse at center, #1a2a3a 0%, #0a0a1a 100%);
    color: #e0e0e0; 
    line-height: 1.6; 
    min-height: 100vh;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: rgba(10, 10, 26, 0.8); /* Semi-transparent dark blue */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    border-bottom: 1px solid #00BFFF; /* Neon blue border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.7);
}
.navbar-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.navbar-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}
.navbar-links a:hover {
    background-color: #00BFFF;
    color: #121212;
}
.navbar-links a.active {
    background-color: #00BFFF;
    color: #121212;
    font-weight: 600;
}

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

/* --- Hero Section --- */
.hero { 
    text-align: center; 
    padding: 2.5rem 1.5rem; 
    background-color: rgba(20, 30, 40, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 12px; 
    margin-bottom: 3rem; 
}
.hero h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}
.hero p { 
    font-size: 1.1rem; 
    color: #b0b0b0; 
}

/* --- Section Titles --- */
.section-title { 
    font-size: 2rem; 
    font-weight: 600; 
    margin-bottom: 1.5rem; 
    padding-bottom: 0.5rem; 
    border-bottom: 2px solid #00BFFF; 
    display: inline-block; 
    color: #fff;
}

/* --- Card Grid Layout --- */
.card-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem; 
    margin-bottom: 3rem; 
}

/* --- Card Styling --- */
.card { 
    background-color: rgba(20, 30, 40, 0.7); /* Glass effect */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 191, 255, 0.3); /* Neon border */
    border-radius: 12px; 
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.1); /* Neon glow */
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    
    /* --- Animation Start State --- */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(0, 191, 255, 0.7);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.3); 
}

/* --- Animation End State --- */
.card.animate {
    opacity: 1;
    transform: translateY(0);
}

.card-content { padding: 1.5rem; flex-grow: 1; }
.card-content h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: #fff; }
.card-content p { font-size: 0.9rem; color: #b0b0b0; margin-bottom: 1rem; }

/* --- Card Button --- */
.card-button { 
    display: block; 
    padding: 0.75rem 1.5rem; 
    margin: 1.5rem; 
    margin-top: auto; 
    background-color: transparent; 
    color: #00BFFF; 
    font-weight: 600; 
    text-align: center; 
    text-decoration: none; 
    border: 2px solid #00BFFF;
    border-radius: 8px; 
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.card-button:hover { 
    background-color: #00BFFF; 
    color: #121212;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
}

/* --- Special Cards (Access, Warning) --- */
.card-access {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1) 0%, rgba(57, 255, 20, 0.05) 100%);
    border-color: rgba(57, 255, 20, 0.5);
}
.card-access:hover { border-color: rgba(57, 255, 20, 1); box-shadow: 0 8px 30px rgba(57, 255, 20, 0.3); }
.card-access .card-button { color: #39FF14; border-color: #39FF14; }
.card-access .card-button:hover { background-color: #39FF14; color: #121212; box-shadow: 0 0 15px rgba(57, 255, 20, 0.5); }

.card-warning {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-color: rgba(255, 165, 0, 0.5);
}
.card-warning:hover { border-color: rgba(255, 165, 0, 1); box-shadow: 0 8px 30px rgba(255, 165, 0, 0.3); }
.card-warning .card-button { color: #FFA500; border-color: #FFA500; }
.card-warning .card-button:hover { background-color: #FFA500; color: #121212; box-shadow: 0 0 15px rgba(255, 165, 0, 0.5); }


/* --- Report Page Specific --- */
.report-section {
    background-color: rgba(20, 30, 40, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.1);
}
.report-section p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}
.report-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    border: 2px solid #d9534f;
    color: #d9534f;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.report-button:hover {
    background-color: #d9534f;
    color: #fff;
    box-shadow: 0 0 15px rgba(217, 83, 79, 0.5);
}

/* --- Footer --- */
.footer { 
    text-align: center; 
    padding: 2rem; 
    margin-top: 2rem; 
    background-color: #1e1e1e; 
    color: #777; 
    font-size: 0.9rem; 
    border-top: 1px solid #333; 
}

/* --- Responsive Navbar --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; align-items: flex-start; }
    .navbar-links { width: 100%; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
    .navbar-links a { width: 100%; text-align: left; }
}

