body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header{
    background:linear-gradient(90deg,#15803d,#16a34a);
    color:white;
    text-align:center;
    padding:25px;
}

nav {
    background: #222;
    padding: 12px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

nav a:hover {
    color: gold;
}

main {
    padding: 20px;
}

.hero{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:80px 20px;
}

.hero h2{
    font-size:42px;
    margin-bottom:10px;
}

.hero p{
    font-size:20px;
}

.btn{
    display:inline-block;
    background:#16a34a;
    color:white;
    padding:12px 25px;
    text-decoration:none;
    border-radius:6px;
    margin-top:20px;
}

.btn:hover{
    background:#15803d;
}

.latest-results{
    padding:40px;
}

.latest-results h2{
    text-align:center;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

th{
    background:#16a34a;
    color:white;
}

th,td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

tr:nth-child(even){
    background:#f5f5f5;
}
.logo-section{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.logo{
    width:80px;
    height:80px;
    border-radius:50%;
}
.ticker{
    background:#facc15;
    padding:10px;
    font-weight:bold;
}
.card-container{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.card{
    width:250px;
    background:white;
    box-shadow:0 0 10px rgba(0,0,0,.15);
    border-radius:10px;
    padding:20px;
    text-align:center;
}
.whatsapp-btn{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25D366;
    color:white;
    padding:15px 20px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
}

.agent-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.agent-intro {
    text-align: center;
    margin-bottom: 30px;
}

.agent-intro h2 {
    color: #15803d;
    font-size: 32px;
}

.agent-intro p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
    color: #555;
}

.agent-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.agent-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #0f172a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a34a;
}

.submit-btn {
    width: 100%;
    background: #16a34a;
    color: white;
    border: none;
    padding: 14px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #15803d;
}
.contact-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro h2 {
    color: #15803d;
    font-size: 34px;
    margin-bottom: 10px;
}

.contact-intro p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
    color: #555;
}

.contact-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-info,
.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.contact-info h3,
.contact-form h3 {
    color: #0f172a;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 18px;
    font-size: 16px;
}

.contact-whatsapp {
    display: inline-block;
    margin-top: 15px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.contact-whatsapp:hover {
    opacity: 0.9;
}

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    header {
        padding: 18px 10px;
    }

    .logo-section {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        width: 65px;
        height: 65px;
    }

    header h1 {
        font-size: 22px;
        margin: 5px 0;
    }

    header p {
        font-size: 14px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px;
    }

    nav a {
        margin-right: 0;
        padding: 8px 10px;
        font-size: 14px;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 17px;
    }

    .latest-results {
        padding: 20px 10px;
        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 350px;
    }

    .agent-section,
    .contact-section {
        margin: 20px auto;
        padding: 15px;
    }

    .agent-form,
    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        box-sizing: border-box;
    }

    .agent-intro h2,
    .contact-intro h2 {
        font-size: 27px;
    }

    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 14px;
    }

    footer {
        font-size: 14px;
        padding: 18px 10px;
    }

    .number-entry-row {
    grid-template-columns:
        repeat(5, 1fr);

    gap: 6px;
}

.number-entry-row input {
    padding: 10px 2px;
    font-size: 14px;
}
@media (max-width: 768px) {

    .filter-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-result-btn {
        width: 100%;
    }

    .result-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .number-ball {
        width: 46px;
        height: 46px;
    }

}
#home-results-container {
    grid-template-columns: 1fr;
}
    
}

/* ========================
   RESULTS PAGE
   ======================== */

.results-hero {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 55px 20px;
}

.results-hero h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.results-hero p {
    font-size: 17px;
    color: #d1d5db;
}

.result-filter {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.filter-box {
    background: white;
    display: flex;
    gap: 20px;
    align-items: end;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.filter-box div {
    flex: 1;
}

.filter-box label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
}

.filter-box input,
.filter-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}

.search-result-btn {
    background: #16a34a;
    color: white;
    border: none;
    padding: 13px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.search-result-btn:hover {
    background: #15803d;
}

.results-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 25px;
}

.section-heading h2 {
    color: #0f172a;
    margin-bottom: 5px;
}

.section-heading p {
    color: #666;
}

.result-card {
    background: white;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}

.result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.result-top h3 {
    margin: 0 0 5px;
    color: #15803d;
    font-size: 23px;
}

.draw-time {
    color: #666;
    font-size: 14px;
}

.result-status {
    background: #dcfce7;
    color: #166534;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.winning-numbers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.number-ball {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 17px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.results-note {
    max-width: 900px;
    margin: 30px auto 50px;
    padding: 25px;
    background: #f8fafc;
    border-left: 4px solid #16a34a;
}

.results-note h3 {
    margin-top: 0;
}

.results-note p {
    line-height: 1.6;
    color: #555;
}

/* ========================
   PREDICTIONS PAGE
   ======================== */

.prediction-hero {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 55px 20px;
}

.prediction-hero h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.prediction-hero p {
    max-width: 700px;
    margin: auto;
    color: #d1d5db;
    line-height: 1.6;
}

.prediction-summary {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 25px;
}

.prediction-card {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
}

.prediction-card h3 {
    color: #15803d;
    font-size: 22px;
    margin-top: 0;
}

.prediction-label {
    color: #666;
    font-size: 14px;
}

.prediction-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.prediction-numbers span {
    width: 45px;
    height: 45px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ai-insight-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.ai-insight-box {
    background: #f8fafc;
    padding: 30px;
    border-left: 5px solid #16a34a;
    border-radius: 8px;
}

.ai-insight-box h2 {
    color: #0f172a;
}

.ai-insight-box p {
    color: #555;
    line-height: 1.7;
}

.frequency-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.frequency-section h2 {
    text-align: center;
    color: #0f172a;
}

.frequency-table-wrapper {
    overflow-x: auto;
}

.frequency-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.frequency-table th {
    background: #15803d;
    color: white;
}

.frequency-table th,
.frequency-table td {
    padding: 14px;
    text-align: center;
    border: 1px solid #ddd;
}

.hot-status {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.cold-status {
    background: #fee2e2;
    color: #991b1b;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.prediction-warning {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 25px;
    background: #fff7ed;
    border-left: 5px solid #f59e0b;
}

.no-results {
    background: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.no-results h3 {
    color: #0f172a;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
}

/* ===============================
   WINNING & MACHINE NUMBERS
   =============================== */

.result-number-group {
    margin-top: 22px;
}

.result-number-group h4 {
    margin: 0 0 12px 0;
    color: #0f172a;
    font-size: 16px;
}

.winning-numbers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* WINNING NUMBERS - GREEN */

.number-ball {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: #16a34a;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: bold;

    box-shadow: 0 3px 8px rgba(0,0,0,0.20);
}


/* MACHINE NUMBERS - RED */

.number-ball.machine-ball {
    background: #dc2626;
    color: white;
}

/* ==================================
   FINAL RESULTS SYSTEM
   ================================== */

.filter-item {
    flex: 1;
}

.lottery-name {
    display: inline-block;
    color: #64748b;
    font-weight: bold;
    margin-bottom: 5px;
}


/* NUMBER SECTIONS */

.result-number-group {
    margin-top: 22px;
}

.result-number-group h4 {
    margin: 0 0 12px;
    color: #0f172a;
}


/* WINNING AND MACHINE ROW */

.winning-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* WINNING NUMBERS - GREEN */

.number-ball {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: #16a34a;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: bold;

    box-shadow:
        0 3px 8px rgba(0,0,0,0.20);
}


/* MACHINE NUMBERS - RED */

.number-ball.machine-ball {
    background: #dc2626;
    color: white;
}


/* NO RESULTS */

.no-results {
    background: white;

    text-align: center;

    padding: 40px 20px;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.08);
}

.no-results h3 {
    color: #0f172a;
}

.no-results p {
    color: #666;
}

/* ==================================
   HOMEPAGE RECENT RESULTS
   ================================== */

.home-results-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

#home-results-container {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 22px;
}

.home-result-card {
    background: white;
    padding: 24px;
    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.10);
}

.home-result-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-result-heading h3 {
    margin: 0;
    color: #15803d;
}

.home-result-heading span {
    color: #64748b;
    font-size: 14px;
}

.home-number-section {
    margin-top: 18px;
}

.home-number-section h4 {
    margin-bottom: 10px;
    color: #0f172a;
}

.view-all-results {
    text-align: center;
    margin-top: 30px;
}
/* ================================
   ADMIN RESULT ENTRY
   ================================ */

.admin-section {
    max-width: 850px;
    margin: 40px auto;
    padding: 20px;
}

.admin-intro {
    text-align: center;
    margin-bottom: 30px;
}

.admin-intro h2 {
    color: #15803d;
    font-size: 32px;
}

.admin-form {
    background: white;
    padding: 30px;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.12);
}

.admin-form h3 {
    margin-top: 25px;
    color: #0f172a;
}

.number-entry-row {
    display: grid;
    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;
    margin-bottom: 25px;
}

.number-entry-row input {
    width: 100%;
    padding: 14px 5px;

    text-align: center;

    font-size: 17px;
    font-weight: bold;

    border: 1px solid #ccc;
    border-radius: 7px;

    box-sizing: border-box;
}

.publish-success {
    margin-top: 25px;

    background: #dcfce7;

    border-left:
        5px solid #16a34a;

    padding: 20px;

    border-radius: 8px;
}

.publish-success h3 {
    margin-top: 0;
    color: #166534;
}

/* ================================
   ADMIN PUBLISHED RESULTS
   ================================ */

.published-results-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.admin-result-card {
    background: white;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}

.admin-result-header h3 {
    margin: 0;
    color: #15803d;
}

.admin-result-header p {
    margin: 5px 0;
    color: #475569;
}

.admin-result-header span {
    color: #64748b;
    font-size: 14px;
}

.admin-result-numbers {
    margin-top: 18px;
}

.admin-result-numbers div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-small-ball {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: bold;
}

.winning-small {
    background: #16a34a;
}

.machine-small {
    background: #dc2626;
}

.admin-result-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.edit-result-btn,
.delete-result-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.edit-result-btn {
    background: #facc15;
    color: #111827;
}

.delete-result-btn {
    background: #dc2626;
    color: white;
}

.delete-message {
    margin-top: 20px;
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 7px;
}

/* ================================
   ADMIN LOGIN
   ================================ */

.login-section {
    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background: #f8fafc;
}

.login-box {
    width: 100%;
    max-width: 430px;

    background: white;

    padding: 35px;

    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.12);
}

.login-box h2 {
    text-align: center;

    color: #15803d;

    margin-bottom: 10px;
}

.login-box > p {
    text-align: center;

    color: #64748b;

    margin-bottom: 30px;
}

.login-error {
    margin-top: 20px;

    padding: 14px;

    background: #fee2e2;

    color: #991b1b;

    border-radius: 7px;

    text-align: center;

    font-weight: bold;
}


/* ADMIN TOP BAR */

.admin-top-bar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;

    padding: 15px 20px;

    background: #0f172a;

    color: white;

    border-radius: 8px;
}

.logout-btn {
    border: none;

    background: #dc2626;

    color: white;

    padding: 9px 16px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: bold;
}

