@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --neon: #00ffcc;
    --neon-dim: #00ccaa;
    --neon-glow: rgba(0, 255, 204, 0.45);
    --neon-soft: rgba(0, 255, 204, 0.1);
    --magenta: #ff2a6d;
    --magenta-glow: rgba(255, 42, 109, 0.4);
    --magenta-soft: rgba(255, 42, 109, 0.1);
    --gold: #ffd700;
    --bg: #000000;
    --bg-2: #050505;
    --bg-surface: #0a0a0a;
    --bg-card: rgba(10, 10, 10, 0.92);
    --bg-glass: rgba(5, 5, 5, 0.95);
    --text: #e8e8e8;
    --text-dim: #8a8a8a;
    --text-muted: #555555;
    --header-bg: rgba(0, 0, 0, 0.97);
    --border: rgba(0, 255, 204, 0.2);
    --border-magenta: rgba(255, 42, 109, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.scanlines {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 255, 204, 0.015) 2px,
        rgba(0, 255, 204, 0.015) 3px
    );
    opacity: 0.6;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 255, 204, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--neon), var(--magenta)); border-radius: 5px; }

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 2005;
    height: 72px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--ease);
    border-bottom: 1px solid transparent;
}
header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 50px rgba(0,0,0,0.9);
    height: 60px;
}
.glass-nav {
    background: var(--header-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border) !important;
}
.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    gap: 2rem;
}
.logo img {
    height: 36px;
    filter: drop-shadow(0 0 8px var(--neon-glow));
    transition: var(--ease);
}
.logo img:hover { filter: drop-shadow(0 0 16px var(--neon-glow)) drop-shadow(0 0 30px var(--magenta-glow)); }

.nav-list ul { display: flex; gap: 0.1rem; align-items: center; }
.nav-list a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: var(--ease);
    border: 1px solid transparent;
    position: relative;
}
.nav-list a:hover {
    color: var(--neon);
    background: var(--neon-soft);
    border-color: var(--border);
    text-shadow: 0 0 8px var(--neon-glow);
}

.header-auth .btn-signup {
    background: var(--neon);
    color: #000;
    padding: 0.5rem 1.3rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--radius);
    border: 1px solid var(--neon);
    box-shadow: 0 0 20px var(--neon-glow), inset 0 0 12px rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.header-auth .btn-signup::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.header-auth .btn-signup:hover {
    background: #000;
    color: var(--neon);
    box-shadow: 0 0 35px var(--neon-glow), inset 0 0 20px var(--neon-soft);
    transform: translateY(-1px);
}
.header-auth .btn-signup:hover::before { left: 100%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    z-index: 2010;
    border-radius: var(--radius);
    transition: var(--ease);
}
.mobile-menu-toggle:hover { background: var(--neon-soft); border-color: var(--border); }
.mobile-menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--neon);
    border-radius: var(--radius);
    transition: var(--ease);
    box-shadow: 0 0 4px var(--neon-glow);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2004;
    opacity: 0; visibility: hidden;
    transition: var(--ease);
    backdrop-filter: blur(10px);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

.cyber-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    letter-spacing: 0;
    line-height: 1.2;
}
.cyber-title.center { text-align: center; }
.cyber-title.alt { color: #fff; }
.cyber-title .magenta {
    color: var(--magenta);
    font-family: 'Share Tech Mono', monospace;
    font-weight: 700;
    margin-right: 0.5rem;
    text-shadow: 0 0 10px var(--magenta-glow);
}

footer {
    background: #000;
    padding: 4.5rem 5% 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--magenta), var(--neon), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
    position: relative; z-index: 2;
}
.footer-brand-col .footer-desc {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-top: 1rem;
    line-height: 1.8;
    max-width: 420px;
}
.footer-links-col h4, .footer-contact-col h4 {
    color: var(--neon);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.3rem;
    text-shadow: 0 0 6px var(--neon-glow);
}
.footer-links-col ul, .footer-contact-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-col a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--ease);
    font-family: 'Share Tech Mono', monospace;
}
.footer-links-col a:hover { color: var(--neon); padding-left: 5px; text-shadow: 0 0 6px var(--neon-glow); }
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer-socials a {
    width: 36px; height: 36px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--ease);
}
.footer-socials a:hover {
    color: var(--neon);
    border-color: var(--border);
    background: var(--neon-soft);
    box-shadow: 0 0 15px var(--neon-glow);
    transform: translateY(-2px);
}
.footer-bottom-row {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Share Tech Mono', monospace;
    position: relative; z-index: 2;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); transition: var(--ease); }
