/* ============================================================
   DIGITAL DOST CENTRE — home.css (SMOOTH EDITION)
   Professional • Fluid • Mobile + Desktop
   ============================================================ */

/* ===================== ROOT VARIABLES ===================== */
:root {
    --primary: #0f1a4a;
    --primary-2: #1b2a6b;
    --primary-3: #243a8f;
    --accent: #ff7a18;
    --accent-2: #ffb703;
    --gold: #f5c542;
    --green: #16a34a;
    --red: #e11d48;
    --blue: #2563eb;

    --bg: #eef1f8;
    --card: #ffffff;
    --text: #16203a;
    --text-2: #3d4a66;
    --muted: #7b88a3;
    --border: #e2e8f4;

    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 20px;
    --radius-pill: 999px;

    --shadow-s: 0 1px 4px rgba(15, 26, 74, .05);
    --shadow-m: 0 4px 14px rgba(15, 26, 74, .08);
    --shadow-l: 0 10px 32px rgba(15, 26, 74, .14);

    --font-main: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    --font-brand: 'Cinzel', 'Noto Sans Devanagari', serif;
}

/* ===================== RESET ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 88px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
marquee { display: inline-block; vertical-align: middle; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #e6ebf5; }
::-webkit-scrollbar-thumb { background: #b9c4da; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #93a2c2; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
}

/* ============================================================
   OFFLINE BANNER + SYNC INDICATOR
   ============================================================ */
.offline-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: linear-gradient(90deg, #b91c1c, #ef4444);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translate3d(0, -110%, 0);
    transition: transform .3s ease;
}

.offline-banner.show { transform: translate3d(0, 0, 0); }

.sync-indicator {
    position: fixed;
    left: 12px;
    bottom: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c3cbd9;
    z-index: 900;
    transition: background .25s ease;
}

.sync-indicator.online { background: var(--green); }
.sync-indicator.syncing { background: var(--accent-2); animation: syncPulse 1s infinite; }

@keyframes syncPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: relative;
    background: linear-gradient(135deg, #0b1440 0%, #16255e 45%, #243a8f 100%);
    box-shadow: 0 3px 14px rgba(11, 20, 64, .22);
    z-index: 100;
}

.top-banner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.banner-left { flex-shrink: 0; }

.logo-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2.5px solid rgba(255, 255, 255, .55);
    transition: transform .3s ease;
}

.logo-circle:hover { transform: scale(1.05); }

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

.logo-text-fallback {
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: 20px;
    color: var(--primary);
}

.banner-center { flex: 1; text-align: center; min-width: 0; }
.site-title-link { display: inline-block; }

.banner-center h1 {
    font-family: var(--font-brand);
    font-size: clamp(17px, 4.4vw, 28px);
    font-weight: 900;
    letter-spacing: .6px;
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.banner-center h1 .digital { color: #ffffff; }
.banner-center h1 .dost { color: var(--gold); }
.banner-center h1 .online { color: #7fb3ff; }

.banner-center p {
    font-size: clamp(9.5px, 2.6vw, 12.5px);
    color: rgba(255, 255, 255, .72);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: .4px;
}

.banner-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.whatsapp-btn,
.youtube-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    transition: transform .22s ease;
}

.whatsapp-btn { background: linear-gradient(135deg, #25d366, #128c7e); }
.youtube-btn { background: linear-gradient(135deg, #ff4b4b, #c8102e); }

.whatsapp-btn:hover,
.youtube-btn:hover { transform: translateY(-2px) scale(1.05); }

/* ---------- MENU BAR ---------- */
.menu-bar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(8, 16, 50, .96);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.category-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 9px 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    max-width: 1200px;
    margin: 0 auto;
    scroll-behavior: smooth;
}

.category-nav-wrapper::-webkit-scrollbar { display: none; }

.category-nav-wrapper > a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.category-nav-wrapper > a i { font-size: 12px; }
.category-nav-wrapper > a:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.category-nav-wrapper > a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #201400;
    border-color: transparent;
}

.skeleton-nav-pill {
    flex-shrink: 0;
    width: 108px;
    height: 34px;
    border-radius: var(--radius-pill);
}

/* More popup */
.more-popup {
    position: fixed;
    top: 58px;
    right: 10px;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 3px;
    min-width: 216px;
    max-height: 72vh;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-l);
}

.more-popup.show { display: flex; }

.more-popup a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border-radius: var(--radius-s);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-2);
    transition: background .2s ease, color .2s ease;
}

.more-popup a i { width: 17px; text-align: center; color: var(--primary-3); font-size: 13px; }
.more-popup a:hover { background: #f1f5ff; color: var(--primary); }

.more-popup a.ddc-tools-menu-btn {
    background: linear-gradient(135deg, #eef4ff, #e3ecff);
    color: var(--primary);
    font-weight: 700;
}

.more-popup a.official-login-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-3));
    color: #fff;
    font-weight: 700;
    margin-top: 4px;
}