/* =========================================
   PREMIUM HOMEPAGE
========================================= */

body {
    background: #f5f7fb;
    color: #0f172a;
}


/* HEADER */

.premium-header {
    background: #ffffff;
    padding: 14px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.premium-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.brand-area h1 {
    margin: 0;
    font-size: 25px;
    color: #0f172a;
}

.brand-area p {
    margin: 5px 0 0;
    color: #64748b;
}


/* NAVIGATION */

.premium-nav {
    background: #07111f;
    padding: 0 20px;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-nav a {
    color: #e2e8f0;
    text-decoration: none;

    padding: 16px 18px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s;
}

.premium-nav a:hover,
.premium-nav a.active {
    background: #16a34a;
    color: white;
}


/* HERO */

.premium-hero {
    min-height: 540px;

    background:
        linear-gradient(
            120deg,
            rgba(4, 15, 28, 0.97),
            rgba(11, 70, 42, 0.88)
        );

    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    padding: 80px 25px;
}

.hero-badge,
.ai-badge {
    display: inline-block;

    background: rgba(34, 197, 94, 0.15);
    color: #86efac;

    border: 1px solid rgba(134, 239, 172, 0.25);

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 1px;
}

.premium-hero h2 {
    max-width: 800px;

    margin: 18px 0;

    font-size: 55px;
    line-height: 1.07;

    color: white;
}

.premium-hero p {
    max-width: 700px;

    color: #cbd5e1;

    font-size: 19px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;

    margin-top: 30px;
}

.primary-btn,
.secondary-btn,
.cta-light-btn {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 8px;

    font-weight: bold;
    text-decoration: none;

    transition: 0.25s;
}

.primary-btn {
    background: #16a34a;
    color: white;
}

.primary-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.secondary-btn {
    color: white;

    border: 1px solid #64748b;

    background: rgba(255,255,255,0.05);
}

.secondary-btn:hover {
    background: white;
    color: #0f172a;
}


/* QUICK STATS */

.quick-stats {
    max-width: 1100px;

    margin: -55px auto 50px;

    position: relative;
    z-index: 3;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    padding: 0 20px;
}

.stat-card {
    background: white;

    padding: 25px;

    text-align: center;

    border-radius: 14px;

    box-shadow:
        0 12px 30px rgba(15,23,42,0.10);
}

.stat-card h3 {
    color: #16a34a;

    font-size: 31px;

    margin: 0 0 8px;
}

.stat-card p {
    color: #64748b;

    margin: 0;

    line-height: 1.4;
}


/* SECTIONS */

.premium-section {
    max-width: 1200px;

    margin: 70px auto;

    padding: 0 20px;
}

.section-title {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 35px;
}

.section-title > span {
    color: #16a34a;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1.6px;
}

.section-title h2 {
    font-size: 38px;

    margin: 10px 0;

    color: #0f172a;
}

.section-title p {
    color: #64748b;

    line-height: 1.7;
}


/* HOME RESULTS */

#home-results-container {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.home-result-card {
    background: white;

    padding: 25px;

    border-radius: 14px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 8px 24px rgba(15,23,42,0.07);

    transition: 0.25s;
}

.home-result-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(15,23,42,0.12);
}

.home-result-card h3 {
    margin-top: 0;

    color: #0f172a;

    font-size: 22px;
}

.home-result-card p {
    color: #64748b;
}

.view-all-results {
    text-align: center;

    margin-top: 30px;
}


/* SERVICES */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 8px 24px rgba(15,23,42,0.06);

    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dcfce7;
    color: #15803d;

    border-radius: 10px;

    font-weight: bold;
}

.service-card h3 {
    margin: 20px 0 10px;

    font-size: 22px;
}

.service-card p {
    color: #64748b;

    line-height: 1.7;
}

.service-card a {
    color: #15803d;

    text-decoration: none;

    font-weight: bold;
}


/* AI SECTION */

.home-ai-section {
    max-width: 1200px;

    margin: 80px auto;

    padding: 55px;

    background: #07111f;

    color: white;

    border-radius: 22px;

    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    gap: 50px;

    align-items: center;
}

.ai-content h2 {
    font-size: 40px;

    margin: 15px 0;
}

.ai-content p {
    color: #cbd5e1;

    line-height: 1.7;
}

.ai-warning {
    font-size: 13px;
}

.ai-demo-card {
    background: #ffffff;

    color: #0f172a;

    padding: 30px;

    border-radius: 16px;
}

.demo-title {
    font-weight: bold;

    font-size: 18px;
}

.demo-group {
    margin-top: 24px;
}

.demo-group > span {
    color: #64748b;

    font-size: 13px;
}

.demo-balls {
    display: flex;

    gap: 10px;

    margin-top: 10px;
}

.demo-balls div {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #16a34a;
    color: white;

    font-weight: bold;
}


/* AGENT CTA */

.agent-cta {
    max-width: 1200px;

    margin: 70px auto;

    padding: 45px;

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #16a34a,
            #0d7634
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.agent-cta span {
    font-size: 12px;

    letter-spacing: 1.5px;

    font-weight: bold;
}

.agent-cta h2 {
    font-size: 35px;

    margin: 10px 0;
}

.agent-cta p {
    max-width: 680px;

    line-height: 1.6;

    color: #dcfce7;
}

.cta-light-btn {
    background: white;
    color: #15803d;

    white-space: nowrap;
}


/* WHY */

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.why-grid > div {
    background: white;

    padding: 25px;

    border-radius: 13px;

    border: 1px solid #e2e8f0;
}

.why-grid h3 {
    color: #15803d;
}

.why-grid p {
    color: #64748b;

    line-height: 1.6;
}


/* FOOTER */

.premium-footer {
    background: #07111f;

    color: white;

    padding: 55px 20px 20px;
}

.footer-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
}

.footer-grid p {
    color: #94a3b8;

    line-height: 1.7;
}

.footer-grid a {
    display: block;

    color: #cbd5e1;

    text-decoration: none;

    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: #4ade80;
}

.footer-bottom {
    max-width: 1200px;

    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid #1e293b;

    text-align: center;

    color: #64748b;
}


/* =========================================
   PREMIUM HOMEPAGE MOBILE
========================================= */

@media (max-width: 768px) {

    .brand-area {
        flex-direction: column;

        text-align: center;
    }

    .premium-logo {
        width: 62px;
        height: 62px;
    }

    .brand-area h1 {
        font-size: 20px;
    }

    .nav-inner {
        flex-wrap: wrap;

        justify-content: center;
    }

    .premium-nav a {
        padding: 11px;

        font-size: 13px;
    }

    .premium-hero {
        min-height: auto;
    }

    .hero-content {
        padding: 65px 20px 90px;
    }

    .premium-hero h2 {
        font-size: 37px;
    }

    .premium-hero p {
        font-size: 16px;
    }

    .quick-stats {
        grid-template-columns:
            repeat(2, 1fr);

        margin-top: -40px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    #home-results-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .home-ai-section {
        margin: 50px 15px;

        padding: 30px 22px;

        grid-template-columns: 1fr;
    }

    .ai-content h2 {
        font-size: 31px;
    }

    .agent-cta {
        margin: 50px 15px;

        padding: 30px 22px;

        flex-direction: column;

        align-items: flex-start;
    }

    .agent-cta h2 {
        font-size: 29px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   PREMIUM PROFESSIONAL UI OVERRIDES — 2026 REFRESH
   Keeps existing class names and improves consistency.
   ========================================================= */

:root {
    --brand: #16a34a;
    --brand-dark: #0f7a37;
    --brand-deep: #07512a;
    --brand-soft: #ecfdf3;
    --navy: #07111f;
    --navy-2: #0f172a;
    --text: #162033;
    --muted: #66758a;
    --line: #e5eaf1;
    --surface: #ffffff;
    --surface-alt: #f7f9fc;
    --gold: #f3c74d;
    --danger: #dc2626;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 28px 70px rgba(2, 12, 27, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.05), transparent 32%),
        #f6f8fb;
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

a {
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

/* HEADER / BRAND */
.premium-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-area {
    gap: 14px;
}

.premium-logo {
    width: 64px;
    height: 64px;
    border: 3px solid #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
}

.brand-area h1 {
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-area p {
    font-size: 13px;
    font-weight: 500;
}

/* NAV */
.premium-nav {
    position: sticky;
    top: 0;
    z-index: 18;
    background: rgba(7, 17, 31, 0.97);
    box-shadow: 0 8px 24px rgba(2, 8, 23, .18);
    backdrop-filter: blur(12px);
}

.nav-inner {
    min-height: 58px;
}

.premium-nav a {
    position: relative;
    padding: 18px 17px;
    border-radius: 9px;
    color: #dbe5f2;
    letter-spacing: .01em;
}

.premium-nav a:hover,
.premium-nav a.active {
    background: rgba(34, 197, 94, .13);
    color: #fff;
}

.premium-nav a.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: #4ade80;
    border-radius: 999px;
}

/* HERO */
.premium-hero {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    background:
        radial-gradient(circle at 78% 38%, rgba(74, 222, 128, .22), transparent 20%),
        radial-gradient(circle at 67% 68%, rgba(34, 197, 94, .12), transparent 28%),
        linear-gradient(118deg, #06101e 0%, #0b1d24 47%, #0c5b32 100%);
}

.premium-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -150px;
    top: -100px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 0 0 50px rgba(255,255,255,.018), 0 0 0 100px rgba(255,255,255,.012);
}

.premium-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.65));
    pointer-events: none;
}

.hero-overlay,
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 100px;
    padding-bottom: 125px;
}

.hero-badge,
.ai-badge {
    background: rgba(22, 163, 74, .12);
    border: 1px solid rgba(134, 239, 172, .30);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.premium-hero h2 {
    max-width: 900px;
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -0.045em;
    font-weight: 850;
    text-wrap: balance;
}

.premium-hero p {
    max-width: 760px;
    font-size: clamp(17px, 2vw, 20px);
    color: #c8d4e3;
}

.primary-btn,
.secondary-btn,
.cta-light-btn,
.btn,
.search-result-btn,
.submit-btn,
.contact-whatsapp {
    border-radius: 10px;
    font-weight: 750;
    letter-spacing: .005em;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .09);
}

