/* ============================================
   VOX Casino - Dark Theme Stylesheet
   Comprehensive styling with full responsiveness
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */

/* Remove default margins, paddings, and set box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML Root Element - Base font size and smooth scrolling */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* Prevent horizontal scrolling on mobile */
    overflow-x: hidden;
}

/* Body - Dark theme base colors and typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    min-height: 100vh;
    /* Fix for mobile screen */
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================
   2. SKIP LINK (Accessibility)
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4a90e2;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   3. CONTAINER COMPONENT
   ============================================ */

/* Main container for content centering and max-width control */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Mobile adjustment for container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

/* Header Component - Fixed top navigation bar */
.header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #2a2a2a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Header content wrapper - Flexbox layout */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo wrapper - Logo image container */
.logo-wrapper {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation Component */
.nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile menu toggle button - Hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navigation list - Horizontal menu items */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus {
    color: #4a90e2;
}

/* Navigation button styling */
.nav-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Login button - Single button for both desktop and mobile */
.login-btn {
    display: inline-block;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
    /* Hide burger menu on mobile */
    .mobile-menu-toggle {
        display: none;
    }

    /* Hide navigation list on mobile */
    .nav-list {
        display: none;
    }

    /* Show login button on mobile */
    .login-btn {
        display: inline-block;
    }

    .logo {
        height: 40px;
    }
}

/* Desktop - Show navigation and login button side by side */
@media (min-width: 769px) {
    .nav-list {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    /* Login button aligned with nav items */
    .login-btn {
        display: inline-block;
        /* Inherits alignment from parent .nav flexbox */
        align-self: center;
    }
}

/* ============================================
   5. BREADCRUMBS COMPONENT
   ============================================ */

/* Breadcrumbs navigation - Page hierarchy indicator */
.breadcrumbs {
    background-color: #141414;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumbs-list li {
    color: #888;
    font-size: 0.9rem;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #555;
}

.breadcrumbs-list a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
    color: #4a90e2;
}

.breadcrumbs-list li[aria-current="page"] {
    color: #e0e0e0;
}

/* ============================================
   6. BANNER SECTION WITH CTA
   ============================================ */

/* Banner section - Hero image with overlay CTA */
.banner-section {
    position: relative;
    width: 100%;
    /* Fix screen on mobile */
    overflow: hidden;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* Banner image - Full width responsive */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Block - Semi-transparent overlay with centered content */
.banner-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.banner-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* Banner buttons container */
.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile banner adjustments */
@media (max-width: 768px) {
    .banner-wrapper {
        height: 300px;
    }

    .banner-cta {
        padding: 1.5rem;
        width: 95%;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .banner-buttons {
        flex-direction: column;
    }

    .banner-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   7. POPULAR SLOTS SECTION
   ============================================ */

/* Slots section - Gaming content area */
.slots-section {
    padding: 3rem 0;
    background-color: #121212;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Slots grid - 6 columns on desktop, responsive on mobile */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

/* Individual slot item */
.slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.slot-item:hover {
    transform: translateY(-5px);
}

.slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Mobile slots grid - 2 columns */
@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .slots-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Tablet slots grid - 3 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   8. MAIN CONTENT AREA
   ============================================ */

/* Main content wrapper */
.main-content {
    padding: 3rem 0;
    background-color: #0a0a0a;
    min-height: 60vh;
}

/* Content section - Article blocks */
.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #141414;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.content-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #ccc;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-section strong {
    color: #4a90e2;
    font-weight: 600;
}

/* Mobile content adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 2rem 0;
    }

    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }

    .content-section ul,
    .content-section ol {
        margin-left: 1.5rem;
    }
}

/* ============================================
   9. RESPONSIVE TABLES
   ============================================ */

/* Table wrapper - Scrollable container for tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    /* Fix table display on mobile */
    -webkit-overflow-scrolling: touch;
}

/* Responsive table component */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px;
}

/* Table caption - Hidden on mobile, shown on desktop */
.responsive-table caption {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: left;
}

.responsive-table thead {
    background-color: #2a2a2a;
}

.responsive-table th {
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #3a3a3a;
}

.responsive-table td {
    padding: 1rem;
    border-bottom: 1px solid #2a2a2a;
    color: #ccc;
}

.responsive-table tbody tr:hover {
    background-color: #222;
}

/* Mobile table adaptation - Stack layout */
@media (max-width: 768px) {
    .responsive-table {
        min-width: 100%;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        background-color: #1a1a1a;
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid #2a2a2a;
    }

    .responsive-table tbody td {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #2a2a2a;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .responsive-table tbody td:last-child {
        border-bottom: none;
    }

    .responsive-table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: #4a90e2;
    }

    .responsive-table caption {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   10. BUTTONS COMPONENT
   ============================================ */

/* Base button styling */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

/* Primary button - Main CTA style */
.btn-primary {
    background-color: #4a90e2;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

/* Secondary button - Alternative style */
.btn-secondary {
    background-color: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #4a90e2;
    color: #fff;
}

/* CTA button primary - Banner specific */
.btn-cta-primary {
    background-color: #4a90e2;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-cta-primary:hover {
    background-color: #357abd;
}

/* CTA button secondary - Banner specific */
.btn-cta-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Large button variant */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   11. CTA SECTION
   ============================================ */

/* CTA section - Call to action area */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #4a90e2;
}

.feature-list {
    list-style: none;
    margin-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #ccc;
}

/* CTA buttons container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   12. FAQ SECTION
   ============================================ */

/* FAQ section - Accordion style questions */
.faq-section {
    background-color: #141414;
}

.faq-list {
    list-style: none;
    margin: 0;
}

.faq-list dt {
    margin-top: 1rem;
}

.faq-question {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #222;
    border-color: #4a90e2;
}

.faq-question[aria-expanded="true"] {
    background-color: #2a2a2a;
    border-color: #4a90e2;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    color: #ccc;
    line-height: 1.8;
}

/* ============================================
   13. FOOTER COMPONENT
   ============================================ */

/* Footer - Site footer with payment methods */
.footer {
    background-color: #1a1a1a;
    border-top: 2px solid #2a2a2a;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

/* Payment methods section */
.footer-payments {
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Payments grid - Responsive grid for payment logos */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Payment item - Individual payment logo container */
.payment-item {
    background-color: #141414;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid #2a2a2a;
}

.payment-item:hover {
    transform: translateY(-3px);
    background-color: #222;
    border-color: #4a90e2;
}

.payment-logo {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.payment-item:hover .payment-logo {
    filter: grayscale(0);
}

/* Mobile payment grid */
@media (max-width: 768px) {
    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .payment-item {
        padding: 0.75rem;
    }

    .payment-logo {
        max-height: 30px;
    }
}

/* Footer content - Links and information */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* Mobile footer content */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Footer bottom - Copyright section */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-license {
    font-size: 0.85rem;
    color: #666;
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */

/* Text utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Spacing utilities */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   15. MOBILE FIXES
   ============================================ */

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Ensure all containers respect viewport */
    * {
        max-width: 100%;
    }

    /* Fix images */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   16. ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus styles for keyboard navigation */
*:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* High contrast for better readability */
@media (prefers-contrast: high) {
    body {
        background-color: #000;
        color: #fff;
    }

    .content-section {
        background-color: #000;
        border-color: #fff;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   17. PRINT STYLES
   ============================================ */

@media print {
    .header,
    .footer,
    .banner-section,
    .slots-section,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        background-color: #fff;
        color: #000;
    }

    .content-section {
        background-color: #fff;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

