/* Custom Casino CSS */
:root {
    --casino-primary: #ffd700;
    --casino-secondary: #ff6b35;
    --casino-dark: #0a0d12;
    --casino-darker: #000000;
    --casino-card-bg: #141a21;
    --casino-border: #2d333b;
    --casino-text-muted: #8b949e;
    --neon-glow: 0 0 20px rgba(255, 215, 0, 0.5);
    --orange-glow: 0 0 20px rgba(255, 107, 53, 0.5);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--casino-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Better text contrast for all headings */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Improve contrast for lead text */
.lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Text Colors */
.text-gold {
    color: var(--casino-primary) !important;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 215, 0, 0.3);
}

.text-orange {
    color: var(--casino-secondary) !important;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 107, 53, 0.3);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--casino-primary), #ffed4e);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--neon-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--casino-primary);
    color: var(--casino-primary);
    background: transparent;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background: var(--casino-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* Navigation */
.casino-navbar {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--casino-border);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--casino-primary) !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--casino-primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 17, 23, 0.95) 0%,
        rgba(13, 17, 23, 0.85) 50%,
        rgba(255, 215, 0, 0.08) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.glow-text {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2);
    color: #ffffff !important;
}

.hero-promo-card {
    animation: float 6s ease-in-out infinite;
}

.promo-card {
    background: var(--casino-card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--casino-border);
    transition: all 0.3s ease;
}

.neon-border {
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.neon-border:hover {
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.bonus-amount {
    margin: 1rem 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

/* Games Section */
.games-section {
    background: linear-gradient(135deg, var(--casino-dark) 0%, var(--casino-darker) 100%);
    padding: 5rem 0;
}

.game-nav .nav-link {
    background: var(--casino-card-bg);
    border: 1px solid var(--casino-border);
    color: #ffffff;
    margin: 0 10px;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.game-nav .nav-link.active,
.game-nav .nav-link:hover {
    background: linear-gradient(135deg, var(--casino-primary), #ffed4e);
    color: #000;
    border-color: var(--casino-primary);
    box-shadow: var(--neon-glow);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.game-card {
    background: var(--casino-card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--casino-border);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 1rem;
    text-align: center;
}

.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Promotions Section */
.promotions-section {
    background: var(--casino-dark);
    position: relative;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.promo-icon {
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--casino-darker) 0%, var(--casino-dark) 100%);
    padding: 3rem 0;
}

.feature-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

/* Footer */
.footer-section {
    background: var(--casino-darker);
    border-top: 1px solid var(--casino-border);
}

.footer-section a {
    color: var(--casino-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--casino-primary);
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    text-shadow: var(--neon-glow);
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-nav .nav-link {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .promo-card {
        margin-bottom: 2rem;
    }
    
    .features-section .row {
        text-align: center;
    }
    
    .payment-icons {
        justify-content: center;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .game-card,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .game-overlay {
        opacity: 0.7;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-promo-card {
        animation: none;
    }
    
    .pulse-animation {
        animation: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Content Text Styling */
.content-text {
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
}

.content-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.content-text ul, .content-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--casino-darker) 0%, var(--casino-dark) 100%);
    padding: 4rem 0;
}

/* Registration Section */
.registration-section {
    background: var(--casino-dark);
    position: relative;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Providers Section */
.providers-section {
    background: linear-gradient(135deg, var(--casino-dark) 0%, var(--casino-darker) 100%);
}

.providers-table-container {
    background: var(--casino-card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--casino-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.table-dark {
    --bs-table-bg: var(--casino-card-bg);
    --bs-table-border-color: var(--casino-border);
    --bs-table-striped-bg: rgba(255, 215, 0, 0.05);
}

.table-dark th {
    border-bottom: 2px solid var(--casino-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-dark td {
    border-color: var(--casino-border);
    padding: 1rem 0.75rem;
}

/* Bonuses Section */
.bonuses-section {
    background: var(--casino-darker);
    position: relative;
}

.bonuses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, var(--casino-dark) 0%, var(--casino-darker) 100%);
}

/* Crypto Section */
.crypto-section {
    background: var(--casino-dark);
    position: relative;
}

.crypto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.crypto-list {
    background: var(--casino-card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--casino-border);
    height: 100%;
}

.crypto-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crypto-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--casino-border);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.crypto-list li:last-child {
    border-bottom: none;
}

.crypto-benefits {
    background: var(--casino-card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--casino-border);
    height: 100%;
}

.benefit-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--casino-border);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Table Responsive Improvements */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Optimizations for New Sections */
@media (max-width: 768px) {
    .content-text {
        padding: 0 1rem;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    .providers-table-container,
    .crypto-list,
    .crypto-benefits {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .crypto-list li,
    .benefit-item {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--casino-darker);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ffed4e;
}