.primary-btn,
.btn,
.search-result-btn,
.submit-btn {
    background: linear-gradient(180deg, #22b956 0%, #149245 100%);
    border: 1px solid rgba(10, 110, 47, .4);
}

.primary-btn:hover,
.btn:hover,
.search-result-btn:hover,
.submit-btn:hover {
    background: linear-gradient(180deg, #1da94f 0%, #107f3b 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 163, 74, .22);
}

.secondary-btn {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
}

/* STATS */
.quick-stats {
    max-width: 1160px;
    margin-top: -62px;
    gap: 16px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 27px 20px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #4ade80);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

/* SECTION TITLES */
.premium-section {
    margin-top: 84px;
    margin-bottom: 84px;
}

.section-title > span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.section-title h2 {
    font-size: clamp(31px, 4vw, 44px);
    letter-spacing: -0.035em;
    font-weight: 830;
}

.section-title p {
    font-size: 16px;
}

/* CARDS */
.home-result-card,
.service-card,
.result-card,
.prediction-card,
.agent-form,
.contact-info,
.contact-form,
.admin-form,
.admin-result-card,
.login-box,
.no-results,
.filter-box,
.card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.home-result-card,
.service-card,
.result-card,
.prediction-card,
.admin-result-card {
    border-radius: var(--radius);
}

.home-result-card:hover,
.service-card:hover,
.result-card:hover,
.prediction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #d5dce6;
}

.home-result-heading {
    gap: 16px;
}

.home-result-heading h3,
.result-top h3,
.prediction-card h3,
.admin-result-header h3 {
    color: var(--text);
    letter-spacing: -0.02em;
}

.lottery-name,
.home-result-heading span,
.draw-time {
    color: var(--muted);
}

/* BALLS */
.number-ball,
.prediction-numbers span,
.demo-balls div,
.admin-small-ball {
    border: 2px solid rgba(255,255,255,.84);
    box-shadow: 0 6px 16px rgba(15,23,42,.16);
}

.number-ball {
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, #26bb5a, #10883e);
}

.number-ball.machine-ball {
    background: linear-gradient(145deg, #ef4444, #b91c1c);
}

.result-status,
.hot-status,
.cold-status {
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
}

/* SERVICES */
.services-grid {
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
}

.service-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    right: -38px;
    bottom: -38px;
    background: rgba(22,163,74,.055);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(145deg, #ecfdf3, #dcfce7);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .12);
}

/* AI AREA */
.home-ai-section {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .14);
    background:
        radial-gradient(circle at 88% 18%, rgba(34,197,94,.20), transparent 24%),
        linear-gradient(130deg, #07111f, #0b1d2d 70%);
    box-shadow: var(--shadow-lg);
}

.home-ai-section::after {
    content: "AI";
    position: absolute;
    right: 28px;
    bottom: -42px;
    font-size: 180px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255,255,255,.025);
    pointer-events: none;
}

.ai-demo-card {
    position: relative;
    z-index: 2;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 45px rgba(2,8,23,.25);
}

/* CTA */
.agent-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, rgba(255,255,255,.16), transparent 26%),
        linear-gradient(120deg, #149448, #087034 72%);
    box-shadow: 0 20px 45px rgba(7, 104, 52, .22);
}

.agent-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
}

.agent-cta > * {
    position: relative;
    z-index: 2;
}

.cta-light-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.14);
}

/* WHY */
.why-grid > div {
    transition: .24s ease;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.why-grid > div:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.why-grid h3 {
    color: var(--text);
}

/* RESULT / PREDICTION HERO */
.results-hero,
.prediction-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 30%, rgba(34,197,94,.18), transparent 20%),
        linear-gradient(120deg, #07111f, #0d3f2a);
}

.results-hero h2,
.prediction-hero h2 {
    font-size: clamp(34px, 5vw, 48px);
    letter-spacing: -0.035em;
}

/* FILTERS / FORMS */
.filter-box,
.agent-form,
.contact-info,
.contact-form,
.admin-form,
.login-box {
    border-radius: 18px;
}

.form-group label,
.filter-box label {
    color: #334155;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea,
.filter-box input,
.filter-box select,
.number-entry-row input {
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #fbfcfe;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.filter-box input:focus,
.filter-box select:focus,
.number-entry-row input:focus {
    outline: 0;
    border-color: #4ade80;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
}

/* TABLES */
table,
.frequency-table {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

th,
.frequency-table th {
    background: #0f7a37;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

th,
td,
.frequency-table th,
.frequency-table td {
    border-color: #e8edf3;
}

tr:nth-child(even) {
    background: #f8fafc;
}

tr:hover td {
    background: #f2fbf5;
}

/* WHATSAPP FLOAT */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 28px rgba(37,211,102,.28);
    border: 1px solid rgba(255,255,255,.34);
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* FOOTER */
.premium-footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(22,163,74,.12), transparent 24%),
        #06101d;
    border-top: 1px solid #15263a;
}

.footer-grid a {
    width: fit-content;
}

.footer-bottom {
    font-size: 13px;
}

/* LEGACY HEADER/NAV FALLBACK */
header:not(.premium-header) {
    background: linear-gradient(120deg, #0c7135, #18a34a);
    box-shadow: 0 8px 24px rgba(15,23,42,.10);
}

nav:not(.premium-nav) {
    background: var(--navy);
    box-shadow: 0 7px 20px rgba(2,8,23,.16);
}

/* RESPONSIVE POLISH */
@media (max-width: 980px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-ai-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .premium-header {
        padding: 10px 16px;
    }

    .header-inner {
        min-height: auto;
        justify-content: center;
    }

    .brand-area {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }

    .premium-logo {
        width: 54px;
        height: 54px;
        flex: 0 0 auto;
    }

    .brand-area p {
        font-size: 12px;
    }

    .premium-nav {
        padding: 7px 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .premium-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-inner {
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 4px;
    }

    .premium-nav a {
        white-space: nowrap;
        padding: 11px 12px;
        border-radius: 8px;
    }

    .premium-nav a.active::after {
        display: none;
    }

    .premium-hero {
        min-height: 520px;
    }

    .hero-content {
        padding: 72px 18px 105px;
    }

    .premium-hero h2 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-buttons a {
        text-align: center;
        width: 100%;
    }

    .quick-stats {
        padding: 0 14px;
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-card h3 {
        font-size: 25px;
    }

    .stat-card p {
        font-size: 12px;
    }

    .premium-section {
        margin: 58px auto;
        padding: 0 15px;
    }

    .services-grid,
    .why-grid,
    #home-results-container {
        grid-template-columns: 1fr;
    }

    .service-card,
    .home-result-card,
    .result-card,
    .prediction-card {
        padding: 22px;
    }

    .home-ai-section,
    .agent-cta {
        border-radius: 18px;
    }

    .home-ai-section {
        margin-left: 12px;
        margin-right: 12px;
    }

    .agent-cta {
        margin-left: 12px;
        margin-right: 12px;
    }

    .filter-box {
        gap: 14px;
    }

    .winning-numbers,
    .prediction-numbers,
    .demo-balls {
        gap: 8px;
    }

    .number-ball {
        width: 47px;
        height: 47px;
        font-size: 15px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr 1fr;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .results-hero,
    .prediction-hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .number-entry-row {
        gap: 5px;
    }

    .number-entry-row input {
        min-width: 0;
        font-size: 13px;
        padding: 10px 1px;
    }
}


/* ======================================================
   PREMIUM CENTERED GLOSSY NAVIGATION
   ====================================================== */
.premium-nav {
    background: linear-gradient(180deg, #07111f 0%, #0a1524 100%);
    padding: 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(2, 8, 23, 0.18);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.premium-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 13px 20px;
    margin: 0;
    overflow: hidden;
    color: #f8fafc;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.03)),
        linear-gradient(135deg, rgba(22,163,74,.18), rgba(15,23,42,.35));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -1px 0 rgba(0,0,0,.16),
        0 6px 16px rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        color .28s ease,
        background .28s ease;
}

/* glossy light sweep */
.premium-nav a::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -70%;
    width: 45%;
    height: 190%;
    transform: rotate(24deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        rgba(255,255,255,.55),
        rgba(255,255,255,.08),
        transparent
    );
    transition: left .55s ease;
    pointer-events: none;
}

.premium-nav a::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #86efac, transparent);
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .28s ease, transform .28s ease;
}

.premium-nav a:hover,
.premium-nav a.active {
    color: #ffffff;
    border-color: rgba(134,239,172,.5);
    background:
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05)),
        linear-gradient(135deg, #16a34a, #0f7a38);
    transform: translateY(-3px) scale(1.025);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.32),
        0 10px 24px rgba(22,163,74,.28),
        0 0 0 3px rgba(34,197,94,.08);
}

.premium-nav a:hover::before,
.premium-nav a.active::before {
    left: 130%;
}

.premium-nav a:hover::after,
.premium-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.premium-nav a:active {
    transform: translateY(0) scale(.985);
}

/* Gentle entrance animation */
@keyframes premiumNavEnter {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.premium-nav a {
    animation: premiumNavEnter .48s both;
}
.premium-nav a:nth-child(1) { animation-delay: .03s; }
.premium-nav a:nth-child(2) { animation-delay: .08s; }
.premium-nav a:nth-child(3) { animation-delay: .13s; }
.premium-nav a:nth-child(4) { animation-delay: .18s; }
.premium-nav a:nth-child(5) { animation-delay: .23s; }

@media (max-width: 768px) {
    .premium-nav {
        padding: 10px 12px;
    }

    .nav-inner {
        justify-content: center;
        gap: 8px;
    }

    .premium-nav a {
        min-width: 0;
        flex: 0 1 auto;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .premium-nav a {
        flex: 1 1 calc(50% - 8px);
        max-width: 180px;
    }
}

/* =========================================================
   HOMEPAGE — LARGE, BOLD PREMIUM BRAND LOGO
   ========================================================= */

.premium-header {
    padding: 20px 24px;
}

.brand-area {
    justify-content: center;
    gap: 22px;
}

.premium-logo {
    width: 118px;
    height: 118px;
    object-fit: contain;
    border-radius: 18px;
    background: #ffffff;
    padding: 7px;
    box-sizing: border-box;
    border: 2px solid rgba(22, 163, 74, 0.16);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.14),
        0 0 0 6px rgba(22, 163, 74, 0.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.premium-logo:hover {
    transform: scale(1.055);
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.18),
        0 0 0 7px rgba(22, 163, 74, 0.08);
}

.brand-area h1 {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.7px;
    color: #07111f;
}

.brand-area p {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

@media (max-width: 768px) {
    .premium-header {
        padding: 18px 15px;
    }

    .brand-area {
        gap: 12px;
    }

    .premium-logo {
        width: 92px;
        height: 92px;
        border-radius: 16px;
    }

    .brand-area h1 {
        font-size: 25px;
        font-weight: 900;
    }

    .brand-area p {
        font-size: 13px;
    }
}

/* =========================================================
   HOMEPAGE LOGO REFINEMENT
   - Larger logo
   - No white square/card background
   - Logo aligned horizontally with brand text
   ========================================================= */

.premium-header {
    padding: 14px 24px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: left;
}

.premium-logo {
    width: 155px;
    height: 155px;
    object-fit: contain;

    /* Remove the previous white square/card appearance */
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;

    flex-shrink: 0;
    transition: transform .3s ease, filter .3s ease;
}

.premium-logo:hover {
    transform: scale(1.04);
    box-shadow: none;
    filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.16));
}

.brand-area > div:not(:first-child),
.brand-area .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-area h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: #07111f;
}

.brand-area p {
    margin: 9px 0 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    color: #64748b;
}

@media (max-width: 768px) {
    .premium-header {
        padding: 12px 14px;
    }

    .brand-area {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 13px;
        text-align: left;
    }

    .premium-logo {
        width: 105px;
        height: 105px;
    }

    .brand-area h1 {
        font-size: 24px;
        line-height: 1.08;
    }

    .brand-area p {
        margin-top: 5px;
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .premium-logo {
        width: 92px;
        height: 92px;
    }

    .brand-area {
        gap: 10px;
    }

    .brand-area h1 {
        font-size: 21px;
    }
}

/* FORCE NUMBER BALL VISIBILITY */
.winning-numbers {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    min-height: 40px !important;
    margin-top: 8px !important;
}

.number-ball {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: #28a745 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 14px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

.number-ball.machine-ball {
    background-color: #6f42c1 !important;
}

/* =========================================================
   PREMIUM RESULTS PAGE UPGRADE
========================================================= */


/* PAGE BACKGROUND */

body {
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f1f5f9 100%
        );
}


/* =========================================================
   RESULTS HERO
========================================================= */

.results-hero {
    position: relative;
    overflow: hidden;

    text-align: center;

    padding: 70px 20px 80px;

    background:
        radial-gradient(
            circle at top right,
            rgba(34, 197, 94, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071c12 0%,
            #0b2c1d 45%,
            #0f5132 100%
        );

    color: white;
}


.results-hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        rgba(34, 197, 94, 0.12);

    top: -150px;
    left: -80px;

    filter: blur(2px);
}


.results-hero::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);

    bottom: -140px;
    right: -50px;
}


.results-hero h2 {
    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    font-size: clamp(
        32px,
        5vw,
        52px
    );

    font-weight: 900;

    letter-spacing: -0.04em;
}


.results-hero p {
    position: relative;
    z-index: 2;

    margin: auto;

    max-width: 650px;

    color: #d5e7dc;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   FILTER AREA
========================================================= */

.result-filter {
    position: relative;

    max-width: 1180px;

    margin: -38px auto 45px;

    padding: 0 20px;

    z-index: 5;
}


.filter-box {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr))
        auto;

    align-items: end;

    gap: 16px;

    padding: 24px;

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);

    border:
        1px solid
        rgba(226, 232, 240, 0.95);

    border-radius: 20px;

    box-shadow:
        0 20px 45px
        rgba(15, 23, 42, 0.10);
}


