/* OKBet Gaming Platform - Custom Styles */

/* Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #F9FAFB;
}

/* Banner Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* Slider Navigation Dots */
.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 5px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Game Cards */
.game-card-wrapper {
    transition: all 0.2s ease;
    width: 262px;
    max-width: 100%;
}

.game-card-wrapper:hover {
    transform: translateY(-2px);
}

.game-card-wrapper img {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}

.game-card-wrapper:hover img {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Back to Top Button */
#back-to-top {
    transition: all 0.3s ease;
}

#back-to-top.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Footer Styles */
.footer-container {
    background-color: #191e2d;
    color: #f0f2f3;
    margin-top: 4rem;
}

/* Desktop Footer */
.footer-desktop {
    display: block;
}

.footer-desktop-inner {
    max-width: 70%;
    margin: 0 auto;
    padding: 50px 0 10px;
}

.footer-columns {
    display: flex;
    gap: 0;
}

.footer-col {
    padding: 20px;
    border-right: 0.5px solid rgba(240, 242, 243, 0.3);
    height: 376px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col:last-child {
    border-right: none;
}

.footer-col-responsible {
    width: 20%;
}

.footer-col-about {
    width: 15%;
}

.footer-col-payment {
    width: 30%;
}

.footer-col-privacy {
    width: 16%;
}

.footer-col-awards {
    width: 19%;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.footer-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin: 10px 0 5px 0;
}

.footer-certifications {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.footer-pagcor {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-pagcor-text {
    font-size: 11px;
    line-height: 1.4;
    color: #f0f2f3;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-block;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #f0f2f3;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-award-content {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-award-event {
    font-size: 12px;
    line-height: 1.3;
}

.footer-award-title {
    font-size: 12px;
    margin-top: 5px;
}

.footer-legal {
    width: 100%;
}

.footer-disclaimer {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 0.5px solid rgba(240, 242, 243, 0.3);
}

.footer-copyright {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
}

/* Mobile Footer */
.footer-mobile {
    display: none;
}

.footer-mobile-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #f5f5f7;
    color: #191e2d;
}

.footer-mobile-section {
    padding: 15px 0;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
}

.footer-mobile-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
    text-align: center;
}

.footer-mobile-award {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.footer-mobile-award-event {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.footer-mobile-award-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 5px;
    text-align: left;
}

.footer-mobile-payment {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.footer-mobile-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-mobile-social a {
    display: inline-block;
    transition: opacity 0.2s;
}

.footer-mobile-social a:hover {
    opacity: 0.7;
}

.footer-mobile-about {
    border-top: 1px solid rgba(25, 30, 45, 0.1);
}

.footer-mobile-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.footer-mobile-links a {
    color: #191e2d;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-mobile-links a:hover {
    color: #000000;
}

.footer-mobile-legal {
    padding: 15px 0;
    font-size: 12px;
    line-height: 1.5;
    border-top: 1px solid rgba(25, 30, 45, 0.1);
    border-bottom: 1px solid rgba(25, 30, 45, 0.1);
    text-align: center;
}

.footer-mobile-responsible {
    border-bottom: 1px solid rgba(25, 30, 45, 0.1);
}

.footer-mobile-certifications {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.footer-mobile-pagcor-text {
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.footer-mobile-copyright {
    padding: 15px 0;
    font-size: 12px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1120px) {
    .footer-desktop-inner {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-certifications,
    .footer-pagcor,
    .footer-payment-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 479px) {
    .footer-desktop {
        display: none;
    }

    .footer-mobile {
        display: block;
    }
}

/* Sponsor Cards */
.sponsor-card {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f3;
    border: 0.5px solid #c5c5c5;
    border-radius: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .game-card h4 {
        font-size: 0.875rem;
    }
}

/* Loading State */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

/* Header Shadow on Scroll */
header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}
