/* ============================================
   FORTUNICA CASINO - LIGHT THEME STYLESHEET
   ============================================
   This stylesheet implements a light theme design
   with full responsive support for mobile and desktop.
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Lock screen orientation on mobile devices */
@media screen and (max-width: 768px) {
    html, body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   CONTAINER COMPONENT
   ============================================
   Centered container with max-width for content
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION COMPONENT
   ============================================
   Sticky header with responsive navigation menu
   ============================================ */
.header {
    background-color: #181b3a;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styling */
.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo a {
    text-decoration: none;
    display: block;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.menu-icon {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.login-btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background-color: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.login-btn:hover,
.login-btn:focus {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Mobile navigation styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .login-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   BREADCRUMBS COMPONENT
   ============================================
   Navigation breadcrumb trail for better UX
   ============================================ */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #666666;
}

.breadcrumbs-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover,
.breadcrumbs-list a:focus {
    color: #004499;
    text-decoration: underline;
}

.breadcrumbs-list li[aria-current="page"] {
    color: #666666;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================
   Main content wrapper with flex layout
   ============================================ */
.main {
    flex: 1;
}

/* ============================================
   HERO BANNER COMPONENT
   ============================================
   Hero section with banner image and CTA overlay
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Desktop banner height */
@media screen and (min-width: 769px) {
    .hero-image {
        max-height: 600px;
        object-fit: cover;
    }
}

/* Call to action overlay - semi-transparent block */
.hero-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(5px);
    max-width: 400px;
    width: 90%;
}

@media screen and (max-width: 768px) {
    .hero-cta {
        padding: 1.5rem;
        max-width: 350px;
    }
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   BUTTON COMPONENT
   ============================================
   Reusable button styles with hover effects
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ff6b35;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ============================================
   SECTION TITLES
   ============================================
   Consistent section heading styles
   ============================================ */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   POPULAR SLOTS SECTION
   ============================================
   Grid layout for slot game images (6 per row)
   ============================================ */
.slots-section {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    list-style: none;
}

.slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.slot-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.slot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Responsive slots grid - 2 columns on mobile */
@media screen and (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Tablet view - 3 columns */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================
   Content section with text and information table
   ============================================ */
.about-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.content-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
}

.content-text p {
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
    .content-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ============================================
   TABLE COMPONENT
   ============================================
   Responsive table with mobile-friendly layout
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    min-width: 600px;
}

.table-caption {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem;
    background-color: #181b3a;
    color: #ffffff;
    text-align: center;
    caption-side: top;
}

.info-table thead {
    background-color: #f5f5f5;
}

.info-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #e0e0e0;
}

.info-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #444444;
}

.info-table tbody tr:hover {
    background-color: #f9f9f9;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile table adaptation - card layout */
@media screen and (max-width: 768px) {
    .table-wrapper {
        overflow-x: visible;
    }
    
    .info-table {
        min-width: 100%;
        display: block;
    }
    
    .info-table thead {
        display: none;
    }
    
    .info-table tbody,
    .info-table tr,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table tr {
        margin-bottom: 1rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
        background-color: #ffffff;
    }
    
    .info-table td {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
    }
    
    .info-table td:last-child {
        border-bottom: none;
    }
    
    .info-table td::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        color: #1a1a1a;
        display: inline-block;
        width: 40%;
        margin-right: 1rem;
    }
    
    .table-caption {
        font-size: 1.1rem;
        padding: 0.75rem;
    }
}

/* ============================================
   FOOTER COMPONENT
   ============================================
   Footer with payment logos and links
   ============================================ */
.footer {
    background-color: #181b3a;
    color: #ffffff;
    padding: 1.5rem 0 1rem;
    margin-top: auto;
}

.payment-section {
    margin-bottom: 1rem;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.payment-logo {
    flex: 0 0 auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.payment-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.payment-img {
    height: 28px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .payment-logos {
        gap: 0.75rem;
    }
    
    .payment-img {
        height: 22px;
        max-width: 60px;
    }
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #ffffff;
    text-decoration: underline;
    outline: none;
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

/* ============================================
   ACCESSIBILITY UTILITIES
   ============================================
   Screen reader only content
   ============================================ */
.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;
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================
   Mobile: up to 768px
   Tablet: 769px - 1024px
   Desktop: 1025px and above
   ============================================ */