.filter-item {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.filter-item label {
    font-size: 13px;

    font-weight: 800;

    color: #334155;

    letter-spacing: 0.02em;
}


.filter-item input,
.filter-item select {
    width: 100%;

    min-height: 48px;

    padding: 0 14px;

    border:
        1px solid
        #dbe3ec;

    border-radius: 12px;

    background: #ffffff;

    color: #0f172a;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.filter-item input:hover,
.filter-item select:hover {
    border-color: #a7b5c4;
}


.filter-item input:focus,
.filter-item select:focus {
    border-color: #22a652;

    box-shadow:
        0 0 0 4px
        rgba(34, 166, 82, 0.12);
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.search-result-btn {
    min-height: 48px;

    padding: 0 24px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #22b95b,
            #138b43
        );

    color: white;

    font-weight: 800;

    font-size: 14px;

    cursor: pointer;

    white-space: nowrap;

    box-shadow:
        0 10px 24px
        rgba(21, 145, 70, 0.24);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.search-result-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(21, 145, 70, 0.32);
}


.search-result-btn:active {
    transform: translateY(0);
}


/* =========================================================
   RESULTS SECTION
========================================================= */

.results-section {
    max-width: 1180px;

    margin: 0 auto 80px;

    padding: 0 20px;
}


.section-heading {
    display: flex;

    justify-content:
        space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 24px;
}


.section-heading h2 {
    margin: 0;

    font-size: clamp(
        27px,
        4vw,
        38px
    );

    color: #0f172a;

    font-weight: 900;

    letter-spacing: -0.035em;
}


#results-date-label {
    margin: 0;

    padding: 8px 12px;

    border-radius: 999px;

    background: #eaf8ef;

    color: #147a3c;

    font-size: 13px;

    font-weight: 750;
}


/* =========================================================
   RESULTS GRID
========================================================= */

#results-container {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 20px;
}


/* =========================================================
   RESULT CARDS
========================================================= */

.result-card {
    position: relative;

    overflow: hidden;

    padding: 22px;

    background:
        #ffffff;

    border:
        1px solid
        #e1e8ef;

    border-radius: 18px;

    box-shadow:
        0 7px 20px
        rgba(15, 23, 42, 0.055);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.result-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #16a34a,
            #4ade80
        );
}


.result-card:hover {
    transform: translateY(-4px);

    border-color: #cdd7e2;

    box-shadow:
        0 16px 34px
        rgba(15, 23, 42, 0.10);
}


/* =========================================================
   RESULT TOP AREA
========================================================= */

.result-top {
    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap: 18px;

    padding-bottom: 16px;

    border-bottom:
        1px solid
        #edf1f5;
}


.result-top h3 {
    margin: 0 0 5px;

    font-size: 21px;

    font-weight: 900;

    color: #111827;

    letter-spacing:
        -0.025em;
}


.lottery-name {
    display: inline-block;

    font-size: 13px;

    color: #64748b;

    font-weight: 650;
}


.draw-time {
    display: inline-block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 12px;

    font-weight: 600;
}


.result-status {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    background: #ecfdf3;

    color: #15803d;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


.result-status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, 0.12);
}


/* =========================================================
   NUMBER SECTIONS
========================================================= */

.result-number-group {
    margin-top: 17px !important;
}


.result-number-group h4 {
    margin:
        0 0 9px !important;

    color: #475569;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.055em;
}


.winning-numbers,
.machine-numbers {
    display: flex !important;

    flex-wrap: wrap !important;

    gap: 6px;
}


/* =========================================================
   WINNING & MACHINE BALLS
========================================================= */

.number-ball {
    width: 38px !important;

    height: 38px !important;

    min-width: 38px !important;

    margin: 0 !important;

    border-radius: 50% !important;

    color: #ffffff !important;

    font-size: 13px !important;

    font-weight: 850 !important;

    border:
        2px solid
        rgba(255, 255, 255, 0.9) !important;

    box-shadow:
        0 5px 12px
        rgba(15, 23, 42, 0.18) !important;
}


/* WINNING = GREEN */

.winning-ball {
    background:
        linear-gradient(
            145deg,
            #38c765,
            #13853d
        ) !important;

    background-color:
        #22a652 !important;
}


/* MACHINE = RED */

.machine-ball {
    background:
        linear-gradient(
            145deg,
            #f05252,
            #b91c1c
        ) !important;

    background-color:
        #dc2626 !important;
}


/* =========================================================
   PAGINATION
========================================================= */

.results-pagination {
    grid-column:
        1 / -1;

    width: 100%;

    display: flex !important;

    justify-content: center !important;

    align-items: center !important;

    gap: 12px !important;

    margin:
        25px 0 0 !important;

    padding:
        22px 10px !important;

    border-radius: 16px;

    background: #ffffff;

    border:
        1px solid
        #e2e8f0;

    box-shadow:
        0 6px 18px
        rgba(15, 23, 42, 0.04);
}


.results-pagination button {
    border: none !important;

    padding:
        11px 18px !important;

    border-radius:
        10px !important;

    background:
        #0f172a !important;

    color:
        white !important;

    font-weight:
        750 !important;

    cursor: pointer;

    transition:
        0.2s ease;
}


.results-pagination button:hover:not(:disabled) {
    transform:
        translateY(-2px);

    background:
        #15803d !important;
}


.results-pagination button:disabled {
    opacity:
        0.35 !important;

    cursor:
        not-allowed !important;
}


/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    grid-column:
        1 / -1;

    padding: 50px 25px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, 0.05);
}


.no-results h3 {
    margin:
        0 0 7px;

    font-size:
        22px;

    color:
        #0f172a;
}


.no-results p {
    margin: 0;

    color:
        #64748b;
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 900px
) {

    .filter-box {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    .search-result-btn {

        width: 100%;

    }


    #results-container {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 600px
) {

    .results-hero {

        padding:
            55px 18px 65px;

    }


    .result-filter {

        margin-top:
            -28px;

        padding:
            0 14px;

    }


    .filter-box {

        display: flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap: 14px;

        padding: 18px;

        border-radius:
            16px;

    }


    .filter-item {

        width: 100%;

    }


    .search-result-btn {

        width: 100%;

        min-height: 50px;

    }


    .results-section {

        padding:
            0 14px;

    }


    .section-heading {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap: 8px;

    }


    .result-card {

        padding:
            18px 15px;

        border-radius:
            15px;

    }


    .result-top {

        gap: 10px;

    }


    .result-top h3 {

        font-size:
            18px;

    }


    .result-status {

        padding:
            6px 8px;

        font-size:
            9px;

    }


    .number-ball {

        width:
            36px !important;

        height:
            36px !important;

        min-width:
            36px !important;

        font-size:
            12px !important;

    }


    .results-pagination {

        padding:
            15px 5px !important;

        gap:
            7px !important;

    }


    .results-pagination button {

        padding:
            10px 12px !important;

        font-size:
            12px;

    }


    .results-pagination span {

        font-size:
            11px !important;

        padding:
            9px 10px !important;

    }

}

/* =========================================================
   PREMIUM HOMEPAGE LATEST RESULTS
========================================================= */

.home-results-section {
    max-width: 1180px !important;
    margin: 80px auto !important;
    padding: 0 20px !important;
}


/* SECTION TITLE */

.home-results-section .section-title {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.home-results-section .section-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 13px;

    border-radius: 999px;

    background: #eaf8ef;

    color: #15803d;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.1em;
}

.home-results-section .section-title h2 {
    margin: 14px 0 9px;

    font-size: clamp(
        30px,
        4vw,
        43px
    );

    font-weight: 900;

    letter-spacing: -0.04em;

    color: #0f172a;
}

.home-results-section .section-title p {
    margin: 0;

    color: #64748b;

    line-height: 1.7;

    font-size: 15px;
}


/* =========================================================
   HOME RESULTS GRID
========================================================= */

#home-results-container {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 20px !important;
}


/* =========================================================
   RESULT CARD
========================================================= */

.home-result-card {
    position: relative;

    overflow: hidden;

    padding: 22px !important;

    background: #ffffff !important;

    border:
        1px solid #e2e8f0 !important;

    border-radius: 18px !important;

    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, 0.06) !important;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease !important;
}


.home-result-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #16a34a,
            #4ade80
        );
}


.home-result-card:hover {
    transform:
        translateY(-5px) !important;

    border-color:
        #ccd7e3 !important;

    box-shadow:
        0 18px 38px
        rgba(15, 23, 42, 0.11) !important;
}


/* =========================================================
   CARD HEADER
========================================================= */

.home-result-heading {
    display: flex !important;

    justify-content:
        space-between !important;

    align-items:
        flex-start !important;

    gap: 15px !important;

    padding-bottom: 15px;

    border-bottom:
        1px solid #edf2f7;
}


.home-result-heading h3 {
    margin: 0 0 5px !important;

    color:
        #111827 !important;

    font-size:
        20px !important;

    font-weight:
        900 !important;

    letter-spacing:
        -0.025em;
}


.home-result-heading span {
    color:
        #64748b !important;

    font-size:
        12px !important;

    font-weight:
        650;
}


