/* ========================================
   WINNITA CASINO - RESPONSIVE CSS STYLES
   Light Theme with Mobile-First Approach
   ======================================== */

/* ===== CSS RESET & BASE STYLES ===== */
/* Reset margins, padding, and box-sizing for consistent rendering across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set base font and line height for optimal readability */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Skip link for screen readers - hidden by default, visible on focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* ===== CONTAINER & LAYOUT ===== */
/* Main container with responsive max-width and centered alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
/* Header with fixed positioning and z-index for overlay */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Navigation bar with flexbox layout */
.navbar {
    padding: 0.5rem 0; /* Reduced padding for thinner header */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling with hover effects */
.logo img {
    height: 40px; /* Reduced logo size for thinner header */
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Desktop navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Mobile menu toggle button - hamburger icon */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile navigation menu - hidden by default */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #f8f9fa;
}

/* ===== BREADCRUMBS ===== */
/* Breadcrumb navigation with proper spacing and styling */
.breadcrumbs {
    margin-top: 70px; /* Account for thinner fixed header */
    padding: 0.5rem 0; /* Reduced padding for thinner breadcrumbs */
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem; /* Smaller font size for thinner appearance */
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #6c757d;
}

.breadcrumb-list a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ===== HERO BANNER SECTION ===== */
/* Hero banner with responsive image and overlay */
.hero-banner {
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
}

/* Responsive banner image with object-fit for proper scaling */
.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Call-to-action overlay with semi-transparent background */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

/* CTA content with centered layout */
.cta-content {
    max-width: 600px;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* CTA buttons with flexbox layout */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTON STYLES ===== */
/* Base button styling with consistent appearance */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    min-width: 150px;
}

/* Primary button with blue background */
.btn-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Secondary button with transparent background */
.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Large button variant for prominent CTAs */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    min-width: 200px;
}

/* ===== POPULAR SLOTS SECTION ===== */
/* Popular slots section with grid layout */
.popular-slots {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: bold;
}

/* Slots grid with responsive columns */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual slot item with hover effects */
.slot-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slot-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.slot-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px; /* Rounded corners for slot images */
}

.slot-item:hover img {
    transform: scale(1.05);
}

/* ===== CONTENT SECTION ===== */
/* Main content area with proper typography */
.content-section {
    padding: 4rem 0;
    background: white;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-text h3 {
    color: #007bff;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.content-text h4 {
    color: #333;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.25rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.content-text ul,
.content-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

/* ===== TABLE STYLES ===== */
/* Table container with horizontal scroll for mobile */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Requirements table with alternating row colors */
.requirements-table,
.security-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px; /* Minimum width for mobile scrolling */
}

.requirements-table th,
.security-table th {
    background-color: #007bff;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #0056b3;
}

.requirements-table td,
.security-table td {
    padding: 1rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.requirements-table tr:nth-child(even),
.security-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.requirements-table tr:hover,
.security-table tr:hover {
    background-color: #e3f2fd;
}

/* ===== FAQ SECTION ===== */
/* FAQ section with accordion-style layout */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
}

.faq-item h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.faq-item p {
    margin: 0;
    color: #555;
}

/* ===== CTA SECTION ===== */
/* Call-to-action section with centered button */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 10px;
    color: white;
}

.cta-section .btn {
    background-color: white;
    color: #007bff;
    border-color: white;
}

.cta-section .btn:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

/* ===== FOOTER ===== */
/* Footer with dark background and organized sections */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}

/* Payment methods section */
.payment-methods {
    margin-bottom: 3rem;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.payment-logo {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.payment-logo:hover {
    transform: scale(1.1);
}

.payment-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Footer links with grid layout */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #007bff;
}

/* Footer bottom with copyright */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: #666;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet styles (768px and below) */
@media (max-width: 768px) {
    /* Hide desktop navigation, show mobile toggle */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile banner at original size - no height restriction */
    .banner-container {
        height: auto; /* Allow natural height for mobile banner */
        min-height: 300px; /* Minimum height for layout */
    }
    
    /* Mobile banner image at original size */
    .banner-image img {
        width: 100%;
        height: auto; /* Maintain original aspect ratio */
        object-fit: contain; /* Show full image without cropping */
        object-position: center;
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Stack CTA buttons vertically on mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Reduce slots grid to 3 columns on tablet */
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    /* Adjust content padding */
    .content-section {
        padding: 2rem 0;
    }
    
    .content-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Stack footer columns on mobile */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Adjust payment logos for mobile */
    .payment-logos {
        gap: 0.5rem;
    }
    
    .payment-logo {
        padding: 0.25rem;
    }
    
    .payment-logo img {
        height: 30px;
    }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {
    /* Further reduce container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Small mobile banner at original size */
    .banner-container {
        height: auto; /* Allow natural height for small mobile banner */
        min-height: 250px; /* Minimum height for layout */
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Reduce slots grid to 2 columns on small mobile */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .slot-item img {
        height: 120px;
    }
    
    /* Adjust button sizes for mobile */
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .btn-large {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    /* Adjust table for mobile - use data attributes for labels */
    .requirements-table th,
    .security-table th {
        display: none;
    }
    
    .requirements-table td,
    .security-table td {
        display: block;
        padding: 0.5rem 1rem;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .requirements-table td:before,
    .security-table td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #007bff;
        display: inline-block;
        width: 120px;
    }
    
    /* Adjust content text for mobile */
    .content-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-text h3 {
        font-size: 1.25rem;
    }
    
    .content-text h4 {
        font-size: 1.125rem;
    }
}

/* Mobile table lock - prevent horizontal scrolling and movement */
@media (max-width: 768px) {
    /* Lock table containers to prevent horizontal movement */
    .table-container {
        overflow: hidden; /* Prevent horizontal scrolling */
        position: relative;
        width: 100%;
        max-width: 100%;
    }
    
    /* Lock tables in place on mobile */
    .requirements-table,
    .security-table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed; /* Lock table layout */
        position: relative;
        overflow: hidden;
    }
    
    /* Ensure table cells don't cause horizontal overflow */
    .requirements-table td,
    .security-table td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Lock table headers */
    .requirements-table th,
    .security-table th {
        position: sticky;
        top: 0;
        background-color: #007bff;
        z-index: 10;
    }
}

/* ===== MOBILE SCREEN LOCK ===== */
/* Prevent zoom and lock orientation on mobile devices */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Allow text selection for content areas */
    .content-text,
    .faq-item p,
    .footer-column a {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}

/* ===== PRINT STYLES ===== */
/* Optimize styles for printing */
@media print {
    .header,
    .mobile-menu-toggle,
    .cta-overlay,
    .cta-buttons,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .banner-container {
        height: auto;
    }
    
    .banner-image img {
        height: auto;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .content-text {
        font-size: 11pt;
    }
}

/* ===== ANIMATION & TRANSITIONS ===== */
/* Smooth transitions for interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        border-color: #000;
        color: #000;
    }
    
    .btn-secondary:hover {
        background-color: #000;
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== DARK MODE SUPPORT (Future Enhancement) ===== */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here in the future */
    /* Currently using light theme as requested */
}
