.fp-background {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%) !important;
}

.front-page.fp-background.first-screen:after {
    display: none;
}

.footer-wrapper .layout-footer {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    padding: 40px 0;
    color: #ffffff;
}

.footer-wrapper .layout-footer::after {
    display: none;
}

.loop-casinos {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 24px 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 100;
}

.loop-casinos table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.loop-casinos table th {
    padding: 20px 16px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

.loop-casinos table th:first-child {
    border-top-left-radius: 16px;
}

.loop-casinos table th:last-child {
    border-top-right-radius: 16px;
}

.loop-casinos table tr:not(:first-child) {
    transition: all 0.3s ease;
}

.loop-casinos table tr:not(:first-child):hover {
    background: rgba(33, 186, 69, 0.02);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.loop-casinos table tr:nth-child(even):not(:first-child) {
    background: rgba(248, 249, 250, 0.6);
}

.loop-casinos table tr:nth-child(even):not(:first-child):hover {
    background: rgba(33, 186, 69, 0.02);
}

.loop-casinos table td {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
    transition: all 0.3s ease;
}

.loop-casinos table tr:last-child td {
    border-bottom: none;
}

.loop-casinos table tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.loop-casinos table tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

.loop-casinos table tr td:not(:nth-child(7)) {
    text-align: center;
}

.loop-casinos table tr td:nth-child(1) span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(33, 186, 69, 0.3);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.loop-casinos table tr:hover td:nth-child(1) span {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 186, 69, 0.4);
}

.loop-casinos img {
    width: 100%;
    max-width: 150px;
    height: auto;
    vertical-align: middle;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.loop-casinos table tr:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.loop-casinos .ui.button {
    background: #ffffff;
    border: 2px solid #21ba45;
    color: #21ba45;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(33, 186, 69, 0.1);
}

.loop-casinos .ui.button:hover {
    background: #21ba45;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 186, 69, 0.3);
}

.loop-casinos .button.tocasino {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 140px;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(33, 186, 69, 0.3);
    transition: all 0.3s ease;
}

.loop-casinos .button.tocasino:hover {
    background: linear-gradient(135deg, #16a085 0%, #21ba45 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(33, 186, 69, 0.4);
}

.loop-casinos .button.tocasino:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 186, 69, 0.3);
}

.loop-casinos table tr td:nth-child(7) {
    max-width: 200px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.loop-casinos table td {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.loop-casinos table tr td:nth-child(1) {
    padding-right: 0;
}

.loop-casinos table tr td:nth-child(3) {
    font-weight: 600;
    color: #21ba45;
}

.loop-casinos table tr td:nth-child(6) {
    font-weight: 600;
    color: #2c3e50;
}

.loop-casinos table tr td:nth-child(9) {
    font-weight: 700;
    color: #21ba45;
    font-size: 16px;
}

@media (max-width: 1199px) {
    .loop-casinos table th:nth-of-type(7),
    .loop-casinos table td:nth-of-type(8) {
        display: none;
    }
}

@media (max-width: 991px) {
    .loop-casinos table th:nth-of-type(6),
    .loop-casinos table td:nth-of-type(7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .loop-casinos {
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .loop-casinos table th,
    .loop-casinos table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .loop-casinos table th:first-child,
    .loop-casinos table th:last-child {
        border-radius: 12px 12px 0 0;
    }
    
    .loop-casinos table tr:last-child td:first-child,
    .loop-casinos table tr:last-child td:last-child {
        border-radius: 0 0 12px 12px;
    }
    
    .loop-casinos table tr td:nth-child(5),
    .loop-casinos table tr td:nth-child(6),
    .loop-casinos table tr td:nth-child(7),
    .loop-casinos table tr td:nth-child(8),
    .loop-casinos table tr td:nth-child(9),
    .loop-casinos table tr th:nth-child(4),
    .loop-casinos table tr th:nth-child(5),
    .loop-casinos table tr th:nth-child(6),
    .loop-casinos table tr th:nth-child(7),
    .loop-casinos table tr th:nth-child(8) {
        display: none;
    }
    
    .loop-casinos img {
        max-width: 60px;
    }
    
    .loop-casinos .button.tocasino {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .loop-casinos table tr td:nth-child(1) span {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .loop-casinos table th:first-child, .loop-casinos table th:last-child {
        border-radius: 12px 0 0  !important;
    }
}

@media (max-width: 480px) {
    .loop-casinos table th,
    .loop-casinos table td {
        padding: 8px 4px;
    }
    
    .loop-casinos .button.tocasino {
        padding: 8px 12px;
        font-size: 11px;
        min-width: 80px;
    }

    .loop-casinos table tr td:nth-child(1) {
        padding-right: 4px;
    }

    .loop-casinos img {
        border-radius: 4px;
    }
}

.loop-casinos.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loop-casinos.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.loop-casinos .ui.button:focus,
.loop-casinos .button.tocasino:focus {
    outline: 2px solid #21ba45;
    outline-offset: 2px;
}

/* Nav */
.header-wrapper-ui .ui.container .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-wrapper-ui.header-fix {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
}

.header-wrapper-ui {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
}

#header .menu-item-has-children:not(.three-btn) {
    background-position: 100% 51% !important;
    padding:  11px 16px;
}

#header .menu-item-has-children:not(.three-btn):hover > a {
    color: #cfffb9;
}

#header .menu-item .sub-menu {
    padding-top: 8px;
    padding-bottom: 8px;
}

#header .menu-item .sub-menu li {
    padding: 10px 20px;
    font-size: 14px;
}

@keyframes casino-pattern-float {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(-5px); }
}

.casino-heading {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    padding: 60px 0 40px 0 !important;
    position: relative;
    overflow: hidden;
}

.casino-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><defs><pattern id="casino-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="2" fill="rgba(255,255,255,0.15)"/><circle cx="6" cy="6" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="19" cy="19" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23casino-pattern)"/></svg>') !important;
    opacity: 0.6;
    animation: casino-pattern-float 20s ease-in-out infinite;
}

.casino-heading::after {
    display: none !important;
}

.casino-heading .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.casino-heading .container > div {
    display: block;
    float: left;
    padding: 0 15px;
    text-align: left;
}

.casino-heading .first {
    width: 25%;
}

.casino-heading .second {
    width: 45%;
}

.casino-heading .third {
    width: 30%;
}

.casino-heading .first img {
    vertical-align: middle;
    width: 100%;
    max-width: 180px;
    height: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(33, 186, 69, 0.2);
}

.casino-heading .first img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(33, 186, 69, 0.25);
    border-color: rgba(33, 186, 69, 0.4);
}

