/* =========================================================
   Bengal Fatafat - PREMIUM GOLD THEME
   Primary: #D60000
   Text: #000000
   ========================================================= */

:root {
    --gold: #D60000;
    --gold-dark: #8B0000;
    --gold-light: #FF3B30;
    --gold-soft: #FFE5E5;
    --black: #000000;
    --dark: #111111;
    --border: #A80000;
}

/* ---------------------------------------------------------
   GLOBAL
--------------------------------------------------------- */

html,
body {
    background: #111111 !important;
    color: var(--black) !important;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 14px;
    line-height: 1.5;
}

#container {
    background: #ffffff !important;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow:
        0 0 25px rgba(247, 173, 2, 0.18),
        0 0 5px rgba(0, 0, 0, 0.7);
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

#header {
    background: #ffffff !important;
    border-bottom: 4px solid var(--gold) !important;
    text-align: center;
    padding: 8px 0;
}

#header-logo {
    display: inline-block;
}

#header-logo img {
    max-width: 100%;
    height: auto;
}

/* ---------------------------------------------------------
   TOP / MAIN NAVIGATION
--------------------------------------------------------- */

#top-bar {
    background: var(--gold) !important;
    border-bottom: 1px solid var(--gold-dark) !important;
    color: #000 !important;
}

#site-title a,
#site-description {
    color: #000 !important;
    text-shadow: none !important;
}

#nav-main {
    background: var(--gold) !important;
    border-bottom: 2px solid var(--gold-dark) !important;
    padding-left: 10px;
}

#nav-main .nav-main {
    border-left: 1px solid rgba(0,0,0,.18) !important;
    border-right: 1px solid rgba(255,255,255,.35) !important;
}

#nav-main .nav-main > li,
#nav-main .nav-main > ul > .page_item {
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,.18),
        rgba(0,0,0,.08)
    ) !important;

    border-right: 1px solid rgba(0,0,0,.2) !important;
    border-left: 1px solid rgba(255,255,255,.3) !important;
}

#nav-main .nav-main a {
    color: #000 !important;
    font-weight: 700;
    text-shadow: none !important;
}

#nav-main .nav-main a:hover {
    background: #000 !important;
    color: var(--gold) !important;
}

/* Dropdown */

#nav-main .sub-menu,
#nav-main .children {
    background: #000 !important;
    border: 1px solid var(--gold) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.45) !important;
}

#nav-main .sub-menu li,
#nav-main .children li {
    border-top: 1px solid #292929 !important;
    border-bottom: 1px solid #000 !important;
}

#nav-main .sub-menu a,
#nav-main .children a {
    color: var(--gold) !important;
}

#nav-main .sub-menu a:hover,
#nav-main .children a:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */

#main {
    background: #FFF7F7 !important;
    padding: 8px;
}

#content {
    padding: 5px;
}

/* ---------------------------------------------------------
   RESULT AREA
--------------------------------------------------------- */

#today,
#allResult,
#month {
    color: #000 !important;
}

/* Every result table */

#today table,
#allResult table {
    width: 98%;
    margin: 12px auto;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #ffffff;
    border: 2px solid var(--gold) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 3px 12px rgba(0,0,0,.12),
        0 0 0 1px rgba(214,0,0,.12);
}

/* Date / section header */

#today table th,
#allResult table th {
    background: var(--gold) !important;
    color: #000 !important;
    border: none !important;
    padding: 10px 8px !important;
    font-weight: 800 !important;
    text-align: center;
    font-size: 15px !important;
}

/* Date heading */

#today table th h6,
#allResult table th h6 {
    margin: 0 !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Result cells */

#today table td,
#allResult table td {
    background: #FFF7F7 !important;
    color: #000 !important;
    border: 1px solid #E7B0B0 !important;
    text-align: center;
    vertical-align: middle;
    padding: 8px 5px !important;
    height: 58px;
    transition: all .2s ease;
}

/* Numbers */

#today table td h6,
#allResult table td h6 {
    color: #000 !important;
    margin: 1px 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

/* Patti number */

#today table td h6:nth-child(2),
#allResult table td h6:nth-child(2) {
    color: #111 !important;
    font-size: 14px !important;
}

/* Hover */

#today table td:hover,
#allResult table td:hover {
    background: #FFE0E0 !important;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px var(--gold);
}

/* ---------------------------------------------------------
   TODAY RESULT - PREMIUM HIGHLIGHT
--------------------------------------------------------- */

#today {
    position: relative;
}

