
:root {
    --primary-color: #000000;
    --primary-color-hover: #4c0071;
    --primary-color-transparent: rgba(52, 152, 219, 0.15);
    --site-header: #000000;
    --dark-bg: #28003c;
    --dark-card: #28003c;
    --dark-card-hover: #28003c;
    --card-bg: #28003c;
    --pola-header-bg: #28003c;
    --pola-patterns-bg: #28003c;
    --modal-bg: #28003c;
    --provider-tag-bg: #0000008e;
    --online-players-bg: #0000008e;
    --play-overlay-bg: #000000a6;
    --box-shadow-content: #4c0071;
    
    --play-btn-bg: #000000;
    --play-btn-hover-bg: #4c0071;
    --play-btn-text-color: white;
    --text-color-main: #aa00ff;
    
    --success-color: #00c851;
    --warning-color: #ffbb33;
    --danger-color: #ff4444;
    
    --indicator-yes-bg: #00c851;
    --indicator-no-bg: #ff4444;
    
    --success-gradient: linear-gradient(90deg, #00c851, #28a745);
    --warning-gradient: linear-gradient(90deg, #ffbb33, #ffc107);
    --danger-gradient: linear-gradient(90deg, #ff4444, #dc3545);
    
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --text-dark: #333333;
    
    --border-light: #ffffff1a;
    --border-primary: #4c0071;
    
    --glow-shadow: 0 0 15px #4c0071;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 15px 30px #4c0071;
    --play-btn-shadow: 0 0 15px #4c0071;
    
    --footer-bg: #000000;
    --footer-text: #bbbbbb;
    --footer-link: #dddddd;
    --footer-border: var(--primary-color);
    
    --hover-transition: 0.3s ease;
    --card-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --button-animation-duration: 1.5s;
}
html {
    scroll-behavior: smooth;
  }
body {
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    color: var(--text-light);
    font-family: 'Anek Tamil', sans-serif;
    transition: background-color 0.5s ease;
    padding-top: 56px;
}
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-hover);
}

.navbar {
    background-color: var(--site-header) !important;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px var(--box-shadow-content);
    z-index: 1030;
    height: 56px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    padding: 0 15px;
}

.navbar-left {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--box-shadow-content);
}

.navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1031;
    height: 50px;
    display: flex;
    align-items: center;
}

.navbar-logo a {
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

.navbar-logo a:hover {
    transform: translateY(-2px);
}
.logo-image {
    margin-top: 5px;
    height: 40px;
    max-width: 180px;
    object-fit: contain;
    transition: filter 0.3s ease;
}
.logo-placeholder, .logo-placeholder img {
    width: 175px;
    height: 50px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--border-primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.navbar-right {
    display: flex;
    align-items: center;
}

.current-time {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-primary);
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

.main-content {
    padding-top: 15px;
    padding-bottom: 30px;
}

.banner-container {
    margin-bottom: 25px;
    overflow: hidden;
    max-width: 1120px; /* Lebar baru */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    height: 251.11px; /* Tinggi baru */
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.banner-swiper {
    width: 100%;
    height: 251.11px; /* Tinggi eksplisit yang sama dengan container */
    max-height: none; 
    background-color: #0000008e;
}

.banner-placeholder {
    background: linear-gradient(45deg, #1a1a1a, #222);
    border: 1px solid var(--border-primary);
    height: auto;
    padding-top: 31.93%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.banner-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
                transparent 0%, 
                rgba(255, 62, 62, 0.05) 25%, 
                transparent 50%,
                rgba(255, 62, 62, 0.05) 75%, 
                transparent 100%);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.banner-img:hover {
    transform: scale(1.03);
}
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.banner-text {
    font-family: 'Anek Tamil', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    margin-left: 35%;
    text-shadow: 0 0 10px var(--primary-color);
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 10;
    display: flex;
    justify-content: center;
    width: 100%; /* Ensure it takes full width to center its content */
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #dbdbdb;
    opacity: 0.5;
    margin: 0 5px;
    transition: all 0.3s ease;
}


.swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background-color: var(--primary-color-hover);
    opacity: 1;
    box-shadow: 0 0 10px var(--primary-color-hover);
}

.provider-slider-container {
    margin-bottom: 20px;
    padding: 0;
    background-color: #0000008e;
    border-radius: 1rem;
}

.provider-swiper {
    padding: 5px 40px;
}

.provider-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    padding: 10px 5px;
    filter: grayscale(70%);
}

.provider-logo-item.active,
.provider-logo-item:hover {
    transform: translateY(-3px);
    filter: grayscale(0%);
}

.provider-logo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;  
}

.provider-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;  
    display: block;
    transition: transform 0.3s ease;
}

