/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0f212e;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    height: 500px;
    background: #1a2c38;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.chat-widget.minimized {
    height: 60px;
}

.chat-header {
    background: linear-gradient(135deg, #00d258 0%, #00b848 100%);
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: 600;
}

.chat-header:hover {
    background: linear-gradient(135deg, #00b848 0%, #00a640 100%);
}

.chat-header i:first-child {
    margin-right: 10px;
}

.chat-header i:last-child {
    transition: transform 0.3s ease;
}

.chat-widget.minimized .chat-header i:last-child {
    transform: rotate(180deg);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget.minimized .chat-body {
    display: none;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    max-height: 350px;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.chat-message.system {
    justify-content: center;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.other {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.system .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    text-align: center;
    max-width: 90%;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #00d258 0%, #00b848 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.other .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
}

.chat-input-container {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chat-input-container input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input-container input:focus {
    border-color: #00d258;
    background: rgba(0, 210, 88, 0.1);
}

.chat-input-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-input-container button {
    background: linear-gradient(135deg, #00d258 0%, #00b848 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-input-container button:hover {
    background: linear-gradient(135deg, #00b848 0%, #00a640 100%);
    transform: scale(1.05);
}

.chat-input-container button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive Chat */
@media (max-width: 768px) {
    .chat-widget {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        height: 400px;
    }
    
    .chat-messages {
        max-height: 280px;
    }
    
    .message-content {
        max-width: 85%;
        font-size: 13px;
    }
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 33, 46, 0.85);
    backdrop-filter: blur(5px);
}

/* App Container */
.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #1a2c38;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
}

.nav-tabs {
    display: flex;
    gap: 0;
}

.nav-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-tab:hover {
    color: #fff;
}

.nav-tab.active {
    color: #00d258;
    border-bottom-color: #00d258;
}

.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    gap: 12px;
}

.balance-display {
    background: rgba(0, 210, 88, 0.2);
    border: 2px solid #00d258;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #00d258;
}

.header-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-btn.primary {
    background: #00d258;
    border-color: #00d258;
    color: #fff;
}

.header-btn.primary:hover {
    background: #00b848;
}

/* Main Layout */
.main-layout {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #1a2c38;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-header {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sidebar-item.active {
    background: rgba(0, 210, 88, 0.1);
    color: #00d258;
    border-left: 3px solid #00d258;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Promotional Banners */
.promo-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.promo-banner {
    background: linear-gradient(135deg, #2a3f4f 0%, #1a2c38 100%);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.promo-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.promo-btn {
    background: #00d258;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-btn:hover {
    background: #00b848;
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

.search-bar {
    position: relative;
    max-width: 400px;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #1a2c38;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #00d258;
    background: #233847;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Game Tabs */
.game-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    font-size: 14px;
}

.game-tab:hover {
    color: #fff;
}

.game-tab.active {
    color: #00d258;
    border-bottom-color: #00d258;
}

.game-tab.disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.game-tab.disabled:hover {
    color: rgba(255, 255, 255, 0.3);
    border-bottom-color: transparent;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: #1a2c38;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.game-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.game-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.disabled-icon {
    font-size: 48px;
    color: #ff4757;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.8);
}

.game-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
    background: #1a2c38;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-multiplier {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #00d258;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.game-info {
    padding: 16px;
}

.game-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.players-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #1a2c38;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .promo-banners {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .game-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Promotions Section */
.promotions-section {
    margin-bottom: 3rem;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promo-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.05) 100%);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.promo-card.featured {
    background: linear-gradient(135deg, rgba(255,0,0,0.2) 0%, rgba(255,100,0,0.1) 100%);
    border-color: #ff6600;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff0000;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.promo-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.promo-content p {
    color: #ccc;
    margin-bottom: 1rem;
}

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.claim-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    border-radius: 25px;
    width: 100%;
}

.claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
}

/* Jackpot Section */
.jackpot-section {
    margin-bottom: 3rem;
}

.jackpot-container {
    background: linear-gradient(135deg, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0.1) 100%);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jackpot-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,215,0,0.1), transparent);
    animation: jackpotShine 3s linear infinite;
}

@keyframes jackpotShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.jackpot-label {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.jackpot-amount {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 1rem;
    animation: jackpotPulse 2s ease-in-out infinite;
}

@keyframes jackpotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.jackpot-timer {
    font-size: 1.1rem;
    color: #ccc;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 100%);
    border-top: 2px solid #ffd700;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,215,0,0.2);
    color: #aaa;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #ffd700;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,215,0,0.3);
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: #ffd700;
}

.modal-close {
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Pennis Sports Section */
.pennis-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sports-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.sports-title i {
    color: #00d258;
    font-size: 28px;
}

.sports-filters {
    display: flex;
    gap: 10px;
}

.sport-filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sport-filter:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.sport-filter.active {
    background: #00d258;
    border-color: #00d258;
    color: #fff;
}

.sports-content {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-games {
    text-align: center;
    padding: 60px 20px;
}

.no-games i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.no-games h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.no-games p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive for pennis section */
@media (max-width: 768px) {
    .sports-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .sports-filters {
        width: 100%;
        overflow-x: auto;
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,215,0,0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.message.success {
    background: rgba(0,255,0,0.1);
    border: 2px solid #00ff00;
    color: #00ff00;
}

.message.error {
    background: rgba(255,0,0,0.1);
    border: 2px solid #ff0000;
    color: #ff0000;
}

.message.info {
    background: rgba(0,100,255,0.1);
    border: 2px solid #0064ff;
    color: #0064ff;
}

/* Pennis Section - Stake Style */
.pennis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pennis-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.pennis-filters {
    display: flex;
    gap: 10px;
}

.pennis-filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pennis-filter:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.pennis-filter.active {
    background: #00d258;
    border-color: #00d258;
    color: #fff;
}

.pennis-filter.won-filter.active {
    background: #00d258;
    border-color: #00d258;
}

.pennis-filter.lost-filter.active {
    background: #ff4757;
    border-color: #ff4757;
}

.pennis-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pennis-match {
    background: #1a2c38;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.2s;
}

.pennis-match:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: #1f3342;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
}

.match-league {
    font-size: 10px;
    color: #00d258;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.match-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.match-teams {
    flex: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.match-odds {
    display: flex;
    gap: 8px;
}

.odds-btn {
    background: #2a3f4f;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.odds-btn:hover {
    background: #00d258;
}

.odds-btn:hover .odds-label,
.odds-btn:hover .odds-value {
    color: #fff;
}

.odds-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.odds-value {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.match-pool {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    text-align: right;
}

.pennis-match .user-bet-info {
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 10px;
    background: rgba(0, 210, 88, 0.1);
    border: 1px solid rgba(0, 210, 88, 0.2);
    border-radius: 4px;
    text-align: center;
}

.pennis-match .user-bet-info .bet-placed {
    color: #00d258;
    font-weight: 500;
}

.pennis-match .user-bet-info .bet-won {
    color: #ffd700;
    font-weight: 600;
}

.pennis-match .user-bet-info .bet-lost {
    color: #ff4757;
    font-weight: 500;
}

/* Bet Modal - ensure it displays */
.bet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bet-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bet-modal {
    background: #1a2c38;
    border: 1px solid rgba(0, 210, 88, 0.3);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.bet-modal-overlay.active .bet-modal {
    transform: scale(1);
}

.bet-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.bet-modal-header h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}

.bet-modal-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.bet-input-group {
    margin-bottom: 20px;
}

.bet-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.bet-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
}

.bet-input-wrapper span {
    color: #00d258;
    font-weight: 600;
    margin-right: 8px;
}

.bet-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.bet-potential-win {
    text-align: center;
    padding: 16px;
    background: rgba(0, 210, 88, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.bet-potential-win label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 4px;
}

.bet-potential-win .win-amount {
    color: #00d258;
    font-size: 24px;
    font-weight: 700;
}

.bet-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bet-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bet-btn-confirm {
    background: #00d258;
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-btn-confirm:hover {
    background: #00b848;
}

/* Responsive */
@media (max-width: 768px) {
    .app-container {
        min-height: 100vh;
    }
    
    .header {
        padding: 10px 15px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .balance-display {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        max-height: 60px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-direction: row;
        padding: 8px 10px;
        gap: 5px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-section {
        flex-direction: row;
        gap: 5px;
        margin-bottom: 0;
    }
    
    .sidebar-header {
        display: none;
    }
    
    .sidebar-item {
        padding: 8px 12px;
        min-width: auto;
        white-space: nowrap;
        font-size: 13px;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .promo-banners {
        flex-direction: column;
        gap: 8px;
    }
    
    .promo-banner {
        min-width: 100%;
        padding: 12px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-image {
        height: 100px;
    }
    
    .pennis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pennis-filters {
        width: 100%;
        overflow-x: auto;
    }
    
    .pennis-match {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .match-odds {
        width: 100%;
        justify-content: space-between;
    }
    
    .odds-btn {
        flex: 1;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .bet-modal {
        width: 90%;
        max-width: 350px;
        padding: 20px;
    }
}

/* News Section Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.news-card {
    background: linear-gradient(135deg, #1a2c38 0%, #0f212e 100%);
    border: 1px solid rgba(0, 210, 88, 0.3);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: rgba(0, 210, 88, 0.6);
    box-shadow: 0 4px 20px rgba(0, 210, 88, 0.15);
}

.news-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
}

.news-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* Rewards Section Styles */
.rewards-section {
    padding: 20px 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.reward-card {
    background: linear-gradient(135deg, #1a2c38 0%, #0f212e 100%);
    border: 1px solid rgba(0, 210, 88, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.reward-card:hover {
    border-color: rgba(0, 210, 88, 0.6);
    box-shadow: 0 4px 20px rgba(0, 210, 88, 0.15);
    transform: translateY(-4px);
}

.reward-card.active {
    border-color: #00d258;
    box-shadow: 0 0 20px rgba(0, 210, 88, 0.2);
}

.reward-card.soon {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.reward-card.soon .reward-status {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.reward-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.reward-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.reward-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.reward-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 210, 88, 0.2);
    color: #00d258;
    border: 1px solid #00d258;
}

.rewards-info {
    background: rgba(0, 210, 88, 0.05);
    border: 1px solid rgba(0, 210, 88, 0.2);
    border-radius: 12px;
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}
