:root {
    --bg-dark: #000000;
    /* Black background */
    --bg-card: #ffffff;
    --bg-card-hover: #ffffcc;
    /* Light yellow hover */
    --primary: #ff0000;
    /* Red */
    --primary-glow: rgba(255, 0, 0, 0.4);
    --secondary: #0000ff;
    /* Blue */
    --accent: #ffc107;
    /* Gold/Yellow */
    --accent-glow: rgba(255, 193, 7, 0.4);
    --success: #008000;
    /* Green */
    --text-main: #ffffff;
    /* White text */
    --text-muted: #cccccc;
    /* Light gray */
    --glass-border: #ff0000;
    /* Red border */
    --font-heading: 'Times New Roman', serif;
    --font-body: 'Times New Roman', serif;
}

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

}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
}

a {
    transition: all 0.3s ease;
    color: #0000EE;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-gradient {
    color: #ff0000;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    text-transform: uppercase;
    font-weight: 900;
}

.btn-neon {
    background: #008000;
    /* Green */
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 800;
    border: 2px solid #000;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-neon:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.card-glass {
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: none;
    position: relative;
}

.card-glass:hover {
    border-color: var(--secondary);
}

/* Header */
.main-header {
    background: transparent;
    padding: 0;
    position: relative;
    border: none;
    box-shadow: none;
}

.logo-img {
    max-width: 250px;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

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

.trust-badge {
    color: var(--accent);
    text-align: center;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-shadow: 1px 1px 0 #000;
}

/* Live Update Section */
.live-badge {
    background: #ff0000;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 800;
    animation: pulse 1.0s infinite;
    border: 1px solid #fff;
}

.live-card {
    border: 3px solid var(--primary);
    background: #fff5e6;
    /* Light orange tint */
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 2px dashed var(--primary);
}

.result-row:last-child {
    border-bottom: none;
}

.result-value {
    color: var(--success);
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
}

/* Market Cards */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.market-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--success);
    background: #f0fdfa;
    /* Very light teal tint */
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
}

.market-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.market-result {
    font-size: 2.2rem;
    font-weight: 900;
    color: #000;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.market-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    gap: 10px;
}

.btn-outline {
    background: var(--primary);
    color: #f97316;
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    flex: 1;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    text-decoration: none;
}

/* Public Seva */
.seva-card {
    background: #fff;
    border: 2px solid var(--accent);
    border-left: 8px solid var(--accent);
}

.seva-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.seva-label {
    width: 100px;
    font-weight: 700;
    color: var(--text-main);
}

/* Text Content */
.content-section {
    color: #000;
    font-size: 1rem;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.content-section p {
    margin-bottom: 1rem;
}

.highlight-box {
    background: var(--accent);
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--primary);
    margin: 1rem 0;
    color: #000;
    font-weight: bold;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
}

/* Footer-specific elements based on image */
.footer-disclaimer-box {
    background: #ffffff;
    border: 3px solid #ff0000;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-disclaimer-box h4 {
    color: #ff0000;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-info-box {
    background: #ffc107;
    /* Yellow */
    border: 3px solid #ff0000;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-info-box h4 {
    color: #ff0000;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-nav-bar {
    background: #3e2715;
    /* Brown */
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid #ff0000;
    border-bottom: 1px solid #ff0000;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 5px 0;
}

