@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Exo+2:wght@300;400;600&display=swap');

:root {
    --bg: #02050a;
    --bg-alt: #050910;
    --panel: rgba(5, 15, 25, 0.94);
    --panel-soft: rgba(5, 20, 30, 0.86);
    --neon: #00f7ff;
    --neon-soft: #00c5d4;
    --matrix: rgba(0, 255, 170, 0.16);
    --text: #e7faf8;
    --text-muted: #7fd3c7;
    --border: rgba(0, 255, 191, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body.site {
    font-family: 'Exo 2', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body.site::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 255, 190, 0.18) 0,
            transparent 35%,
            transparent 65%,
            rgba(0, 255, 190, 0.22) 100%
        ),
        linear-gradient(
            to right,
            rgba(0, 255, 160, 0.12) 1px,
            transparent 1px
        );
    background-size: 100% 260px, 42px 100%;
    opacity: 0.4;
    mix-blend-mode: screen;
    z-index: -1;
}

a {
    color: var(--neon-soft);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.7);
}

p {
    margin-bottom: 0.9rem;
    color: var(--text);
}

h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', 'Exo 2', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.4rem;
}

/* HEADER / HERO */
.header-hero {
    padding: 2.4rem 0 1.2rem;
    background:
        radial-gradient(circle at top, rgba(0, 247, 255, 0.18), transparent 60%),
        radial-gradient(circle at 10% 10%, rgba(0, 160, 255, 0.25), transparent 55%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.8));
    border-bottom: 1px solid var(--border);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 247, 255, 0.25);
    position: relative;
    z-index: 2;
}

.header-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

/* LOGO */
.logo img {
    display: block;
    height: auto;
    max-width: 260px;
    filter:
        drop-shadow(0 0 12px rgba(0, 247, 255, 0.8))
        drop-shadow(0 0 28px rgba(0, 120, 200, 0.9));
}

/* MAIN MENU */
.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.main-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    font-family: 'Orbitron', 'Exo 2', system-ui, sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding-bottom: 0.4rem;
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--neon);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.7);
    transition: width 0.25s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--neon);
    text-shadow:
        0 0 5px rgba(0, 247, 255, 0.8),
        0 0 15px rgba(0, 160, 220, 0.7);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

/* TOP MODULES (CAROUSEL) */
.top-modules {
    margin: 1.6rem 0 0.6rem;
}

.top-modules .container {
    padding: 0.4rem 1.4rem 0;
}

/* BREADCRUMBS */
.breadcrumbs {
    margin-top: 0.6rem;
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--text);
}

/* MAIN CONTENT */
main.container {
    padding: 1.8rem 0 3rem;
}

.blog .items-leading > div,
.blog .items-row .item,
.item-page,
.com-content-article,
.blog-featured .items-leading > div {
    background:
        radial-gradient(circle at top left, rgba(0, 247, 255, 0.16), transparent 60%),
        linear-gradient(135deg, var(--panel), var(--panel-soft));
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 1.75rem 1.7rem;
    margin-bottom: 1.8rem;
    box-shadow:
        0 0 26px rgba(0, 0, 0, 0.95),
        0 0 22px rgba(0, 247, 255, 0.18);
    backdrop-filter: blur(6px);
}

.blog .page-header h2,
.item-page .page-header h2,
.item-page h1 {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
}

.article-info,
.article-info-term {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.item-page p,
.blog p,
.com-content-article p {
    color: var(--text);
}

/* BUTTONS / READ MORE */
.readmore a,
.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.85);
    color: var(--neon-soft);
    font-size: 0.86rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', 'Exo 2', system-ui, sans-serif;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.readmore a:hover,
.btn:hover,
.button:hover {
    background: var(--neon);
    color: #001016;
    box-shadow:
        0 0 14px rgba(0, 247, 255, 0.9),
        0 0 24px rgba(0, 160, 220, 0.7);
    transform: translateY(-1px);
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 2rem 0 0;
    flex-wrap: wrap;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-muted);
    font-size: 0.78rem;
    justify-content: center;
    align-items: center;
}

.pagination .active span,
.pagination .active a {
    border-color: var(--neon);
    color: var(--neon);
    box-shadow: 0 0 12px rgba(0, 247, 255, 0.8);
}

/* SYSTEM MESSAGES */
.alert,
.alert-message,
.alert-warning,
.alert-error {
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(10, 15, 25, 0.96);
    color: var(--text);
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    background:
        radial-gradient(circle at bottom, rgba(0, 247, 255, 0.18), transparent 65%),
        linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9));
    padding: 1.2rem 0 1.8rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .header-hero .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-menu {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-menu ul {
        flex-direction: column;
        gap: 0.8rem;
    }

    .logo img {
        max-width: 220px;
    }

    main.container {
        padding-top: 1.6rem;
    }
}


/* ===== CATEGORY LIST VIEW FIX (com_content Category List) ===== */
.com-content-category.category-list {
    color: var(--text);
}

.com-content-category.category-list a {
    color: var(--neon-soft);
}

.com-content-category.category-list a:hover {
    color: var(--neon);
}

.com-content-category.category-list .category-list,
.com-content-category.category-list .category-list li,
.com-content-category.category-list .category-list a {
    color: var(--text);
}

.com-content-category.category-list .category-list li a {
    color: var(--neon-soft);
}

.com-content-category.category-list .category-list li a:hover {
    color: var(--neon);
}

/* Table-style category list */
.com-content-category__table.category {
    display: table;
    width: 100%;
    color: var(--text);
    border-collapse: collapse;
}

.com-content-category__table.category th,
.com-content-category__table.category td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(0, 255, 191, 0.22);
    color: var(--text);
}

.com-content-category__table.category th {
    font-weight: 600;
    color: var(--neon-soft);
}

