body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    color: #334e68;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background-color: #0047AB;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInUp 0.6s ease-out forwards;
    text-align: center;
    box-sizing: border-box;
}

.cookie-notification p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
    flex-grow: 1;
}

.cookie-accept-btn {
    background-color: #FFD700;
    color: #0047AB;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.cookie-accept-btn:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 600px) {
    .cookie-notification {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 25px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 700px;
        border-radius: 12px;
        padding: 20px 25px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .cookie-notification p {
        text-align: left;
        font-size: 1em;
    }

    .cookie-accept-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
}

.age-verification-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0047AB;
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
}

.age-verification-modal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-verification-popup {
    background-color: #ffffff;
    color: #334e68;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s ease-out;
}

.age-verification-popup h3 {
    font-size: 1.8em;
    color: #0047AB;
    margin-bottom: 15px;
}

.age-verification-popup p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.cookie-notification p {
    margin: 0;
    flex-grow: 1;
    font-size: 0.95em;
}

.cookie-accept-btn,
.btn-confirm-age,
.btn-exit-site {
    background-color: #FFD700;
    color: #0047AB;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-accept-btn:hover,
.btn-confirm-age:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}

.btn-exit-site {
    background-color: #e74c3c;
    color: #ffffff;
    margin-left: 15px;
}

.btn-exit-site:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.app-header {
    background-color: #0047AB;
    color: #FFD700;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8em;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo-link:hover {
    color: #FFFFFF;
}

.site-logo-link img {
    height: 40px;
}

.main-navigation a {
    color: #FFD700;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.main-navigation a:hover {
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}

.hero-section {
    background: linear-gradient(135deg, #0047AB 0%, #4C7C54 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content-wrapper h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hero-content-wrapper p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.countdown-timer div {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-timer span {
    display: block;
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 5px;
    font-weight: 700;
}

.primary-cta-btn {
    background-color: #FFD700;
    color: #0047AB;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.primary-cta-btn:hover {
    background-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#how-it-works-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.section-intro h2 {
    font-size: 2.5em;
    color: #0047AB;
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 60px;
}

.step-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
    justify-content: center;
}

.process-step {
    background-color: #f7f9fc;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    padding-top: 70px;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number-tag {
    position: absolute;
    top: 20px;
    left: 30px;
    background-color: #4C7C54;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    font-size: 1.5em;
    color: #0047AB;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 1em;
    color: #526c84;
}

.flow-arrow {
    font-size: 3em;
    color: #aebfd0;
    text-align: center;
    display: none;
}

@media (min-width: 768px) {
    .step-process-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    }
    .flow-arrow {
        display: block;
        align-self: center;
    }
}

.tab-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #e0e6ed;
    padding: 15px 20px;
    border-bottom: 2px solid #ccd6e0;
    gap: 10px;
}

.tab-menu button {
    background-color: #f7f9fc;
    color: #0047AB;
    border: 1px solid #ccd6e0;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tab-menu button:hover {
    background-color: #eef2f6;
    color: #003388;
}

.tab-menu button.active {
    background-color: #0047AB;
    color: #FFD700;
    border-color: #0047AB;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
    padding: 40px 20px;
    max-width: 900px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    background-color: #fcfdfe;
}

.input-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #334e68;
    font-weight: 600;
}

.input-group select,
.input-group input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    font-size: 1em;
    color: #334e68;
    background-color: #ffffff;
    box-sizing: border-box;
}

.input-group select:focus,
.input-group input[type="text"]:focus {
    outline: none;
    border-color: #0047AB;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.2);
}

.radio-options {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.radio-options label {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-options input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    cursor: pointer;
}

.number-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.number-selection-grid button {
    background-color: #e0e6ed;
    color: #334e68;
    border: 1px solid #ccd6e0;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.number-selection-grid button.active {
    background-color: #FFD700;
    color: #0047AB;
    border-color: #FFD700;
}

.number-selection-grid button:hover:not(.active) {
    background-color: #d1d9e0;
}

.total-price {
    font-size: 1.6em;
    font-weight: bold;
    color: #0047AB;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 25px;
}

.add-to-cart-btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #4C7C54;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn:hover {
    background-color: #3d6a43;
    transform: translateY(-2px);
}