.footer-nav-links a {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav-links a:hover {
    color: #ffc107;
}

.footer-bottom-links {
    margin-top: 10px;
}

.footer-bottom-links a {
    color: #ffffff;
    margin: 0 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-credit-card {
    background: #ffffff;
    border: 4px solid #ff0000;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    color: #000000;
}

.footer-credit-card h4 {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-credit-card .owner-label {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-credit-card .owner-name {
    color: #000080;
    /* Dark Blue */
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-credit-card .contact-number {
    color: #ff0000;
    font-size: 2rem;
    font-weight: 900;
}


/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.blink-me {
    animation: blinker 0.5s linear infinite;
    color: red;
    font-weight: bold;
}

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

/* Responsive */
@media (max-width: 768px) {
    .market-grid {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

/* Chart Tab Links */
.chart-link {
    background: linear-gradient(135deg, #ffffff 0%, #f3e5f5 100%);
    border: 1px solid var(--primary);
    border-left: 5px solid var(--secondary);
    color: var(--primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.chart-link:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    border-left-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
    text-decoration: none;
}

.btn-register {
    background: linear-gradient(90deg, #00c853, #64dd17);
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.btn-register:hover {
    background: linear-gradient(90deg, #64dd17, #00c853);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 200, 83, 0.4);
    color: #ffffff;
}

/* Jodi Chart Table */
.jodi-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.jodi-table {
    min-width: 320px;
    max-width: 900px;
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jodi-table th {
    background: var(--primary);
    color: #f97316;
    /* Orange accent */
    padding: 12px;
    text-transform: uppercase;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jodi-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.jodi-table tr:nth-child(even) {
    background: #fff5e6;
    /* Very faint orange tint */
}

.jodi-table h2 {
    margin: 0;
    font-size: 24px;
    color: inherit;
}

.jodi-table .r {
    color: var(--accent);
    /* Orange for special numbers */
}

/* Traditional Homepage Styling */
.traditional-header {
    background: mintcream;
    border: 3px double magenta;
    padding: 0.5rem;
    margin: 3px;
    text-align: center;
    color: #434142;
}

.traditional-header h1 {
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.traditional-title-bar {
    background: var(--accent);
    color: black;
    padding: 1rem;
    text-align: center;
    font-weight: 900;
    font-size: 1.5rem;
    border: 3px solid var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.traditional-result-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #000;
    margin-bottom: 0;
    font-weight: bold;
}

.traditional-result-row:nth-child(odd) {
    background: var(--success);
    color: white;
}

.traditional-result-row:nth-child(even) {
    background: white;
    color: black;
}

.traditional-result-name {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 900;
}

.traditional-result-value {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.traditional-market-box {
    border: 2px solid var(--primary);
    background: white;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0;
}

.traditional-market-header {
    background: var(--secondary);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
}

.traditional-market-body {
    padding: 0.5rem;
    text-align: center;
    background: #ffffcc;
}

.traditional-market-result {
    font-size: 2.2rem;
    font-weight: 900;
    color: #000000;
    margin: 0.5rem 0;
    letter-spacing: 1px;
}

.traditional-button {
    background: #004080;
    /* Dark Blue */
    color: white;
    border: 1px solid #000;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem;
    transition: all 0.3s;
    font-size: 0.8rem;
    border-radius: 4px;
}

.traditional-button:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.traditional-login-box {
    background: #2b644a;
    /* border: 4px solid var(--accent); */
    /* padding: 2rem; */
    color: white;
}

.traditional-login-box h3 {
    color: var(--accent);
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
}

.traditional-input {
    background: white;
    border: 3px solid var(--accent);
    padding: 0.75rem;
    font-weight: bold;
    width: 100%;
    margin-bottom: 1rem;
}

.traditional-chart-link {
    display: block;
    padding: 1rem;
    border: 2px solid #000;
    margin-bottom: 0;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s;
}

.traditional-chart-link:nth-child(odd) {
    background: var(--success);
    color: white;
}

.traditional-chart-link:nth-child(even) {
    background: white;
    color: var(--primary);
}

.traditional-chart-link:hover {
    background: var(--accent);
    color: black;
    text-decoration: none;
}

.traditional-section-header {
    background: #ff0000;
    /* Red */
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: 900;
    font-size: 1.3rem;
    border: 2px solid #000;
    margin: 1rem 0 0.5rem 0;
    text-transform: uppercase;
}

.traditional-highlight {
    background: var(--accent);
    color: black;
    padding: 1rem;
    border: 3px solid var(--primary);
    font-weight: bold;
    margin: 1rem 0;
}

/* Dpboss Specific Styles */
.live-result {
    background-color: #FFC107;
    color: black;
    font-weight: bold;
    font-size: 28px;
    font-family: 'Open Sans', sans-serif;
    border: orange solid 3px;
    margin-bottom: 5px;
    text-shadow: 1px 1px rgb(216, 185, 71);
    border-radius: 4px;
    text-align: center;
    font-style: italic;
    padding: 1px;
}

.live-result1 {
    background-color: #FAE6E9;
    color: black;
    font-weight: bold;
    font-size: 21px;
    font-family: 'Open Sans', sans-serif;
    border: orange solid 3px;
    margin-bottom: 5px;
    text-shadow: 1px 1px rgb(216, 185, 71);
    border-radius: 4px;
    text-align: center;
    font-style: italic;
    padding: 1px;
}

.news-body {
    background-color: white;
    color: black;
    border: solid 3px #F39C12;
    text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8;
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    margin: 3px;
    border-radius: 3px;
}

.fix {
    border-bottom: 1.5px solid silver;
    margin-top: 2px;
    padding: 40px;
    padding-left: 10px;
    margin-bottom: 2px;
    padding-right: 10px;
}

.news2 {
    background-color: gold;
    font-size: 23px;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1.5px solid #F39C12;
}

.jodichartleft {
    float: left;
    width: 20%;
    text-align: left;
    margin-top: -25px;
}

.panelchartright {
    float: right;
    width: 20%;
    text-align: right;
    margin-top: -25px;
}

.jodichartleft a,
.panelchartright a {
    width: auto;
    background-color: red;
    padding: 6px 20px;
    font-size: 15px;
    border-radius: 5px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.res-head1 {
    color: #000;
    padding: 5px;
    margin: 3px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #F39C12;
    border-radius: 8px;
    font-size: 20px;
    background: rgb(247, 101, 101);
    background: linear-gradient(180deg, rgba(247, 101, 101, 1) 0%, rgba(246, 238, 78, 1) 100%);
}

.menu2 {
    border-left: lime solid 3px;
    font-weight: bold;
    border-right: lime solid 3px;
    border-top: lime solid 3px;
    border-bottom: lime solid 3px;
    background-color: mintcream;
    border-radius: 8px;
    font-style: italic;
    font-size: small;
    text-align: center;
    text-shadow: 1px 1px pink;
    margin-top: 9px;
    margin-bottom: 9px;
    border: solid 3px #956f13;
    text-shadow: 1px 1px 0 pink, 1px 5px 5px #aba8a8;
    font-style: italic;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.head1 {
    background-color: #c38086;
    /* Very light cyan/white */
    color: #434142;
    border: 2px solid #800080;
    /* Purple border */
    margin: 5px;
    padding: 10px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.head1 h1 {
    margin: 5px 0;
    padding: 0;
}

.head1 h1 a {
    color: #0000FF !important;
    /* Blue */
    font-weight: 900;
    font-size: 32px;
    font-style: italic;
    text-decoration: none;
    text-transform: uppercase;
}

.head1 h2 {
    color: #FF0000 !important;
    /* Red */
    font-weight: 900;
    font-size: 24px;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
}

.head1 span.hindi-text {
    display: block;
    font-size: 14px;
    color: #434142;
    margin-bottom: 2px;
}

/* Guessing Forum Section - Screenshot Replica */
.guess-card {
    border: 1px solid #8e8e8e;
    margin-bottom: 15px;
    font-family: Verdana, Geneva, sans-serif;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.guess-header {
    background: linear-gradient(to bottom, #9ebfcc 0%, #5d7ea4 100%);
    padding: 8px 10px;
    color: #ffff00;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    border-bottom: none;
    text-shadow: 1px 1px 0 #000;
}

.guess-header i {
    margin-right: 8px;
    color: #ffff00;
}

.guess-body {
    background-color: #3e2828;
    /* Dark Brown */
    padding: 34px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.8;
    border: 1px solid #fff;
    border-top: none;
}

.guess-line {
    display: block;
}

.cl-magenta {
    color: #ff00ff;
}

.cl-yellow {
    color: #ffff00;
}

.cl-green {
    color: #00ff00;
}


/* Red Block Buttons */
.red-block-btn {
    display: block;
    width: 100%;
    background-color: #a52b3e;
    /* Maroon/Red from screenshot */
    color: #ffffff;
    padding: 12px;
    margin-bottom: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid #000000;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.red-block-btn:hover {
    background-color: #c9304e;
    color: #ffffff;
    text-decoration: none;
    border-color: #333;
}

/* Chart Section Redesign */
.chart-header-red {
    background-color: #a52b3e;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 5px;
    border: 1px solid #FFC0CB;
    /* Pinkish border */
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(255, 192, 203, 0.5);
}

.chart-btn-black {
    display: block;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding: 8px;
    margin-bottom: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #FF69B4;
    /* Hot pink border */
    border-radius: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 2px #fff;
    text-transform: capitalize;
}

.chart-btn-black:hover {
    background-color: #1a1a1a;
    color: #FF69B4;
    border-color: #ffffff;
    text-decoration: none;
}

/* New Live Update Section Styles */
.new-live-section {
    margin-bottom: 20px;
    border: 3px solid #956f13;
    border-radius: 8px;
    overflow: hidden;
}

.new-live-header {
    background-color: #FFC107;
    color: #000;
    font-weight: 900;
    font-size: 22px;
    padding: 8px;
    text-align: center;
    border-bottom: 2px solid #000;
    text-transform: uppercase;
}

.new-live-row {
    background-color: #fff;
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.new-live-row:last-child {
    border-bottom: none;
}

.market-name-new {
    color: #ff0000;
    font-style: italic;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
}

.result-val-new {
    color: #0000ff;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.btn-refresh-new {
    background: linear-gradient(to bottom, #444 0%, #000 100%);
    color: #FFC107;
    border: 2px solid #FFC107;
    border-radius: 50px;
    padding: 3px 25px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none !important;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-refresh-new:hover {
    background: #FFC107;
    color: #000;
}