/* ═══════════════════════════════════════════════════════════
   MATKA.EXPERT — VIOLET HOMEPAGE THEME
   File: /css/violet-home.css
   ═══════════════════════════════════════════════════════════ */

/* ── Page base ── */
body.me-violet {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #faf5ff;
    color: #1e1b4b;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.me-root {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.me-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #5b21b6 100%);
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
}
.me-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a78bfa, #c4b5fd, #a78bfa, transparent);
}
.me-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.me-header-brand {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.me-header-sub {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #c4b5fd !important;
    text-decoration: none !important;
    letter-spacing: 6px;
}

/* ═══════════════════════════════════════════════════════════
   WELCOME BANNER
   ═══════════════════════════════════════════════════════════ */
.me-welcome {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-left: 5px solid #7c3aed;
    border-radius: 0 14px 14px 0;
    padding: 4px 5px;
    margin: 0 0;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}
.me-welcome p {
    margin: 0;
    font-size: 10px;
    color: #4c1d95;
    text-align: justify;
    line-height: 1.7;
}
.me-welcome strong { color: #7c3aed; }

/* ═══════════════════════════════════════════════════════════
   GENERIC CARD
   ═══════════════════════════════════════════════════════════ */
.me-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede9fe;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin: 16px 0;
    overflow: hidden;
    position: relative;
}
.me-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    background-size: 200% auto;
    animation: me-shine 3s linear infinite;
}
@keyframes me-shine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════════════════
   TITLE CARD
   ═══════════════════════════════════════════════════════════ */
.me-title-card {
    text-align: center;
    padding: 22px 18px;
}
.me-title-card h1 {
    font-family: Georgia, serif;
    font-size: 20px;
    margin: 0 0 6px;
    color: #4c1d95;
    font-weight: 700;
}
.me-title-card h3 {
    font-size: 15px;
    color: #7c3aed;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   CLOCK CARD
   ═══════════════════════════════════════════════════════════ */
.me-clock-card {
    text-align: center;
    padding: 14px 18px;
}
.me-clock {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 800;
    color: #7c3aed;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
}

/* ═══════════════════════════════════════════════════════════
   LUCKY NUMBER CARD
   ═══════════════════════════════════════════════════════════ */
.me-lucky-card { padding: 0; }
.me-lucky-head {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95, #5b21b6);
    padding: 12px 18px;
    text-align: center;
}
.me-lucky-head h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}
.me-lucky-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
.me-lucky-th {
    color: #4c1d95;
    font-size: 13px;
    text-align: center;
	line-height: 0.1;
}
.me-lucky-td {
    background: #ffffff;
    color: #c026d3;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    border-bottom: 1px solid #f3e8ff;
}

/* ═══════════════════════════════════════════════════════════
   LIVE RESULT CARD
   ═══════════════════════════════════════════════════════════ */
.me-live-update { padding: 0; }
.me-live-head {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
    color: #fff;
    padding: 12px;
    text-align: center;
    margin: 0;
    font-size: 18px;
    letter-spacing: 1.5px;
    font-weight: 800;
}
.me-live-sub {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}
.me-live-box {
    text-align: center;
    padding: 5px 6px;
    border-bottom: 1px solid #f3e8ff;
    background: #faf5ff;
}
.me-live-box:last-child { border-bottom: none; }
.me-live-name {
    font-size: 20px;
    font-weight: 900;
    color: #4c1d95;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.me-live-result {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 900;
    color: #000;
    margin: 6px 0;
    letter-spacing: 1.5px;
	text-shadow: 1px 1px 2px #ff0;
}
.me-live-note {
    font-size: 12px;
    color: #7c3aed;
    margin: 4px 0 10px;
    font-weight: 600;
}
.me-refresh-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.me-refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   RESULTS GRID
   ═══════════════════════════════════════════════════════════ */