.content-block-container, .info-panel-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #FFD700;
}

.info-card h2,
.info-card h3 {
    font-size: 1.6em;
    color: #0047AB;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card h4 {
    font-size: 1.3em;
    color: #0047AB;
    margin-bottom: 10px;
}

.info-card p,
.info-card ul li {
    font-size: 0.95em;
    color: #526c84;
    margin-bottom: 10px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.info-card ul li:before {
    content: '★ ';
    color: #FFD700;
    margin-right: 8px;
}

.info-card small {
    display: block;
    margin-top: 15px;
    font-size: 0.8em;
    color: #7a8c9e;
}

.odds-table, .entry-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f7f9fc;
    border-radius: 8px;
    overflow: hidden;
}

.odds-table .table-row, .entry-table .table-row {
    display: flex;
    border-bottom: 1px solid #e0e6ed;
}

.odds-table .table-row:last-child, .entry-table .table-row:last-child {
    border-bottom: none;
}

.odds-table .table-header div, .entry-table .table-header div {
    font-weight: bold;
    background-color: #4C7C54;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.odds-table .table-header div:last-child, .entry-table .table-header div:last-child {
    border-right: none;
}

.odds-table .table-row div, .entry-table .table-row div {
    flex: 1;
    padding: 12px 15px;
    text-align: left;
    color: #334e68;
}

.odds-table .table-row:nth-child(even), .entry-table .table-row:nth-child(even) {
    background-color: #eef2f6;
}

.system-play-info .info-panel-intro,
.system-play-info .info-panel-section {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #ccd6e0;
}

.system-play-info .info-panel-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.entry-comparison-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.standard-entry-display,
.system-entry-display {
    flex: 1;
    min-width: 300px;
    background-color: #f7f9fc;
    padding: 25px;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.system-entry-display .entry-table {
    max-height: 300px;
    overflow-y: auto;
}

.syndicate-selection-block {
    padding: 30px;
    background-color: #fcfdfe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.syndicate-heading {
    font-size: 1.8em;
    color: #0047AB;
    margin-bottom: 25px;
    text-align: center;
}

.syndicate-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.syndicate-offer-card {
    background-color: #eef2f6;
    border: 2px solid #ccd6e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.syndicate-offer-card.selected {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px #FFD700, 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.syndicate-offer-card:hover:not(.selected) {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.syndicate-offer-card .card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #0047AB;
    margin-bottom: 10px;
}

.syndicate-offer-card .card-title span {
    display: block;
    font-size: 0.7em;
    font-weight: normal;
    color: #526c84;
}

.syndicate-offer-card .card-price {
    font-size: 1.2em;
    color: #4C7C54;
    font-weight: bold;
    margin-bottom: 20px;
}

.syndicate-offer-card label {
    margin-top: auto;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
}

.syndicate-offer-card input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    cursor: pointer;
}

.syndicate-step {
    margin-bottom: 30px;
}

.syndicate-step select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    font-size: 1em;
    color: #334e68;
    background-color: #ffffff;
    box-sizing: border-box;
}

.syndicate-step.repeat-option label {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    color: #334e68;
}

.syndicate-step.repeat-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.total-amount-display {
    font-size: 1.6em;
    font-weight: bold;
    color: #0047AB;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 25px;
}

.syndicate-info-section .info-card {
    border-top: 5px solid #4C7C54;
}

.lotto-party-selection {
    padding: 30px;
    background-color: #fcfdfe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.party-selection-header h3 {
    font-size: 1.8em;
    color: #0047AB;
    margin-bottom: 25px;
    text-align: center;
}

.party-selection-header h3 span {
    color: #FFD700;
    margin-right: 10px;
}

