:root {
    --bg: #070b14;
    --bg-soft: #0f182b;
    --surface: #101d34;
    --surface-card: #13233e;
    --surface-card-2: #182d4f;
    --text: #f4f7ff;
    --text-soft: #a9b8d4;
    --brand: #2aa8ff;
    --brand-2: #5cd6ff;
    --accent: #ffb347;
    --accent-2: #ff8a00;
    --line: rgba(135, 170, 224, 0.26);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow: 0 16px 40px rgba(2, 8, 22, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 8% -20%, #1d3d6c 0%, transparent 34%),
        radial-gradient(circle at 90% 20%, #153655 0%, transparent 30%),
        linear-gradient(180deg, #070b14 0%, #080d19 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1360px, 94vw);
    margin: 0 auto;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.18;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(7, 11, 20, 0.78);
    border-bottom: 1px solid rgba(112, 151, 206, 0.24);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: contain;
    padding: 6px;
    background: linear-gradient(160deg, #f6fbff 0%, #e8f2ff 100%);
    border: 1px solid rgba(124, 164, 221, 0.55);
}

.brand-text strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.04em;
    font-size: 2.4rem;
    line-height: 0.92;
    white-space: nowrap;
}

.brand-text span {
    font-size: 1rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.main-menu .admin-link {
    white-space: nowrap;
}

.main-menu a {
    padding: 9px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.86rem;
    color: #c7d7f4;
    transition: 170ms ease;
    white-space: nowrap;
}

.main-menu a:hover,
.main-menu a.active {
    color: #fff;
    background: rgba(63, 113, 181, 0.35);
}

.main-menu .admin-link {
    background: linear-gradient(135deg, var(--brand), #1b5dd1);
    color: #fff;
}

.main-menu .admin-link:hover {
    background: linear-gradient(135deg, #26a2ff, #184eb3);
}

.nav-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.nav-search input {
    width: 150px;
    border: 1px solid rgba(113, 158, 219, 0.42);
    border-radius: 10px;
    background: rgba(12, 24, 44, 0.88);
    color: #e9f3ff;
    font: inherit;
    font-size: 0.86rem;
    padding: 8px 10px;
}

.nav-search input::placeholder {
    color: #8fb0dc;
}

.nav-search input:focus {
    outline: none;
    border-color: #67c5ff;
    box-shadow: 0 0 0 3px rgba(45, 170, 255, 0.18);
}

.nav-search button {
    border: 1px solid rgba(114, 160, 224, 0.45);
    background: rgba(21, 43, 75, 0.92);
    color: #d5e7ff;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: 160ms ease;
}

@media (max-width: 1280px) {
    .brand-text span {
        display: none;
    }

    .brand img {
        width: 70px;
        height: 70px;
    }
}

.nav-search button:hover {
    background: rgba(33, 67, 114, 0.95);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(103, 145, 206, 0.4);
    background: rgba(22, 37, 67, 0.9);
    border-radius: 10px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #dce9ff;
}

.site-main {
    padding-bottom: 28px;
}

.section {
    margin-top: 34px;
}

.section-header {
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
}

.section-header h2 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-header p {
    margin: 0;
    color: var(--text-soft);
    max-width: 560px;
}

.search-bar {
    margin: 14px 0 14px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(111, 156, 218, 0.38);
    background: linear-gradient(180deg, rgba(16, 34, 59, 0.92), rgba(14, 27, 46, 0.92));
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    flex: 1 1 220px;
    min-height: 42px;
    border: 1px solid rgba(114, 160, 224, 0.45);
    border-radius: 10px;
    padding: 10px 11px;
    font: inherit;
    color: #eff7ff;
    background: rgba(10, 22, 39, 0.88);
}

.search-bar input::placeholder {
    color: #97b5de;
}

.search-bar input:focus,
.search-bar select:focus {
    outline: none;
    border-color: #67c5ff;
    box-shadow: 0 0 0 3px rgba(45, 170, 255, 0.16);
}

.search-bar button {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #32adff, #2a68ff);
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(35, 112, 255, 0.28);
}

.search-bar button:hover {
    filter: brightness(1.05);
}

.search-summary {
    margin: 0 0 12px;
    color: #bbd5f5;
}

.search-summary strong {
    color: #f4fbff;
}

.timeline-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.timeline-form {
    margin: 0;
}

.hero-premium {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.hero-media,
.hero-copy {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface-card);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(5, 12, 26, 0.72));
}

.hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(12, 25, 46, 0.86);
    border: 1px solid rgba(100, 145, 210, 0.5);
    border-radius: 999px;
    padding: 7px 12px;
    color: #d5e8ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-floating {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    background: rgba(9, 19, 35, 0.9);
    border: 1px solid rgba(94, 132, 184, 0.6);
    border-radius: 14px;
    padding: 10px 12px;
}

.hero-floating strong {
    display: block;
    font-size: 1.4rem;
    color: var(--brand-2);
}

.hero-floating span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.hero-copy {
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(160deg, #10213a 0%, #152c4f 100%);
}

.hero-copy h1 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.hero-copy p {
    margin: 12px 0 0;
    color: #c5d6f4;
    font-size: 1.03rem;
    line-height: 1.68;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(140deg, #29a6ff, #2a74ff);
    color: #fff;
    box-shadow: 0 14px 26px rgba(34, 112, 255, 0.36);
}

.btn-ghost {
    border: 1px solid rgba(120, 162, 225, 0.5);
    color: #d7e8ff;
    background: rgba(13, 30, 54, 0.7);
}

.btn-secondary {
    background: rgba(32, 53, 90, 0.72);
    border: 1px solid rgba(107, 145, 198, 0.5);
    color: #d7e7ff;
}

.hero-stats {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hero-stats div {
    border-radius: 12px;
    border: 1px solid rgba(119, 154, 204, 0.35);
    background: rgba(18, 38, 66, 0.74);
    padding: 10px 12px;
}

.hero-stats strong {
    display: block;
    font-size: 1.26rem;
    color: var(--brand-2);
}

.hero-stats span {
    font-size: 0.82rem;
    color: #bad0ef;
}

.media-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.media-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    position: relative;
    min-height: 142px;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.media-card:hover img {
    transform: scale(1.06);
}

.media-card span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(7, 15, 28, 0.76);
    border: 1px solid rgba(145, 180, 228, 0.38);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.premium-card {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #122642 0%, #101f34 100%);
    overflow: hidden;
}

.premium-card img {
    width: 100%;
    height: 196px;
    object-fit: cover;
}

.premium-card div {
    padding: 14px;
}

.premium-card h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
}

.premium-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.news-card {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #12233d 0%, #101c2f 100%);
    border: 1px solid var(--line);
}

.news-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-content {
    padding: 15px;
}

.news-content h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    line-height: 1.4;
}

.news-content p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.meta {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9fb4d6;
    font-size: 0.82rem;
    font-weight: 700;
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.timeline-chip {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #0f2037 0%, #0f1c31 100%);
    padding: 14px;
}

.timeline-chip span {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(35, 112, 208, 0.35);
    border: 1px solid rgba(106, 160, 231, 0.45);
    font-size: 0.75rem;
    font-weight: 800;
}

.timeline-chip h3 {
    margin: 10px 0 6px;
    font-size: 1.02rem;
}

.timeline-chip p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.55;
}

.timeline-chip.highlight {
    border-color: rgba(255, 179, 71, 0.7);
    box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.35);
}

.timeline-wrap {
    position: relative;
    padding-left: 28px;
}

.timeline-wrap::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #2ca9ff, #ffa83b);
}

.timeline-item {
    position: relative;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #11243f;
    padding: 14px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 16px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #32b4ff;
    box-shadow: 0 0 0 4px rgba(50, 180, 255, 0.22);
}

.timeline-item .date {
    font-size: 0.75rem;
    font-weight: 800;
    color: #a9d8ff;
    letter-spacing: 0.07em;
}

.timeline-item h3 {
    margin: 6px 0;
}

.timeline-item p {
    margin: 0;
    color: var(--text-soft);
}

.timeline-item.highlight {
    border-color: rgba(255, 179, 71, 0.62);
    box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.27);
}

.timeline-item img,
.timeline-item iframe,
.timeline-item video {
    margin-top: 10px;
    width: 100%;
    border: 0;
    border-radius: 10px;
}

.timeline-item iframe,
.timeline-item video {
    min-height: 260px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.sponsor-card {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #122741 0%, #11213a 100%);
    padding: 14px;
    text-align: center;
}

.sponsor-logo {
    border-radius: 12px;
    border: 1px solid rgba(125, 164, 219, 0.3);
    height: 90px;
    overflow: hidden;
    background: rgba(17, 35, 61, 0.9);
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsor-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.sponsor-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.52;
    min-height: 44px;
}

.sponsor-tier {
    margin-top: 10px;
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.2);
    color: #ffd99f;
    border: 1px solid rgba(255, 179, 71, 0.5);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ad-slot {
    border: 1px dashed rgba(111, 161, 228, 0.5);
    background: rgba(16, 33, 57, 0.8);
    border-radius: 16px;
    min-height: 125px;
    padding: 12px;
    display: grid;
    place-items: center;
}

.ad-slot .ad-label {
    color: #98b6e6;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.ins-ad {
    width: 100%;
    min-height: 96px;
}

.single-post {
    margin-top: 34px;
    border-radius: 18px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: linear-gradient(180deg, #122846 0%, #111f35 100%);
    box-shadow: var(--shadow);
}

.single-post .cover {
    max-height: 440px;
    overflow: hidden;
}

.single-post .cover img {
    width: 100%;
    object-fit: cover;
}

.single-post article {
    padding: 26px;
}

.single-post h1 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.single-post .post-meta {
    margin: 8px 0 16px;
    color: #a7bee0;
    font-size: 0.86rem;
    font-weight: 700;
}

.post-body {
    color: #dce8ff;
    line-height: 1.8;
}

.post-video {
    margin: 14px 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-video iframe,
.post-video video {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.contact-card {
    margin-top: 32px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #122744 0%, #111f37 100%);
    padding: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.contact-item {
    border-radius: 12px;
    border: 1px solid rgba(114, 161, 227, 0.4);
    background: rgba(12, 24, 43, 0.7);
    padding: 12px;
}

.contact-item strong {
    display: block;
    margin-bottom: 7px;
}

.contact-item input,
.contact-item textarea {
    background: rgba(16, 32, 57, 0.9);
    border-color: rgba(114, 161, 227, 0.45);
    color: #f0f6ff;
}

.empty-state {
    border-radius: 14px;
    border: 1px dashed rgba(126, 170, 231, 0.45);
    background: rgba(12, 23, 42, 0.76);
    padding: 16px;
    color: #b8cde9;
}

.alert {
    border-radius: 12px;
    border: 1px solid;
    padding: 10px 12px;
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 0.92rem;
}

.alert-success {
    background: rgba(31, 101, 67, 0.24);
    border-color: rgba(83, 190, 138, 0.5);
    color: #b7f0ce;
}

.alert-error {
    background: rgba(130, 39, 39, 0.27);
    border-color: rgba(245, 125, 125, 0.56);
    color: #ffd1d1;
}

.pagination {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    min-width: 38px;
    text-align: center;
    border-radius: 9px;
    border: 1px solid rgba(113, 158, 219, 0.4);
    padding: 8px 10px;
    font-weight: 800;
    background: rgba(16, 31, 56, 0.82);
}

.pagination .current {
    background: rgba(39, 109, 214, 0.55);
}

.site-footer {
    margin-top: 46px;
    border-top: 1px solid rgba(124, 166, 223, 0.3);
    background: #060b14;
}

.footer-grid {
    padding: 30px 0 18px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
}

.footer-grid h3 {
    margin: 0 0 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
}

.footer-grid h4 {
    margin: 0 0 7px;
}

.footer-grid p {
    margin: 0 0 7px;
    line-height: 1.6;
    color: #b1c8ea;
}

.footer-grid a {
    color: #d8e8ff;
}

.footer-grid .muted {
    font-size: 0.83rem;
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid rgba(124, 166, 223, 0.3);
    padding: 14px 0;
    color: #a2bddf;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #f4fff8;
    background: linear-gradient(135deg, #18b857, #0d8e44);
    border: 1px solid rgba(96, 231, 158, 0.65);
    box-shadow: 0 14px 28px rgba(3, 35, 18, 0.45);
}

.whatsapp-float:hover {
    filter: brightness(1.04);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: transform 480ms ease, opacity 480ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-premium {
        grid-template-columns: 1fr;
    }

    .hero-media img {
        min-height: 320px;
    }

    .media-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid,
    .premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-menu {
        position: absolute;
        top: 80px;
        left: 4vw;
        right: 4vw;
        border: 1px solid rgba(110, 154, 217, 0.4);
        border-radius: 14px;
        background: rgba(11, 20, 36, 0.95);
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.42);
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        pointer-events: none;
        transition: 200ms ease;
    }

    .main-menu.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-search {
        width: 100%;
        margin: 2px 0 0;
    }

    .nav-search input {
        width: 100%;
    }

    .brand img {
        width: 68px;
        height: 68px;
    }

    .brand-text strong {
        font-size: 2.3rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid,
    .footer-grid,
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-copy {
        padding: 20px 18px;
    }

    .news-grid,
    .premium-grid,
    .timeline-horizontal,
    .media-strip {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .single-post article {
        padding: 18px;
    }

    .search-bar {
        padding: 8px;
    }

    .search-bar button,
    .search-bar .btn {
        width: 100%;
    }

    .post-video iframe,
    .post-video video {
        min-height: 220px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        min-width: 126px;
        min-height: 42px;
    }
}