.provider-logo-item:hover .provider-logo {
    transform: scale(1.1);
}

.provider-name {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    overflow: hidden;
    max-width: 60px;
    transition: color 0.3s ease;
}

.provider-logo-item.active .provider-name,
.provider-logo-item:hover .provider-name {
    color: var(--text-light);
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(21, 21, 21, 0.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 15px;
    font-weight: bold;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-title {
    font-family: 'Anek Tamil', sans-serif;
    position: relative;
    display: inline-block;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-light);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.8s ease;
}

.section-title:hover::before {
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    box-shadow: var(--glow-shadow);
}

.provider-filter {
    position: relative;
    z-index: 10;
}

#providerDropdown {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 500;
    padding: 6px 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 5px var(--primary-color);
}

#providerDropdown:hover {
    box-shadow: 0 0 15px var(--border-primary);
    border-color: var(--primary-color-hover);
}

.provider-dropdown-menu {
    max-height: 280px;
    overflow-y: auto;
    background-color: rgba(25, 25, 25, 0.95);
    border: 1px solid var(--border-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    font-family: 'Anek Tamil', sans-serif;
}

.dropdown-item {
    color: #ddd;
    transition: all 0.2s ease;
    font-size: 14px;
    padding: 8px 15px;
}

.dropdown-item:hover {
    background-color: var(--primary-color-hover);
    color: var(--text-light);
}

.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.games-grid {
    margin-left: -5px;
    margin-right: -5px;
}

.games-grid > [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 var(--box-shadow-content);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 5px var(--box-shadow-content);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 var(--box-shadow-content);
        transform: scale(1);
    }
}

@keyframes spinEntrance {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

.game-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, transparent, var(--primary-color), transparent, transparent);
    z-index: -1;
    transform: rotate(0deg);
    transition: all 0.5s ease;
    opacity: 0;
    border-radius: 12px;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.game-card:hover::before {
    opacity: 1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.game-card::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, var(--primary-color-transparent) 100%);
    pointer-events: none;
}

.online-players {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--online-players-bg);
    color: var(--text-light);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 5;
    backdrop-filter: blur(3px);
    border: 1px solid var(--border-light);
    transition: var(--hover-transition);
}

.count-up {
    animation: countUp 0.5s ease;
    color: var(--success-color);
}

.count-down {
    animation: countDown 0.5s ease;
    color: var(--danger-color);
}

@keyframes countUp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes countDown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.game-img-container {
    position: relative;
    flex: 1;
    min-height: 140px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.game-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    background-image: 
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a),
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%, #1a1a1a);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.game-card:hover .game-img-placeholder,
.game-card:hover .game-img {
    transform: scale(1.05);
}

.game-img-placeholder span {
    font-family: 'Anek Tamil', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 62, 62, 0.4);
}

/* Provider tag - moved to top left */
.provider-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--provider-tag-bg);
    color: var(--text-light);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    z-index: 5;
    backdrop-filter: blur(3px);
    border: 1px solid var(--border-light);
    transition: var(--hover-transition);
}

.game-card:hover .provider-tag {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.game-info {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 12px;
    position: relative;
    z-index: 1;
}

/* OLD RTP DISPLAY STYLES - HIDDEN */
.rtp-display {
    display: none;
}

/* RTP Badge - full width at bottom of image */
.rtp-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    background-image: var(--success-gradient);
    color: var(--text-light);
    font-weight: bold;
    padding: 4px 0;
    font-size: 14px;
    z-index: 3;
}

/* Play button overlay on hover */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--play-overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.game-img-container:hover .play-button-overlay {
    opacity: 1;
}