.party-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.lotto-party-card {
    background-color: #eef2f6;
    border: 2px solid #ccd6e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.lotto-party-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.lotto-party-card input[type="radio"]:checked + label {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px #FFD700, 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.lotto-party-card .card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}
.party-image-1 { background-image: url('/assets/party1.jpg'); }
.party-image-2 { background-image: url('/assets/party2.jpg'); }
.party-image-3 { background-image: url('/assets/party3.jpg'); }
.party-image-4 { background-image: url('/assets/party4.jpg'); }


.lotto-party-card .party-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lotto-party-card h4 {
    font-size: 1.4em;
    color: #0047AB;
    margin-bottom: 5px;
}

.lotto-party-card p {
    font-size: 0.9em;
    color: #526c84;
    margin-bottom: 10px;
}

.lotto-party-card strong {
    font-size: 1.3em;
    color: #4C7C54;
    margin-bottom: 5px;
    display: block;
}

.lotto-party-card strong small {
    font-size: 0.7em;
    font-weight: normal;
}

.lotto-party-card span {
    font-size: 0.9em;
    color: #7a8c9e;
    margin-bottom: 20px;
    display: block;
}

.lotto-party-card label {
    display: block;
    margin-top: auto;
    background-color: #FFD700;
    color: #0047AB;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lotto-party-card label input[type="radio"] {
    display: none;
}

.lotto-party-card label:hover {
    background-color: #ffc107;
}

.party-total-display {
    font-size: 1.6em;
    font-weight: bold;
    color: #0047AB;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 25px;
}

.latest-draw-results {
    padding: 30px;
    background-color: #fcfdfe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.draw-results-header {
    background-color: #0047AB;
    color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.draw-results-header h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.draw-results-header h2 span {
    color: #FFD700;
}

.draw-results-header p {
    font-size: 1em;
    opacity: 0.9;
}

.winning-numbers-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.winning-numbers-display div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.winning-numbers-display strong {
    font-size: 1.1em;
    color: #FFD700;
}

.result-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #0047AB;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.result-number.supplementary {
    background-color: #4C7C54;
    color: #FFFFFF;
}

.results-table-wrapper {
    overflow-x: auto;
}

.results-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.results-breakdown-table th,
.results-breakdown-table td {
    padding: 12px 15px;
    border: 1px solid #e0e6ed;
    text-align: left;
    white-space: nowrap;
}

.results-breakdown-table th {
    background-color: #4C7C54;
    color: #ffffff;
    font-weight: bold;
}

.results-breakdown-table tbody tr:nth-child(even) {
    background-color: #f7f9fc;
}

.number-frequency-section {
    padding: 30px;
    background-color: #fcfdfe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.frequency-section-header h2 {
    font-size: 2.2em;
    color: #0047AB;
    margin-bottom: 15px;
}

.frequency-section-header p {
    font-size: 1.05em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #526c84;
}

.frequency-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 0.95em;
    color: #526c84;
}

.legend-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.dark-dot {
    background-color: #0047AB;
}

.light-dot {
    background-color: #FFD700;
}

.number-trend-bars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.number-trend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: #eef2f6;
    padding: 15px 10px;
    border-radius: 10px;
    width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.number-trend-item .number-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #0047AB;
    color: #ffffff;
    font-size: 1.4em;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.number-trend-item .trend-label {
    font-size: 0.9em;
    color: #526c84;
    font-weight: 500;
}

.number-trend-item.reverse-order .trend-label:first-child { order: 2; }
.number-trend-item.reverse-order .number-circle { order: 1; }
.number-trend-item.reverse-order .trend-label:last-child { order: 0; }

.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section-title h2 {
    font-size: 2.5em;
    color: #0047AB;
}

