/* ============================================
   SYNDICATE CASINO - MAIN STYLESHEET
   Light Theme with Full Responsiveness
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* Prevent horizontal scrolling on mobile */
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    /* Prevent horizontal scrolling on mobile */
    overflow-x: hidden;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================
   CONTAINER - Main content wrapper
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   HEADER COMPONENT
   Contains logo, navigation, and CTA buttons
   ============================================ */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo Styling */
.logo img {
    max-height: 50px;
    width: auto;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

/* Navigation hover effect */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #d4af37;
}

/* Header CTA Buttons */
.header-cta {
    display: flex;
    gap: 15px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ============================================
   BREADCRUMBS NAVIGATION
   Shows user location in site hierarchy
   ============================================ */
.breadcrumbs {
    background-color: #f0f0f0;
    padding: 12px 0;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #666;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: #d4af37;
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: #333;
    font-weight: 500;
}

/* ============================================
   HERO BANNER SECTION
   Main promotional banner with CTA overlay
   ============================================ */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Semi-transparent CTA overlay */
.hero-cta-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.hero-cta-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-cta-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-cta-content p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ============================================
   POPULAR SLOTS SECTION
   Grid display of slot game thumbnails
   ============================================ */
.popular-slots {
    padding: 60px 0;
    background-color: #fff;
}

.popular-slots h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Slots Grid - 6 items per row on desktop */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.slot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slot-item:hover,
.slot-item:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.slot-item img {
    width: 100%;
    height: auto;
}

.slots-cta {
    text-align: center;
}

/* ============================================
   MAIN CONTENT AREA
   Article content with sections
   ============================================ */
.main-content {
    padding: 60px 0;
    background-color: #fff;
}

article {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Spacing */
section {
    margin-bottom: 50px;
}

/* Typography - Headings */
h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #222;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    padding-top: 20px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #444;
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
    font-weight: 600;
}

/* Typography - Paragraphs */
p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* ============================================
   BUTTON COMPONENTS
   Various button styles for CTAs
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

/* Primary Button - Gold theme */
.btn-primary {
    background-color: #d4af37;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c19a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Secondary Button - Outlined style */
.btn-secondary {
    background-color: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #d4af37;
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Button - Larger size */
.btn-hero {
    background-color: #d4af37;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
}

.btn-hero:hover,
.btn-hero:focus {
    background-color: #c19a2e;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

/* Large Button */
.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ============================================
   TABLE COMPONENTS
   Responsive tables for banking and VIP info
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

thead {
    background-color: #f8f9fa;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    color: #555;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

/* Mobile table labels - hidden on desktop */
td::before {
    content: attr(data-label);
    font-weight: 600;
    display: none;
    margin-bottom: 5px;
    color: #333;
}

/* ============================================
   CTA BOX COMPONENT
   Highlighted call-to-action boxes
   ============================================ */
.cta-box,
.bonus-highlight {
    background: linear-gradient(135deg, #d4af37 0%, #c19a2e 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.cta-box h3,
.bonus-highlight h3 {
    color: #fff;
    margin-bottom: 10px;
}

.cta-box p,
.bonus-highlight p {
    color: #fff;
    margin-bottom: 20px;
}

.cta-box .btn,
.bonus-highlight .btn {
    background-color: #fff;
    color: #d4af37;
}

.cta-box .btn:hover,
.bonus-highlight .btn:hover {
    background-color: #333;
    color: #fff;
}

/* ============================================
   GAME CATEGORIES GRID
   Display different game types
   ============================================ */
.game-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.game-category {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.game-category h3 {
    color: #333;
    margin-bottom: 10px;
}

.game-category p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   Main call-to-action section
   ============================================ */
.cta-section {
    text-align: center;
    background-color: #f8f9fa;
    padding: 50px 30px;
    border-radius: 10px;
    margin: 60px 0;
}

.cta-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ============================================
   FAQ COMPONENT
   Frequently asked questions section
   ============================================ */
.faq-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #d4af37;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* ============================================
   FOOTER COMPONENT
   Site footer with payment methods and links
   ============================================ */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
    margin-top: 60px;
}

/* Payment Methods Section */
.payment-methods {
    margin-bottom: 40px;
    text-align: center;
}

.payment-methods h3 {
    color: #ecf0f1;
    margin-bottom: 25px;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.payment-logos img {
    height: 40px;
    width: auto;
    /* Show original colorful icons */
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.payment-logos img:hover {
    opacity: 1;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    border-bottom: 1px solid rgba(236, 240, 241, 0.1);
}

.footer-column h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #d4af37;
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #95a5a6;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    font-weight: 600;
    color: #e74c3c;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   Breakpoint: 768px - 1024px
   ============================================ */
@media (max-width: 1024px) {
    /* Slots Grid - 4 items per row on tablet */
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    /* Game Categories - 2 columns on tablet */
    .game-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer Navigation - 2 columns on tablet */
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   Breakpoint: Below 768px
   ============================================ */
@media (max-width: 768px) {
    /* Lock horizontal scrolling on mobile */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Container padding adjustment */
    .container {
        padding: 0 15px;
    }
    
    /* Header adjustments for mobile */
    .header-content {
        flex-wrap: nowrap;
    }
    
    /* Hide mobile menu toggle (burger) on mobile */
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Show logo on mobile (left side) */
    .logo {
        display: block;
    }

    /* Hide navigation entirely on mobile */
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }

    /* Space logo (left) and CTA (right) */
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    /* Show navigation when active */
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    /* Header CTA buttons */
    .header-cta {
        order: 2;
        gap: 10px;
    }
    
    .header-cta .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Breadcrumbs font size */
    .breadcrumbs {
        font-size: 0.8rem;
    }
    
    /* Hero Banner adjustments */
    .hero-banner {
        min-height: 300px;
    }
    
    .hero-cta-content {
        padding: 25px;
    }
    
    .hero-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta-content p {
        font-size: 1rem;
    }
    
    /* Slots Grid - 2 items per row on mobile */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Mobile table styling */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }
    
    /* Hide table headers on mobile */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    /* Style table rows as cards */
    tbody tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
    }
    
    td {
        border: none;
        padding: 10px 0;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    
    /* Show data labels on mobile */
    td::before {
        display: block;
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
    }
    
    /* Game Categories - Single column on mobile */
    .game-categories {
        grid-template-columns: 1fr;
    }
    
    /* CTA Buttons - Stack vertically */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer Navigation - Single column on mobile */
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Payment logos - smaller on mobile */
    .payment-logos {
        gap: 15px;
    }
    
    .payment-logos img {
        height: 30px;
    }
    
    /* Reduce section padding on mobile */
    .popular-slots,
    .main-content {
        padding: 40px 0;
    }
    
    section {
        margin-bottom: 30px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   Breakpoint: Below 480px
   ============================================ */
@media (max-width: 480px) {
    /* Further reduce font sizes */
    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    /* Hero CTA adjustments */
    .hero-cta-content {
        padding: 20px;
    }
    
    .hero-cta-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-cta-content p {
        font-size: 0.9rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Reduce CTA box padding */
    .cta-box,
    .bonus-highlight {
        padding: 20px;
    }
    
    /* Payment logos */
    .payment-logos img {
        height: 25px;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   Focus states and screen reader improvements
   ============================================ */

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
}

.skip-to-main:focus {
    left: 0;
    background: #d4af37;
    color: #fff;
    padding: 10px 20px;
}

/* ============================================
   UTILITY CLASSES
   Helper classes for common patterns
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

