html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: "Roboto", sans-serif;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*, *:after, *:before {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}


/*CUSTOM STYLE*/
main {
    padding: 15px 0;
    overflow-x: hidden;
}

main h1 {
    font-size: 27px;
    margin-bottom: 15px;
}

@media(max-width: 768px) {
    main h1 {
        font-size: 22px;
        text-align: center;
    }
}

main h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

@media(max-width: 768px) {
    main h2 {
        font-size: 19px;
    }
}

main ul, main ol {
    list-style: disc;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

main ul li, main ol li {
    margin-bottom: 10px;
}

main p {
    margin-bottom: 10px;
    line-height: 1.4;
}

main dl {
    margin-bottom: 20px;
}

main dt {
    margin-bottom: 10px;
    line-height: 1.4;
}

main table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

@media screen and (max-width: 768px) {
    main table {
        font-size: 12px;
        min-width: auto;
    }

    main td {
        padding: 8px 4px;
        white-space: normal;
    }
}

main td {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: top;
}

main tr:first-child td {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

main tr:last-child td {
    border-bottom: none;
}

main tr:not(:first-child):hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

main strong {
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    main table {
        min-width: 600px;
        margin: 0;
        border-radius: 0;
    }

    main td {
        white-space: nowrap;
        padding: 12px 8px;
        min-width: 120px;
    }

    main td:first-child {
        min-width: 100px;
    }

    main td:last-child {
        min-width: 200px;
        white-space: normal;
        max-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    body {
        margin: 10px;
    }

    .table-container {
        margin: 0 -10px;
        border-radius: 0;
    }

    main table {
        min-width: 500px;
    }

    main td {
        padding: 10px 6px;
        font-size: 14px;
    }
}

.content {
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}

@media(max-width: 1220px) {
    .content {
        padding: 0 10px;
    }
}

/* Main Header */
.main-header {
    background-color: #2E2F3B;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

@media(max-width: 1200px) {
    .site-logo {
        width: 100px;
    }
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon {
    background-color: white;
    color: #2c2c3e;
    padding: 8px;
    margin-right: 10px;
    font-weight: bold;
}

.navigation-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation-menu li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

@media(max-width: 1200px) {
    .navigation-menu li a {
        font-size: 14px;
    }
}

.navigation-menu li a:hover,
.navigation-menu li a.current {
    color: #4CAF50;
}

.search-container {
    position: relative;
}

.search-input {
    background-color: rgba(255,255,255,0.1);
    border: none;
    padding: 8px 40px 8px 15px;
    border-radius: 4px;
    color: white;
    width: 200px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
}

.account-controls {
    display: flex;
    gap: 10px;
}

@media (max-width: 990px) {
    .account-controls {
        display: none;
    }
}

.login-button, .register-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

@media(max-width: 1200px) {
    .login-button, .register-button {
        padding: 7px 14px;
        font-size: 12px;
    }
}

.login-button {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.register-button {
    background-color: #e74c3c;
    color: white;
}

.login-button:hover {
    background-color: rgba(255,255,255,0.1);
}

.register-button:hover {
    background-color: #c0392b;
}

/* Mobile Layout */
.mobile-layout {
    display: none;
    background-color: #f5f5f5;
}

.mobile-header {
    background-color: #2E2F3B;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.mobile-header-content {
    display: flex;
    align-items: center;
}

.menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px;
}

.mobile-logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.mobile-logo img {
    width: 101px;
    height: 26px;
    object-fit: contain;
}

.mobile-join-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.mobile-navigation {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #2c2c3e;
    padding-top: 70px;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-navigation.open {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-link.active {
    background-color: #4a4a6a;
}

.nav-icon {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
}

.nav-text {
    font-size: 16px;
}

.language-selector {
    background-color: #4a4a6a;
    color: white;
    padding: 12px 20px;
    margin: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-header {
        display: none;
    }

    .mobile-layout {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-layout {
        display: none;
    }
}


/*MAIN CONTENT*/
main .page-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 20px;
    min-height: 100vh;
}

/* Left Sidebar */
.sidebar-left {
    background-color: #2c2c3e;
    border-radius: 8px;
    overflow: hidden;
}

@media(max-width: 990px) {
    .sidebar-left {
        display: none;
    }
}

.section-title {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

.section-content {
    padding: 15px;
}

.time-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
    color: white;
}

.filter-item {
    padding: 5px 8px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-item.selected {
    background-color: #e74c3c;
}

.filter-item:hover {
    background-color: rgba(255,255,255,0.2);
}

.odds-boost {
    background-color: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boost-content {
    display: flex;
    align-items: center;
}

.boost-icon {
    font-size: 18px;
    margin-right: 10px;
}

.boost-text {
    font-size: 14px;
}

.boost-badge {
    background-color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.sports-list {
    margin-top: 15px;
}

.sport-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background-color 0.3s;
}

.sport-entry:hover {
    background-color: rgba(255,255,255,0.1);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 4px;
}

.sport-data {
    display: flex;
    align-items: center;
}

.sport-icon {
    font-size: 16px;
    margin-right: 10px;
}

.sport-name {
    font-size: 14px;
}

.event-counter {
    background-color: #666;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.more-sports {
    text-align: center;
    color: #ccc;
    font-size: 12px;
    margin-top: 15px;
    cursor: pointer;
}

.support-section .section-title {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

.support-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background-color 0.3s;
}

.support-option:hover {
    background-color: rgba(255,255,255,0.1);
}

.support-icon {
    font-size: 16px;
    margin-right: 10px;
}

.support-text {
    font-size: 14px;
}

.support-contact {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.statistics-section .section-title {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

.stats-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background-color 0.3s;
}

.stats-option:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-banner {
    background: linear-gradient(135deg, #2c2c3e, #e74c3c);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    color: white;
}

.banner-details {
    flex: 1;
    z-index: 2;
}

.banner-heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.action-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #45a049;
}

.banner-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.3;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.content-wrapper {
    padding: 20px;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 15px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .content-wrapper p,
    .content-wrapper h1,
    .content-wrapper h2 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Right Sidebar */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offers-section {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.offers-header {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.offers-content {
    padding: 0;
}

.offer-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.offer-option:hover {
    background-color: #f8f9fa;
}

.option-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
}

.option-text {
    font-size: 14px;
}

.winners-section {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.winners-header {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.winners-content {
    padding: 0;
}

.winner-record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.winner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-avatar {
    width: 24px;
    height: 24px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.player-name {
    font-size: 14px;
}

.win-amount {
    font-weight: bold;
    color: #4CAF50;
    font-size: 14px;
}

.promotions-section {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.promotions-header {
    background-color: #e74c3c;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.promotions-content {
    padding: 0;
}

.promo-display {
    padding: 20px;
    background: linear-gradient(135deg, #2c2c3e, #e74c3c);
    color: white;
    text-align: center;
}

.promo-emoji {
    font-size: 60px;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 16px;
    font-weight: bold;
}

.promo-info {
    padding: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.language-selector {
    background-color: #e74c3c;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.odds-format {
    background-color: #2c2c3e;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
    main .page-layout {
        grid-template-columns: 220px 1fr 280px;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    main .page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-left, .sidebar-right {
        order: 2;
    }

    .main-content {
        order: 1;
    }
}

.main-content {
    overflow-x: hidden;
    width: 100%;
}

.content-wrapper {
    max-width: 100%;
}

@media (max-width: 768px) {
    main .page-layout {
        grid-template-columns: 1fr; /* Одна колонка на мобільному */
        padding: 10px;
    }

    .content-wrapper {
        padding: 10px; /* Зменшити внутрішні відступи */
    }
}

/*FOOTER*/
.page-footer {
    background-color: #2c2c3e;
    width: 100%;
    padding: 40px 20px 20px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.age-restriction {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: 3px solid #fff;
    position: relative;
}

.age-restriction::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
}

.license-logo {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.license-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
}

.footer-links {
    margin-bottom: 25px;
}

.footer-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #66BB6A;
    text-decoration: underline;
}

.legal-text {
    margin-bottom: 15px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.company-details {
    font-size: 13px;
    color: #aaa;
}

.license-text {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 15px;
}

.compliance-info {
    font-size: 14px;
    color: #ccc;
}

.warning-message {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 10px;
}

.age-requirement {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 20px;
}

.copyright-notice {
    color: #888;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-footer {
        padding: 30px 15px 15px;
    }

    .footer-logos {
        gap: 20px;
        margin-bottom: 25px;
    }

    .age-restriction {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .license-logo {
        width: 65px;
        height: 50px;
        font-size: 16px;
    }

    .footer-container {
        font-size: 13px;
    }

    .legal-text {
        margin-bottom: 12px;
        text-align: left;
        padding: 0 10px;
    }

    .footer-links {
        margin-bottom: 20px;
        text-align: left;
        padding: 0 10px;
    }

    .company-details,
    .license-text {
        font-size: 12px;
        text-align: left;
        padding: 0 10px;
    }

    .warning-message,
    .age-requirement {
        text-align: left;
        padding: 0 10px;
    }

    .copyright-notice {
        font-size: 11px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-footer {
        padding: 25px 10px 10px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .age-restriction {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .license-logo {
        width: 60px;
        height: 45px;
        font-size: 14px;
    }

    .footer-container {
        font-size: 12px;
    }

    .legal-text,
    .footer-links,
    .company-details,
    .license-text,
    .warning-message,
    .age-requirement {
        padding: 0 5px;
    }
}

/* Hover effects for logos */
.age-restriction:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.license-logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Subtle animations */
.footer-container > * {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-text:nth-child(3) { animation-delay: 0.1s; }
.legal-text:nth-child(4) { animation-delay: 0.2s; }
.legal-text:nth-child(5) { animation-delay: 0.3s; }
.legal-text:nth-child(6) { animation-delay: 0.4s; }
.legal-text:nth-child(7) { animation-delay: 0.5s; }
.copyright-notice { animation-delay: 0.6s; }