/* =========================================================
   HOME NUMBER SECTIONS
========================================================= */

.home-number-section {
    margin-top:
        16px !important;
}


.home-number-section h4 {
    margin:
        0 0 9px !important;

    font-size:
        11px !important;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;

    color:
        #475569 !important;

    font-weight:
        850 !important;
}


/* =========================================================
   BALL ROWS
========================================================= */

.home-number-section .winning-numbers,
.home-number-section .machine-numbers {
    display: flex !important;

    flex-wrap: wrap !important;

    gap: 6px !important;
}


/* BASE BALL */

.home-result-card .number-ball {
    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    width:
        38px !important;

    height:
        38px !important;

    min-width:
        38px !important;

    margin:
        0 !important;

    border-radius:
        50% !important;

    color:
        white !important;

    font-size:
        13px !important;

    font-weight:
        850 !important;

    border:
        2px solid
        rgba(
            255,
            255,
            255,
            0.9
        ) !important;

    box-shadow:
        0 5px 12px
        rgba(
            15,
            23,
            42,
            0.17
        ) !important;
}


/* WINNING = GREEN */

.home-result-card .winning-ball,
.home-result-card
.winning-numbers
.number-ball {
    background:
        linear-gradient(
            145deg,
            #39c768,
            #13853d
        ) !important;

    background-color:
        #16a34a !important;
}


/* MACHINE = RED */

.home-result-card .machine-ball,
.home-result-card
.machine-numbers
.number-ball {
    background:
        linear-gradient(
            145deg,
            #ef5555,
            #b91c1c
        ) !important;

    background-color:
        #dc2626 !important;
}


/* =========================================================
   VIEW ALL RESULTS BUTTON
========================================================= */

.view-all-results {
    display: flex;

    justify-content:
        center;

    margin-top:
        34px !important;
}


.view-all-results .primary-btn {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        50px;

    padding:
        0 25px;

    border-radius:
        12px;

    background:
        linear-gradient(
            135deg,
            #22b95b,
            #128942
        );

    color:
        white;

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        850;

    box-shadow:
        0 10px 24px
        rgba(
            22,
            163,
            74,
            0.22
        );

    transition:
        0.22s ease;
}


.view-all-results
.primary-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(
            22,
            163,
            74,
            0.30
        );
}


/* =========================================================
   LOADING STATE
========================================================= */

#home-results-container > p {
    grid-column:
        1 / -1;

    padding:
        40px 20px;

    text-align:
        center;

    background:
        white;

    border:
        1px solid #e2e8f0;

    border-radius:
        18px;

    color:
        #64748b;

    font-weight:
        650;
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 850px
) {

    #home-results-container {
        grid-template-columns:
            1fr !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 600px
) {

    .home-results-section {
        margin:
            55px auto !important;

        padding:
            0 14px !important;
    }


    .home-results-section
    .section-title {
        margin-bottom:
            25px;
    }


    .home-result-card {
        padding:
            18px 15px !important;

        border-radius:
            15px !important;
    }


    .home-result-heading h3 {
        font-size:
            18px !important;
    }


    .home-result-card
    .number-ball {
        width:
            36px !important;

        height:
            36px !important;

        min-width:
            36px !important;

        font-size:
            12px !important;
    }


    .view-all-results
    .primary-btn {
        width:
            100%;

        max-width:
            330px;
    }

}

/* =========================================================
   JEJOYINYE PREMIUM PREDICTIONS PAGE
========================================================= */


/* =========================================================
   PAGE BACKGROUND
========================================================= */

body {
    background:
        #f5f8f6;
}


/* =========================================================
   PREDICTION HERO
========================================================= */

.prediction-premium-hero {
    position: relative;
    overflow: hidden;

    padding:
        85px 20px 95px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #063c22 0%,
            #0b6b3a 55%,
            #12944e 100%
        );

    color:
        #ffffff;
}


.prediction-premium-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

    top: -240px;
    right: -130px;
}


.prediction-premium-hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    bottom: -210px;
    left: -100px;
}


.prediction-hero-content {
    position: relative;

    z-index: 2;

    max-width:
        850px;

    margin:
        0 auto;
}


.prediction-hero-badge {
    display:
        inline-flex;

    align-items:
        center;

    padding:
        8px 18px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.3
        );

    border-radius:
        100px;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        1.4px;

    margin-bottom:
        22px;
}


.prediction-premium-hero h2 {
    margin:
        0 auto 18px;

    max-width:
        760px;

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    line-height:
        1.08;

    font-weight:
        900;

    letter-spacing:
        -1.7px;

    color:
        #ffffff;
}


.prediction-premium-hero p {
    max-width:
        690px;

    margin:
        0 auto;

    color:
        rgba(
            255,
            255,
            255,
            0.85
        );

    font-size:
        17px;

    line-height:
        1.8;
}


.prediction-hero-note {
    display:
        inline-block;

    margin-top:
        25px;

    padding:
        10px 17px;

    border-radius:
        10px;

    background:
        rgba(
            0,
            0,
            0,
            0.15
        );

    color:
        #dcfce7;

    font-size:
        12px;

    font-weight:
        700;
}


/* =========================================================
   PAGE
========================================================= */

.prediction-page {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin:
        0 auto;

    padding:
        70px 0 90px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.prediction-section-heading {
    max-width:
        700px;

    margin:
        0 auto 34px;

    text-align:
        center;
}


.prediction-section-heading > span {
    display:
        inline-block;

    margin-bottom:
        10px;

    color:
        #15803d;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        1.7px;
}


.prediction-section-heading h2 {
    margin:
        0;

    color:
        #0f172a;

    font-size:
        33px;

    line-height:
        1.2;

    font-weight:
        900;
}


.prediction-section-heading p {
    margin:
        12px auto 0;

    color:
        #64748b;

    font-size:
        15px;

    line-height:
        1.7;
}


/* =========================================================
   MAIN PREDICTION CARD
========================================================= */

.next-prediction-card {
    position:
        relative;

    overflow:
        hidden;

    max-width:
        850px;

    margin:
        0 auto;

    padding:
        38px 42px 42px;

    border:
        1px solid
        #dce7df;

    border-radius:
        24px;

    background:
        #ffffff;

    text-align:
        center;

    box-shadow:
        0 20px 60px
        rgba(
            15,
            23,
            42,
            0.09
        );
}


.next-prediction-card::before {
    content: "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        5px;

    background:
        linear-gradient(
            90deg,
            #15803d,
            #22c55e,
            #15803d
        );
}


.prediction-card-top {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    margin-bottom:
        26px;
}


.prediction-live-badge {
    display:
        inline-flex;

    padding:
        8px 14px;

    border-radius:
        8px;

    background:
        #dcfce7;

    color:
        #166534;

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        0.8px;
}


.prediction-system-status {
    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    color:
        #64748b;

    font-size:
        12px;

    font-weight:
        700;
}


.status-dot {
    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        #22c55e;

    box-shadow:
        0 0 0 5px
        rgba(
            34,
            197,
            94,
            0.12
        );
}


#next-game-title {
    margin:
        8px 0 8px;

    color:
        #0f172a;

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );

    line-height:
        1.1;

    font-weight:
        900;
}


#next-game-drawtime {
    margin:
        0;

    color:
        #15803d;

    font-size:
        15px;

    font-weight:
        800;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.prediction-countdown-box {
    max-width:
        500px;

    margin:
        30px auto;

    padding:
        22px;

    border:
        1px solid
        #e2e8f0;

    border-radius:
        16px;

    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #ffffff
        );
}


.prediction-countdown-box p {
    margin:
        0 0 8px;

    color:
        #64748b;

    font-size:
        12px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.8px;
}


#countdown-timer {
    color:
        #dc2626;

    font-size:
        clamp(
            32px,
            6vw,
            48px
        );

    line-height:
        1.1;

    font-weight:
        900;

    letter-spacing:
        3px;

    font-variant-numeric:
        tabular-nums;
}


/* =========================================================
   PREDICTION NUMBERS
========================================================= */

.prediction-number-area {
    padding-top:
        5px;
}


.prediction-number-label {
    display:
        block;

    margin-bottom:
        18px;

    color:
        #475569;

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        1.2px;
}


.prediction-balls {
    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        11px;
}


#next-game-balls .number-ball {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        54px;

    height:
        54px;

    padding:
        0;

    border:
        3px solid
        rgba(
            255,
            255,
            255,
            0.7
        );

    border-radius:
        50%;

    background:
        linear-gradient(
            145deg,
            #39c768,
            #13853d
        ) !important;

    color:
        #ffffff !important;

    font-size:
        17px;

    font-weight:
        900;

    box-shadow:
        0 8px 18px
        rgba(
            21,
            128,
            61,
            0.23
        );
}


.prediction-small-note {
    max-width:
        580px;

    margin:
        20px auto 0;

    color:
        #94a3b8;

    font-size:
        12px;

    line-height:
        1.6;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.prediction-info-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        20px;

    margin:
        55px 0 80px;
}


.prediction-info-card {
    padding:
        28px;

    border:
        1px solid
        #e2e8f0;

    border-radius:
        18px;

    background:
        #ffffff;

    box-shadow:
        0 9px 30px
        rgba(
            15,
            23,
            42,
            0.05
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.prediction-info-card:hover {
    transform:
        translateY(-5px);

    border-color:
        #bbf7d0;

    box-shadow:
        0 17px 38px
        rgba(
            15,
            23,
            42,
            0.09
        );
}


.prediction-info-icon {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        42px;

    height:
        42px;

    margin-bottom:
        18px;

    border-radius:
        12px;

    background:
        #dcfce7;

    color:
        #15803d;

    font-size:
        12px;

    font-weight:
        900;
}


.prediction-info-card h3 {
    margin:
        0 0 10px;

    color:
        #0f172a;

    font-size:
        18px;

    font-weight:
        900;
}


.prediction-info-card p {
    margin:
        0;

    color:
        #64748b;

    font-size:
        14px;

    line-height:
        1.7;
}


/* =========================================================
   GAME SCHEDULE
========================================================= */

.prediction-schedule-section {
    margin-top:
        20px;
}


.prediction-schedule-list {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        15px;
}


#upcoming-games-list > div {
    border-radius:
        14px;
}


.schedule-loading {
    grid-column:
        1 / -1;

    padding:
        35px;

    border:
        1px solid
        #e2e8f0;

    background:
        #ffffff;

    color:
        #64748b;

    text-align:
        center;

    font-weight:
        700;
}


/* =========================================================
   WARNING
========================================================= */

.prediction-warning {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        17px;

    max-width:
        900px;

    margin:
        65px auto 0;

    padding:
        25px 28px;

    border:
        1px solid
        #fde68a;

    border-radius:
        17px;

    background:
        #fffbeb;
}


.warning-icon {
    flex:
        0 0 42px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        42px;

    height:
        42px;

    border-radius:
        50%;

    background:
        #f59e0b;

    color:
        #ffffff;

    font-size:
        20px;

    font-weight:
        900;
}


.prediction-warning h3 {
    margin:
        0 0 7px;

    color:
        #92400e;

    font-size:
        17px;

    font-weight:
        900;
}


.prediction-warning p {
    margin:
        0;

    color:
        #78350f;

    font-size:
        13px;

    line-height:
        1.75;
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 900px
) {

    .prediction-info-grid {
        grid-template-columns:
            1fr;
    }


    .prediction-schedule-list {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 600px
) {

    .prediction-premium-hero {
        padding:
            60px 18px 68px;
    }


    .prediction-premium-hero h2 {
        font-size:
            35px;
    }


    .prediction-page {
        width:
            min(
                100% - 24px,
                1180px
            );

        padding-top:
            48px;
    }


    .next-prediction-card {
        padding:
            28px 18px 32px;

        border-radius:
            18px;
    }


    .prediction-card-top {
        flex-direction:
            column;

        justify-content:
            center;
    }


    #next-game-title {
        font-size:
            31px;
    }


    #countdown-timer {
        font-size:
            32px;

        letter-spacing:
            1px;
    }


    #next-game-balls .number-ball {
        width:
            45px;

        height:
            45px;

        font-size:
            14px;
    }


    .prediction-warning {
        padding:
            20px;

        flex-direction:
            column;
    }

}

