:root {
    --primary-color: #104F55;
    --secondary-color: #32746D;
    --accent-color: #9EC5AB;
    --dark-primary: #01200F;
    --dark-secondary: #011502;
    --text-light: #ffffff;
    --text-dark: #2a2a2a;
    --text-muted: #646464;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.row {
    display: table;
    width: 100%;
}

.col-lg-3, .col-lg-12, .col-md-6, .col-sm-6, .col-sm-12 {
    float: left;
    padding: 0 15px;
}

.col-lg-3 {
    width: 25%;
}

.col-lg-12 {
    width: 100%;
}

.col-md-6 {
    width: 50%;
}

.col-sm-6 {
    width: 50%;
}

.col-sm-12 {
    width: 100%;
}

.col {
    float: left;
    width: 50%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.topheader {
    padding: 20px 0;
    position: relative;
    z-index: 999;
}

.headerinner {
    text-align: center;
}

.logobox img {
    max-width: 180px;
    height: auto;
}

.site-blocks-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.site-blocks-cover.overlay {
    position: relative;
}

.site-blocks-cover.overlay:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background: rgba(1, 32, 15, 0.7);
    z-index: 1;
}

.site-blocks-cover .container {
    position: relative;
    z-index: 2;
}

.site-blocks-cover, .site-blocks-cover > .container > .row {
    display: table;
    width: 100%;

}

.site-blocks-cover .row {
    display: table-cell;
    vertical-align: middle;
}

.site-blocks-cover h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-uppercase {
    text-transform: uppercase;
}

.mb-5 {
    margin-bottom: 3rem;
}

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

