/*
Theme Name:   Astra Child - Kuwait Casinos
Theme URI:    https://kuwait-casinos.com/
Description:  Custom Astra Child Theme for Kuwait Casinos with Bootstrap
Author:       Your Name
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* ============================================
   CUSTOM FOOTER STYLES (Bootstrap Enhanced)
   ============================================ */
body{
    color: #fff !important;
}
.custom-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    direction: rtl;
}

/* Footer Links */
.footer-links li a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #FFD700;
    padding-right: 5px;
}

/* Footer Logos */
.logo-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.logo-item img {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1);
}

/* Footer Copyright */
.text-secondary {
    color: #cccccc !important;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .custom-footer {
        text-align: center;
    }
    
    .footer-links li a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-links li {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 576px) {
    .logo-item {
        padding: 10px;
    }
    
    .logo-item img {
        height: 50px !important;
        width: auto !important;
    }
}

/* ============================================
   ADDITIONAL CUSTOM STYLES
   ============================================ */

/* Custom Button Styles */
.btn-custom {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* RTL Enhancements */
[dir="rtl"] .footer-links li a:hover {
    padding-right: 5px;
    padding-left: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #FFD700;
    color: #1a1a1a;
}

::-moz-selection {
    background: #FFD700;
    color: #1a1a1a;
}
.ast-separate-container {
    background-color: #029e52 !important;
}
ol, ul {
    margin: 0px !important;
}
/* ============================================
   CASINO LEADERBOARD - MODERN DARK DESIGN
   ============================================ */

/* Main Container */
.casino-leaderboard {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Casino Card */
.casino-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.2), 
                0 0 30px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Casino Content Grid */
.casino-content {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 30px;
    align-items: center;
}

/* Rank Badge */
.casino-rank {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.casino-card:hover .casino-rank {
    transform: rotate(360deg) scale(1.1);
}

/* Gold, Silver, Bronze Ranks */
.casino-rank[data-rank="1"] {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.casino-rank[data-rank="2"] {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #1a1a1a;
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.5);
}

.casino-rank[data-rank="3"] {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(205, 127, 50, 0.5);
}

/* Regular ranks (4+) */
.casino-rank:not([data-rank="1"]):not([data-rank="2"]):not([data-rank="3"]) {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

/* Casino Logo */
.casino-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    width: 220px;
    height: 90px;
    background: rgb(92 31 31 / 95%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-indent: -9999px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.casino-card:hover .logo-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Casino Bonus Text */
.casino-bonus {
    max-width: 350px;
    text-align: center;
    padding: 0 20px;
}
.casino-bonus p {
    font-size: 26px;
    color: #ffb200;
    margin: 0;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.casino-bonus p strong {
    color: #FFD700;
    font-size: 22px;
}
/* CTA Buttons */
.casino-cta {
    margin: 15px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

/* Play Now Button */
.btn-play-now {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 17px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    width: 170px;
    overflow: hidden;
}

.btn-play-now::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-play-now:hover::before {
    width: 300px;
    height: 300px;
}

.btn-play-now:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    color: #1a1a1a;
}

.btn-play-now:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

/* Review Button */
.btn-review {
    background: transparent;
    color: #ffffff;
    padding: 14px 30px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-review:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

/* ============================================
   EXPANDABLE INFO SECTION - VIEW MORE TOGGLE
   ============================================ */

/* Casino Toggle Button */
.casino-toggle {
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

/* View More Button - Dark Theme */
.btn-view-more {
    background: transparent;
    color: #FFD700;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    width: fit-content;
}

.btn-view-more:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.btn-view-more.active {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.6);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 16px;
}

.btn-view-more.active .toggle-icon {
    transform: rotate(180deg);
}

/* Expandable Info Section */
.casino-expandable {
    margin-top: 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.casino-expandable.active,
.casino-expandable.expanded {
    max-height: 1500px;
    opacity: 1;
}

/* Expanded Info Container */
.casino-info-expanded {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.casino-info-expanded.expanded {
    max-height: 1500px;
    opacity: 1;
}

/* Info Grid - 4 Columns */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 0;
}

.info-column {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-column:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.info-column h4,
.info-title {
    color: #FFD700;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.info-column p {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    font-size: 13px;
    color: #cccccc;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

/* Badges */
.rating-badge,
.trust-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.trust-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.feature-yes {
    color: #4ade80;
    font-weight: 600;
}

.feature-no {
    color: #ff6b6b;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.payment-badge {
    width: 70px;
    height: 40px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    text-indent: -9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-badge:hover {
    transform: scale(1.1);
}

.payment-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Payment Logo Classes */
.pay-logo-mastercard {
    background-image: url('/wp-content/themes/astra-child/images/mastercard.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-visa {
    background-image: url('/wp-content/themes/astra-child/images/visa.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-bitcoin {
    background-image: url('/wp-content/themes/astra-child/images/bitcoin.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-skrill {
    background-image: url('/wp-content/themes/astra-child/images/skrill.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-neteller {
    background-image: url('/wp-content/themes/astra-child/images/neteller.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-ethereum {
    background-image: url('/wp-content/themes/astra-child/images/ethereum.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.pay-logo-paypal {
    background-image: url('/wp-content/themes/astra-child/images/paypal-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
}

/* License Badges */
.license-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.license-badge {
    background: rgba(40, 167, 69, 0.2);
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(74, 222, 128, 0.3);
    letter-spacing: 0.5px;
}

/* Casino Description */
.casino-description {
    font-size: 13px;
    line-height: 1.6;
    color: #cccccc;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .casino-content {
        gap: 20px;
    }
    
    .casino-cta {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .casino-rank {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .logo-wrapper {
        width: 180px;
        height: 75px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .casino-leaderboard {
        padding: 20px 15px;
        margin: 20px auto;
    }
    
    .casino-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .casino-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .casino-rank {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 0 auto;
    }
    
    .casino-logo {
        order: 1;
    }
    
    .logo-wrapper {
        width: 160px;
        height: 70px;
        margin: 0 auto;
    }
    
    .casino-bonus {
        order: 2;
        padding: 0;
    }
    .casino-cta {
        order: 3;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        min-width: 100%;
    }
    
    .btn-play-now,
    .btn-review {
        width: 100%;
        padding: 14px 25px;
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 15px;
    }
    
    .payment-badge {
        width: 65px;
        height: 38px;
    }
}

@media (max-width: 640px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-view-more {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .casino-rank {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .logo-wrapper {
        width: 140px;
        height: 60px;
    }

    .btn-play-now {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .btn-review {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .payment-badge {
        width: 60px;
        height: 35px;
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */

[dir="rtl"] .info-grid {
    direction: rtl;
}

[dir="rtl"] .info-item {
    flex-direction: row-reverse;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.casino-card.loading {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .casino-leaderboard {
        background: white;
        box-shadow: none;
    }
    
    .casino-card {
        background: white;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .btn-play-now,
    .btn-review,
    .btn-view-more {
        display: none;
    }
}

/* Logo Background Classes - Add your casino logos here */
[class*="bgbrand-"] {
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}
.bgbrand-kingmaker {
    background-image: url('/wp-content/themes/astra-child/images/kingmaker.svg');
}

.bgbrand-yyy-casino {
    background-image: url('/wp-content/themes/astra-child/images/yyy-casino.svg');
    background-size: 75%;
}

.bgbrand-axe-casino {
    background-image: url('/wp-content/themes/astra-child/images/axe-casino-logo.png');
}

.bgbrand-betfinal {
    background-image: url('/wp-content/themes/astra-child/images/betfinal.svg');
}

.bgbrand-emirbet {
    background-image: url('/wp-content/themes/astra-child/images/emirbet.svg');
}

.bgbrand-888-casino {
    background-image: url('/wp-content/themes/astra-child/images/888casino.svg');
    background-size: 55%;
}

.bgbrand-cosmoswin {
    background-image: url('/wp-content/themes/astra-child/images/cosmoswin.svg');
}

.bgbrand-rooster {
    background-image: url('/wp-content/themes/astra-child/images/rooster-logo.png');
}

.bgbrand-betandyou {
    background-image: url('/wp-content/themes/astra-child/images/betandyou.svg');
}

.bgbrand-golden-lion {
    background-image: url('/wp-content/themes/astra-child/images/golden-lion.png');
}

.bgbrand-spinjo {
    background-image: url('/wp-content/themes/astra-child/images/spinjo.svg');
}