#today table:first-child {
    border: 3px solid var(--gold) !important;
    box-shadow:
        0 5px 20px rgba(214,0,0,.22),
        0 0 15px rgba(214,0,0,.10);
}

#today table:first-child th {
    background:
        linear-gradient(
            135deg,
            #D60000,
            #FF3B30,
            #D60000
        ) !important;
}

/* ---------------------------------------------------------
   SECTION TITLES
--------------------------------------------------------- */

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
    color: #000 !important;
}

#main > h3,
#main > h4,
#main > h5,
#main > h6 {
    font-weight: 800;
}

/* "Today Results" / "All Results" */

#today + *,
#allResult + * {
    color: #000 !important;
}

/* ---------------------------------------------------------
   LIVE BADGE
--------------------------------------------------------- */

.live,
#live,
.live-btn {
    background: var(--gold) !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-weight: 800;
    border-radius: 20px;
    padding: 5px 15px;
    box-shadow: 0 3px 10px rgba(214,0,0,.25);
}

/* ---------------------------------------------------------
   MONTH RESULT BUTTONS
--------------------------------------------------------- */

#month .btn,
#month a {
    display: block;
    width: 100%;
    background:
        linear-gradient(
            135deg,
            #8B0000 0%,
            #D60000 55%,
            #FF3B30 88%,
            #FFD21A 100%
        ) !important;

    color: #000 !important;
    border: 2px solid #B00000 !important;
    border-radius: 8px !important;
    padding: 11px 15px !important;
    font-weight: 800 !important;
    text-align: center;
    text-decoration: none !important;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15),
        inset 0 1px rgba(255,255,255,.55);

    transition: all .2s ease;
}

#month .btn:hover,
#month a:hover {
    background: #000 !important;
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* ---------------------------------------------------------
   WIDGETS / BOXES
--------------------------------------------------------- */

.frontier-widget,
.blog-view,
.single-view,
.author-info,
.archive-info,
.form-404 {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #C00000 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.12) !important;
}

.widget-title,
.author-info .title {
    background: var(--gold) !important;
    color: #000 !important;
    text-shadow: none !important;
    font-weight: 800;
}

/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

a {
    color: #000 !important;
    font-weight: 600;
}

a:hover {
    color: #A00000 !important;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

#footer {
    background: #000 !important;
}

#bottom-bar {
    background: #000 !important;
    color: #fff !important;
    border-top: 3px solid var(--gold) !important;
}

#bottom-bar a {
    color: var(--gold) !important;
}

#theme-link a {
    color: var(--gold) !important;
}

/* ---------------------------------------------------------
   FORM / INPUTS
--------------------------------------------------------- */

input,
textarea,
select {
    border: 1px solid #B00000 !important;
    color: #000 !important;
    background: #fff !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(214,0,0,.2) !important;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    #container {
        width: 100%;
        box-shadow: none;
    }

    #main {
        padding: 4px;
    }

    #content {
        padding: 2px;
    }

    #today table,
    #allResult table {
        width: 100%;
        margin: 8px auto;
    }

    #today table td,
    #allResult table td {
        padding: 7px 3px !important;
        height: 52px;
    }

    #today table td h6,
    #allResult table td h6 {
        font-size: 13px !important;
    }

    #today table th,
    #allResult table th {
        font-size: 14px !important;
        padding: 8px 4px !important;
    }
}

/* ---------------------------------------------------------
   GOLD SHINE EFFECT
--------------------------------------------------------- */

#today table th,
#allResult table th,
#month a {
    background-size: 200% 200% !important;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#today table th,
#allResult table th {
    background:
        linear-gradient(
            120deg,
            #7A0000 0%,
            #A80000 28%,
            #D60000 58%,
            #FF3B30 86%,
            #FFD21A 100%
        ) !important;

    background-size: 250% 250% !important;
    animation: goldShine 8s ease infinite;
}

/* =========================================================
   BENGAL FATAFAT - RED DOMINANT OVERRIDE
   Red is the primary site color; yellow is only a small accent.
   ========================================================= */

:root {
    --gold: #D60000;
    --gold-dark: #8B0000;
    --gold-light: #FF3B30;
    --gold-soft: #FFE5E5;
    --black: #090909;
    --dark: #111111;
    --border: #A80000;
}

#header {
    background: linear-gradient(135deg, #7A0000 0%, #B00000 45%, #D60000 82%, #FF3B30 100%) !important;
    border-bottom: 3px solid #FFD21A !important;
}