/* =========================================================
   PREMIUM AGENT PAGE
========================================================= */

.agent-premium-hero {
    position: relative;

    overflow: hidden;

    padding: 75px 25px;

    background:
        linear-gradient(
            135deg,
            #064e3b,
            #15803d,
            #16a34a
        );

    color: #ffffff;
}


.agent-premium-hero::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.07);

    top: -140px;
    right: -100px;
}


.agent-premium-hero::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.05);

    left: -80px;
    bottom: -100px;
}


.agent-hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: auto;

    text-align: center;
}


.agent-hero-badge {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 8px 15px;

    border-radius: 100px;

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.22);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.agent-hero-content h2 {
    margin: 0 0 18px;

    font-size:
        clamp(
            32px,
            5vw,
            52px
        );

    line-height: 1.05;

    font-weight: 900;
}


.agent-hero-content p {
    max-width: 720px;

    margin: auto;

    color:
        rgba(
            255,
            255,
            255,
            .86
        );

    font-size: 15px;

    line-height: 1.8;
}


.agent-hero-points {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


.agent-hero-points span {
    padding: 9px 14px;

    border-radius: 100px;

    background:
        rgba(
            255,
            255,
            255,
            .12
        );

    font-size: 12px;

    font-weight: 800;
}



/* =========================================================
   PAGE
========================================================= */

.agent-page {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: auto;

    padding: 65px 0 80px;
}



/* =========================================================
   HEADINGS
========================================================= */

.agent-section-heading {
    max-width: 700px;

    margin:
        0 auto 35px;

    text-align: center;
}


.agent-section-heading > span,
.agent-form-header > span {
    display: block;

    margin-bottom: 8px;

    color: #15803d;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.6px;
}


.agent-section-heading h2,
.agent-form-header h2 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size:
        clamp(
            26px,
            4vw,
            36px
        );

    font-weight: 900;
}


.agent-section-heading p,
.agent-form-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}



/* =========================================================
   BENEFITS
========================================================= */

.agent-benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.agent-benefit-card {
    padding: 26px 22px;

    border-radius: 18px;

    border:
        1px solid #e2e8f0;

    background: #ffffff;

    box-shadow:
        0 8px 28px
        rgba(
            15,
            23,
            42,
            .06
        );

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.agent-benefit-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 16px 35px
        rgba(
            15,
            23,
            42,
            .1
        );
}


.agent-benefit-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #dcfce7;

    color: #15803d;

    font-weight: 900;
}


.agent-benefit-card h3 {
    margin:
        0 0 9px;

    color: #0f172a;

    font-size: 17px;

    font-weight: 900;
}


.agent-benefit-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}



/* =========================================================
   APPLICATION
========================================================= */

.agent-application-section {
    max-width: 950px;

    margin:
        75px auto 0;
}


.agent-form-header {
    max-width: 680px;

    margin:
        0 auto 30px;

    text-align: center;
}


.premium-agent-form {
    padding:
        40px;

    border-radius: 24px;

    border:
        1px solid #e2e8f0;

    background: #ffffff;

    box-shadow:
        0 16px 50px
        rgba(
            15,
            23,
            42,
            .08
        );
}



/* =========================================================
   FORM SECTIONS
========================================================= */

.agent-form-section {
    padding:
        0 0 35px;

    margin-bottom: 35px;

    border-bottom:
        1px solid #e2e8f0;
}


.form-section-title {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;
}


.form-step {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #22c55e,
            #15803d
        );

    color: #ffffff;

    font-weight: 900;
}


.form-section-title h3 {
    margin:
        0 0 3px;

    color: #0f172a;

    font-size: 19px;

    font-weight: 900;
}


.form-section-title p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}



/* =========================================================
   FORM GRID
========================================================= */

.agent-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        20px;
}


.premium-form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.premium-form-group.full-width {
    grid-column:
        1 / -1;
}


.premium-form-group label {
    color: #334155;

    font-size: 12px;

    font-weight: 800;
}


.premium-form-group label span {
    color: #dc2626;
}


.premium-form-group input,
.premium-form-group select,
.premium-form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding:
        13px 14px;

    border:
        1px solid #cbd5e1;

    border-radius: 11px;

    background: #ffffff;

    color: #0f172a;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.premium-form-group textarea {
    resize: vertical;

    min-height: 110px;
}


.premium-form-group input:focus,
.premium-form-group select:focus,
.premium-form-group textarea:focus {
    border-color: #16a34a;

    box-shadow:
        0 0 0 3px
        rgba(
            22,
            163,
            74,
            .12
        );
}


.premium-form-group small {
    color: #94a3b8;

    font-size: 10px;

    line-height: 1.5;
}



/* =========================================================
   DECLARATION
========================================================= */

.agent-declaration {
    margin:
        5px 0 22px;

    padding: 16px;

    border-radius: 12px;

    background: #f8fafc;

    border:
        1px solid #e2e8f0;
}


.agent-declaration label {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    cursor: pointer;
}


.agent-declaration input {
    margin-top: 3px;
}


.agent-declaration span {
    color: #475569;

    font-size: 12px;

    line-height: 1.6;
}



/* =========================================================
   SUBMIT BUTTON
========================================================= */

.premium-agent-submit {
    width: 100%;

    padding:
        15px 20px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #16a34a,
            #15803d
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(
            22,
            163,
            74,
            .23
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.premium-agent-submit:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 30px
        rgba(
            22,
            163,
            74,
            .3
        );
}


.premium-agent-submit:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}


.agent-form-security-note {
    margin:
        14px 0 0;

    text-align: center;

    color: #94a3b8;

    font-size: 10px;
}



/* =========================================================
   MESSAGES
========================================================= */

.agent-form-message {
    display: none;

    margin-bottom: 18px;

    padding: 14px 16px;

    border-radius: 11px;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.6;
}


.agent-message-success {
    display: block;

    background: #dcfce7;

    border:
        1px solid #86efac;

    color: #166534;
}


.agent-message-error {
    display: block;

    background: #fee2e2;

    border:
        1px solid #fecaca;

    color: #991b1b;
}



/* =========================================================
   APPLICATION PROCESS
========================================================= */

.agent-process-section {
    margin-top: 80px;
}


.agent-process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.agent-process-card {
    padding: 25px;

    border-radius: 16px;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    text-align: center;
}


.agent-process-card strong {
    display: inline-block;

    margin-bottom: 10px;

    color: #16a34a;

    font-size: 24px;

    font-weight: 900;
}


.agent-process-card h3 {
    margin:
        0 0 8px;

    color: #0f172a;

    font-size: 16px;
}


.agent-process-card p {
    margin: 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.6;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 900px) {

    .agent-benefits-grid,
    .agent-process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media
(max-width: 650px) {

    .agent-premium-hero {
        padding:
            55px 20px;
    }


    .agent-page {
        width:
            min(
                100% - 24px,
                1180px
            );

        padding-top: 45px;
    }


    .premium-agent-form {
        padding:
            25px 18px;
    }


    .agent-form-grid {
        grid-template-columns: 1fr;
    }


    .premium-form-group.full-width {
        grid-column: auto;
    }


    .agent-benefits-grid,
    .agent-process-grid {
        grid-template-columns: 1fr;
    }


    .agent-hero-points {
        flex-direction: column;

        align-items: center;
    }

}

/* =====================================================
   ADMIN AGENT DETAILS MODAL
===================================================== */

.agent-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


.agent-modal.open {
    display: flex;
}


.agent-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
}


.agent-modal-box {
    position: relative;
    z-index: 2;

    width: min(720px, 100%);
    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;
    border-radius: 22px;

    padding: 28px;

    box-shadow:
        0 25px 80px rgba(15, 23, 42, 0.35);
}


.agent-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    padding-bottom: 20px;
    margin-bottom: 22px;

    border-bottom: 1px solid #e2e8f0;
}


.agent-modal-header h2 {
    margin: 5px 0 0;
}


.agent-modal-label {
    font-size: 11px;
    letter-spacing: 1.4px;
    font-weight: 800;
    color: #64748b;
}


.agent-modal-close {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;
    color: #0f172a;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


.agent-modal-close:hover {
    background: #e2e8f0;
}


.agent-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.agent-detail-item {
    padding: 16px;

    border: 1px solid #e2e8f0;
    border-radius: 13px;

    background: #f8fafc;
}


.agent-detail-item.full-width {
    grid-column: 1 / -1;
}


.agent-detail-item span {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.5px;

    color: #64748b;

    text-transform: uppercase;
}


.agent-detail-item strong {
    display: block;

    color: #0f172a;

    font-size: 15px;

    word-break: break-word;
}


.agent-sensitive-section {
    margin-top: 24px;

    padding: 20px;

    border-radius: 16px;

    background: #fff7ed;

    border: 1px solid #fed7aa;
}


.agent-sensitive-section h3 {
    margin-top: 0;

    color: #9a3412;
}


.agent-sensitive-warning {
    margin-bottom: 18px;

    color: #9a3412;

    font-size: 13px;
}


.agent-modal-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    padding-top: 24px;
    margin-top: 25px;

    border-top: 1px solid #e2e8f0;
}


.view-agent-btn {
    border: none;

    border-radius: 9px;

    padding: 10px 17px;

    background: #0f172a;

    color: #ffffff;

    cursor: pointer;

    font-weight: 700;
}


.view-agent-btn:hover {
    opacity: 0.9;
}


body.modal-open {
    overflow: hidden;
}


@media (max-width: 650px) {

    .agent-detail-grid {
        grid-template-columns: 1fr;
    }


    .agent-detail-item.full-width {
        grid-column: auto;
    }


    .agent-modal-box {
        padding: 20px;
    }

}

/* =========================================================
   JEJOYINYE — UNIFORM PREMIUM NAVIGATION
   Shared across Home, Results, Predictions, Agent & Contact
   ========================================================= */