.more-popup a.official-login-btn i { color: var(--gold); }

/* ============================================================
   NOTIFICATION BAR
   ============================================================ */
.notification-bar {
    background: linear-gradient(90deg, #fff6e5, #fffaf0);
    border-bottom: 1px solid #ffe3b0;
    padding: 8px 0;
}

.notification-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.notice-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent), #ff9a3d);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.notification-bar marquee {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #8a4b00;
    min-width: 0;
}

/* ============================================================
   SEARCH SECTION
   ============================================================ */
.search-section { padding: 16px 0 4px; }

.full-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 5px 5px 0;
    box-shadow: var(--shadow-s);
    transition: border-color .22s ease;
}

.full-search-bar:focus-within { border-color: #9fb6ff; }

#mainSearchInput {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 13px 8px 13px 20px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
}

#mainSearchInput::placeholder { color: transparent; }

.search-placeholder-animate {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14.5px;
    font-weight: 500;
    color: #9aa8c1;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 150px);
}

.search-placeholder-animate::after {
    content: '|';
    margin-left: 2px;
    animation: caretBlink 1s step-end infinite;
    color: var(--primary-3);
    font-weight: 300;
}

@keyframes caretBlink { 50% { opacity: 0; } }

#mainSearchInput:focus + .search-placeholder-animate,
#mainSearchInput:not(:placeholder-shown) + .search-placeholder-animate { display: none; }

#mainSearchBtn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: none;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease;
}

#mainSearchBtn:hover {
    background: linear-gradient(135deg, var(--primary-3), var(--primary-2));
    transform: translateY(-1px);
}

#mainSearchBtn:active { transform: translateY(0); }

/* ---------- LIVE SEARCH / RECENT SEARCH ---------- */
.live-search-box,
.recent-search-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-l);
    border: 1px solid var(--border);
    max-height: 360px;
    overflow-y: auto;
    z-index: 500;
    display: none;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f3f6fc;
    transition: background .18s ease;
}

.live-search-item:last-child { border-bottom: none; }
.live-search-item:hover { background: #f4f8ff; }

.live-search-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf0ff, #dbe6ff);
    color: var(--primary-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.live-search-content { min-width: 0; flex: 1; }

.live-search-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 1px;
}

.live-search-empty {
    padding: 22px 16px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}

.recent-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    background: #f6f8fe;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    border-radius: var(--radius-m) var(--radius-m) 0 0;
}

.recent-search-header i { margin-right: 5px; color: var(--accent); }

.clear-recent {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--red);
    cursor: pointer;
}

.close-recent { cursor: pointer; color: var(--muted); font-size: 14px; line-height: 1; }

.recent-search-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f3f6fc;
    transition: background .18s ease;
}

.recent-search-item:last-child { border-bottom: none; }
.recent-search-item:hover { background: #f4f8ff; }
.recent-search-item i { color: var(--muted); font-size: 12px; }

.recent-search-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   DDC SERVICE SECTION
   ============================================================ */
.ddc-service-section { padding: 12px 0 4px; }

.ddc-service-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ddc-service-btn,
.contrib-service-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border-radius: var(--radius-m);
    color: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: var(--shadow-m);
}

.ddc-service-btn:hover,
.contrib-service-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }

