﻿:root {
    --layout-max-width: 1400px;
    --page-max-width: 1200px;
    --surface-bg: rgba(15, 23, 42, 0.9);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-highlight: rgba(59, 130, 246, 0.35);
    --text-muted: rgba(255, 255, 255, 0.7);
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0a0f1a;
    color: #fff;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    background: transparent;
}

main {
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    flex: 1 0 auto;
}

.navbar {
    background: #0a0f1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.navbar .container-fluid {
    max-width: var(--layout-max-width);
    margin: 0 auto;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: #007bff;
}

.navbar-nav {
    gap: 0.35rem;
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(0, 123, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.dropdown-menu {
    background: rgba(10, 15, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 2.5rem;
    position: relative;
}

.dropdown-item i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4db8ff;
}

.footer {
    width: 100%;
    background: linear-gradient(0deg, rgba(10, 15, 26, 0.98) 0%, rgba(10, 15, 26, 0.95) 100%) !important;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.section-divider {
    position: relative;
    width: min(1200px, 100%);
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
               0 0 20px rgba(0, 123, 255, 0.2);
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.section-divider::before {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
               0 0 20px rgba(0, 123, 255, 0.6);
}

.section-divider::after {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.page-section {
    width: min(var(--page-max-width), 100%);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.section-heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
}

.section-heading p {
    max-width: 720px;
    margin: 0.75rem auto 0;
    color: var(--text-muted);
}

.surface-card {
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.table-card {
    background: rgba(10, 15, 26, 0.95);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.table-card .table {
    margin-bottom: 0;
    color: #fff;
    min-width: 620px;
}

.table-card thead th {
    background: rgba(59, 130, 246, 0.12);
    border-bottom: 1px solid var(--surface-border);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.table-card tbody td {
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.06);
}

.empty-state {
    text-align: center;
    padding: clamp(3rem, 6vw, 4rem) 1.5rem;
}

.empty-state .icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
}

.responsive-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    background: #050912;
}

.responsive-embed iframe,
.responsive-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid.two-column {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 992px) {
    main {
        padding: 0 1rem 1.5rem;
    }

    .navbar-nav {
        align-items: flex-start;
        margin-top: 0.75rem;
    }

    .navbar-nav .nav-link,
    .navbar .btn-link {
        width: 100%;
        text-align: left;
    }

    .page-section {
        padding-inline: 1.25rem;
    }
}

@media (max-width: 576px) {
    .table-card {
        border-radius: 12px;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }
}