.me-results-card { padding: 0; }
.me-results-head {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fff;
    padding: 12px;
    text-align: center;
    margin: 0;
    font-size: 17px;
    letter-spacing: 1.2px;
    font-weight: 800;
}
.me-result-item {
    text-align: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f3e8ff;
    transition: background 0.2s;
}
.me-result-item:hover { background: #faf5ff; }
.me-result-name {
    font-size: 18px;
    font-weight: 900;
    color: #4c1d95;
    margin: 0 0 6px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.me-result-value {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 900;
    color: #033c31;
    font-variant: small-caps;
    margin-bottom: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #ff0;
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
}

.me-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 6px;
}

.highlight {background: #ffe556;} 

.me-result-time {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}
.me-result-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.me-link {
    display: inline-block;
    background: #f3e8ff;
    color: #6d28d9 !important;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    border: 1px solid #ddd6fe;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.me-link:hover {
    background: #7c3aed;
    color: #fff !important;
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   REFRESH BUTTON (large)
   ═══════════════════════════════════════════════════════════ */
.me-refresh-box {
    text-align: center;
    padding: 12px 0;
}
.me-refresh-large {
    background: linear-gradient(135deg, #4c1d95, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    padding: 12px 42px;
    border-radius: 4px 16px 4px 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.me-refresh-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.55);
}

@media (max-width: 480px) {
    .me-result-row {
        flex-wrap: nowrap;
    }
    .me-link {
        padding: 4px 10px;
        font-size: 11px;
    }
    .me-result-value {
        font-size: 18px;
    }
}
/* ═══════════════════════════════════════════════════════════
   SPECIAL ZONE
   ═══════════════════════════════════════════════════════════ */
.me-special-zone { padding: 0; }
.me-special-head {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.me-special-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
}
.me-special-item {
    display: block;
    background: linear-gradient(135deg, #faf5ff, #ede9fe);
    border: 1.5px solid #ddd6fe;
    border-radius: 10px;
    padding: 12px 16px;
    color: #4c1d95 !important;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.me-special-item:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: #7c3aed;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   FREE GUESSING ZONE
   ═══════════════════════════════════════════════════════════ */
.me-free-zone { padding: 0; }
.me-free-head {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fff;
    padding: 12px;
    text-align: center;
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}
.me-free-date {
    text-align: center;
    background: #faf5ff;
    color: #6d28d9;
    padding: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    font-variant: small-caps;
    border-bottom: 1px solid #ede9fe;
}

/* ── Override existing classes to violet ── */
.me-free-zone .free-game-zone,
.me-weekly-zone .free-game-zone {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #ede9fe !important;
    margin: 10px 14px !important;
    overflow: hidden;
    padding: 0 0 10px !important;
}
.me-free-zone .free-game-zone:last-child,
.me-weekly-zone .free-game-zone:last-child {
    margin-bottom: 14px !important;
}
.me-free-zone .head-zone,
.me-weekly-zone .head-zone {
    background: linear-gradient(135deg, #4c1d95, #7c3aed) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 !important;
    font-size: 16px !important;
}
.me-free-zone .border-bottom,
.me-weekly-zone .border-bottom {
    border-bottom: 1px solid #ede9fe !important;
}
.me-free-zone p.border-bottom,
.me-weekly-zone p.border-bottom {
    color: #6d28d9;
    font-weight: 700;
    padding: 8px 16px !important;
    margin: 0;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    background: #faf5ff;
}
.me-free-zone .zone-number,
.me-weekly-zone .zone-number {
    color: #1e1b4b;
    padding: 10px 16px !important;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: 1px solid #f3e8ff;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}
.me-free-zone .zone-number strong,
.me-weekly-zone .zone-number strong {
    color: #7c3aed;
    font-family: inherit;
    font-weight: 900;
    margin-right: 4px;
}
.me-free-zone .zone-number:last-child,
.me-weekly-zone .zone-number:last-child {
    border-bottom: none;
}
.me-weekly-zone .zone-number {
    white-space: pre-line;
    text-align: left;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   LINK CARDS (Jodi / Panel)
   ═══════════════════════════════════════════════════════════ */
.me-link-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede9fe;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin: 16px 0;
}
.me-link-card-head {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #ffffff;
    padding: 12px;
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.me-link-list {
    display: flex;
    flex-direction: column;
}
.me-link-item {
    display: block;
    padding: 11px 18px;
    color: #4c1d95 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #f3e8ff;
    transition: all 0.18s;
    position: relative;
}
.me-link-item::before {
    content: '▸';
    color: #a855f7;
    margin-right: 8px;
    font-weight: 900;
    transition: transform 0.18s;
    display: inline-block;
}
.me-link-item:hover {
    background: linear-gradient(90deg, #faf5ff, #f3e8ff);
    color: #6d28d9 !important;
    padding-left: 22px;
}
.me-link-item:hover::before {
    transform: translateX(3px);
    color: #7c3aed;
}
.me-link-item:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   ABOUT / FAQ TEXT CARD
   ═══════════════════════════════════════════════════════════ */
.me-text-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede9fe;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin: 16px 0;
    padding: 22px 26px;
    line-height: 1.85;
    overflow: hidden;
    position: relative;
}
.me-text-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    background-size: 200% auto;
    animation: me-shine 3s linear infinite;
}
.me-text-card h2 {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #4c1d95;
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 4px solid #7c3aed;
    text-align: left;
    line-height: 1.3;
}
.me-text-card h2:first-child { margin-top: 0; }
.me-text-card p {
    font-size: 14px;
    color: #2d3b4f;
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.85;
}
.me-text-card strong { color: #6d28d9; }
.me-text-card b { color: #4c1d95; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.me-footer {
    margin-top: 24px;
}
.me-footer-disclaimer {
    background: #ffffff;
    border: 1px solid #ede9fe;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin-bottom: 14px;
}
.me-footer-disclaimer h2 {
    font-size: 18px;
    color: #4c1d95;
    text-align: center;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.me-footer-disclaimer p {
    font-size: 13px;
    color: #4d5f7a;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.7;
}
.me-footer-disclaimer strong { color: #c026d3; }

.me-footer-brand {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95, #5b21b6);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}
.me-footer-brand h2 {
    margin: 4px 0;
    font-size: 20px;
}
.me-footer-brand h2 a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.me-footer-brand h3 {
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 0;
    letter-spacing: 0.5px;
}

.me-footer-marquee {
    background: #1e1b4b;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 14px;
    font-size: 12px;
    color: #c4b5fd;
    overflow: hidden;
}
.me-footer-marquee a {
    color: #a78bfa !important;
    text-decoration: none !important;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   SIDE REFRESH (floating)
   ═══════════════════════════════════════════════════════════ */
.side_refresh {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    padding: 10px 22px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: side-pulse 2.5s ease-in-out infinite;
}
.side_refresh:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.7);
}
@keyframes side-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); }
    50%       { box-shadow: 0 6px 28px rgba(167, 139, 250, 0.9); }
}

/* ═══════════════════════════════════════════════════════════
   TEXT / UTILITY OVERRIDES (kill the old green/yellow/orange)
   ═══════════════════════════════════════════════════════════ */
body.me-violet .bg-first-color,
body.me-violet .bg-second-color {
    background: linear-gradient(135deg, #4c1d95, #7c3aed) !important;
    color: #fff !important;
}
body.me-violet .text-black { color: #1e1b4b !important; }
body.me-violet .text-white { color: #ffffff !important; }

body.me-violet .border-color,
body.me-violet .bordered-radius,
body.me-violet .bordered-second,
body.me-violet .bordered-first {
    border-color: #ddd6fe !important;
}

/* Kill the rainbow animation on weekly guess boxes */
body.me-violet .background-container {
    animation: none !important;
    background: linear-gradient(135deg, #4c1d95, #7c3aed) !important;
}

body.me-violet .border-color {
    animation: none !important;
    border-color: #ddd6fe !important;
}

/* Unused rule cleanup */
body.me-violet .jp_a {
    background: linear-gradient(135deg, #faf5ff, #ede9fe) !important;
    color: #4c1d95 !important;
    border-bottom: 1px solid #ddd6fe !important;
}

body.me-violet .jp_a:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .me-header-brand { font-size: 22px; letter-spacing: 2px; }
    .me-header-sub   { font-size: 12px; letter-spacing: 4px; }
    .me-title-card h1 { font-size: 17px; }
    .me-text-card { padding: 18px 16px; }
    .me-text-card h2 { font-size: 17px; }
    .me-text-card p { font-size: 13.5px; }
    .me-link-item { font-size: 12.5px; padding: 10px 14px; }
    .me-result-value { font-size: 18px; }
    .me-live-result { font-size: 20px; }
    .me-clock { font-size: 17px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .me-root { padding: 8px; }
    .me-header { padding: 12px 8px; }
    .me-header-brand { font-size: 18px; letter-spacing: 2px; }
    .me-header-sub   { font-size: 11px; letter-spacing: 3px; }
    .me-title-card { padding: 16px 12px; }
    .me-title-card h1 { font-size: 15px; }
    .me-title-card h3 { font-size: 12px; }
    .me-lucky-th { font-size: 11.5px; padding: 6px 4px; }
    .me-lucky-td { font-size: 15px; padding: 0; }
    .me-live-name { font-size: 20px; }
    .me-live-result { font-size: 20px; }
    .me-result-name { font-size: 18px; }
    .me-result-value { font-size: 19px; }
    .me-result-time { font-size: 11px; }
    .me-free-zone .zone-number { font-size: 12.5px; padding: 8px 12px !important; }
    .me-free-zone .head-zone { font-size: 14px !important; padding: 10px 12px !important; }
    .me-link-item { font-size: 12px; padding: 9px 12px; }
    .me-special-item { font-size: 18px; padding: 10px 12px; }
    .me-clock { font-size: 15px; }
    .me-refresh-large { font-size: 14px; padding: 10px 32px; }
    .me-text-card { padding: 16px 14px; }
    .me-text-card h2 { font-size: 15px; }
    .me-text-card p { font-size: 13px; }
    .side_refresh { bottom: 14px; right: 14px; padding: 8px 16px; font-size: 12px; }
    .me-footer-brand h2 { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════
   SMR HEADER + NAVBAR — VIOLET THEME
   (Scoped to work on the homepage)
   ═══════════════════════════════════════════════════════════ */

/* ── Header block (logo area) ── */
.smr-header {
    margin: 6px 8px;
    text-align: center;
    border: 2px solid #7c3aed;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.15),
        0 4px 18px rgba(124, 58, 237, 0.35),
        0 1px 4px rgba(124, 58, 237, 0.2);
    background: #ffffff;
    overflow: visible;
    padding: 6px 0;
}
.smr-header a {
    display: inline-block;
    line-height: 0;
}
.smr-header img,
.smr-header svg {
    max-width: 100%;
    width: auto;
    height: auto;
    display: inline-block;
    border-radius: 0;
}

/* ── Navbar (sticky navigation) ── */
.smr-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 4px 8px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #1e1b4b 100%);
    border: 1px solid rgba(167, 139, 250, 0.25);
    box-shadow:
        0 2px 12px rgba(124, 58, 237, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.smr-navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, #c4b5fd, #a78bfa, transparent);
}
.smr-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
}
.smr-nav-item {
    flex: 1;
    min-width: 0;
    position: relative;
}
.smr-nav-item + .smr-nav-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(167, 139, 250, 0.2);
}
.smr-navbar .smr-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 11px 6px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    color: #ddd6fe !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    overflow: hidden;
}
.smr-nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smr-navbar .smr-nav-link:hover,
.smr-navbar .smr-nav-link:focus {
    background: rgba(167, 139, 250, 0.12);
    color: #c4b5fd !important;
    text-decoration: none !important;
}
.smr-navbar .smr-nav-link.active {
    background: rgba(124, 58, 237, 0.25);
    color: #fff !important;
}
.smr-nav-icon {
    font-size: 15px;
    line-height: 1;
}
.smr-nav-label-short { display: none; }

/* ── Responsive ── */
@media (max-width: 400px) {
    .smr-navbar { margin: 3px 4px 6px; border-radius: 8px; }
    .smr-navbar .smr-nav-link { flex-direction: column; gap: 2px; padding: 7px 2px; }
    .smr-nav-icon { font-size: 16px; }
    .smr-nav-label-full { display: none; }
    .smr-nav-label-short { display: block; font-size: 8.5px; letter-spacing: 0.2px; }
    .smr-header { margin: 4px 4px; border-radius: 8px; }
}
@media (min-width: 401px) and (max-width: 480px) {
    .smr-navbar .smr-nav-link { font-size: 11.5px; padding: 10px 5px; }
}
@media (min-width: 768px) {
    .smr-navbar { margin: 5px 12px 10px; }
    .smr-navbar .smr-nav-link { font-size: 14px; padding: 13px 10px; gap: 7px; }
    .smr-nav-icon { font-size: 17px; }
}
@media (min-width: 1024px) {
    .smr-navbar { max-width: 100%; }
    .smr-navbar .smr-nav-link { padding: 14px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION — VIOLET THEME
   ═══════════════════════════════════════════════════════════ */
.me-faq {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede9fe;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin: 16px 0;
    padding: 22px 22px 12px;
    position: relative;
    overflow: hidden;
}
.me-faq::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    background-size: 200% auto;
    animation: me-shine 3s linear infinite;
}

.me-faq-heading {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #4c1d95;
    text-align: center;
    margin: 6px 0 6px;
    letter-spacing: 0.5px;
    padding-left: 0;
    border-left: none;
}

.me-faq-sub {
    text-align: center;
    font-size: 13px;
    color: #7c3aed;
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ── Each FAQ item ── */
.me-faq-item {
    background: #faf5ff;
    border: 1px solid #ede9fe;
    border-left: 4px solid #a78bfa;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0;
    transition: all 0.2s ease;
    overflow: hidden;
}

.me-faq-item[open] {
    border-left-color: #7c3aed;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1);
}

.me-faq-item:hover {
    border-left-color: #7c3aed;
    background: #ffffff;
}

/* ── Question row ── */
.me-faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 800;
    color: #4c1d95;
    list-style: none;
    user-select: none;
    transition: color 0.18s;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* Hide default browser marker triangle */
.me-faq-q::-webkit-details-marker { display: none; }
.me-faq-q::marker { display: none; }

.me-faq-q:hover {
    color: #7c3aed;
}

.me-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.me-faq-arrow {
    margin-left: auto;
    color: #a855f7;
    font-size: 16px;
    font-weight: 900;
    transition: transform 0.25s ease;
    display: inline-block;
    line-height: 1;
}

.me-faq-item[open] .me-faq-arrow {
    transform: rotate(180deg);
    color: #7c3aed;
}

/* ── Answer body ── */
.me-faq-a {
    padding: 0 18px 16px 56px;
    font-size: 14px;
    color: #2d3b4f;
    line-height: 1.8;
    animation: me-faq-slide 0.22s ease-out;
}

@keyframes me-faq-slide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.me-faq-a p {
    margin: 0 0 10px;
    text-align: justify;
}

.me-faq-a p:last-child { margin-bottom: 0; }

.me-faq-a ul {
    margin: 8px 0 10px 20px;
    padding: 0;
    color: #2d3b4f;
}

.me-faq-a ul li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.7;
}

.me-faq-a strong {
    color: #6d28d9;
    font-weight: 800;
}

.me-faq-a a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed #a78bfa;
    transition: color 0.18s, border-color 0.18s;
}

.me-faq-a a:hover {
    color: #4c1d95;
    border-bottom-color: #7c3aed;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .me-faq {
        padding: 18px 14px 8px;
        border-radius: 14px;
    }
    .me-faq-heading { font-size: 18px; }
    .me-faq-sub { font-size: 12px; }
    .me-faq-q {
        padding: 12px 14px;
        font-size: 14px;
        gap: 10px;
    }
    .me-faq-icon {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    .me-faq-arrow { font-size: 14px; }
    .me-faq-a {
        padding: 0 14px 14px 46px;
        font-size: 13px;
    }
    .me-faq-a ul li { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════
   JODI FAMILY CHART — SPECIAL FAMILY CARDS + CONTENT + FAQ
   ═══════════════════════════════════════════════════════════ */

/* ── Half Red / Full Red cards (visually distinct) ── */
.me-family-card.me-family-special {
    border-left-color: #c026d3;
    background: linear-gradient(135deg, #ffffff 0%, #fdf4ff 100%);
}
.me-family-card.me-family-special h2 {
    color: #a21caf;
}
.me-family-card.me-family-special .me-family-pannas {
    background: linear-gradient(135deg, #fdf4ff, #fae8ff);
    border-color: #f0abfc;
    color: #a21caf;
}
.me-family-card.me-family-special:hover {
    border-left-color: #a21caf;
    box-shadow: 0 8px 22px rgba(192, 38, 211, 0.22);
}

/* ═══════════════════════════════════════════════════════════
   SEO CONTENT SECTION
   ═══════════════════════════════════════════════════════════ */
.me-content-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ede9fe;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.08);
    margin: 18px 0;
    padding: 22px 24px;
    line-height: 1.85;
    position: relative;
    overflow: hidden;
}
.me-content-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    background-size: 200% auto;
    animation: me-shine 3s linear infinite;
}
.me-content-section h2 {
    font-family: Georgia, serif;
    font-size: 21px;
    color: #4c1d95;
    margin: 24px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #7c3aed;
    text-align: left;
    line-height: 1.35;
}
.me-content-section h2:first-child { margin-top: 0; }
.me-content-section h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    color: #6d28d9;
    margin: 18px 0 10px;
    font-weight: 700;
}
.me-content-section p {
    font-size: 14.5px;
    color: #2d3b4f;
    margin-bottom: 14px;
    text-align: justify;
    line-height: 1.9;
}
.me-content-section strong { color: #4c1d95; font-weight: 800; }
.me-content-section code {
    background: #f3e8ff;
    color: #6d28d9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
}
.me-content-section ul,
.me-content-section ol {
    margin: 10px 0 16px 24px;
    color: #2d3b4f;
}
.me-content-section ul li,
.me-content-section ol li {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 8px;
    color: #374151;
}
.me-content-section a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed #a78bfa;
    transition: color 0.18s, border-color 0.18s;
}
.me-content-section a:hover {
    color: #4c1d95;
    border-bottom-color: #7c3aed;
}

@media (max-width: 480px) {
    .me-content-section { padding: 16px 14px; border-radius: 14px; }
    .me-content-section h2 { font-size: 17px; margin: 20px 0 10px; }
    .me-content-section h3 { font-size: 15px; }
    .me-content-section p,
    .me-content-section ul li,
    .me-content-section ol li { font-size: 13.5px; }
    .me-content-section ul,
    .me-content-section ol { margin-left: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   PANA FAMILY CHART PAGE — VIOLET THEME
   ═══════════════════════════════════════════════════════════ */

/* ── Keyword strip ── */
.me-keyword-strip {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-left: 5px solid #7c3aed;
    border-radius: 0 12px 12px 0;
    padding: 12px 18px;
    margin: 14px 0;
    font-size: 12px;
    font-weight: 700;
    color: #4c1d95;
    letter-spacing: 0.3px;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.08);
}

/* ── Page title banner ── */
.me-page-title {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #5b21b6 100%);
    border-radius: 14px;
    padding: 20px 18px;
    margin: 14px 0 18px;
    text-align: center;
    color: #fff;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
}
.me-page-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a78bfa, #c4b5fd, #a78bfa, transparent);
}
.me-page-title h1 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 6px;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
}
.me-page-title p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #c4b5fd;
    letter-spacing: 2px;
}

/* ── Family cards grid ── */
.me-family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.me-family-card {
    background: #ffffff;
    border: 1px solid #ede9fe;
    border-left: 4px solid #a78bfa;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    transition: all 0.22s ease;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.06);
    overflow: hidden;
    position: relative;
}
.me-family-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    opacity: 0;
    transition: opacity 0.22s;
}
.me-family-card:hover {
    border-left-color: #7c3aed;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.18);
    transform: translateY(-3px);
}
.me-family-card:hover::before {
    opacity: 1;
}

.me-family-card h2 {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 900;
    color: #4c1d95;
    margin: 0 0 10px;
    padding: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: none;
    text-align: center;
}

.me-family-pannas {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #c026d3;
    line-height: 1.9;
    letter-spacing: 0.4px;
    word-spacing: 2px;
    padding: 8px 6px;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-radius: 8px;
    border: 1px dashed #ddd6fe;
}

/* ── Go To Top button ── */
.me-gotop-wrap {
    text-align: center;
    padding: 18px 0 10px;
}
.me-gotop {
    background: linear-gradient(135deg, #4c1d95, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.6px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.me-gotop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.55);
}
.me-gotop:active {
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .me-page-title h1 { font-size: 20px; letter-spacing: 1px; }
    .me-page-title p  { font-size: 13px; letter-spacing: 1.5px; }
    .me-family-grid { grid-template-columns: 1fr; gap: 10px; }
    .me-family-card h2 { font-size: 15px; }
    .me-family-pannas { font-size: 13px; }
}

@media (max-width: 480px) {
    .me-keyword-strip { font-size: 11px; padding: 10px 14px; }
    .me-page-title { padding: 16px 14px; border-radius: 12px; }
    .me-page-title h1 { font-size: 17px; letter-spacing: 0.8px; }
    .me-page-title p  { font-size: 12px; letter-spacing: 1px; }
    .me-family-card { padding: 12px 14px; }
    .me-family-card h2 { font-size: 14px; margin-bottom: 8px; }
    .me-family-pannas { font-size: 12px; padding: 6px 4px; }
    .me-gotop { font-size: 13px; padding: 10px 28px; }
}

/* ═══════════════════════════════════════════════════════════
   220 PATTI CHART — VIOLET THEME
   ═══════════════════════════════════════════════════════════ */

/* ── 220 Patti grid ── */
.me-patti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.me-patti-card {
    background: #ffffff;
    border: 1px solid #ede9fe;
    border-left: 4px solid #a78bfa;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    transition: all 0.22s ease;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.06);
    overflow: hidden;
    position: relative;
}
.me-patti-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #a78bfa, #7c3aed);
    opacity: 0;
    transition: opacity 0.22s;
}
.me-patti-card:hover {
    border-left-color: #7c3aed;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.18);
    transform: translateY(-3px);
}
.me-patti-card:hover::before {
    opacity: 1;
}

.me-patti-card h2 {
    display: inline-block;
    margin: 0 auto 12px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #4c1d95, #7c3aed, #a855f7);
    color: #ffffff;
    border-radius: 50px;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35);
    border: none;
    text-align: center;
}

.me-patti-numbers {
    font-family: 'Courier New', monospace;
    font-size: 13.5px;
    font-weight: 700;
    color: #c026d3;
    line-height: 1.9;
    letter-spacing: 0.3px;
    word-spacing: 2px;
    padding: 8px 6px;
    margin-top: 6px;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    border-radius: 8px;
    border: 1px dashed #ddd6fe;
    word-wrap: break-word;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .me-patti-grid { grid-template-columns: 1fr; gap: 10px; }
    .me-patti-card h2 { font-size: 13px; padding: 6px 16px; letter-spacing: 1px; }
    .me-patti-numbers { font-size: 12.5px; }
}

@media (max-width: 480px) {
    .me-patti-card { padding: 12px 14px; }
    .me-patti-card h2 { font-size: 12px; padding: 5px 14px; }
    .me-patti-numbers { font-size: 12px; padding: 6px 4px; }
}

/*  Live forum btton blink  */
/* ---------- Live Forum Button ---------- */
.forum-live-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease;
}

.forum-live-btn:hover {
  transform: translateY(-1px);
}

/* Icon wrapper — holds the emoji + live dot */
.forum-live-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: forum-icon-pulse 2s ease-in-out infinite;
}

/* Pulsing red LIVE dot on the icon */
.forum-live-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 9px;
  height: 9px;
  background: #ff1a1a;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.8);
  animation: forum-live-ping 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Dot expands + fades out */
@keyframes forum-live-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.75);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 26, 26, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 26, 26, 0);
    transform: scale(1);
  }
}

/* Gentle icon breathing animation */
@keyframes forum-icon-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* Optional: subtle text glow on hover */
.forum-live-btn:hover .smr-nav-label {
  text-shadow: 0 0 6px rgba(255, 26, 26, 0.6);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .forum-live-icon,
  .forum-live-dot {
    animation: none;
  }
}

/* daily prediction passwing record */
/* Reusable row style for Single / Jodi / Panna lines */
.panna-row {
    font-weight: 600;
    padding: 8px 0;
}

/* Pass row — green color */
.pass-row {
    font-weight: 700;
    padding: 8px 0;
    color: #16a34a !important;                 /* green text */
}

.pass-row strong {
    color: #15803d;                 /* darker green for the label */
}