.play-btn-hover {
    background-color: var(--play-btn-bg);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--hover-transition);
    box-shadow: var(--play-btn-shadow);
    animation: spinEntrance 0.5s ease forwards, pulseGlow var(--button-animation-duration) infinite;
}

.play-btn-hover:hover {
    transform: scale(1.1);
    background-color: var(--play-btn-hover-bg);
}

/* Hide old buttons */
.game-buttons {
    display: none;
}

/* Pola Main Section */
.pola-main-section {
    border-radius: 5px;
    margin-bottom: 0;
    overflow: hidden;
}

.pola-header {
    background-color: var(--pola-header-bg);
    color: var(--text-light);
    text-align: center;
    padding: 6px 0;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.pola-patterns {
    padding: 5px;
    background-color: var(--pola-patterns-bg);
}

.pola-pattern-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    font-size: 12px;
    text-align: center;
}

.pola-pattern-row:last-child {
    margin-bottom: 0;
}

.pattern-name {
    color: var(--text-light);
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.pattern-indicators {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-light);
}

.indicator-yes {
    background-color: var(--indicator-yes-bg);
}

.indicator-no {
    background-color: var(--indicator-no-bg);
}

/* MODAL STYLES */
.modal-content {
    background-color: var(--modal-bg);
    border: 1px solid var(--border-primary);
    box-shadow: 0 0 25px var(--box-shadow-content);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    justify-content: center;
}

.modal-title {
    color: var(--text-color-main);
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.game-title-modal {
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

.pola-container {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.pola-title {
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pola-grid {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pola-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pola-pattern {
    color: var(--text-color-main);
    font-size: 14px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 600;
    flex: 1;
    text-align: left;
    min-width: 80px;
}

.pola-indicators {
    display: flex;
    gap: 5px;
}

.indicator-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.indicator-circle.green {
    background-color: rgba(0, 200, 81, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.indicator-circle.red {
    background-color: var(--text-color-main);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.jam-container {
    padding: 10px;
    border-top: 1px solid var(--box-shadow-content);
    background-color: #000;
}

.jam-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.jam-label {
    color: #ff0000;
    font-size: 14px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 600;
}

.jam-value {
    color: #ff0000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 14px;
}

.game-image-container {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.game-image-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px var(--box-shadow-content);
    background-color: var(--dark-bg);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--dark-bg);
}

.provider-name-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 600;
    margin-top: 8px;
    border-radius: 5px;
    border: 1px solid var(--border-primary);
}

.rtp-progress-container {
    padding: 1px;
    margin: 0;
    width: 100%;
    height: 30px;
    background-color: rgba(15, 15, 15, 0.95);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.progress-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.progress-track {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.progress-fill {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.progress-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-light);
    z-index: 2;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.progress-time {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-light);
    z-index: 2;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
/* Progress Bar Charging Effect */
@keyframes charging {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* Apply charging effect to the progress fill */
.progress-fill {
    background-size: 200% 200% !important;
    animation: charging 3s ease infinite, pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.4) 50%, 
                rgba(255, 255, 255, 0) 100%);
    width: 50%;
    transform: translateX(-100%);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(200%);
    }
}

.progress-time, .progress-label {
    transition: color 0.3s ease;
    animation: rtpPulse 2s infinite;
    z-index: 2;
}

@keyframes rtpPulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.rtp-progress-container {
    position: relative;
    overflow: hidden;
}

.rtp-progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
                rgba(52, 152, 219, 0.05) 0%, 
                rgba(52, 152, 219, 0.1) 50%, 
                rgba(52, 152, 219, 0.05) 100%);
    opacity: 0.5;
    z-index: 1;
    animation: charging 4s ease infinite;
    background-size: 200% 200%;
    pointer-events: none;
}
.warning-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: warning-pulse 2s infinite;
    color: var(--warning-color);
}

@keyframes warning-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.play-now-btn {
    background-color: var(--primary-color);
    border: none;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.play-now-btn:hover {
    background-color: var(--primary-color-hover);
    box-shadow: var(--play-btn-shadow);
    transform: translateY(-2px);
}

.fade-in {
    animation: fadeIn 0.4s forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Load more button */
#load-more-container {
    margin-top: 20px;
}
/* Button Styles */
.btn-pola {
    position: relative;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
    cursor: pointer;
    z-index: 1;
}

.btn-pola::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
    z-index: -1;
}

.btn-pola:hover {
    background-color: var(--primary-color-hover);
    box-shadow: 0 0 15px var(--box-shadow-content);
    transform: translateY(-2px);
}

.btn-pola:hover::before {
    left: 100%;
}

.btn-pola.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-pola:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-pola:disabled:hover {
    transform: none;
}

/* Specifically for modal buttons */
.modal-footer .btn-pola {
    min-width: 160px;
    padding: 10px 20px;
}
.load-more-btn {
    position: relative;
    background-color: rgba(30, 30, 30, 0.8);
    color: var(--play-btn-text-color);
    border: 2px solid var(--text-color-main);
    padding: 8px 25px;
    border-radius: 5px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    z-index: 1;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--text-color-main);
    transition: all 0.3s ease;
    z-index: -1;
}

.load-more-btn:hover {
    color: rgb(0, 0, 0);
    box-shadow: 0 0 20px var(--text-color-main);
}

.load-more-btn:hover::before {
    width: 100%;
}

.load-more-btn.loading {
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
}

.load-more-btn.loading .load-more-text {
    opacity: 1;
}

.loading-dots-inline {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 5px;
}

.loading-dots-inline .dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: bounceDotInline 1.4s infinite ease-in-out both;
}

.loading-dots-inline .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots-inline .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounceDotInline {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.2;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

.load-icon {
    display: none;
}

.load-more-btn.loading .load-more-text {
    visibility: hidden;
}

.load-more-btn.loading .load-icon {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px auto;
}

.loading-dots .dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: bounceDot 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounceDot {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.2;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

.footer-section {
    position: relative;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    overflow: hidden;
    padding: 60px 0 0;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    overflow: hidden;
}

.wave {
    position: absolute;
    top: -10px;
    left: 0;
    width: 200%;
    height: 15px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23000000" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23000000" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23000000" opacity=".75"/></svg>') repeat-x;
    animation: wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

#wave1 {
    z-index: 4;
    opacity: 0.7;
    animation-delay: 0s;
    animation-duration: 20s;
}

#wave2 {
    z-index: 3;
    opacity: 0.5;
    animation-delay: -5s;
    animation-duration: 25s;
}

#wave3 {
    z-index: 2;
    opacity: 0.3;
    animation-delay: -2s;
    animation-duration: 30s;
}

#wave4 {
    z-index: 1;
    opacity: 0.2;
    animation-delay: -7s;
    animation-duration: 35s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--text-color-main);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Anek Tamil', sans-serif;
    position: relative;
    display: inline-block;
}

