/* ============================================
   SPIN CITY CASINO - STYLESHEET
   Light Blue Theme with Responsive Design
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styling with light blue theme */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f0f8ff; /* Light blue background (Alice Blue) */
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100vw;
}

/* ============================================
   HEADER SECTION
   ============================================ */

/* Header container with light blue background */
header {
    background: linear-gradient(135deg, #87ceeb 0%, #4682b4 100%); /* Sky blue to steel blue gradient */
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header inner container for layout */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Logo container styling */
.logo-container {
    flex: 0 0 auto;
}

/* Logo image styling */
.logo {
    height: 45px;
    width: auto;
    display: block;
}

/* Header actions container (login button) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Login button styling */
.login-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.login-button:hover,
.login-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */

/* Breadcrumb container */
.breadcrumb {
    background-color: #e6f3ff; /* Very light blue */
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #b0d4f1;
}

/* Breadcrumb list styling */
.breadcrumb-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Breadcrumb list items */
.breadcrumb-list li {
    color: #4682b4; /* Steel blue */
    font-size: 0.9rem;
}

/* Breadcrumb links */
.breadcrumb-list a {
    color: #4682b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #1e5a8a;
    text-decoration: underline;
}

/* Current page indicator in breadcrumb */
.breadcrumb-list li[aria-current="page"] {
    color: #1a1a1a;
    font-weight: 500;
}

/* Breadcrumb separator */
.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #87ceeb;
}

/* ============================================
   BANNER SECTION WITH CTA
   ============================================ */

/* Banner section container */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Banner image styling */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Call-to-action overlay (semi-transparent, centered) */
.banner-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(70, 130, 180, 0.85); /* Semi-transparent steel blue */
    padding: 2rem 3rem;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Modern blur effect */
}

/* CTA heading */
.cta-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA text */
.cta-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* CTA button styling */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA button hover effect */
.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ============================================
   CONTAINER UTILITY
   ============================================ */

/* Main container for content sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

/* Section heading styling */
.section-heading {
    font-size: 2.5rem;
    color: #1e5a8a; /* Dark blue */
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #87ceeb;
    padding-bottom: 1rem;
}

/* ============================================
   POPULAR SLOTS SECTION
   ============================================ */

/* Popular slots section container */
.popular-slots {
    background-color: #ffffff;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

/* Slots grid container (2 rows of 6) */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Individual slot item */
.slot-item {
    background-color: #f8fbff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e6f3ff;
}

/* Slot item hover effect */
.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(70, 130, 180, 0.3);
}

/* Slot image styling */
.slot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

/* Slot item link */
.slot-item a {
    display: block;
    text-decoration: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

/* About section container */
.about-section {
    background-color: #ffffff;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

/* Content text styling */
.content-text {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

/* Content paragraphs */
.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ============================================
   TABLE STYLING
   ============================================ */

/* Table wrapper for responsive scrolling */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Casino information table */
.casino-info-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    min-width: 600px; /* Minimum width for readability */
}

/* Table caption */
.table-caption {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e5a8a;
    margin-bottom: 1rem;
    text-align: left;
    padding: 1rem;
    background-color: #e6f3ff;
}

/* Table header cells */
.casino-info-table thead {
    background: linear-gradient(135deg, #4682b4 0%, #5a9fd4 100%);
    color: #ffffff;
}

.casino-info-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #357abd;
}

/* Table body cells */
.casino-info-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e6f3ff;
    color: #333333;
}

/* Table row hover effect */
.casino-info-table tbody tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.2s ease;
}

/* Table row alternating colors */
.casino-info-table tbody tr:nth-child(even) {
    background-color: #fafcff;
}

.casino-info-table tbody tr:nth-child(even):hover {
    background-color: #e6f3ff;
}

/* ============================================
   FOOTER SECTION
   ============================================ */

/* Footer container */
footer {
    background: linear-gradient(135deg, #4682b4 0%, #1e5a8a 100%);
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Footer content container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer payment logos container */
.footer-payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-payment-logos .payment-logo {
    height: 28px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-payment-logos .payment-logo:hover {
    opacity: 1;
}

/* Footer content layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer navigation list */
.footer-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Footer navigation links */
.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    opacity: 0.8;
    text-decoration: underline;
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
    /* Adjust slots grid to 3 columns on tablet */
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Reduce CTA heading size */
    .cta-heading {
        font-size: 2rem;
    }
    
    /* Adjust CTA text size */
    .cta-text {
        font-size: 1rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Allow scrolling in main content */
    main {
        overflow-y: auto;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure all containers don't overflow */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    /* Header adjustments for mobile */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
    
    /* Logo size adjustment */
    .logo {
        height: 40px;
    }
    
    /* Login button on mobile */
    .login-button {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    /* Footer payment logos on mobile */
    .footer-payment-logos {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .footer-payment-logos .payment-logo {
        height: 22px;
    }
    
    /* CTA adjustments for mobile */
    .banner-cta {
        padding: 1.5rem 2rem;
        width: 90%;
    }
    
    .cta-heading {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Slots grid - 2 columns on mobile */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .slot-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .slot-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Section heading adjustment */
    .section-heading {
        font-size: 2rem;
    }
    
    /* Content text adjustment */
    .content-text {
        font-size: 1rem;
    }
    
    /* Table mobile adaptation - prevent horizontal scroll */
    .table-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        padding: 0;
        overflow-x: hidden;
        border-radius: 0;
    }
    
    /* Hide table caption on mobile */
    .table-caption {
        display: none;
    }
    
    /* Convert table to card layout on mobile */
    .casino-info-table {
        width: 100%;
        max-width: 100%;
        min-width: 0; /* Remove min-width on mobile */
        display: block;
        overflow-x: hidden;
    }
    
    .casino-info-table thead,
    .casino-info-table tbody,
    .casino-info-table th,
    .casino-info-table td,
    .casino-info-table tr {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    /* Hide table header on mobile */
    .casino-info-table thead {
        display: none;
    }
    
    /* Style table rows as cards on mobile */
    .casino-info-table tbody tr {
        width: 100%;
        max-width: 100%;
        border: 1px solid #e6f3ff;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
        background-color: #ffffff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
    
    /* Style table cells on mobile */
    .casino-info-table td {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e6f3ff;
        text-align: left;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Add label before cell content on mobile */
    .casino-info-table td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #4682b4;
        display: inline-block;
        min-width: 120px;
    }
    
    /* Remove last border on mobile */
    .casino-info-table td:last-child {
        border-bottom: none;
    }
    
    /* Footer adjustments - ensure visibility */
    footer {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .footer-container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    /* Ensure about section doesn't overflow */
    .about-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .content-text {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    /* Further reduce CTA size */
    .cta-heading {
        font-size: 1.25rem;
    }
    
    .cta-text {
        font-size: 0.85rem;
    }
    
    /* Keep 2 columns on small screens as requested */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Smaller section heading */
    .section-heading {
        font-size: 1.75rem;
    }
    
    /* Adjust container padding */
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid #4682b4;
    outline-offset: 2px;
}

/* Skip to main content link (hidden but accessible) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4682b4;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    /* Hide navigation and footer on print */
    header,
    footer,
    .breadcrumb {
        display: none;
    }
    
    /* Adjust colors for print */
    body {
        background: white;
        color: black;
    }
    
    /* Ensure table prints properly */
    .table-wrapper {
        overflow: visible;
    }
}


