* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #2b2101 0%, #1a1a2e 100%);
    min-height: 100vh;
}

/* Landing Page Styles */
.landing-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: linear-gradient(135deg, #000000 0%, #5c4e15 100%);
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.livechat-btn {
    background: linear-gradient(to right top, #b88400, #e7bf0e, #ffee5f, #e7bf0e, #b88400);
    color: black;
    border: 1px solid gold;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.livechat-btn:hover {
    background: rgba(255,255,255,0.3);
}

.banner {
    width: 100%;
    max-width: 840px;
    height: auto;
    aspect-ratio: 840/480;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    max-width: 840px;  /* Match banner width */
    padding: 0 20px;
    margin: 10px auto 10px auto;
}

.cta-btn {
    padding: 15px 0px 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.cta-btn.login {
    background: linear-gradient(to right top, rgb(184, 132, 0), rgb(238, 191, 24), rgb(255, 238, 95), rgb(231, 191, 14), rgb(184, 132, 0));
    border: rgb(255, 247, 0) 0px 0px 0px 1px inset, rgb(255, 225, 0) 0px 2px 0px 0px inset, rgb(255, 249, 0) 0px 0px 0px 2px inset, rgba(0, 0, 0, 0.2) 3px 3px 3px 1px;
    color: #000;
}

.cta-btn.register {
    background: linear-gradient(135deg, #24fb41 0%, #036300 100%);
    border: 2px groove green;
    color: white;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* Provider Icons - Always Visible */
.provider-icons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #000000 0%, #5c4e15 100%);
    padding: 20px 8px;
    margin: 0px 30px;
    border: 2px groove gold;
}

.provider-icon {
    width: 80px;
    height: 80px;
    background: #ececec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid transparent;
    padding: 10px;
    opacity: 0.6;
}

.provider-icon.active {
    opacity: 1;
    border: 2px solid gold;
    background: linear-gradient(to right top, #b88400, #e7bf0e, #ffee5f, #e7bf0e, #b88400);
    transform: scale(1.1);
}

.provider-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.provider-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Games Grid */
.games-section {
    margin-top: 20px;
}

.section-title {
    text-align: center;
    color: white;
    font-size: 2em;
    margin-bottom: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 2px 0;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.card-content {
    padding: 10px;
}

.card-content a {
    display: block;
    text-decoration: none;
}

.card-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.games-name, .game_title {
    color: white;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9em;
    font-weight: 500;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-overlay.hidden {
    display: none;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    text-align: center;
}

.popup-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.popup-content h2 {
    color: rgb(240, 204, 0);
    margin-bottom: 20px;
    font-size: 2em;
}

.time-info {
    background: #f0f4ff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.current-time {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.access-status {
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.access-granted {
    background: #4ade80;
    color: white;
}

.access-denied {
    background: #f87171;
    color: white;
}

.popup-message {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 20px;
}

.close-popup-btn {
    display: none;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(to right top, #b88400, #eebf18, #ffee5f, #e7bf0e, #b88400);
    box-shadow: inset 0px 0px 0px 1px rgb(255 247 0), inset 0px 2px 0px 0px rgb(255 225 0), inset 0px 0px 0px 2px rgb(255 249 0), 3px 3px 3px 1px rgb(0 0 0 / 20%);
    border: 1px solid gold;
    color: black;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
}

.close-popup-btn.show {
    display: inline-block;
}

.denied-btn {
    display: none;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff0000 0%, #9b3838 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.denied-btn:hover {
    transform: scale(1.05);
}

.denied-btn.show {
    display: inline-block;
}

@media (max-width: 768px) {
    .cta-btn {
        width: 100%;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .provider-icon {
        width: 60px;
        height: 60px;
    }
}