.premium-nav {
    background: linear-gradient(180deg, #0b1727 0%, #06101d 100%);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 28px rgba(2, 8, 23, 0.22);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.premium-nav .nav-inner {
    width: 100%;
    max-width: 1200px;
    min-height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.premium-nav .nav-inner > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 11px 19px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 11px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.025) 100%);
    color: #e8eef7;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 5px 14px rgba(0,0,0,0.10);
    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease;
}

.premium-nav .nav-inner > a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent,
        rgba(255,255,255,0.20),
        transparent
    );
    transform: skewX(-18deg);
    transition: left .45s ease;
    pointer-events: none;
}

.premium-nav .nav-inner > a:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #20b955 0%, #11813c 100%);
    border-color: rgba(74,222,128,0.72);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 9px 22px rgba(22,163,74,0.24);
}

.premium-nav .nav-inner > a:hover::before {
    left: 135%;
}

.premium-nav .nav-inner > a.active,
.premium-nav .nav-inner > a[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(180deg, #22bd59 0%, #12833d 100%);
    border-color: rgba(134,239,172,0.70);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.24),
        0 8px 20px rgba(22,163,74,0.22);
}

.premium-nav .nav-inner > a.active::after,
.premium-nav .nav-inner > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: #bbf7d0;
}

@media (max-width: 768px) {
    .premium-nav {
        padding: 9px 10px;
    }

    .premium-nav .nav-inner {
        min-height: auto;
        gap: 7px;
    }

    .premium-nav .nav-inner > a {
        flex: 1 1 calc(33.333% - 7px);
        min-width: 105px;
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0.025em;
    }
}

@media (max-width: 430px) {
    .premium-nav .nav-inner > a {
        flex-basis: calc(50% - 7px);
        min-width: 0;
    }

    .premium-nav .nav-inner > a:nth-child(5) {
        flex-basis: 100%;
    }
}

/* =========================================================
   JEJOYINYE — UNIVERSAL PUBLIC NAV FIX v2
   Supports BOTH:
   1) <nav class="premium-nav"><div class="nav-inner">...</div></nav>
   2) <nav>...</nav>
   ========================================================= */

body > nav,
body > nav.premium-nav {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    background: linear-gradient(180deg, #0b1727 0%, #06101d 100%) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    box-shadow: 0 10px 28px rgba(2,8,23,.22) !important;
    text-align: center !important;
}

/* Homepage wrapper */
body > nav > .nav-inner {
    width: 100% !important;
    max-width: 1200px !important;
    min-height: 54px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* Pages whose links are direct children of <nav> */
body > nav:not(.premium-nav) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* One identical button design on every public page */
body > nav > a,
body > nav > .nav-inner > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 11px 19px !important;

    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 11px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.11) 0%,
            rgba(255,255,255,.035) 48%,
            rgba(255,255,255,.015) 100%
        ) !important;

    color: #eef5ff !important;
    text-decoration: none !important;
    text-align: center !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-transform: none !important;
    white-space: nowrap !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        inset 0 -1px 0 rgba(0,0,0,.18),
        0 6px 15px rgba(0,0,0,.14) !important;

    overflow: hidden !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease !important;
}

/* Gloss sweep */
body > nav > a::before,
body > nav > .nav-inner > a::before {
    content: "" !important;
    position: absolute !important;
    top: -15% !important;
    left: -60% !important;
    width: 42% !important;
    height: 130% !important;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255,255,255,.05) 20%,
        rgba(255,255,255,.34) 50%,
        rgba(255,255,255,.05) 80%,
        transparent 100%
    ) !important;
    transform: skewX(-20deg) !important;
    pointer-events: none !important;
    transition: left .48s ease !important;
}

/* Hover */
body > nav > a:hover,
body > nav > .nav-inner > a:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #25c15d 0%, #119044 100%) !important;
    border-color: rgba(134,239,172,.78) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.30),
        0 9px 22px rgba(22,163,74,.28) !important;
}

body > nav > a:hover::before,
body > nav > .nav-inner > a:hover::before {
    left: 130% !important;
}

/* Active page */
body > nav > a.active,
body > nav > a[aria-current="page"],
body > nav > .nav-inner > a.active,
body > nav > .nav-inner > a[aria-current="page"] {
    color: #ffffff !important;
    background: linear-gradient(180deg, #25c15d 0%, #11863f 100%) !important;
    border-color: rgba(187,247,208,.75) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.30),
        0 8px 20px rgba(22,163,74,.25) !important;
}

body > nav > a.active::after,
body > nav > a[aria-current="page"]::after,
body > nav > .nav-inner > a.active::after,
body > nav > .nav-inner > a[aria-current="page"]::after {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 5px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #dcfce7 !important;
}

/* Tablet / mobile */
@media (max-width: 768px) {
    body > nav,
    body > nav.premium-nav {
        padding: 9px 10px !important;
    }

    body > nav:not(.premium-nav),
    body > nav > .nav-inner {
        gap: 7px !important;
    }

    body > nav > a,
    body > nav > .nav-inner > a {
        flex: 1 1 calc(33.333% - 7px) !important;
        min-width: 105px !important;
        padding: 10px 8px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 430px) {
    body > nav > a,
    body > nav > .nav-inner > a {
        flex-basis: calc(50% - 7px) !important;
        min-width: 0 !important;
    }

    body > nav > a:nth-child(5),
    body > nav > .nav-inner > a:nth-child(5) {
        flex-basis: 100% !important;
    }
}
/* =========================================
   AGENT APPLICATION PROCEED BUTTON
========================================= */

.agent-process-action {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    padding-top: 10px;
}

.agent-proceed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 230px;
    padding: 15px 30px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    background: linear-gradient(
        180deg,
        #25c15d 0%,
        #11863f 100%
    );

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0.02em;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 10px 24px rgba(22,163,74,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.agent-proceed-button:hover {
    color: #ffffff;
    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.30),
        0 14px 30px rgba(22,163,74,.35);
}

.prediction-range-filter {
    max-width: 850px;
    margin: -12px auto 24px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
    align-items: end;
    gap: 12px;
    border: 1px solid #dce7df;
    border-radius: 14px;
    background: #f8fffa;
}

.prediction-range-field {
    display: grid;
    gap: 6px;
    text-align: left;
}

.prediction-range-field label {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.prediction-range-field input {
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.prediction-range-apply,
.prediction-range-reset {
    min-height: 43px;
    padding: 9px 16px;
    border-radius: 9px;
    font-weight: 850;
    cursor: pointer;
}

.prediction-range-apply {
    border: 1px solid #16a34a;
    background: #16a34a;
    color: #fff;
}

.prediction-range-reset {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
}

.prediction-range-status {
    grid-column: 1 / -1;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
}

.result-card-no-machine .result-number-group,
.home-result-card-no-machine .home-number-section {
    grid-column: auto / span 2;
}

@media (max-width: 700px) {
    .prediction-range-filter {
        grid-template-columns: 1fr 1fr;
        margin-top: -10px;
        padding: 12px;
        gap: 9px;
    }

    .prediction-range-apply,
    .prediction-range-reset {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .prediction-range-filter {
        grid-template-columns: 1fr;
    }

    .prediction-range-status {
        grid-column: 1;
    }
}

@media (max-width: 600px) {
    .results-page #results-container .result-card-no-machine .result-number-group {
        grid-column: 1 / -1 !important;
    }
}

@media (min-width: 601px) {
    .results-page #results-container .result-card-no-machine {
        grid-template-columns: minmax(150px, 1.15fr) minmax(300px, 2fr) !important;
    }
}

/* Facebook community link shown across public pages */
.facebook-community-btn {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, #1877f2 0%, #0d5fc7 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(13, 95, 199, 0.32);
    transition: transform .2s ease, box-shadow .2s ease;
}

.facebook-community-btn::before {
    content: "f";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
}

.facebook-community-btn:hover,
.facebook-community-btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(13, 95, 199, 0.4);
}

@media (max-width: 620px) {
    .facebook-community-btn {
        left: 12px;
        bottom: 12px;
        min-height: 44px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* Compact phone layout: keeps more results visible without reducing legibility */
@media (max-width: 600px) {
    .premium-header {
        padding: 7px 12px !important;
    }

    .premium-logo {
        width: 44px !important;
        height: 44px !important;
    }

    .brand-area h1 {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .brand-area p {
        font-size: 10px !important;
    }

    .premium-nav,
    body > nav {
        padding: 6px 8px !important;
    }

    .premium-nav a,
    body > nav a {
        min-height: 36px !important;
        padding: 8px 9px !important;
        font-size: 11px !important;
    }

    .premium-hero {
        min-height: auto !important;
    }

    .hero-content {
        padding: 44px 15px 76px !important;
    }

    .premium-hero h2 {
        font-size: 32px !important;
        line-height: 1.04 !important;
    }

    .premium-hero p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .hero-buttons a {
        min-height: 44px !important;
        padding: 11px 15px !important;
    }

    .quick-stats {
        gap: 8px !important;
    }

    .stat-card {
        padding: 13px 8px !important;
    }

    .stat-card h3 {
        font-size: 21px !important;
    }

    .stat-card p {
        font-size: 10px !important;
        line-height: 1.35 !important;
    }

    .home-results-section,
    .premium-section {
        margin-top: 38px !important;
        margin-bottom: 38px !important;
    }

    .home-results-section .section-title {
        margin-bottom: 17px !important;
    }

    .home-results-section .section-title h2,
    .section-title h2,
    .section-heading h2 {
        font-size: 25px !important;
        line-height: 1.12 !important;
    }

    #home-results-container,
    #results-container {
        gap: 10px !important;
    }

    .home-result-card,
    .result-card {
        padding: 13px 12px !important;
        border-radius: 13px !important;
    }

    .home-result-heading,
    .result-top {
        gap: 8px !important;
        padding-bottom: 9px !important;
    }

    .home-result-heading h3,
    .result-top h3 {
        font-size: 16px !important;
    }

    .home-result-heading span,
    .lottery-name,
    .draw-time {
        font-size: 10px !important;
    }

    .home-number-section,
    .result-number-group {
        margin-top: 9px !important;
    }

    .home-number-section h4,
    .result-number-group h4 {
        margin-bottom: 5px !important;
        font-size: 9px !important;
    }

    .home-number-section .winning-numbers,
    .home-number-section .machine-numbers,
    .winning-numbers,
    .machine-numbers {
        gap: 4px !important;
    }

    .home-result-card .number-ball,
    .result-card .number-ball,
    .number-ball {
        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;
        font-size: 11px !important;
        border-width: 1px !important;
        box-shadow: 0 3px 7px rgba(15, 23, 42, .15) !important;
    }

    .results-hero {
        padding: 34px 14px 46px !important;
    }

    .filter-box {
        gap: 9px !important;
        padding: 13px !important;
    }

    .filter-item select,
    .filter-item input,
    .search-result-btn {
        min-height: 44px !important;
        font-size: 16px !important; /* prevents automatic iPhone form zoom */
    }

    .result-status {
        padding: 5px 7px !important;
        font-size: 8px !important;
    }
}

.reset-result-btn {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.reset-result-btn:hover {
    border-color: #94a3b8;
    background: #eef2f7;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .result-filter .search-result-btn,
    .result-filter .reset-result-btn {
        grid-column: auto !important;
        width: 100% !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 7px 8px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
    }
}

/* Phone results become compact rows so 8–10 draws fit in one viewport */
@media (max-width: 600px) {
    .results-page .results-section {
        padding: 10px 6px 28px !important;
    }

    .results-page #results-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .results-page #results-container .result-card {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 5px !important;
        min-height: 66px !important;
        padding: 5px 6px !important;
        border-radius: 7px !important;
        box-shadow: 0 2px 6px rgba(15, 23, 42, .06) !important;
    }

    .results-page #results-container .result-card::before {
        height: 2px !important;
    }

    .results-page #results-container .result-top {
        grid-column: 1 !important;
        display: block !important;
        min-width: 0 !important;
        padding: 0 5px 0 0 !important;
        border: 0 !important;
    }

    .results-page #results-container .result-top h3 {
        overflow: hidden !important;
        margin: 0 0 2px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .results-page #results-container .lottery-name {
        display: block !important;
        overflow: hidden !important;
        font-size: 6px !important;
        line-height: 1.15 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .results-page #results-container .draw-time {
        display: block !important;
        margin: 2px 0 !important;
        font-size: 7px !important;
        line-height: 1.1 !important;
    }

    .results-page #results-container .result-status {
        display: inline-flex !important;
        gap: 2px !important;
        padding: 2px 4px !important;
        font-size: 5px !important;
        line-height: 1 !important;
    }

    .results-page #results-container .result-status::before {
        width: 3px !important;
        height: 3px !important;
    }

    .results-page #results-container .result-number-group {
        min-width: 0 !important;
        margin: 0 !important;
    }

    .results-page #results-container .result-number-group h4 {
        margin: 0 0 3px !important;
        font-size: 6px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .results-page #results-container .winning-numbers,
    .results-page #results-container .machine-numbers {
        display: grid !important;
        grid-template-columns: repeat(5, 22px) !important;
        gap: 2px !important;
    }

    .results-page #results-container .number-ball {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 8px !important;
        line-height: 22px !important;
        border-width: 1px !important;
        box-shadow: none !important;
    }

    .results-page .facebook-community-btn {
        left: 10px !important;
        bottom: 10px !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
        overflow: hidden !important;
        font-size: 0 !important;
        border-radius: 50% !important;
    }

    .results-page .facebook-community-btn::before {
        width: 25px !important;
        height: 25px !important;
        font-size: 19px !important;
    }
}

