:root {
    /* DEFAULT: LIGHT MODE */
    --primary: #ff8c00;
    --primary-light: #ffa500;
    --primary-dark: #ff4500;
    --orange-gradient: linear-gradient(135deg, #ff8c00, #ff4500);
    --blue: #1a73e8;
    --green: #28a745;

    --bg-color: #f8fafc;
    --header-bg: rgba(248, 250, 252, 0.8);
    --card-bg: rgba(255, 255, 255, 0.7);
    --dark: #0f172a;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --result-bg: rgba(0, 0, 0, 0.03);
    --gold: #ffd700;
    --gold-gradient: linear-gradient(135deg, #ffd700, #b8860b);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='dark'] {
    --bg-color: #0f172a;
    --header-bg: rgba(15, 23, 42, 0.8);
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --result-bg: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Spacing Utilities */
.section-padding {
    padding: 40px 0;
}

.subpage-header {
    padding: 80px 0 40px;
    text-align: center;
}

.subpage-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subpage-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.premium-text {
    font-weight: 900;
    letter-spacing: -1px;
}

.py-5 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.my-5 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.mb-3 {
    margin-bottom: 20px;
}

.mb-4 {
    margin-bottom: 25px;
}

.mt-3 {
    margin-top: 20px;
}

.mt-4 {
    margin-top: 25px;
}

.mt-subpage {
    margin-top: 140px;
}

.w-100 {
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }

    .subpage-header {
        padding: 120px 0 40px;
    }

    .subpage-header h1 {
        font-size: 2.5rem;
    }

    .subpage-header p {
        font-size: 1rem;
    }

    .py-5,
    .my-5 {
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .mt-subpage {
        margin-top: 100px;
    }
}

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(26, 115, 232, 0.1) 0%, transparent 50%);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.notice-bar {
    background: var(--orange-gradient);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
}

.notice-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

.notice-content span {
    margin-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    /* Changed from --text to --text-primary */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

/* Dropdown Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--card-bg);
    border: 2px solid var(--gold);
    border-radius: 12px;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    /* Changed from --text to --text-primary */
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--gold-gradient);
    color: #fff;
}

.nav-links a:hover,
.dropdown-toggle:hover {
    color: var(--primary);
}

.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--primary);
    transform: rotate(15deg);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 20px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Result Cards */
.results {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 900;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mini-card {
    padding: 15px;
    min-height: auto !important;
    text-align: center;
}

.mini-card .card-header h3 {
    font-size: 1.2rem !important;
    margin-bottom: 2px;
}

.mini-card .result-display {
    margin: 10px 0;
    padding: 10px;
    gap: 10px;
}

.mini-card .result-display .jodi {
    font-size: 1.8rem !important;
}

.mini-card .result-display .panel {
    font-size: 0.9rem !important;
}

.mini-card .chart-btns {
    margin-top: 5px !important;
}

.mini-card .btn-sm {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 40px;
}

/* Global Form Styles */
input.glass,
select.glass,
textarea.glass {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

input.glass:focus,
select.glass:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.05);
}

[data-theme='dark'] input.glass {
    background: rgba(255, 255, 255, 0.05);
}

.result-card {
    padding: 30px;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.desi-border {
    border: 3px solid var(--gold) !important;
    position: relative;
    overflow: hidden;
}

.desi-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    pointer-events: none;
    margin: 5px;
    border-radius: 18px;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 25px;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary);
}

