:root {
    --bg-navy-dark: #080E21;
    --bg-navy-card: #0E1A36;
    --bg-navy-elevated: #162447;
    --brand-cyan: #00D2FF;
    --brand-cyan-dark: #0099CC;
    --brand-green: #00E676;
    --text-white: #FFFFFF;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 210, 255, 0.3);
}

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

body {
    background-color: var(--bg-navy-dark);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: var(--bg-navy-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo-badge {
    width: 36px;
    height: 36px;
    background: var(--brand-cyan);
    color: var(--bg-navy-dark);
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--text-white);
}

.brand-tagline {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
    flex: 1;
    max-width: 400px;
}

.header-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
    padding: 4px;
}

.header-search button {
    background: transparent;
    border: none;
    color: var(--brand-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.btn-admin-portal, .btn-back-home {
    background: rgba(0, 210, 255, 0.1);
    color: var(--brand-cyan);
    border: 1px solid var(--brand-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-admin-portal:hover, .btn-back-home:hover {
    background: var(--brand-cyan);
    color: var(--bg-navy-dark);
}

/* Category Navigation */
.nav-bar {
    background: var(--bg-navy-dark);
    border-top: 1px solid var(--border-color);
}

.nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px;
    white-space: nowrap;
    scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar { display: none; }

.category-chip {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-chip:hover, .category-chip.active {
    background: var(--brand-cyan);
    color: var(--bg-navy-dark);
    border-color: var(--brand-cyan);
    font-weight: 700;
}

/* Breaking Ticker */
.breaking-ticker-section {
    background: #0B1428;
    border-bottom: 1px solid var(--border-color);
}

.ticker-wrap {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
    overflow: hidden;
}

.ticker-badge {
    background: #FF2E55;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.ticker-marquee {
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.ticker-marquee a { color: #fff; text-decoration: none; }
.ticker-marquee a:hover { color: var(--brand-cyan); }

/* Adsterra Slots */
.ad-slot-container {
    background: var(--bg-navy-card);
    border: 1px dashed rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin: 20px auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Hero Section */
.hero-section {
    margin: 24px 0;
}

.hero-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.15);
}

.hero-image-wrap {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brand-cyan);
    color: var(--bg-navy-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hero-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #fff;
}

.hero-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Feed Section */
.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.section-heading {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
}

.heading-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.article-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-cyan);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.card-thumb-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 14, 33, 0.85);
    color: var(--brand-cyan);
    border: 1px solid var(--brand-cyan);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #fff;
}

.card-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}

/* Videos Section */
.yt-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.video-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.video-thumb-wrap {
    height: 160px;
    position: relative;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.video-title {
    font-size: 13px;
    font-weight: 700;
    padding: 12px;
    color: #fff;
    line-height: 1.4;
}

/* Newsletter Box */
.newsletter-box {
    background: linear-gradient(135deg, #0E1A36 0%, #162447 100%);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    padding: 36px 20px;
    text-align: center;
    margin: 30px 0;
}

.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-badge { color: var(--brand-cyan); font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.newsletter-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.newsletter-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.newsletter-form {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.newsletter-form input {
    background: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    width: 320px;
}

.btn-subscribe {
    background: var(--brand-cyan);
    color: var(--bg-navy-dark);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-subscribe:hover { opacity: 0.9; }

.newsletter-success {
    margin-top: 14px;
    color: var(--brand-green);
    font-size: 13px;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background: #050914;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-cyan);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.footer-desc, .footer-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 10px 0;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--brand-cyan); }

.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-navy-card);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--border-color);
}
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-btn.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-btn.telegram:hover { background: #229ED9; border-color: #229ED9; }

.btn-footer-admin {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    color: var(--brand-cyan);
    border: 1px solid var(--brand-cyan);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
}

.modal-box {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: 10px; right: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Article Reader Page */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin: 28px auto;
}

.single-article-card {
    background: var(--bg-navy-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px;
}

.article-header { margin-bottom: 20px; }
.article-tag { color: var(--brand-cyan); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.article-headline { font-size: 26px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.article-subline { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

.article-author-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.article-featured-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.article-content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #E2E8F0;
}

.article-content-body h2, .article-content-body h3 {
    color: #fff;
    margin: 24px 0 12px;
    font-weight: 800;
}

.article-content-body blockquote {
    border-left: 3px solid var(--brand-cyan);
    padding-left: 14px;
    margin: 18px 0;
    color: var(--brand-cyan);
    font-style: italic;
}

.article-content-body ul {
    margin: 14px 0 14px 24px;
}

.share-section {
    margin: 30px 0;
    padding: 16px;
    background: var(--bg-navy-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.share-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-share {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    color: #fff;
}
.btn-share.fb { background: #1877F2; }
.btn-share.wa { background: #25D366; }
.btn-share.tg { background: #229ED9; }
.btn-share.copy { background: var(--brand-cyan-dark); }

/* Linkable Action Buttons & CTAs */
.article-action-box {
    margin: 32px 0 20px;
    padding: 22px 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 1.5px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.article-action-box.download {
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.1) 0%, rgba(10, 25, 47, 0.95) 100%);
    border-color: rgba(255, 171, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 171, 0, 0.12);
}
.article-action-box.bonus {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1) 0%, rgba(10, 25, 47, 0.95) 100%);
    border-color: rgba(0, 230, 118, 0.5);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.12);
}
.article-action-box.telegram {
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.12) 0%, rgba(10, 25, 47, 0.95) 100%);
    border-color: rgba(34, 158, 217, 0.5);
    box-shadow: 0 10px 30px rgba(34, 158, 217, 0.12);
}

.action-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--brand-cyan);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.article-action-box.download .action-badge { color: #FFAB00; }
.article-action-box.bonus .action-badge { color: #00E676; }
.article-action-box.telegram .action-badge { color: #229ED9; }

.action-sub {
    font-size: 13px;
    color: #CBD5E1;
    font-weight: 500;
}

.btn-action-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    background: var(--brand-cyan);
    color: #0A192F !important;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
    transition: all 0.25s ease;
    min-width: 220px;
    text-align: center;
}
.btn-action-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.55);
}
.btn-action-cta.download {
    background: #FFAB00;
    color: #0A192F !important;
    box-shadow: 0 4px 16px rgba(255, 171, 0, 0.35);
}
.btn-action-cta.download:hover {
    box-shadow: 0 8px 24px rgba(255, 171, 0, 0.55);
}
.btn-action-cta.bonus {
    background: #00E676;
    color: #0A192F !important;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.35);
}
.btn-action-cta.bonus:hover {
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.55);
}
.btn-action-cta.telegram {
    background: #229ED9;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.35);
}
.btn-action-cta.telegram:hover {
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.55);
}

/* Inline Buttons inside text */
.inline-btn-wrap {
    margin: 18px 0;
}
.btn-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #00E5FF 0%, #00B4D8 100%);
    color: #0A192F !important;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0, 229, 255, 0.3);
    transition: all 0.2s ease;
}
.btn-inline-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 229, 255, 0.5);
    color: #000 !important;
}

.article-text-link {
    color: var(--brand-cyan);
    text-decoration: underline;
    font-weight: 600;
}
.article-text-link:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-card { grid-template-columns: 1fr; }
    .hero-image-wrap { height: 220px; }
    .article-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .header-search { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }
}