/* Extra-dense layout specifically for the Results tab on phones */
@media (max-width: 600px) {
    .results-hero {
        padding: 22px 12px 34px !important;
    }

    .results-hero h2 {
        margin-bottom: 5px !important;
        font-size: 26px !important;
        line-height: 1.1 !important;
    }

    .results-hero p {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .result-filter {
        margin-top: -18px !important;
        padding: 0 9px !important;
    }

    .result-filter .filter-box {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .result-filter .filter-item {
        min-width: 0 !important;
    }

    .result-filter .filter-item label {
        margin-bottom: 3px !important;
        font-size: 9px !important;
    }

    .result-filter select,
    .result-filter input,
    .result-filter .search-result-btn {
        min-height: 40px !important;
        height: 40px !important;
        padding: 7px 8px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }

    .result-filter .search-result-btn {
        grid-column: 1 / -1 !important;
    }

    .results-section {
        padding: 18px 9px 35px !important;
    }

    .results-section .section-heading {
        margin-bottom: 10px !important;
        gap: 2px !important;
    }

    .results-section .section-heading h2 {
        margin: 0 !important;
        font-size: 22px !important;
    }

    .results-section .section-heading p {
        margin: 0 !important;
        font-size: 10px !important;
    }

    #results-container {
        gap: 7px !important;
    }

    #results-container .result-card {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: 0 !important;
        padding: 9px 10px 10px !important;
        border-radius: 11px !important;
    }

    #results-container .result-top {
        grid-column: 1 / -1 !important;
        padding-bottom: 6px !important;
        gap: 6px !important;
    }

    #results-container .result-top h3 {
        margin-bottom: 1px !important;
        font-size: 14px !important;
    }

    #results-container .lottery-name,
    #results-container .draw-time {
        font-size: 8px !important;
        line-height: 1.2 !important;
    }

    #results-container .result-status {
        padding: 4px 6px !important;
        font-size: 7px !important;
    }

    #results-container .result-status::before {
        width: 5px !important;
        height: 5px !important;
        box-shadow: none !important;
    }

    #results-container .result-number-group {
        min-width: 0 !important;
        margin-top: 6px !important;
    }

    #results-container .result-number-group h4 {
        margin-bottom: 3px !important;
        font-size: 7px !important;
        letter-spacing: .03em !important;
    }

    #results-container .winning-numbers,
    #results-container .machine-numbers {
        gap: 2px !important;
    }

    #results-container .number-ball {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        font-size: 9px !important;
        border-width: 1px !important;
        box-shadow: 0 2px 4px rgba(15, 23, 42, .14) !important;
    }

    #results-container .results-pagination {
        margin-top: 8px !important;
        padding: 8px 4px !important;
    }
}

@media (max-width: 600px) {
    .results-page .result-filter .search-result-btn,
    .results-page .result-filter .reset-result-btn {
        grid-column: auto !important;
        width: 100% !important;
    }
}

/* Reference-inspired mobile result list: bold, simple and information-dense */
.result-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

@media (max-width: 600px) {
    .results-page #results-container {
        gap: 5px !important;
    }

    .results-page #results-container .result-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: start !important;
        min-height: 74px !important;
        padding: 7px 9px 8px !important;
        border: 0 !important;
        border-bottom: 1px solid #dfe5e9 !important;
        border-radius: 5px !important;
        background: #fff !important;
        box-shadow: 0 2px 7px rgba(15, 23, 42, .07) !important;
    }

    .results-page #results-container .result-card::before {
        height: 2px !important;
    }

    .results-page #results-container .result-top {
        grid-column: 1 / -1 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 0 0 4px !important;
        border: 0 !important;
    }

    .results-page #results-container .result-game-info {
        min-width: 0 !important;
    }

    .results-page #results-container .result-top h3 {
        margin: 0 !important;
        color: #079447 !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .results-page #results-container .lottery-name {
        display: none !important;
    }

    .results-page #results-container .result-meta {
        display: block !important;
        margin-left: 8px !important;
        text-align: right !important;
    }

    .results-page #results-container .draw-time {
        display: block !important;
        margin: 0 !important;
        color: #334155 !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .results-page #results-container .result-status {
        display: none !important;
    }

    .results-page #results-container .result-number-group {
        min-width: 0 !important;
        margin: 0 !important;
    }

    .results-page #results-container .result-number-group h4 {
        margin: 0 0 3px !important;
        color: #475569 !important;
        font-size: 7px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        letter-spacing: .03em !important;
    }

    .results-page #results-container .winning-numbers,
    .results-page #results-container .machine-numbers {
        display: grid !important;
        grid-template-columns: repeat(5, 25px) !important;
        gap: 3px !important;
    }

    .results-page #results-container .number-ball {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        padding: 0 !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        line-height: 25px !important;
        border: 1px solid rgba(255, 255, 255, .9) !important;
        box-shadow: 0 2px 5px rgba(15, 23, 42, .17) !important;
    }
}

@media (max-width: 350px) {
    .results-page #results-container .winning-numbers,
    .results-page #results-container .machine-numbers {
        grid-template-columns: repeat(5, 22px) !important;
        gap: 2px !important;
    }

    .results-page #results-container .number-ball {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        line-height: 22px !important;
        font-size: 8px !important;
    }
}

/* The same clear result-list format on tablet and desktop */
@media (min-width: 601px) {
    .results-page #results-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .results-page #results-container .result-card {
        display: grid !important;
        grid-template-columns: minmax(150px, 1.15fr) minmax(140px, 1fr) minmax(140px, 1fr) !important;
        align-items: center !important;
        column-gap: 16px !important;
        min-height: 84px !important;
        padding: 12px 18px !important;
        border-radius: 10px !important;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .06) !important;
    }

    .results-page #results-container .result-card::before {
        height: 3px !important;
    }

    .results-page #results-container .result-top {
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .results-page #results-container .result-top h3 {
        margin: 0 0 3px !important;
        color: #078f45 !important;
        font-size: 20px !important;
        font-weight: 900 !important;
    }

    .results-page #results-container .lottery-name {
        font-size: 11px !important;
    }

    .results-page #results-container .result-meta {
        min-width: 105px !important;
    }

    .results-page #results-container .draw-time {
        margin: 0 !important;
        color: #334155 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .results-page #results-container .result-status {
        padding: 4px 7px !important;
        font-size: 8px !important;
    }

    .results-page #results-container .result-number-group {
        margin: 0 !important;
    }

    .results-page #results-container .result-number-group h4 {
        margin: 0 0 6px !important;
        font-size: 10px !important;
        font-weight: 900 !important;
    }

    .results-page #results-container .winning-numbers,
    .results-page #results-container .machine-numbers {
        display: grid !important;
        grid-template-columns: repeat(5, 28px) !important;
        gap: 4px !important;
    }

    .results-page #results-container .number-ball {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        box-shadow: 0 3px 7px rgba(15, 23, 42, .16) !important;
    }
}

@media (min-width: 901px) {
    .results-page .filter-box {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .results-page .search-result-btn,
    .results-page .reset-result-btn {
        width: 100% !important;
    }

    .results-page #results-container .winning-numbers,
    .results-page #results-container .machine-numbers {
        grid-template-columns: repeat(5, 34px) !important;
        gap: 6px !important;
    }

    .results-page #results-container .number-ball {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 12px !important;
    }
}

/* Trust and policy pages */
.legal-page {
    min-height: 70vh;
    padding: 58px 18px 80px;
    background: #f5f8f6;
}

.legal-shell {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 38px;
    border: 1px solid #dfe8e2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.legal-kicker {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e9f8ee;
    color: #15803d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-shell h2 {
    margin: 13px 0 7px;
    color: #0f172a;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
}

.legal-updated {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 13px;
}

.legal-shell section {
    padding: 21px 0;
    border-top: 1px solid #e8edf0;
}

.legal-shell section:first-of-type {
    border-top: 0;
}

.legal-shell h3 {
    margin: 0 0 9px;
    color: #126f39;
    font-size: 20px;
}

.legal-shell p,
.legal-shell li {
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.legal-shell ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.legal-note {
    padding: 16px 18px !important;
    border: 1px solid #bbebca !important;
    border-radius: 12px;
    background: #effcf3;
}

.legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 12px 15px;
    background: #07111f;
}

.legal-footer-links a {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.legal-footer-links a:hover {
    color: #4ade80;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 32px 10px 60px;
    }

    .legal-shell {
        padding: 24px 17px;
        border-radius: 14px;
    }

    .legal-shell h2 {
        font-size: 31px;
    }

    .legal-shell h3 {
        font-size: 17px;
    }

    .legal-shell p,
    .legal-shell li {
        font-size: 14px;
        line-height: 1.65;
    }
}

