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: "Open Sans", 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: hidden;

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

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

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

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

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

        li {
            margin-bottom: 10px;
        }
    }

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

    dl {
        margin-bottom: 20px
    }

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

    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;
    }

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

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

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

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

    p {
        margin: 0;
        line-height: 1.4;
    }

    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);
        }

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

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

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

        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;
        }

        table {
            min-width: 500px;
        }

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



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

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

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

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

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

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

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

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

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


    @media(max-width: 1200px) {
        font-size: 14px
    }
}

.nav-menu li a:hover {
    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);
}

.auth-buttons {
    display: flex;
    gap: 10px;

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

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

    @media(max-width: 1200px) {
        padding: 7px 14px;
        font-size: 12px;
    }
}

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

    @media(max-width: 1200px) {
        padding: 7px 14px;
        font-size: 12px;
    }
}

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

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

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

/* Mobile Layout */
.mobile-container {
    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-left {
    display: flex;
    align-items: center;
}

.hamburger-btn {
    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;

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

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

.mobile-nav {
    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-nav.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;
}

.mobile-nav-item {
    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;
}

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

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

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

.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) {
    .desktop-header {
        display: none;
    }

    .mobile-container {
        display: block;
    }
}

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


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

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

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

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

    .sidebar-content {
        padding: 15px;
    }

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

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

    .time-filter.active {
        background-color: #e74c3c;
    }

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

    .odds-boosted {
        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;
    }

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

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

    .sport-item {
        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-item:hover {
        background-color: rgba(255,255,255,0.1);
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 4px;
    }

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

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

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

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

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

    .support-item {
        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-item:hover {
        background-color: rgba(255,255,255,0.1);
    }

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

    .contact-support {
        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 {
        background-color: #e74c3c;
        color: white;
        padding: 15px;
        font-weight: bold;
        text-align: center;
        font-size: 16px;
        margin-top: 20px;
    }

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

    .casino-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-content {
        flex: 1;
        z-index: 2;
    }

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

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

    .deposit-btn {
        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;
    }

    .deposit-btn:hover {
        background-color: #45a049;
    }

    .banner-characters {
        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; }
    }

    .lorem-text {
        padding: 20px;
        line-height: 1.6;
        color: #666;
    }

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

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

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

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

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

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

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

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

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

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

    .winner-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;
    }

    .winner-amount {
        font-weight: bold;
        color: #4CAF50;
    }

    .promotions {
        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;
    }

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

    .promo-text {
        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) {
        .container {
            grid-template-columns: 220px 1fr 280px;
            gap: 15px;
        }
    }

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

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

        .main-content {
            order: 1;
        }
    }

    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }

        .banner-title {
            font-size: 20px;
        }

        .banner-subtitle {
            font-size: 14px;
        }
    }
}

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

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

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

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

.logo-18plus {
    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;
}

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

.logo-rya {
    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;
}

.logo-rya::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-links a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

.copyright {
    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) {
    .footer {
        padding: 30px 15px 15px;
    }

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

    .logo-18plus {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

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

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

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

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

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

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

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

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

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

    .logo-18plus {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

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

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

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

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

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

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

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

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