.faq-accordion-group {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion-item {
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fcfdfe;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-accordion-question {
    background-color: #0047AB;
    color: #ffffff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-accordion-question:hover {
    background-color: #003388;
}

.faq-accordion-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-accordion-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #eef2f6;
    color: #526c84;
}

.faq-accordion-item.active .faq-accordion-answer {
    max-height: 200px;
    padding: 20px 25px;
}

.faq-accordion-answer p {
    margin: 0;
    font-size: 1em;
}

.app-footer-legal {
    background-color: #002244;
    color: #aebfd0;
    padding: 50px 0;
    margin-top: auto;
    border-top: 5px solid #FFD700;
}

.footer-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-branding-info {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.footer-branding-info .site-logo-link {
    color: #FFD700 !important;
    font-size: 2.2em;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.footer-branding-info .site-logo-link img {
    height: 50px;
    transition: transform 0.3s ease;
}

.footer-branding-info .site-logo-link:hover img {
    transform: scale(1.05);
}

.responsible-gaming-info h2 {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: 600;
}

.responsible-gaming-info p {
    font-size: 0.95em;
    margin-bottom: 12px;
    line-height: 1.7;
}

.responsible-gaming-info strong {
    color: #FFD700;
    font-weight: 700;
}

.responsible-gaming-info a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.responsible-gaming-info a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.footer-compliance-links {
    flex: 1;
    min-width: 280px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.age-help-badges {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.age-restriction-icon {
    height: 45px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(80%) sepia(35%) saturate(2716%) hue-rotate(345deg) brightness(101%) contrast(101%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.age-restriction-icon:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7484%) hue-rotate(247deg) brightness(110%) contrast(100%);
    transform: translateY(-3px);
}

.age-help-badges img:not(.age-restriction-icon) {
    height: 40px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(35%) saturate(2716%) hue-rotate(345deg) brightness(101%) contrast(101%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.age-help-badges img:not(.age-restriction-icon):hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7484%) hue-rotate(247deg) brightness(110%) contrast(100%);
    transform: translateY(-3px);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.legal-links a {
    color: #aebfd0;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.legal-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.age-restriction-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b30000, #ff3333);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
    border: 3px solid #fff;
    font-family: 'Segoe UI', sans-serif;
    user-select: none;
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-branding-info,
    .footer-compliance-links {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .footer-branding-info .site-logo-link {
        justify-content: center;
        font-size: 1.8em;
    }

    .responsible-gaming-info h2 {
        font-size: 1.2em;
    }

    .age-help-badges {
        justify-content: center;
    }

    .age-restriction-icon {
        height: 40px;
    }
    .age-help-badges img:not(.age-restriction-icon) {
        height: 35px;
    }

    .legal-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-branding-info .site-logo-link {
        font-size: 1.5em;
        gap: 10px;
    }
    .footer-branding-info .site-logo-link img {
        height: 40px;
    }
    .responsible-gaming-info p {
        font-size: 0.85em;
    }
    .age-help-badges {
        gap: 10px;
    }
    .age-restriction-icon {
        height: 35px;
    }
    .age-help-badges img:not(.age-restriction-icon) {
        height: 30px;
    }
    .legal-links a {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .age-help-badges {
        justify-content: center;
    }
    .age-restriction-icon {
        height: 40px;
    }
    .age-help-badges img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .age-help-badges {
        gap: 10px;
    }
    .age-restriction-icon {
        height: 35px;
    }
    .age-help-badges img {
        height: 30px;
    }
}

.age-help-badges img {
    height: 40px;
    filter: brightness(0) saturate(100%) invert(80%) sepia(35%) saturate(2716%) hue-rotate(345deg) brightness(101%) contrast(101%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.age-help-badges img:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7484%) hue-rotate(247deg) brightness(110%) contrast(100%);
    transform: translateY(-3px);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.legal-links a {
    color: #aebfd0;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.legal-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-branding-info,
    .footer-compliance-links {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .footer-branding-info .site-logo-link {
        justify-content: center;
        font-size: 1.8em;
    }

    .responsible-gaming-info h2 {
        font-size: 1.2em;
    }

    .age-help-badges {
        justify-content: center;
        margin-bottom: 20px;
    }

    .age-help-badges img {
        height: 35px;
    }

    .legal-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-branding-info .site-logo-link {
        font-size: 1.5em;
        gap: 10px;
    }
    .footer-branding-info .site-logo-link img {
        height: 40px;
    }
    .responsible-gaming-info p {
        font-size: 0.85em;
    }
    .age-help-badges {
        gap: 10px;
    }
    .age-restriction-badge {
        font-size: 0.9em;
        padding: 8px 10px;
    }
    .age-help-badges img {
        height: 30px;
    }
    .legal-links a {
        font-size: 0.9em;
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper h1 {
        font-size: 2.8em;
    }
    .hero-content-wrapper p {
        font-size: 1.1em;
    }
    .countdown-timer span {
        font-size: 2.5em;
    }
    .countdown-timer div {
        padding: 15px 25px;
    }
}

@media (max-width: 768px) {
 
    .app-header-container {
        justify-content: center;
    }

    .hero-section {
        padding: 60px 20px;
    }
    .hero-content-wrapper h1 {
        font-size: 2.2em;
    }
    .hero-content-wrapper p {
        font-size: 1em;
    }
    .countdown-timer {
        gap: 20px;
    }
    .countdown-timer div {
        min-width: 100px;
        padding: 12px 20px;
    }
    .countdown-timer span {
        font-size: 2em;
    }
    .primary-cta-btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .section-intro h2 {
        font-size: 2em;
    }
    .section-intro p {
        font-size: 0.95em;
    }

    .step-process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .flow-arrow {
        display: none;
    }

    .tab-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 8px;
    }
    .tab-menu button {
        width: 100%;
        padding: 10px 15px;
    }

    .input-group {
        padding: 15px;
    }
    .input-group label {
        font-size: 1em;
    }

    .number-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 8px;
    }
    .number-selection-grid button {
        font-size: 1em;
        padding: 8px 0;
    }

    .total-price {
        font-size: 1.4em;
        text-align: center;
    }
    .add-to-cart-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .content-block-container, .info-panel-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .info-card h2, .info-card h3 {
        font-size: 1.4em;
    }
    .info-card h4 {
        font-size: 1.2em;
    }
    .info-card p, .info-card ul li {
        font-size: 0.9em;
    }

    .syndicate-card-grid, .party-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .syndicate-heading, .party-selection-header h3 {
        font-size: 1.6em;
    }

    .draw-results-header h2 {
        font-size: 1.8em;
    }
    .winning-numbers-display {
        gap: 15px;
    }
    .result-number {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .frequency-section-header h2 {
        font-size: 1.8em;
    }
    .frequency-section-header p {
        font-size: 0.9em;
    }
    .number-trend-bars {
        gap: 15px;
    }
    .number-trend-item {
        width: 100px;
        padding: 10px 8px;
    }
    .number-trend-item .number-circle {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }

    .faq-section-title h2 {
        font-size: 2em;
    }
    .faq-accordion-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .faq-accordion-answer {
        padding: 15px 20px;
    }

    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .footer-branding-info {
        text-align: center;
    }
    .footer-compliance-links {
        text-align: center;
        margin-top: 20px;
    }
    .age-help-badges {
        justify-content: center;
    }
    .legal-links a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-logo-link {
        font-size: 1.5em;
    }
    .site-logo-link img {
        height: 30px;
    }

    .hero-content-wrapper h1 {
        font-size: 1.8em;
    }
    .hero-content-wrapper p {
        font-size: 0.9em;
    }
    .countdown-timer div {
        flex-basis: calc(50% - 10px);
        font-size: 0.9em;
    }
    .countdown-timer span {
        font-size: 1.8em;
    }

    .section-intro h2 {
        font-size: 1.8em;
    }

    .radio-options {
        flex-direction: column;
        gap: 10px;
    }

    .syndicate-card-grid, .party-card-grid {
        grid-template-columns: 1fr;
    }

    .draw-results-header h2 {
        font-size: 1.5em;
    }
    .winning-numbers-display {
        flex-direction: column;
        gap: 10px;
    }
    .result-number {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .number-trend-bars {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .number-trend-item {
        width: unset;
    }

    .faq-accordion-question {
        font-size: 1em;
    }
}

.checkout-page-section {
    padding: 60px 0;
    background-color: #f7f9fc;
}

.checkout-overview-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-overview-header h1 {
    font-size: 2.8em;
    color: #0047AB;
    margin-bottom: 10px;
    font-weight: 700;
}

.checkout-overview-header p {
    font-size: 1.1em;
    color: #526c84;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .checkout-layout-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.checkout-form-container,
.order-summary-details {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.checkout-form-container h2,
.order-summary-details h2 {
    font-size: 1.8em;
    color: #0047AB;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.payment-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.payment-checkout-form input[type="email"],
.payment-checkout-form input[type="tel"],
.payment-checkout-form input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    font-size: 1.05em;
    color: #334e68;
    background-color: #fcfdfe;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.payment-checkout-form input::placeholder {
    color: #7a8c9e;
}

.payment-checkout-form input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
}

.payment-summary-box {
    background-color: #eef2f6;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
}

.payment-summary-box p {
    font-size: 1.3em;
    font-weight: 500;
    color: #334e68;
    margin: 0;
}

.payment-summary-box .total-amount-value {
    font-size: 1.6em;
    font-weight: 700;
    color: #4C7C54;
}

.confirm-pay-button {
    background-color: #4C7C54;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 600px) {
    .confirm-pay-button {
        width: auto;
        margin-left: auto;
        margin-top: 0;
    }
    .payment-summary-box {
        flex-wrap: nowrap;
    }
}

.confirm-pay-button:hover {
    background-color: #3d6a43;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ticket-display-summary {
    background-color: #fcfdfe;
    padding: 25px;
    border-radius: 10px;
    border: 1px dashed #ccd6e0;
    max-height: 400px;
    overflow-y: auto;
}

.ticket-entry-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #e0e6ed;
}

.ticket-entry-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ticket-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #0047AB;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    flex-shrink: 0;
}

.powerball-number {
    background-color: #FFD700;
    color: #0047AB;
}

.summary-note {
    font-size: 0.85em;
    color: #7a8c9e;
    text-align: center;
    margin-top: 20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.3s ease-out;
}

.modal-content p {
    font-size: 1.4em;
    color: #0047AB;
    margin-bottom: 25px;
    font-weight: 600;
}

.modal-close-btn {
    background-color: #4C7C54;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
    background-color: #3d6a43;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main.content-main-section {
    flex-grow: 1;
}

.site-footer {
    background-color: #0047AB;
    color: #ecf0f1;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand-section {
    flex: 2;
    min-width: 300px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
    margin-right: 10px;
}

.responsible-gaming-section {
    margin-top: 20px;
}

.gaming-heading {
    font-size: 1.5em;
    color:#fff;
    margin-bottom: 15px;
}

.gaming-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.phone-number {
    color: #f39c12;
    font-weight: bold;
}

.gaming-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gaming-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.company-name {
    font-weight: bold;
    color: #ecf0f1;
}

.footer-compliance-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
}

.age-help-badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.age-restriction-badge,
.help-badge {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.age-restriction-badge:hover,
.help-badge:hover {
    transform: translateY(-3px);
}

.badge-icon {
    height: 50px;
    width: auto;
    display: block;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.legal-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #ecf0f1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-section,
    .footer-compliance-section {
        min-width: unset;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .footer-logo-link {
        justify-content: center;
    }

    .footer-compliance-section {
        align-items: center;
    }

    .age-help-badges-group {
        justify-content: center;
    }

    .footer-legal-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 15px;
    }

    .footer-logo-link {
        font-size: 1.8em;
    }

    .gaming-heading {
        font-size: 1.3em;
    }

    .gaming-text {
        font-size: 0.85em;
    }

    .badge-icon {
        height: 40px;
    }

    .legal-link {
        font-size: 0.8em;
    }
}