.footer-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--text-color-main), transparent);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.footer-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: footerShimmer 2s infinite;
}

@keyframes footerShimmer {
    100% {
        left: 100%;
    }
}

.footer-text {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color-main);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--footer-link);
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;

}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-color-main);
}

.footer-links a i {
    color: var(--text-color-main);
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 62, 62, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-primary);
}

.footer-badges {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 500;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background-color: rgba(255, 62, 62, 0.1);
    transform: translateY(-2px);
}

.badge-item i {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    margin-top: 30px;
    position: relative;
    border-top: 1px solid var(--border-primary);
}

.footer-bottom p {
    color: var(--text-color-main);
    font-size: 13px;
}

.footer-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    position: relative;
    top: -2px;
}
.footer-contact a {
    color: var(--text-color-main);
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--text-light);
}

.login-register-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-register-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    width: 100%;
}

.btn-auth {
    position: relative;
    background-color: rgba(30, 30, 30, 0.8);
    color: var(--text-light);
    border: 2px solid var(--text-color-main);
    padding: 15px 0;
    width: 50%; 
    border-radius: 5px;
    font-family: 'Anek Tamil', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--text-color-main);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-auth:hover {
    color: var(--dark-bg);
    box-shadowrtp-progress: 0 0 20px var(--text-color-main);
    transform: translateY(-3px);
}

.btn-auth:hover::before {
    width: 100%;
}

.login-btn i, .register-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-auth:hover i {
    transform: scale(1.2);
}

@media (max-width: 576px) {
    .login-register-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .btn-auth {
        width: 100%;
        padding: 12px 15px;
    }
}