:root {
    --bg-color: #1e2129;
    --card-bg: #2b2f3b;
    --accent-color: #00e5ff;
    --accent-hover: #00b8cc;
    --text-main: #ffffff;
    --text-muted: #aab2bd;
    --danger: #ff4d4d;
    --font-main: 'Roboto', sans-serif;
    --spacing: 1rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}


.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: background 0.3s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-danger {
    background-color: transparent;
    color: var(--danger);
    padding: 5px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}


header {
    background-color: #15171e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-color);
    color: #000;
    font-size: 0.7rem;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}


.hero {
    background: linear-gradient(135deg, #15171e 0%, #2b3a42 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

.hero-label {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.countdown {
    font-size: 2rem;
    font-family: monospace;
    color: var(--accent-color);
    margin: 15px 0;
    font-weight: bold;
}

.hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px;
}


.ticket-section {
    padding: 40px 0;
}

.selection-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.option-label {
    display: block;
    cursor: pointer;
}

.option-label input {
    display: none;
}

.option-box {
    border: 1px solid #444;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
}

.option-label input:checked+.option-box {
    border-color: var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
}

.total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}


.info-section {
    padding: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.odds-table th,
.odds-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.odds-table th {
    color: var(--accent-color);
}


.last-win-card {
    border: 1px solid var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.badge {
    background: #fff;
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
}


.results-list {
    padding: 40px 0;
}

.search-block {
    margin-top: 40px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #15171e;
    color: #fff;
}

.result-card {
    background: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.result-header {
    padding: 15px;
    background: #252833;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.result-body {
    padding: 20px;
}


.cart-summary {
    background: var(--card-bg);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item {
    background: var(--card-bg);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #444;
    color: #fff;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
}

.pay-block {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.success-msg {
    display: none;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid #00ff80;
    color: #00ff80;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 20px;
}


.legal-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.legal-content p,
.legal-content li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.responsible-gambling {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.rg-logos {
    margin: 10px 0;
    font-weight: bold;
    color: var(--text-muted);
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.6;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .countdown {
        font-size: 1.5rem;
    }

    .total-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .pay-block {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.features-section {
    padding: 60px 0;
    background-color: #1e2129;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.security-section {
    padding: 60px 0;
    background-color: #252833;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.security-text {
    flex: 2;
}

.security-visual {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.security-list {
    margin-top: 20px;
}

.security-list li {
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: bold;
}

.security-list i {
    color: var(--accent-color);
    margin-right: 10px;
}


.faq-section {
    padding: 60px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    .security-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .security-list {
        display: inline-block;
        text-align: left;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.top-winners-block {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.table-responsive {
    overflow-x: auto;
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.winners-table th,
.winners-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #3a3f4b;
}

.winners-table th {
    background-color: var(--accent-color);
    color: #000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.winners-table tr:last-child td {
    border-bottom: none;
}


.winners-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}


.winners-table tr.rank-1 td {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    font-weight: bold;
    border-top: 2px solid gold;
}

.winners-table tr.rank-1 td:first-child {
    font-size: 1.2rem;
}


.winners-table tr.rank-2 td,
.winners-table tr.rank-3 td {
    color: #fff;
    font-weight: 500;
}

.winners-table td i {
    margin-right: 5px;
}


@media (max-width: 600px) {

    .winners-table th,
    .winners-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

.cart-layout {
    display: grid !important;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.cart-header-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 5px;
}


.checkout-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
}

.checkout-card h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    color: var(--accent-color);
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: #15171e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkout-total-block {
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid #444;
    padding-top: 15px;
}

.big-total {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

.secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    display: block;
}


@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-card {
        position: static;
        margin-top: 20px;
    }
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-modal {
    background: #1e2129;
    color: #ffffff;
    max-width: 420px;
    width: 90%;
    padding: 24px 24px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.age-gate-title {
    margin: 0 0 8px 0;
    font-size: 22px;
}

.age-gate-text {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.age-gate-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.age-gate-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.08s ease;
}

.age-gate-btn-primary {
    background: #00e5ff;
    color: #1e2129;
    font-weight: 600;
}

.age-gate-btn-primary:hover {
    transform: translateY(-1px);
}

.age-gate-btn-secondary {
    background: transparent;
    color: #00e5ff;
    border: 1px solid #00e5ff;
}

.age-gate-btn-secondary:hover {
    background: rgba(0, 229, 255, 0.08);
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e2129;
    color: #ffffff;
    padding: 14px 18px;
    z-index: 9990;
    display: none;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1 1 260px;
}

.cookie-banner-title {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.cookie-banner-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border-radius: 999px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #00e5ff;
    color: #1e2129;
    font-weight: 600;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: #00e5ff;
    border: 1px solid #00e5ff;
}

.cookie-btn-secondary:hover {
    background: rgba(0, 229, 255, 0.08);
}

.cookie-btn-link {
    background: transparent;
    color: #00e5ff;
    padding-inline: 6px;
    text-decoration: underline;
}

/* Cookie settings modal */

.cookie-settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9991;
}

.cookie-settings-modal {
    background: #1e2129;
    color: #ffffff;
    max-width: 520px;
    width: 95%;
    max-height: 90vh;
    padding: 22px 22px 18px;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.cookie-settings-title {
    margin: 0 0 6px 0;
    font-size: 20px;
}

.cookie-settings-desc {
    margin: 0 0 18px 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.95;
}

.cookie-option {
    border-radius: 10px;
    background: #232731;
    padding: 12px 12px 10px;
    margin-bottom: 10px;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cookie-option-label {
    font-size: 14px;
    font-weight: 600;
}

.cookie-option-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #00e5ff;
    color: #1e2129;
    font-weight: 600;
}

.cookie-option-text {
    margin: 6px 0 0 0;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-option-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-option-toggle input {
    display: none;
}

.cookie-option-switch {
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: #3a3f4c;
    position: relative;
    transition: background 0.18s ease;
}

.cookie-option-switch::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    left: 2px;
    transition: transform 0.18s ease;
}

.cookie-option-toggle input:checked+.cookie-option-switch {
    background: #00e5ff;
}

.cookie-option-toggle input:checked+.cookie-option-switch::before {
    transform: translateX(18px);
}

.cookie-option-label-inline {
    font-size: 14px;
    font-weight: 500;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}
 

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-start;
    }
}