/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8; /* Vibrant Blue for main actions, log in, joker's suit */
    --primary-dark: #1557b0;
    --brand-orange: #FF8C00; /* Vibrant Orange for thematic elements, bonus badge */
    --success-color: #4CAF50; /* Vibrant Green for sign up, new badges */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa; /* Very light gray for subtle differentiation */
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1 !important; /* Force immediate visibility */
}

/* General paragraph styles */
p {
    margin-bottom: 0.75rem;
    text-align: justify;
    text-justify: inter-word;
}

/* Heading styles */
h1 {
    margin-bottom: 1rem;
}

h2 {
    margin-bottom: 0.75rem;
}

h3 {
    margin-bottom: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-logo {
    height: 40px;
    width: auto;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo i {
    font-size: 2rem;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

 /* Buttons */
 .btn {
     border: none;
     border-radius: var(--radius-md);
     padding: 0.75rem 1.5rem;
     font-size: 0.875rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s ease;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     text-decoration: none;
     font-family: inherit;
     color: inherit;
 }

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--brand-orange);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #e67e00;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-light);
    padding: 4rem 0;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(79, 70, 229, 0.3) 100%);
    z-index: 2;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    opacity: 1 !important; /* Force immediate visibility */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.4;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: justify;
    text-justify: inter-word;
}

.about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.about-content ul li {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Table Styles */
.table-container {
    margin: 2rem 0;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

/* General table styles */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    font-size: 0.875rem;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Table headers */
th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    position: relative;
}

th:first-child {
    border-top-left-radius: var(--radius-lg);
}

th:last-child {
    border-top-right-radius: var(--radius-lg);
}

/* Table cells */
td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    vertical-align: middle;
}

/* Remove border from last row */
tr:last-child td {
    border-bottom: none;
}

/* Table row hover effects - subtle */
tr:hover {
    background: rgba(248, 249, 250, 0.6);
    transition: all 0.2s ease;
}

tr:hover td {
    color: var(--text-primary);
}

/* Specific table styles */
.payment-table th,
.bonus-table th,
.cashback-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.payment-table tr:hover,
.bonus-table tr:hover,
.cashback-table tr:hover {
    background: var(--bg-secondary);
}

/* Alternating row colors - DISABLED for clean look */
tbody tr:nth-child(even) {
    background: var(--bg-primary);
}

tbody tr:nth-child(odd) {
    background: var(--bg-primary);
}

/* Table responsive design */
@media (max-width: 768px) {
    .table-container {
        margin: 1rem 0;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }
    
    table {
        font-size: 0.75rem;
        min-width: 600px; /* Prevent too much compression */
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
    }
    
    th {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 0.5rem 0.25rem;
    }
    
    table {
        font-size: 0.7rem;
        min-width: 500px;
    }
}

/* Table header with icon support */
th i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* Table cell with special formatting - DISABLED */
td.highlight {
    background: transparent;
    color: var(--text-primary);
    font-weight: normal;
}

td.success {
    background: transparent;
    color: var(--text-primary);
    font-weight: normal;
}

td.warning {
    background: transparent;
    color: var(--text-primary);
    font-weight: normal;
}

/* Table footer if needed */
tfoot td {
    background: var(--bg-primary);
    font-weight: normal;
    border-top: 1px solid var(--border-color);
}

/* Table caption */
caption {
    caption-side: top;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Table with stripes - DISABLED */
.table-striped tbody tr:nth-child(odd) {
    background: var(--bg-primary);
}

/* Table with borders */
.table-bordered {
    border: 2px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

/* Table compact version */
.table-compact th,
.table-compact td {
    padding: 0.5rem;
    font-size: 0.8rem;
}

/* Welcome Bonus */
.welcome-bonus {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.bonus-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 0 auto;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.bonus-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bonus-badge {
    background: var(--brand-orange);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
}

.banner-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Alternative: Simple banner without overlay */
.hero-banner.simple .banner-overlay {
    display: none;
}

/* Alternative: Banner with different overlay styles */
.hero-banner.gradient .banner-overlay {
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
}

.hero-banner.dark .banner-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* Casino Info */
.casino-info {
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Winners */
.winners {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.winners-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.winner-rank {
    width: 2rem;
    height: 2rem;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.winner-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.winner-info {
    flex: 1;
}

.winner-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.winner-game {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.winner-amount {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.125rem;
}

/* Games */
.games {
    padding: 4rem 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.game-category {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.game-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.game-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.game-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.game-category p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Features */
.features {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--text-light);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0;
    z-index: 1000;
}

 .nav-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.25rem;
     padding: 0.5rem;
     color: var(--text-secondary);
     transition: color 0.2s ease;
     text-decoration: none;
 }

.nav-item.active {
    color: var(--primary-color);
}

.nav-item i {
    font-size: 1.25rem;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
         .hero-text h1 {
         font-size: 2.5rem;
     }
     
     .hero-text p {
         font-size: 1.125rem;
     }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
              .hero-text h1 {
         font-size: 2rem;
     }
     
     .hero-text p {
         font-size: 1rem;
     }
     
     .about-content h2 {
         font-size: 1.75rem;
     }
     
     .about-content h3 {
         font-size: 1.25rem;
     }
     
     .about-content p {
         font-size: 1rem;
     }
     
     .bonus-amount .amount {
         font-size: 2rem;
     }
     
     .info-grid {
         grid-template-columns: 1fr;
     }
     
     .games-grid {
         grid-template-columns: repeat(2, 1fr);
     }
     
     .features-grid {
         grid-template-columns: 1fr;
     }
     
     /* Mobile text alignment - left align for better readability */
     p {
         text-align: left;
     }
     
     .about-content p {
         text-align: left;
     }
}

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

/* Focus styles for accessibility */
.btn:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animations DISABLED - content shows immediately */

/* Force all sections to be visible immediately */
section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
