/* GLOBAL RESETS AND BODY STYLES (Modern Light Theme) */
body {
    text-align: center;
    /* Modern, clean sans-serif font stack (Inter, a Google Font, is common) */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 5px; /* Slightly more padding */
    background: #F4F7F9; /* Off-white, slightly cool background */
    color: #212529; /* Near-black text for maximum contrast */
}

/* LINK STYLES (Primary Accent: Vibrant Blue) */
a {
    text-decoration: none;
    color: #007BFF; /* Vibrant Blue */
    transition: color 0.2s ease;
}
a:hover {
    text-decoration: underline;
    color: #0056B3;
}

/* HEADINGS AND SEPARATORS */
h1 {
    margin: 8px 0 15px 0;
    font-size: 32px;
    color: #1A202C; /* Deep gray for headings */
    font-weight: 700;
}
hr {
    border: 0;
    border-top: 1px solid #E2E8F0; /* Very light, subtle separator */
    margin: 15px 0;
}

/* RAINBOW TEXT ANIMATION (Modern, Subtler Rainbow) */
.text-rainbow-animation {
    background-image:
        linear-gradient(to right, #FF7043, #FFCA28, #66BB6A, #42A5F5, #AB47BC); /* Softer, modern colors */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-animation 12s linear infinite; /* Slightly faster, smoother */
}
@keyframes rainbow-animation {
    to {
        background-position: 1500vh; /* Keeps the effect consistent */
    }
}

/* GENERIC HEADERS (Subtle, professional container) */
.header, .head {
    border: 1px solid #BEE3F8; /* Light blue/cyan border */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); /* Modern, soft shadow */
    background-color: #EBF8FF; /* Very light blue background */
    color: #2D3748; /* Dark text */
}

/* SCROLLING TEXT CONTAINER (Clean Marquee) */
.benefits {
    position: relative;
    overflow: hidden;
    display: flex;
    font-size: 1em;
    flex-direction: column;
    white-space: nowrap;
    box-sizing: border-box;
    margin: 0 5px;
    height: 45px; /* Slightly taller */
    border: 1px solid #90CDF4;
    border-radius: 6px;
    background-color: #FFFFFF;
}

/* SCROLL ANIMATION */
@keyframes auto-scroll {
    0% { transform: translate(0, 60%); }
    100% { transform: translate(0, -1350%); }
}

.benefits span {
    color: #4A5568; /* Darker text */
    font-size: 0.95em;
    font-weight: 500;
    animation: auto-scroll 7s linear infinite; /* Slightly faster animation */
}

/* RESULT HEADER (Teal Accent) */
.resulthead {
    background-color: #00BCD4; /* Bright Aqua/Cyan */
    padding: 8px;
    border-radius: 7px;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* New Style for the Refresh Button (Modern Teal/Cyan) */
.refresh-btn {
    /* Color and Background */
    background-color: #00BCD4; /* Bright Aqua/Cyan */
    color: #FFFFFF;
    
    /* Spacing and Shape */
    padding: 10px 24px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 25px; /* More pronounced pill shape */
    cursor: pointer;
    text-transform: uppercase;
    
    /* Visual Effects */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.refresh-btn:hover {
    background-color: #0097A7;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* BUTTONS (Modern, Flat Look) */
.button {
    display: inline-block;
    padding: 12px 25px;
    margin: 8px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    background-color: #48BB78; /* Modern Green (Success) */
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.1s;
}
.button:hover {
    background-color: #38A169;
    transform: translateY(-1px);
}
.call {
    background-color: #4299E1; /* Modern Blue (Primary Action) */
}
.call:hover {
    background-color: #3182CE;
}

/* JODI LIST STYLES (Primary Accent: Modern Deep Red) */
.jodilisthead {
    background: linear-gradient(to right, #E53E3E, #C53030); /* Modern Red Gradient */
    padding: 8px;
    border: 1px solid #C53030;
    border-radius: 8px 8px 0em 0em;
    color: #FFFFFF;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.jodilist {
    background: #FFFFFF;
    border: 1px solid #C53030;
    border-top: none;
    border-radius: 0em 0em 8px 8px;
    margin-bottom: 15px;
    padding: 0 0 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.jodi {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #F7FAFC; /* Very light solid separator */
    font-size: 19px;
    font-weight: 600;
    color: #2D3748;
}
.jodi:last-child {
    border-bottom: none;
}

/* PANEL LIST STYLES (Secondary Accent: Modern Dark Purple) */
.panellisthead {
    background: linear-gradient(to right, #805AD5, #6B46C1); /* Modern Purple Gradient */
    padding: 8px;
    border: 1px solid #6B46C1;
    border-radius: 8px 8px 0em 0em;
    color: #FFFFFF;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.panellist {
    background: #FFFFFF;
    border: 1px solid #6B46C1;
    border-top: none;
    border-radius: 0em 0em 8px 8px;
    margin-bottom: 15px;
    padding: 0 0 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.panel {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #F7FAFC;
    font-size: 19px;
    font-weight: 600;
    color: #2D3748;
}
.panel:last-child {
    border-bottom: none;
}

/* ARTICLE/TEXT BOX (Clean Card Look) */
.article {
    font-size: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); /* Enhanced card shadow */
}

/* FOOTER (Clean Teal/Cyan Accent) */
.footer {
    border: 1px solid #00BCD4;
    border-radius: 6px;
    padding: 8px;
    background: #00BCD4;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 17px;
    margin-top: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}