.footer-bottom-links a:hover { color: var(--neon); text-shadow: 0 0 6px var(--neon-glow); }
.footer-icon {
    color: var(--neon);
    width: 1.25rem;
    margin-right: 0.35rem;
}
.footer-brand-col img {
    max-height: 48px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--neon-glow));
}
.footer-contact-col li {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.mobile-bottom-bar { display: none; }

.ad-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    position: relative;
}
.cyber-ad::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, var(--neon), var(--magenta), var(--neon));
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

/* ── Gallery / News Cyber Section ── */
.gallery-cyber-section {
    position: relative;
    padding: 6rem 0 4rem;
}
.gallery-cyber-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(0, 255, 204, 0.05) 0%, rgba(255, 42, 109, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neon);
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.news-grid-glow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.news-card-glow {
    background: linear-gradient(165deg, rgba(16, 18, 24, 0.95) 0%, rgba(8, 9, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.news-card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--magenta), transparent);
    opacity: 0;
    transition: opacity var(--ease);
}
.news-card-glow:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 204, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 204, 0.2), 0 0 50px rgba(255, 42, 109, 0.1);
}
.news-card-glow:hover::before {
    opacity: 1;
}
.news-glow-img {
    height: 215px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.news-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.news-glow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}
.news-card-glow:hover .news-glow-img img {
    transform: scale(1.08);
    filter: brightness(1.05);
}
.news-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease);
}
.news-card-glow:hover .news-img-overlay {
    opacity: 1;
}
.news-overlay-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neon);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 20px var(--neon-glow);
    transform: scale(0.8);
    transition: transform var(--ease);
}
.news-card-glow:hover .news-overlay-btn {
    transform: scale(1);
}
.news-badge-glow {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--border);
    color: var(--neon);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    z-index: 2;
}
.news-glow-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}
.news-card-meta i {
    color: var(--neon);
}
.news-meta-dot {
    color: var(--magenta);
}
.news-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.news-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color var(--ease), text-shadow var(--ease);
}
.news-card-title a:hover {
    color: var(--neon);
    text-shadow: 0 0 12px var(--neon-glow);
}
.news-card-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.news-glow-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.read-more-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    background: var(--neon-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--ease);
}
.read-more-glow:hover {
    background: var(--neon);
    color: #000;
    border-color: var(--neon);
    box-shadow: 0 0 16px var(--neon-glow);
    gap: 0.75rem;
}
.news-card-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--magenta);
    background: var(--magenta-soft);
    border: 1px solid var(--border-magenta);
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius);
}
.section-prefix {
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'Share Tech Mono', monospace;
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
}
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-muted-light { color: var(--text-dim); }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.pt-3 { padding-top: 1rem; }
.ms-2 { margin-left: 0.5rem; }
.border-top-dark { border-top: 1px solid var(--border-subtle); }

@media (max-width: 992px) {
    .header-container { padding: 0 1.25rem; }
    .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh; height: 100dvh;
        background: #050505;
        padding: 5rem 1.5rem 2rem;
        z-index: 2008;
        border-left: 1px solid var(--border);
        box-shadow: -30px 0 80px rgba(0,0,0,0.95);
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }
    .nav-list.active { right: 0; }
    .nav-list ul { flex-direction: column; gap: 0.3rem; }
    .nav-list a { font-size: 0.85rem; padding: 0.8rem 1rem; display: block; }
    .mobile-menu-toggle { display: flex; }
    .header-auth .btn-signup { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand-col .footer-desc { margin: 0.75rem auto; }
    .footer-socials { justify-content: center; }
    .footer-bottom-row { flex-direction: column; gap: 0.8rem; text-align: center; justify-content: center; }
    .cyber-title { font-size: 1.8rem; }
    .news-grid-glow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0;
        width: 100%;
        background: linear-gradient(180deg, transparent, #000 30%);
        padding: 10px 12px 14px;
        z-index: 1005;
        gap: 10px;
        border-top: 1px solid var(--border);
    }
    .mobile-bottom-bar a {
        flex: 1; text-align: center;
        padding: 14px 0;
        font-family: 'Share Tech Mono', monospace;
        font-weight: 800;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        border-radius: var(--radius);
        transition: var(--ease);
    }
    .mobile-bottom-bar .btn-login {
        border: 1px solid var(--neon);
        color: var(--neon);
        background: transparent;
    }
    .mobile-bottom-bar .btn-login:hover { background: var(--neon-soft); box-shadow: 0 0 15px var(--neon-glow); }
    .mobile-bottom-bar .btn-register {
        background: var(--neon);
        color: #000;
        font-weight: 800;
        box-shadow: 0 0 18px var(--neon-glow);
    }
    body { padding-bottom: 78px; }
    .news-grid-glow { grid-template-columns: 1fr; }
    .section-title { font-size: 1.7rem; }
}