#top-bar,
#nav-main {
    background: linear-gradient(135deg, #7A0000 0%, #A80000 35%, #D60000 72%, #E51B23 100%) !important;
    border-color: #8B0000 !important;
}

#nav-main .nav-main > li,
#nav-main .nav-main > ul > .page_item {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, .10),
        rgba(0, 0, 0, .18)
    ) !important;
    border-color: rgba(255,255,255,.12) !important;
}

#nav-main .nav-main a {
    color: #fff !important;
}

#nav-main .nav-main a:hover {
    background: #FFD21A !important;
    color: #700000 !important;
}

#nav-main .sub-menu,
#nav-main .children {
    background: #700000 !important;
    border-color: #D60000 !important;
}

#nav-main .sub-menu a,
#nav-main .children a {
    color: #fff !important;
}

#nav-main .sub-menu a:hover,
#nav-main .children a:hover {
    background: #D60000 !important;
    color: #fff !important;
}

#main {
    background: #FFF7F7 !important;
}

#today table,
#allResult table {
    border-color: #D60000 !important;
    box-shadow: 0 3px 12px rgba(120,0,0,.18), 0 0 0 1px rgba(214,0,0,.12);
}

#today table th,
#allResult table th {
    background: linear-gradient(
        135deg,
        #7A0000 0%,
        #B00000 45%,
        #D60000 85%,
        #FFD21A 100%
    ) !important;
    color: #fff !important;
}

#today table td,
#allResult table td {
    background: #FFF7F7 !important;
    border-color: #E7B0B0 !important;
}

#today table td:hover,
#allResult table td:hover {
    background: #FFE0E0 !important;
    box-shadow: inset 0 0 0 1px #D60000;
}

.live,
#live,
.live-btn {
    background: #D60000 !important;
    color: #fff !important;
    border-color: #FFD21A !important;
}

#month .btn,
#month a {
    background: linear-gradient(
        135deg,
        #7A0000 0%,
        #B00000 42%,
        #D60000 82%,
        #FF3B30 94%,
        #FFD21A 100%
    ) !important;
    color: #fff !important;
    border: 2px solid #8B0000 !important;
}

#month .btn:hover,
#month a:hover {
    background: #FFD21A !important;
    color: #700000 !important;
    border-color: #D60000 !important;
}

.widget-title,
.author-info .title {
    background: #D60000 !important;
    color: #fff !important;
}

a {
    color: #A80000 !important;
}

a:hover {
    color: #D60000 !important;
}

#footer,
#bottom-bar {
    background: linear-gradient(135deg, #4D0000 0%, #7A0000 45%, #B00000 100%) !important;
    color: #fff !important;
    border-top-color: #FFD21A !important;
}

#bottom-bar a,
#theme-link a {
    color: #FFD21A !important;
}

input,
textarea,
select {
    border-color: #B00000 !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #D60000 !important;
    box-shadow: 0 0 0 2px rgba(214,0,0,.18) !important;
}

/* Inline colors in the Blade are overridden here as well. */
#header-logo a,
#main h1,
#main h2,
#main h3 {
    text-shadow: none;
}



/* =========================================================
   BENGAL FATAFAT
   ANIMATED RED GRADIENT THEME
========================================================= */

:root {
    --red-dark: #650000;
    --red-deep: #8f0000;
    --red: #c40000;
    --red-bright: #ff1a1a;
    --red-orange: #ff4500;
    --gold: #ffc400;
    --gold-light: #ffd84d;
    --black: #080000;

    --bengal-gradient:
        linear-gradient(
            120deg,
            #650000 0%,
            #a80000 18%,
            #e00000 35%,
            #ff1a1a 50%,
            #ff4500 65%,
            #c40000 82%,
            #650000 100%
        );
}


/* =========================================================
   ANIMATED GRADIENT
========================================================= */

.bengal-gradient {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 10s ease infinite;
}


@keyframes bengalGradientMove {

    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* =========================================================
   HEADER
========================================================= */

#header {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 10s ease infinite;
    border-bottom: 3px solid var(--gold) !important;
}


/* =========================================================
   NAVIGATION
========================================================= */

#nav-main {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 9s ease infinite;
    border-bottom: 2px solid var(--gold) !important;
}

#nav-main .nav-main > li {
    background: transparent !important;
}

#nav-main .nav-main a {
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 1px 3px #000;
}

#nav-main .nav-main a:hover {
    background: rgba(255, 196, 0, 0.95) !important;
    color: #700000 !important;
    text-shadow: none !important;
}