.mt-lg-5 {
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.mr-2 {
    margin-right: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mouse {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    display: block;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: var(--text-light);
    display: block;
    margin: 6px auto;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

.derbysec {
    text-align:center;
    padding: 30px 0;
    background: rgba(0,0,0,.6);
    position: relative;
    z-index: 4;
}

.derbysec p{
    color: #fff;
}

.derbysec .container {
    max-width: 900px;
}

.analysebox {
    padding: 80px 0;
    background: var(--text-light);
}

.gridbox {
    display: table;
    width: 100%;
    margin-top: 40px;
}

.itembox {
    float: left;
    width: 33.333%;
    padding: 0 20px;
    margin-bottom: 30px;
}

.itembox h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pronozone {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--primary-color) 100%);
    color: var(--text-light);
}

.pronozone h2 {
    color: var(--text-light);
}

.pronozone p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lastnews {
    padding: 80px 0;
    background: #f9f9f9;
}

.infocontact {
    padding: 80px 0;
    background: var(--accent-color);
}

.boxinfo {
    background: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.boxinfo p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-area {
    background: var(--dark-primary);
    padding-top: 80px;
    color: var(--text-light);
}

.single-footer-widget {
    color: var(--text-light);
    margin-bottom: 45px;
}

.single-footer-widget h6 {
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
}

.single-footer-widget p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
}

.single-footer-widget ul {
    list-style: none;
}

.single-footer-widget ul li {
    margin-bottom: 10px;
}

.single-footer-widget ul li a {
    color: #999;
    transition: all 0.3s ease 0s;
}

.single-footer-widget ul li a:hover {
    color: var(--accent-color);
}

.single-footer-widget input {
    line-height: 38px;
    border: none;
    background: var(--text-light);
    border: 1px solid var(--text-light);
    font-weight: 300;
    color: #999;
    padding-left: 20px;
    width: 80%;
    font-size: 14px;
}

.single-footer-widget .bb-btn {
    background-color: var(--accent-color);
    color: var(--dark-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
}

.input-group {
    display: table;
    width: 100%;
}

.d-flex {
    display: table;
}

.flex-row {
    display: table-row;
}

.instafeed {
    margin: -5px;
    display: table;
    width: 100%;
}

.instafeed li {
    overflow: hidden;
    float: left;
    width: 25%;
    margin-bottom: 0 !important;
    list-style: none;
}

.instafeed li img {
    margin: 5px;
    width: calc(100% - 10px);
    height: auto;
}

.flex-wrap {
    display: table;
}

.mb-20 {
    margin-bottom: 20px;
}

.footer-bottom {
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
}

.footer-text a,
.footer-text i {
    color: var(--accent-color);
}

.regulators-section {
    background: #f4f4f4;
    padding: 40px 0;
    text-align: center;
}

.regulators-section h6 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.regulator-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.regulator-logos a {
    display: inline-block;
    margin: 0 20px;
}

.regulator-logos img {
    max-width: 160px;
    width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.regulator-logos img:hover {
    opacity: 1;
}

.gambling-warning {
    background: #fff3cd;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
    padding: 30px 0;
}

.gambling-warning p {
    color: #856404;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gambling-warning strong {
    font-weight: 700;
    color: #721c24;
}

.gambling-warning a {
    color: #004085;
    text-decoration: underline;
}

.gambling-warning a:hover {
    color: #002752 !important;
}

.align-items-center {
    display: table;
    width: 100%;
}

.m-0 {
    margin: 0;
}

@media (max-width: 991px) {
    .col-lg-3, .col-lg-12, .col-md-6 {
        width: 100%;
        float: none;
    }

    .itembox {
        width: 100%;
        float: none;
    }

    .site-blocks-cover h1 {
        font-size: 2rem;
    }

    .col-sm-6 {
        width: 100%;
    }

    .instafeed li {
        width: 50%;
    }

    .regulator-logos a {
        margin: 0 10px 15px;
    }
}

@media (max-width: 767px) {
    .site-blocks-cover h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .derbysec,
    .analysebox,
    .pronozone,
    .lastnews,
    .infocontact {
        padding: 50px 0;
    }

    .footer-area {
        padding-top: 50px;
    }

    .logobox img {
        max-width: 140px;
    }

    .regulator-logos img {
        max-width: 90px;
    }

    .gambling-warning p {
        font-size: 13px;
    }
}

.policy-wrapper {
    padding: 80px 0;
    background: #fff;
    min-height: 60vh;
}

.policy-wrapper .container {
    max-width: 900px;
}

.policy-wrapper h1 {
    font-size: 42px;
    color: #104F55;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.policy-wrapper p {
    font-size: 17px;
    line-height: 1.9;
    color: #2a2a2a;
    margin-bottom: 25px;
    text-align: left;
}

.policy-wrapper p:first-of-type {
    color: #646464;
    font-size: 15px;
    text-align: center;
    font-style: italic;
    margin-bottom: 40px;
}

.about-content {
    margin-top: 50px;
}

.about-image {
    margin-bottom: 40px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text p {
    text-align: left;
    font-size: 16px;
}

.about-text p:first-of-type {
    font-size: 16px;
    color: #2a2a2a;
    text-align: left;
    font-style: normal;
}

@media (max-width: 767px) {
    .policy-wrapper {
        padding: 50px 0;
    }

    .policy-wrapper h1 {
        font-size: 32px;
    }

    .policy-wrapper p {
        font-size: 16px;
    }

    .about-text p {
        font-size: 15px;
    }
}

.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 32, 15, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup-overlay.hidden {
    display: none;
}

.age-popup-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-popup-box h2 {
    font-size: 32px;
    color: #104F55;
    margin-bottom: 20px;
    font-weight: 700;
}

.age-popup-box p {
    font-size: 17px;
    color: #2a2a2a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.age-confirm-btn {
    background: #104F55;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.age-confirm-btn:hover {
    background: #32746D;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .age-popup-box {
        padding: 40px 25px;
    }

    .age-popup-box h2 {
        font-size: 26px;
    }

    .age-popup-box p {
        font-size: 15px;
    }

    .age-confirm-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

.site-section {
    padding: 5em 0;
}

.text-primary {
    color: #104F55 !important;
}

.d-block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.ul-check {
    margin-bottom: 50px;
}

.ul-check li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.5;
    list-style: none;
}

.ul-check li:before {
    left: 0;
    font-size: 20px;
    top: -.3rem;
    content: "\2713";
    position: absolute;
    color: #104F55;
}

.btn {
    text-transform: uppercase;
    letter-spacing: .2em;
    border-radius: 0;
}

.btn.btn-primary {
    background-color: #104F55;
    border: 2px solid transparent;
}

.btn.btn-primary:hover {
    border: 2px solid #000;
    background: none !important;
    color: #000 !important;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.text-white {
    color: #fff;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.row {
    display: table;
    width: 100%;
}

.align-items-center {
    display: table;
    width: 100%;
}

.col-md-6 {
    float: left;
    width: 50%;
    padding: 0 15px;
}

@media (max-width: 767px) {
    .col-md-6 {
        width: 100%;
        float: none;
    }

    .mb-md-0 {
        margin-bottom: 3rem !important;
    }
}

.partenaires {
    padding: 80px 0;
    background: #f4f4f4;
}

.partenaires h2 {
    text-align: center;
    margin-bottom: 50px;
}

.cardsrow {
    display: table;
    width: 100%;
    margin-bottom: 30px;
}

.partnercard {
    float: left;
    width: 48%;
    margin-right: 4%;
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.partnercard:nth-child(2) {
    margin-right: 0;
}

.partnercard:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.cardtop {
    display: table;
    width: 100%;
    margin-bottom: 20px;
}

.ratingbox {
    float: left;
    margin-right: 20px;
}

.stars {
    color: #ffa500;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.score {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.brandlogo {
    float: right;
    max-width: 120px;
    height: auto;
}

.partnercard h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    clear: both;
    padding-top: 15px;
}

.carddesc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bonusblock {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.bonustxt {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.bonustxt strong {
    font-size: 18px;
}

.claimlink {
    display: block;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.claimlink:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.fullwidthcard {
    display: table;
    width: 100%;
    background: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.leftpart {
    float: left;
    width: 25%;
    padding-right: 30px;
    text-align: center;
}

.leftpart .brandlogo {
    max-width: 150px;
    display: block;
    margin: 0 auto 20px;
    float: none;
}

.leftpart .ratingbox {
    float: none;
    text-align: center;
    margin: 0;
}

.rightpart {
    float: left;
    width: 75%;
}

.rightpart h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rightpart .carddesc {
    font-size: 16px;
    margin-bottom: 20px;
}

.rightpart .bonusblock {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 0;
    vertical-align: middle;
}

.rightpart .claimlink {
    display: inline-block;
    vertical-align: middle;
    padding: 15px 40px;
}

@media (max-width: 991px) {
    .cardtop{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .brandlogo{
        margin-bottom: 20px;
    }
    .ratingbox{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        order: 2;

        margin: 0;
    }
    .partnercard {
        width: 100%;
        margin-right: 0;
    }

    .leftpart,
    .rightpart {
        width: 100%;
        float: none;
    }

    .leftpart {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .rightpart .bonusblock {
        display: block;
        margin-bottom: 20px;
    }

    .rightpart .claimlink {
        display: block;
    }
}

@media (max-width: 767px) {
    .brandlogo {
        max-width: 100px !important;
    }

    .bonustxt {
        font-size: 14px;
    }

    .bonustxt strong {
        font-size: 15px;
    }
}

.site-section {
    padding: 5em 0;
}
.text-primary {
    color: #104F55 !important;
}
.d-block {
    display: block;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-4 {
    margin-bottom: 1.5rem;
}
.mb-5 {
    margin-bottom: 3rem;
}
.ul-check {
    margin-bottom: 50px;
}
.ul-check li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.5;
    list-style: none;
}
.ul-check li:before {
    left: 0;
    font-size: 20px;
    top: -.3rem;
    content: "\2713";
    position: absolute;
    color: #104F55;
}
.btn {
    text-transform: uppercase;
    letter-spacing: .2em;
    border-radius: 0;
}
.btn.btn-primary {
    background-color: #104F55;
    border: 2px solid transparent;
}
.btn.btn-primary:hover {
    border: 2px solid #000;
    background: none !important;
    color: #000 !important;
}
.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}
.text-white {
    color: #fff;
}
.img-fluid { max-width: 100%; height: auto; }
.row {
    display: table;
    width: 100%;
}
.align-items-center {
    display: table;
    width: 100%;
}
.col-md-6 {
    float: left;
    width: 50%;
    padding: 0 15px;
}
@media (max-width: 767px) {
    .col-md-6 {
        width: 100%;
        float: none;
    }
    .mb-md-0 {
        margin-bottom: 3rem !important;
    }
}

.p_120 { padding-top: 120px; padding-bottom: 120px; }
.main_title { text-align: left; margin-bottom: 75px; }
.main_title.text-center { text-align: center; }
.main_title h2 { font-family: 'Work Sans', sans-serif; font-size: 36px; color: #104F55; font-weight: 700; margin-bottom: 15px; }
.main_title p {
    font-size: 16px;
    font-family: 'Work Sans', sans-serif;
    line-height: 26px;
    color: #646464;
    margin-bottom: 15px;
    max-width: 690px;
    font-weight: normal;
    margin-left: auto;
    margin-right: auto;
}
.main_title p:last-child {
    margin-bottom: 0px;
}

.history-cards {
    display: table;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 50px;
}

.derby-card {
    float: left;
    width: 31.333%;
    margin-right: 3%;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.derby-card:nth-child(3) {
    margin-right: 0;
}

.yearbox {
    background: #104F55;
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.derby-card h3 {
    font-size: 22px;
    color: #2a2a2a;
    margin-bottom: 15px;
    font-weight: 600;
}

.derby-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #646464;
    margin-bottom: 0;
}

.records-list {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.records-list h3 {
    font-size: 28px;
    color: #104F55;
    margin-bottom: 25px;
    font-weight: 700;
}

.records-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.records-list ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
}

.records-list ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #9EC5AB;
    font-weight: 700;
    font-size: 18px;
}

.records-list ul li strong {
    color: #104F55;
}

.archive-note {
    background: linear-gradient(135deg, #32746D 0%, #104F55 100%);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.archive-note p {
    color: #fff;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .derby-card {
        width: 100%;
        margin-right: 0;
        float: none;
    }
}

@media (max-width: 767px) {
    .records-list {
        padding: 25px;
    }

    .archive-note {
        padding: 25px;
    }

    .archive-note p {
        font-size: 15px;
    }
}