.card-header h3 {
    font-size: 2.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timing-label {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.result-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: var(--result-bg);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.panel {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 5px;
}

.jodi {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.last-update {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.live {
    background: #ff0000;
    color: white;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@keyframes blink {
    50% {
        opacity: 0.3;
    }
}

.waiting {
    background: rgba(26, 115, 232, 0.2);
    color: var(--blue);
}

/* Charts Section */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.chart-link-card {
    padding: 25px;
    text-align: center;
}

.chart-link-card h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-sm {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--result-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.seo-card {
    padding: 30px;
}

.seo-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.seo-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-section {
    padding: 60px;
    margin-bottom: 80px;
}

.about-section h2 {
    margin-bottom: 25px;
}

.warning {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 69, 0, 0.1);
    border-left: 4px solid var(--primary-dark);
    border-radius: 8px;
}

/* Chart Pages */
.chart-section {
    padding: 40px 0;
}

.chart-wrapper {
    width: 100%;
    background: var(--card-bg);
    border: 3px solid var(--gold);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.chart-wrapper iframe {
    width: 100%;
    min-height: 900px;
    border: none;
}

.chart-header-info {
    text-align: center;
    padding: 30px;
}

.chart-header-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.chart-seo-content {
    margin-top: 50px;
}

.seo-card-full {
    padding: 40px;
}

.seo-card-full h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.seo-card-full p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

/* Mobile Sidebar & Drawer */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        /* Start off-screen */
        width: 300px;
        height: 100vh;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        /* Align to top */
        padding: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(-320px);
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 30px 24px;
        border-bottom: 1px solid var(--glass-border);
        margin-bottom: 10px;
    }

    .sidebar-header .logo-text {
        font-size: 1.25rem;
    }

    .close-sidebar {
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-primary);
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-item a,
    .dropdown-toggle {
        padding: 15px 24px;
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-primary);
    }

    .nav-item a i {
        width: 20px;
        color: var(--primary);
    }

    .nav-divider {
        padding: 20px 24px 10px;
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--text-muted);
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        background: rgba(var(--primary-rgb), 0.05);
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .theme-toggle-li {
        padding: 20px 24px;
        margin-top: auto;
        border-top: 1px solid var(--glass-border);
    }

    .theme-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
        background: rgba(var(--primary-rgb), 0.1);
        border-radius: 12px;
        gap: 15px;
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 993px) {
    .sidebar-header {
        display: none !important;
    }
}

.nav-divider {
    display: none;
}

@media (min-width: 993px) {

    .sidebar-header,
    .nav-divider {
        display: none !important;
    }
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        /* display: none removed to avoid conflict with sliding animation */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

/* Ad Management Design */
.ad-slot {
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.ad-slot:empty {
    display: none;
    margin: 0;
}

.ad-card-premium {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float_ad 4s ease-in-out infinite;
}

.ad-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            var(--primary),
            transparent 30%);
    animation: rotate_border 4s linear infinite;
    z-index: -1;
}

.ad-card-premium::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0f172a;
    border-radius: 18px;
    z-index: -1;
}

.ad-card-premium:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
}

.ad-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ad-card-content {
    flex: 1;
}

.ad-card-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.ad-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ad-download-btn {
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ad-card-premium:hover .ad-download-btn {
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
}

@keyframes rotate_border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float_ad {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.ad-top {
    margin-top: 120px;
    padding: 0 5%;
}

.ad-middle {
    padding: 0 5%;
}

.ad-bottom {
    padding: 0 5%;
    margin-bottom: 50px;
}

#ad-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.close-popup {
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-popup:hover {
    transform: rotate(90deg) scale(1.2);
}

/* Advanced Features Styles */
.closed-market {
    position: relative;
    overflow: hidden;
}

.closed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    backdrop-filter: blur(2px);
}

.closed-badge {
    background: var(--primary);
    color: #000;
    font-weight: 900;
    padding: 8px 15px;
    border-radius: 5px;
    transform: rotate(-10deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid white;
}

.guessing-numbers {
    font-family: 'Outfit', sans-serif;
    animation: glow-pulse 2s infinite ease-in-out;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px var(--primary));
    }
}

.top-bar a:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
    display: inline-block;
    transition: var(--transition);
}

/* FAB Styles */
.fab-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    border: none;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab-wrapper.active .fab-main {
    transform: rotate(45deg);
    background: #ff4500;
    color: white;
}

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-wrapper.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.fab-item:hover {
    transform: scale(1.1);
}

.whatsapp {
    background: #25D366;
}

.telegram {
    background: #0088cc;
}

.call {
    background: var(--blue);
}

/* Skeleton Styles */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-load 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-load {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 20px;
    width: 80%;
    margin-bottom: 10px;
}

.skeleton-circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.skeleton-rect {
    height: 60px;
    width: 100%;
}

/* Glassmorphism 2.0 Refinements */
.glass {
    border: 1px solid rgba(var(--primary-rgb), 0.15) !important;
    backdrop-filter: blur(12px) !important;
}

.desi-border {
    border-radius: 16px !important;
}

/* --- FINAL PREMIUM ANIMATED VIBRANT DESIGN --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.result-card {
    background: linear-gradient(135deg, #FF512F, #DD2476);
    border-radius: 16px !important;
    padding: 30px !important;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 15px 35px rgba(221, 36, 118, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(221, 36, 118, 0.5);
}

/* Shine Animation */
.result-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 5s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -100%;
        top: -100%;
    }

    20%,
    100% {
        left: 100%;
        top: 100%;
    }
}

.card-header h3 {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.market-timing-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.time-box {
    background: rgba(0, 0, 0, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-box span {
    color: #fff;
    margin-left: 3px;
}

.timer {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 10px auto !important;
    width: fit-content;
}

.timer i {
    animation: rotate-timer 2s linear infinite;
}

@keyframes rotate-timer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.result-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 !important;
    padding: 20px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    animation: bounce-in 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-display .panel {
    font-size: 1.25rem !important;
    color: #888 !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
}

.result-display .jodi {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    color: #FF512F !important;
    text-shadow: 0 2px 10px rgba(255, 81, 47, 0.2) !important;
    animation: text-pulse 2s infinite;
}

@keyframes text-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.last-update {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

.chart-btns .btn-mini,
.chart-btns .btn {
    background: #fff !important;
    color: #DD2476 !important;
    border-radius: 10px !important;
    border: none !important;
    font-weight: 900 !important;
    padding: 12px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    transition: 0.3s;
}

.chart-btns .btn:hover {
    background: #f0f0f0 !important;
    transform: scale(1.05) !important;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff !important;
    color: #DD2476 !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    font-size: 0.7rem !important;
    animation: pulse-badge 1.5s infinite;
    z-index: 5;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Light Mode Card Adjustments */
body[data-theme=\"light\"] .result-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

body[data-theme=\"light\"] .result-display {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.05);
}

body[data-theme=\"light\"] .result-card:hover {
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

/* Countdown & Engagement Styles */
.countdown-timer {
    font-size: 0.9rem;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.countdown-timer i {
    font-size: 0.8rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}