/* =========================================================
   TODAY RESULT
========================================================= */

#today table {
    border: 3px solid var(--red-bright) !important;
    box-shadow:
        0 5px 20px rgba(180, 0, 0, .35),
        0 0 20px rgba(255, 30, 30, .15);
}

#today table th {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 8s ease infinite;

    color: #ffffff !important;
    border-bottom: 2px solid var(--gold) !important;
}


/* =========================================================
   ALL RESULTS
========================================================= */

#allResult table {
    border: 2px solid var(--red) !important;
}

#allResult table th {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 9s ease infinite;

    color: #ffffff !important;
    border-bottom: 2px solid var(--gold) !important;
}


/* =========================================================
   RESULT CELLS
========================================================= */

#today table td,
#allResult table td {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #d00000 !important;
}

#today table td:hover,
#allResult table td:hover {
    background: #fff5f5 !important;
    box-shadow:
        inset 0 0 0 2px var(--red-bright),
        0 3px 10px rgba(200, 0, 0, .18);

    transform: translateY(-2px);
}


/* =========================================================
   MONTH BUTTONS
========================================================= */

#month .btn,
#month a {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 8s ease infinite;

    color: #ffffff !important;

    border: 2px solid var(--gold) !important;
    border-radius: 10px !important;

    font-weight: 800 !important;

    box-shadow:
        0 4px 12px rgba(120, 0, 0, .30),
        inset 0 1px rgba(255,255,255,.25);
}

#month .btn:hover,
#month a:hover {
    background:
        linear-gradient(
            135deg,
            #ffc400,
            #ffdf55,
            #ffc400
        ) !important;

    color: #700000 !important;

    border-color: #ffffff !important;

    transform: translateY(-2px) scale(1.01);
}


/* =========================================================
   TIME TABLE
========================================================= */

#main table td[bgcolor="#F79902"],
#main table td[bgcolor="#090909"] {

    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;

    animation: bengalGradientMove 10s ease infinite;

    color: #ffffff !important;

    border: 1px solid var(--gold) !important;
}


#main table td[bgcolor="#F79902"] h3,
#main table td[bgcolor="#090909"] h3,
#main table td[bgcolor="#F79902"] p,
#main table td[bgcolor="#090909"] p,
#main table td[bgcolor="#F79902"] strong,
#main table td[bgcolor="#090909"] strong,
#main table td[bgcolor="#F79902"] u,
#main table td[bgcolor="#090909"] u {
    color: #ffffff !important;
}


/* =========================================================
   FOOTER
========================================================= */

#bottom-bar {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 10s ease infinite;

    color: #ffffff !important;

    border-top: 3px solid var(--gold) !important;
}

#bottom-bar a {
    color: var(--gold-light) !important;
}


/* =========================================================
   LIVE BADGE
========================================================= */

.live,
#live,
.live-btn {
    background: var(--bengal-gradient) !important;
    background-size: 400% 400% !important;
    animation: bengalGradientMove 6s ease infinite;

    color: #ffffff !important;

    border: 2px solid var(--gold) !important;
    font-weight: 800;

    box-shadow:
        0 0 12px rgba(255, 0, 0, .35);
}


/* =========================================================
   GOLD ACCENT
========================================================= */

.bengal-gold {
    color: var(--gold) !important;
}

.bengal-gold-border {
    border-color: var(--gold) !important;
}


/* =========================================================
   RED GLOW
========================================================= */

.bengal-glow {
    box-shadow:
        0 0 8px rgba(255, 0, 0, .45),
        0 0 18px rgba(220, 0, 0, .30),
        0 0 35px rgba(180, 0, 0, .20);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #header,
    #nav-main,
    #today table th,
    #allResult table th,
    #month .btn,
    #month a,
    #bottom-bar {
        animation-duration: 12s;
    }

}

/* =========================================================
   RESULT DATE HEADINGS - YELLOW
========================================================= */

#today table th,
#allResult table th {
    background: linear-gradient(
        135deg,
        #F7AD02 0%,
        #FFD84D 50%,
        #F7AD02 100%
    ) !important;

    background-size: 200% 200% !important;

    color: #000000 !important;

    border-bottom: 2px solid #C78300 !important;

    animation: yellowDateShine 5s ease infinite;
}

#today table th h3,
#today table th h6,
#allResult table th h3,
#allResult table th h6,
#today table th strong,
#allResult table th strong,
#today table th span,
#allResult table th span {
    color: #000000 !important;
}


/* Yellow animated shine */

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}