.casino-heading h1 {
    text-align: left;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: none;
}

.casino-heading .second span {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    color: #666;
}

.casino-heading .second span a {
    color: #21ba45;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.casino-heading .second span a:hover {
    color: #16a085;
}

.casino-heading ul {
    margin: 20px 0;
    padding-left: 0;
}

.casino-heading ul li {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%2321ba45"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 16px 16px;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.casino-heading .third {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.casino-heading .bonus {
    font-size: 24px;
    font-weight: 700;
    color: #21ba45;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.casino-heading .bonus span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    color: #666;
    text-shadow: none;
}

.casino-heading .third .btn {
    margin: 25px auto 0;
    width: 100%;
    max-width: 220px;
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(33, 186, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-heading .third .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.casino-heading .third .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 186, 69, 0.4);
    background: linear-gradient(135deg, #16a085 0%, #21ba45 100%);
}

.casino-heading .third .btn:hover::before {
    left: 100%;
}

.casino-heading .third .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(33, 186, 69, 0.3);
}

@media (max-width: 767px) {
    .casino-heading {
        padding: 60px 0 30px 0 !important;
    }
    
    .casino-heading .container {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .casino-heading .first {
        display: none !important;
    }
    
    .casino-heading .second {
        width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .casino-heading .third {
        width: 100%;
    }
    
    .casino-heading h1 {
        text-align: center;
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .casino-heading .second span {
        text-align: center;
        margin-top: 8px;
    }
    
    .casino-heading ul {
        display: inline-block;
        text-align: left !important;
        margin: 15px auto;
    }
    
    .casino-heading .bonus {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .casino-heading .third .btn {
        max-width: 200px;
        padding: 14px 20px;
        font-size: 14px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .casino-heading .container {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .casino-heading h1 {
        font-size: 20px;
    }
    
    .casino-heading .bonus {
        font-size: 18px;
    }
    
    .casino-heading ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .casino-heading .third .btn {
        padding: 12px 18px;
        font-size: 13px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .casino-heading {
        padding: 60px 0 25px 0 !important;
    }
    
    .casino-heading .container {
        border-radius: 12px;
        padding: 15px 12px;
    }
    
    .casino-heading h1 {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .casino-heading .bonus {
        font-size: 16px;
    }
    
    .casino-heading .bonus span {
        font-size: 12px;
    }
}

/* Casino Details Redesign */
.casino-details {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 24px 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.casino-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.casino-details table tr:nth-child(2n-2) {
    background: rgba(248, 249, 250, 0.6);
}

.casino-details table tr:hover {
    background: rgba(33, 186, 69, 0.02) !important;
}

.casino-details table th,
.casino-details table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
    transition: all 0.3s ease;
}

.casino-details table tr:last-child th,
.casino-details table tr:last-child td {
    border-bottom: none;
}

.casino-details table th {
    text-align: left;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 30%;
    position: relative;
}

.casino-details table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: linear-gradient(180deg, #21ba45 0%, #16a085 100%);
    border-radius: 1px;
}

.casino-details table td {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.casino-details .button-section {
    text-align: center;
    vertical-align: top;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid rgba(33, 186, 69, 0.1);
}

.casino-details .ui.button {
    background: linear-gradient(135deg, #21ba45 0%, #16a085 100%);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 6px 20px rgba(33, 186, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.casino-details .ui.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.casino-details .ui.button:hover {
    background: linear-gradient(135deg, #16a085 0%, #21ba45 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 186, 69, 0.4);
}

.casino-details .ui.button:hover::before {
    left: 100%;
}

.casino-details .ui.button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(33, 186, 69, 0.3);
}

.casino-details .ui.button:focus {
    outline: 2px solid #21ba45;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .casino-details {
        margin: 16px 0;
        border-radius: 12px;
    }
    
    .casino-details table th,
    .casino-details table td {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .casino-details table th {
        font-size: 11px;
        width: 35%;
    }
    
    .casino-details .button-section {
        padding: 20px 16px;
    }
    
    .casino-details .ui.button {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 180px;
    }
}

@media (max-width: 576px) {
    .casino-details table th,
    .casino-details table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .casino-details table th {
        font-size: 11px;
        width: 40%;
    }
    
    .casino-details .button-section {
        padding: 16px 12px;
    }
    
    .casino-details .ui.button {
        padding: 12px 20px;
        font-size: 13px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .casino-details {
        border-radius: 8px;
        margin: 12px 0;
    }
    
    .casino-details table th,
    .casino-details table td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .casino-details table th {
        font-size: 11px;
        width: 40%;
    }
    
    .casino-details .ui.button {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 140px;
    }
}

.content-page-body {
    margin: 0 auto;
    max-width: 960px;
}

.loop-casinos table th:nth-child(8),
.loop-casinos table td:nth-child(8) {
    display: none !important;
}

table:not(#rating) {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    font-size: 14px;
}

table:not(#rating) th,
table:not(#rating) td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: left;
    vertical-align: middle;
    transition: background 0.2s;
}

table:not(#rating) th {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c3e50;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table:not(#rating) tr:nth-child(even) {
    background: rgba(248,249,250,0.6);
}

table:not(#rating) tr:hover {
    background: rgba(33,186,69,0.03);
}

table:not(#rating) tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767px) {
    table:not(#rating) th,
    table:not(#rating) td {
        padding: 10px 8px;
        font-size: 12px;
    }
    table:not(#rating) {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    table:not(#rating) th,
    table:not(#rating) td {
        padding: 7px 4px;
        font-size: 11px;
    }
}