.ddc-btn-schemes { background: linear-gradient(135deg, #1b2a6b, #2e4bb5); }
.ddc-btn-docs { background: linear-gradient(135deg, #0e7490, #0891b2); }
.ddc-btn-central { background: linear-gradient(135deg, #4338ca, #6d28d9); }
.contrib-service-btn { background: linear-gradient(135deg, #b45309, #f59e0b); }

.ddc-btn-icon,
.contrib-service-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .20);
    border: 1px solid rgba(255, 255, 255, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.ddc-btn-text,
.contrib-service-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.ddc-btn-title,
.contrib-service-title {
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ddc-btn-subtitle,
.contrib-service-subtitle {
    font-size: 10.5px;
    font-weight: 500;
    opacity: .88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.ddc-btn-arrow,
.contrib-service-arrow {
    flex-shrink: 0;
    font-size: 12px;
    opacity: .8;
    transition: transform .25s ease;
}

.ddc-service-btn:hover .ddc-btn-arrow,
.contrib-service-btn:hover .contrib-service-arrow { transform: translateX(3px); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { padding: 14px 0 26px; }

/* ---------- TICKER ---------- */
.ticker-text-section { margin-bottom: 18px; }

.ticker-text-line {
    overflow: hidden;
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 0;
    margin-bottom: 8px;
    box-shadow: var(--shadow-s);
}

.ticker-text-line:last-child { margin-bottom: 0; }

.ticker-text-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.direction-rl .ticker-text-track { animation: tickerRL 55s linear infinite; }
.direction-lr .ticker-text-track { animation: tickerLR 68s linear infinite; }
.direction-rl-slow .ticker-text-track { animation: tickerRL 90s linear infinite; }

@keyframes tickerRL {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-33.3333%, 0, 0); }
}

@keyframes tickerLR {
    from { transform: translate3d(-33.3333%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

.ticker-text-line:hover .ticker-text-track { animation-play-state: paused; }

.ticker-text-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.tt-icon { font-size: 11.5px; opacity: .85; }
.tt-divider { margin-left: 14px; color: #d3dbe9; font-weight: 400; }

.tt-status {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: .4px;
    text-transform: uppercase;
}

.tt-status.started { background: rgba(22, 163, 74, .13); color: #15803d; }
.tt-status.closed { background: rgba(225, 29, 72, .13); color: #be123c; }

.tt-color-1 { color: #1d4ed8; }
.tt-color-2 { color: #b45309; }
.tt-color-3 { color: #047857; }
.tt-color-4 { color: #b91c1c; }
.tt-color-5 { color: #6d28d9; }
.tt-color-6 { color: #0e7490; }
.tt-color-7 { color: #c2410c; }
.tt-color-8 { color: #15803d; }
.tt-color-9 { color: #be185d; }
.tt-color-10 { color: #4338ca; }
.tt-color-11 { color: #a16207; }
.tt-color-12 { color: #0f766e; }

/* ============================================================
   LATEST UPDATES (FIXED TITLE — NO PAGE JUMP)
   ============================================================ */
.latest-updates-section { margin-bottom: 18px; }

.latest-updates-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 0 2px;
    min-height: 32px; /* ✅ fixed height — no jump */
}

.title-main {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: clamp(16px, 4vw, 21px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .2px;
    min-height: 28px; /* ✅ fixed height */
}

.title-main i { color: var(--accent); font-size: .95em; }

/* ✅ Typing span — fixed width so typing/deleting se layout shift na ho */
#typing-title {
    display: inline-block;
    min-width: 155px;
    vertical-align: middle;
    text-align: left;
}

.title-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    min-height: 26px;
}

.title-sub i { color: var(--green); }

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

.latest-update-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-height: 148px;
    padding: 15px 15px 13px;
    border-radius: var(--radius-m);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-m);
    transition: transform .28s ease;
}

.latest-update-card:hover { transform: translateY(-4px); }

.latest-card-1 { background: linear-gradient(140deg, #1b2a6b, #3b5bdb); }
.latest-card-2 { background: linear-gradient(140deg, #0e7490, #06b6d4); }
.latest-card-3 { background: linear-gradient(140deg, #7c2d12, #f97316); }
.latest-card-4 { background: linear-gradient(140deg, #4c1d95, #8b5cf6); }

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff3d3d, #ff7a18);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.update-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.update-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .20);
    border: 1px solid rgba(255, 255, 255, .25);
    white-space: nowrap;
}

.update-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .22s ease, color .22s ease;
}

.update-btn:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ============================================================
   SOCIAL JOIN (2x2 ON MOBILE)
   ============================================================ */
.social-join-section { margin-bottom: 20px; }

.social-join-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* desktop — 5 in a row */
    gap: 9px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: var(--shadow-m);
    transition: transform .25s ease, filter .25s ease;
}

.social-btn i { font-size: 15px; }

.social-btn:hover { transform: translateY(-3px); filter: brightness(1.06); }

.social-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.social-btn.telegram { background: linear-gradient(135deg, #29a9eb, #0088cc); }
.social-btn.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-btn.facebook { background: linear-gradient(135deg, #4267b2, #1877f2); }
.social-btn.ddc-tools-btn { background: linear-gradient(135deg, #0f1a4a, #334ecc); }

/* ============================================================
   CATEGORIES (COMPACT + NO SCROLL)
   ============================================================ */
.categories { margin-bottom: 10px; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-s);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 13px; /* ✅ compact */
    color: #fff;
    font-size: 13px; /* ✅ compact */
    font-weight: 700;
    letter-spacing: .2px;
}

.category-header .badge {
    flex-shrink: 0;
    background: rgba(255, 255, 255, .24);
    border: 1px solid rgba(255, 255, 255, .32);
    padding: 1px 9px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 800;
}

/* ✅ NO SCROLL — all posts visible */
.category-body {
    flex: 1;
    padding: 4px 0;
    max-height: none;
    overflow: visible;
}

.category-body ul { display: flex; flex-direction: column; }
.category-body li { border-bottom: 1px solid #f4f7fc; }
.category-body li:last-child { border-bottom: none; }

.post-link {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 13px; /* ✅ compact */
    font-size: 12.5px; /* ✅ compact */
    font-weight: 500;
    color: var(--text-2);
    line-height: 1.42;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.post-link i {
    flex-shrink: 0;
    font-size: 8.5px;
    color: var(--primary-3);
    margin-top: 5px;
    transition: transform .22s ease;
}

.post-link:hover {
    background: #f5f8ff;
    color: var(--primary);
    padding-left: 16px;
}

.post-link:hover i { transform: translateX(2px); color: var(--accent); }

.mini-new {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #ff3d3d, #ff7a18);
    color: #fff;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    align-self: flex-start;
    margin-top: 1px;
}

.no-posts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.no-posts i { color: #c4cddf; }

.category-footer {
    padding: 8px 12px; /* ✅ compact */
    border-top: 1px solid var(--border);
    background: #fafbff;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #eef3ff, #e2eaff);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    transition: background .22s ease, color .22s ease;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #fff;
}

.view-all-btn i { transition: transform .25s ease; }
.view-all-btn:hover i { transform: translateX(3px); }

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
.skeleton-card {
    background: linear-gradient(90deg, #eef2f9 25%, #e0e6f2 37%, #eef2f9 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius-m);
    border: 1px solid #e6ebf5;
}

@keyframes shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

.skeleton-ticker { height: 42px; border-radius: var(--radius-pill); margin-bottom: 8px; }
.skeleton-update-card { height: 150px; }
.skeleton-category { height: 265px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: linear-gradient(160deg, #0a1235 0%, #101c4d 55%, #16255e 100%);
    color: rgba(255, 255, 255, .78);
    padding: 34px 0 18px;
    margin-top: 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--primary-3), var(--accent));
    background-size: 200% 100%;
    animation: footerLine 8s linear infinite;
}

@keyframes footerLine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr 1fr;
    gap: 26px;
    padding-bottom: 22px;
}

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-brand);
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.footer-brand h3 i { color: var(--gold); font-size: 17px; }

.footer-brand p {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .62);
    max-width: 380px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 13px;
    letter-spacing: .4px;
    position: relative;
    padding-left: 13px;
}

.footer-links h4::before,
.footer-social h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--gold));
}

.footer-links-horizontal { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-links-horizontal li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .80);
    transition: background .22s ease, color .22s ease;
    white-space: nowrap;
}

.footer-links-horizontal li a i { font-size: 11px; color: var(--gold); }
.footer-links-horizontal li a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.social-icons { display: flex; gap: 9px; flex-wrap: wrap; }

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 16px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1000;
    border-color: transparent;
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, .10);
    margin-bottom: 16px;
}

.footer-bottom { text-align: center; display: flex; flex-direction: column; gap: 5px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255, 255, 255, .58); }
.footer-bottom strong { color: var(--gold); font-weight: 700; }

/* ============================================================
   FLOATING WHATSAPP + LATEST POPUP
   ============================================================ */
.whatsapp-float-wrap {
    position: fixed;
    right: 14px;
    bottom: 16px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.latest-toggle-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15, 26, 74, .35);
    transition: transform .25s ease;
}

.latest-toggle-btn:hover { transform: scale(1.06); }

.latest-toggle-btn.ringing { animation: bellRing .6s ease-in-out 3; }

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(-14deg); }
    40% { transform: rotate(12deg); }
    60% { transform: rotate(-9deg); }
    80% { transform: rotate(6deg); }
}

.latest-toggle-btn.popup-open {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1000;
}

.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3d3d;
    border: 2px solid #fff;
    animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #ff3d3d, #ff7a18);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(18, 140, 126, .38);
    transition: transform .25s ease;
}

.whatsapp-float-btn i { font-size: 20px; }
.whatsapp-float-btn:hover { transform: translateY(-3px) scale(1.03); }

.whatsapp-popup {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(330px, calc(100vw - 28px));
    background: #fff;
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-l);
    border: 1px solid var(--border);
    overflow: hidden;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-3));
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
}

.popup-header span:last-child { cursor: pointer; font-size: 15px; opacity: .8; }
.popup-header span:last-child:hover { opacity: 1; }

.popup-body { max-height: 330px; overflow-y: auto; padding: 6px 0; }

.popup-post {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 15px;
    font-size: 12.8px;
    font-weight: 500;
    color: var(--text-2);
    line-height: 1.45;
    cursor: pointer;
    border-bottom: 1px solid #f4f7fc;
    transition: background .18s ease;
}

.popup-post:last-child { border-bottom: none; }
.popup-post:hover { background: #f5f8ff; color: var(--primary); }

.popup-post > i {
    flex-shrink: 0;
    font-size: 9px;
    color: var(--primary-3);
    margin-top: 5px;
}

.popup-post > span:nth-child(3) {
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3d3d;
    margin-top: 6px;
}

.post-time {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    margin-top: 2px;
}

/* ============================================================
   RESPONSIVE — TABLET (<= 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .ddc-service-container { grid-template-columns: repeat(2, 1fr); }
    .latest-updates-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .footer-social { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (<= 768px)
   ✅ LATEST UPDATES = 2x2
   ✅ SOCIAL BUTTONS = 2x2
   ============================================================ */
@media (max-width: 768px) {
    body { font-size: 14.5px; padding-bottom: 84px; }
    .container { padding: 0 12px; }

    /* Header */
    .top-banner { padding: 10px 12px; gap: 8px; }
    .logo-circle { width: 44px; height: 44px; border-width: 2px; }
    .logo-text-fallback { font-size: 17px; }
    .banner-center p { font-size: 9.5px; }
    .whatsapp-btn, .youtube-btn { width: 33px; height: 33px; font-size: 14.5px; }

    .category-nav-wrapper { padding: 8px 12px; gap: 7px; }
    .category-nav-wrapper > a { padding: 7px 13px; font-size: 12px; }
    .more-popup { top: 54px; right: 8px; min-width: 200px; }

    /* Notification */
    .notice-label { font-size: 10.5px; padding: 4px 10px; }
    .notification-bar marquee { font-size: 12px; }

    /* Search */
    .search-section { padding: 12px 0 2px; }
    .full-search-bar { padding: 4px; }
    #mainSearchInput { padding: 11px 6px 11px 16px; font-size: 14px; }
    .search-placeholder-animate { left: 16px; font-size: 13.5px; max-width: calc(100% - 100px); }

    #mainSearchBtn { padding: 11px 18px; font-size: 0; gap: 0; }
    #mainSearchBtn i { font-size: 15px; }

    /* DDC Service */
    .ddc-service-container { grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 12px; }
    .ddc-service-btn, .contrib-service-btn { padding: 11px 12px; gap: 9px; border-radius: 12px; }
    .ddc-btn-icon, .contrib-service-icon { width: 36px; height: 36px; font-size: 14.5px; border-radius: 10px; }
    .ddc-btn-title, .contrib-service-title { font-size: 11.5px; }
    .ddc-btn-subtitle, .contrib-service-subtitle { font-size: 9px; }
    .ddc-btn-arrow, .contrib-service-arrow { display: none; }

    /* Ticker */
    .ticker-text-line { padding: 8px 0; border-radius: 12px; }
    .ticker-text-item { font-size: 12px; padding: 0 12px; gap: 6px; }
    .tt-status { font-size: 8.5px; padding: 2px 6px; }

    /* ✅ LATEST UPDATES — 2x2 GRID ON MOBILE */
    .latest-updates-title { margin-bottom: 10px; }
    .latest-updates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
    .latest-update-card { min-height: 130px; padding: 12px; gap: 8px; }
    .update-title { font-size: 12.5px; -webkit-line-clamp: 3; }
    .update-category { font-size: 9.5px; padding: 2px 8px; }
    .update-btn { padding: 6px 11px; font-size: 10.5px; gap: 5px; }
    .new-badge { font-size: 8px; padding: 2px 7px; top: 8px; right: 8px; }

    /* ✅ SOCIAL BUTTONS — 2x2 GRID ON MOBILE */
    .social-join-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .social-btn { padding: 10px 12px; font-size: 12px; gap: 7px; }
    .social-btn i { font-size: 14px; }
    .social-btn.ddc-tools-btn { grid-column: 1 / -1; } /* DDC Tools full width */

    /* Categories (still compact) */
    .category-grid { grid-template-columns: 1fr; gap: 10px; }
    .category-header { padding: 9px 12px; font-size: 12.5px; }
    .post-link { padding: 7px 12px; font-size: 12px; }
    .view-all-btn { padding: 7px 11px; font-size: 11.5px; }

    /* Footer */
    .footer { padding: 28px 0 16px; margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 18px; }
    .footer-brand p { max-width: 100%; font-size: 12.5px; }
    .footer-links h4, .footer-social h4 { font-size: 13.5px; }
    .footer-links-horizontal li a { font-size: 12px; padding: 6px 12px; }
    .social-icons a { width: 38px; height: 38px; font-size: 15px; }
    .footer-bottom p { font-size: 11.5px; }

    /* Floating */
    .whatsapp-float-wrap { right: 12px; bottom: 14px; gap: 10px; }
    .latest-toggle-btn { width: 46px; height: 46px; font-size: 17px; }
    .whatsapp-float-btn { padding: 12px 16px; font-size: 13px; }
    .whatsapp-float-btn i { font-size: 18px; }
    .whatsapp-popup { bottom: 70px; }
    .sync-indicator { left: 10px; bottom: 12px; }

    /* Fixed typing title width for mobile */
    #typing-title { min-width: 130px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (<= 480px)
   ============================================================ */
@media (max-width: 480px) {
    .banner-center h1 { font-size: 15.5px; }
    .banner-center p { font-size: 8.5px; }
    .logo-circle { width: 40px; height: 40px; }
    .whatsapp-btn, .youtube-btn { width: 30px; height: 30px; font-size: 13px; }

    .ddc-service-container { grid-template-columns: 1fr; }
    .ddc-btn-arrow, .contrib-service-arrow { display: block; }
    .ddc-btn-title, .contrib-service-title { font-size: 12.5px; }
    .ddc-btn-subtitle, .contrib-service-subtitle { font-size: 10px; }

    .title-main { font-size: 15.5px; }
    #typing-title { min-width: 118px; }
    .title-sub { font-size: 10.5px; padding: 4px 10px; }

    .update-title { font-size: 12px; }
    .latest-update-card { min-height: 122px; padding: 11px; }

    .footer-brand h3 { font-size: 17px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .ticker-text-track { animation: none !important; }
}

/* ============================================================
   FOCUS VISIBILITY
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2.5px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .header, .notification-bar, .search-section, .social-join-section,
    .whatsapp-float-wrap, .footer, .sync-indicator, .offline-banner {
        display: none !important;
    }
    body { background: #fff; padding: 0; }
}
/* =====================================================
   CONTRIBUTOR BUTTON — Sirf iska colour (Central Login safe)
===================================================== */

/* Sirf Contributor button — full colored gradient */
a.contrib-service-btn {
    background: linear-gradient(135deg, #6C3CE1 0%, #1A7DE1 50%, #00D4FF 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 30px rgba(108, 60, 225, 0.35) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease !important;
    position: relative;
    overflow: hidden;
}

a.contrib-service-btn:hover {
    transform: translateY(-3px);
    background-position: 100% center !important;
    box-shadow: 0 15px 40px rgba(108, 60, 225, 0.5) !important;
}

/* Icon — white frosted circle */
a.contrib-service-btn .contrib-service-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Title — white */
a.contrib-service-btn .contrib-service-title {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

/* Subtitle — white soft */
a.contrib-service-btn .contrib-service-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Arrow — white */
a.contrib-service-btn .contrib-service-arrow {
    color: #FFFFFF !important;
    transition: transform 0.3s ease !important;
}

a.contrib-service-btn:hover .contrib-service-arrow {
    transform: translateX(5px);
}

/* Shine sweep effect */
a.contrib-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

a.contrib-service-btn:hover::before {
    left: 100%;
}

/* =====================================================
   CENTRAL LOGIN — Issko bilkul mat chhedna
   (agar iska bhi colour fix karna ho toh alag se karenge)
===================================================== */
a.ddc-btn-central {
    /* Ye waisa hi rahega jaisa pehle tha — koi change nahi */
}
/* =====================================================
   CENTRAL LOGIN — Original Purple Gradient (photo wala)
===================================================== */

a.ddc-btn-central {
    background: linear-gradient(135deg, #6C3CE1 0%, #5428C8 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 30px rgba(108, 60, 225, 0.35) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease !important;
    position: relative;
    overflow: hidden;
}

a.ddc-btn-central:hover {
    transform: translateY(-3px);
    background-position: 100% center !important;
    box-shadow: 0 15px 40px rgba(108, 60, 225, 0.55) !important;
}

/* Icon — white frosted circle */
a.ddc-btn-central .ddc-btn-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Title — white */
a.ddc-btn-central .ddc-btn-title {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

/* Subtitle — white soft */
a.ddc-btn-central .ddc-btn-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Arrow — white */
a.ddc-btn-central .ddc-btn-arrow {
    color: #FFFFFF !important;
    transition: transform 0.3s ease !important;
}

a.ddc-btn-central:hover .ddc-btn-arrow {
    transform: translateX(5px);
}

/* Shine sweep effect */
a.ddc-btn-central::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

a.ddc-btn-central:hover::before {
    left: 100%;
}
/* =====================================================
   FINAL OVERRIDE — Central Login + Contributor + Footer Fix
===================================================== */

/* ---------- Central Login — Original Purple (photo wala) ---------- */
.ddc-btn-central {
    background: linear-gradient(135deg, #4338ca, #6d28d9) !important;
    background-size: 200% auto !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(67, 56, 202, 0.35) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease !important;
    position: relative;
    overflow: hidden;
}

.ddc-btn-central:hover {
    transform: translateY(-3px);
    background-position: 100% center !important;
    box-shadow: 0 15px 40px rgba(67, 56, 202, 0.5) !important;
}

.ddc-btn-central .ddc-btn-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
}

.ddc-btn-central .ddc-btn-title {
    color: #FFFFFF !important;
}

.ddc-btn-central .ddc-btn-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.ddc-btn-central .ddc-btn-arrow {
    color: #FFFFFF !important;
}

/* ---------- Contributor — Purple → Cyan Gradient ---------- */
.contrib-service-btn {
    background: linear-gradient(135deg, #6C3CE1 0%, #1A7DE1 50%, #00D4FF 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(108, 60, 225, 0.35) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease !important;
    position: relative;
    overflow: hidden;
}

.contrib-service-btn:hover {
    transform: translateY(-3px);
    background-position: 100% center !important;
    box-shadow: 0 15px 40px rgba(108, 60, 225, 0.5) !important;
}

.contrib-service-btn .contrib-service-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
}

.contrib-service-btn .contrib-service-title {
    color: #FFFFFF !important;
}

.contrib-service-btn .contrib-service-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.contrib-service-btn .contrib-service-arrow {
    color: #FFFFFF !important;
}

.contrib-service-btn:hover .contrib-service-arrow {
    transform: translateX(5px);
}

/* ---------- Shine sweep effect — Contributor ---------- */
.contrib-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.contrib-service-btn:hover::before {
    left: 100%;
}

/* ---------- Footer — Body flex fix (white space hatane ke liye) ---------- */
html, body {
    min-height: 100vh !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
}

.main-content {
    flex: 1 0 auto !important;
}

.footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Floating button ke liye space — footer ke andar hi adjust */
.footer-bottom {
    padding-bottom: 70px !important;
}