/* Modern Design System for Rocky Satta Matka */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Outfit:wght@400;600;700;900&display=swap');

:root {
    --primary-bg: #000000;
    --card-bg: #ffffff;
    --card-text: #1a1a1a;
    --maroon: #7d0506;
    --maroon-dark: #5c0405;
    --maroon-light: #9e0708;
    --green-bg: #004d40;
    --blue-bg: #1b2a49;
    --gold: #FFC107;
    --accent-red: #ff0000;
    --text-white: #ffffff;
    --text-dim: #cccccc;
    --border-dark: #000000;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

input,
select,
textarea {
    color: #000000;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.premium-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Glassmorphism Section */
/* Component Sections */
.glass-panel {
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: none;
    border: 2px solid var(--maroon);
}

.login-section {
    background: var(--green-bg);
    color: #fff;
    padding: 25px;
    border: 2px solid #000;
    border-radius: 8px;
    margin-top: 40px;
}

.quick-links-bar {
    background: var(--blue-bg);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #000;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    transition: background 0.3s;
}

.quick-links-bar:hover {
    background: var(--maroon);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-red {
    color: var(--accent-red);
}

/* Header & Branding */
header {
    text-align: center;
    padding: 0;
    background: #fff;
}

.branding-bar {
    background: var(--maroon);
    color: #fff;
    padding: 10px 0;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
}

.logo-container {
    padding: 20px 0;
    background: #000000;
}

.logo-glow {
    max-width: 250px;
}

.notice-bar {
    background: var(--maroon);
    padding: 8px 0;
    color: #ffd700;
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
}

.logo-glow:hover {
    transform: scale(1.05);
}

.tagline {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 15px;
    display: block;
    animation: pulse 2s infinite;
}

/* Market Row Layout (Exact Replica) */
.market-list {
    margin: 20px 0;
    border: 2px solid var(--maroon);
    border-radius: 8px;
    overflow: hidden;
}

.market-row {
    background: #fff;
    color: #000;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 100px;
}

.market-row:nth-child(even) {
    background: #ffffae;
    /* Light Yellow */
}

.market-row.header-row {
    background: var(--maroon) !important;
    color: #fff;
    padding: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    justify-content: center;
}

.market-info-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.market-name {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* Side Buttons */
.side-btn {
    background: var(--maroon);
    color: #fff;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #000;
    min-width: 60px;
    text-align: center;
}

.side-btn:hover {
    background: #000;
}

/* Specific Market Colors */
.name-blue {
    color: #0000FF;
}

.name-green {
    color: #008000;
}

.name-red {
    color: #FF0000;
}

.name-pink {
    color: #FF1493;
}

.name-magenta {
    color: #8B008B;
}

.market-result {
    font-size: 2rem;
    color: #000;
    font-weight: 900;
    margin: 5px 0;
    letter-spacing: 2px;
}

.market-time {
    color: #ff0000;
    /* Time in Red as per image */
    font-size: 0.9rem;
    font-weight: 700;
}

/* Bottom Content & SEO Sections */
.seo-section {
    background: #fff;
    color: #000;
    padding: 30px 20px;
    text-align: left;
}

.seo-section h2,
.seo-section h3 {
    color: #ff0000;
    font-style: italic;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 30px;
    text-transform: uppercase;
}

.seo-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
    font-style: italic;
}

.faq-section {
    margin-top: 40px;
}

.faq-q {
    color: #ff0000;
    font-weight: 800;
    font-style: italic;
    margin-top: 20px;
    font-size: 0.9rem;
}

.faq-a {
    font-weight: 600;
    font-style: italic;
    font-size: 0.85rem;
}

.keyword-box {
    padding: 15px;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    line-height: 1.8;
}

/* New Footer Components */
.footer-disclaimer {
    background: #fff;
    border: 3px solid #ff0000;
    border-radius: 15px;
    padding: 20px;
    margin: 40px auto;
    max-width: 900px;
    color: #333;
}

.footer-update-box {
    background: linear-gradient(to right, #ff8c00 0%, #ffd700 50%, #ff8c00 100%);
    border: 3px solid #000;
    border-radius: 15px;
    padding: 15px;
    margin: 20px auto;
    max-width: 900px;
    color: #000;
    font-weight: 900;
    text-align: center;
}

.footer-nav-bar {
    background: #1a0a05;
    padding: 20px;
    margin-top: 30px;
}

.footer-nav-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    margin: 0 10px;
    font-size: 0.85rem;
}

.contact-card {
    background: #fff;
    border: 3px solid #ff0000;
    border-radius: 15px;
    padding: 25px;
    margin: 30px auto;
    max-width: 400px;
}

.contact-card h4 {
    color: #2e1a1a;
    font-weight: 900;
    margin-bottom: 15px;
}

.contact-card .phone {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
}

.btn-mini-red {
    background: #ff0000;
    color: #fff;
    padding: 5px 15px;
    border: none;
    font-size: 0.75rem;
    font-weight: 800;
    margin: 5px;
    cursor: pointer;
}

.guessing-container {
    margin: 40px 0;
}

.guessing-block {
    background: #2e1a1a;
    border: 1px solid #000;
    margin-bottom: 20px;
}

.guessing-header {
    background: linear-gradient(180deg, #6085a5 0%, #3a536b 100%);
    color: #ffd700;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
}

.guessing-header i {
    margin-right: 8px;
}

.guessing-body {
    padding: 15px;
    line-height: 1.8;
}

.text-otc {
    color: #ff00ff;
    font-weight: 700;
}

.text-jodi {
    color: #ffff00;
    font-weight: 700;
}

.text-panna {
    color: #00ff00;
    font-weight: 700;
}

/* Chart Link Sections */
.chart-list-section {
    margin: 30px 0;
    width: 100%;
}

.chart-link-row {
    display: block;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    text-align: center;
    font-style: italic;
    font-weight: 700;
    border: 1px solid #7d0506;
    margin-bottom: 2px;
    font-size: 0.95rem;
    text-transform: capitalize;
}

.chart-link-row:hover {
    background: #1a1a1a;
    color: #ffd700;
}

.chart-link-row span.decoration {
    font-style: normal;
    margin: 0 5px;
}

.full-maroon-link {
    display: block;
    background: #a91e2c;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #000;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.full-maroon-link:hover {
    background: #7d0506;
}

.section-header {
    background: var(--maroon);
    color: #fff;
    padding: 10px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid #000;
    margin-top: 40px;
}

/* Buttons */
.btn-premium {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-gold {
    background: var(--gold);
    color: #000;
}

.btn-gold:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: #fff;
    margin: 5px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Chart Tables */
.chart-container {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.premium-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: #fff;
    color: #000;
}

.premium-table th {
    background: var(--maroon);
    color: #fff;
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.premium-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: center;
    font-weight: 600;
    color: #000;
}

.premium-table tr:nth-child(even) {
    background: #ffffae;
}

.premium-table tr:hover {
    background: #eee;
}

.result-cell {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 1.1rem;
}

.holiday-cell {
    color: #ef4444;
    font-style: italic;
    opacity: 0.7;
}

/* Pagination */
.premium-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link.active,
.page-link:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.live-dot {
    height: 8px;
    width: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px #22c55e;
    animation: blinker 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .market-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 40px 10px;
    }

    .premium-table td,
    .premium-table th {
        padding: 10px 5px;
        font-size: 0.75rem;
    }
}