/* ============================================
   Verde Casino - Light Theme Stylesheet
   ============================================ */

/* ===== RESET & BASE STYLES ===== */
/* Resets default browser styles and sets base typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff; /* White background for light theme */
    overflow-x: hidden; /* Prevents horizontal scrolling on mobile */
}

/* ===== HEADER STYLES ===== */
/* Header section with light green background */
.header {
    background-color: #017e3a; /* Dark green header color */
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-button {
    padding: 0.5rem 1.25rem;
    background-color: #FFD700; /* Yellow color */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-button:hover {
    background-color: #FFC700; /* Darker yellow on hover */
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-button:focus {
    outline: 2px solid #017e3a;
    outline-offset: 2px;
}

/* Logo styling */
.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

/* ===== LANGUAGE SWITCHER ===== */
/* Language selection dropdown in header with flags */
.language-switcher {
    position: relative;
}

.lang-select-wrapper {
    position: relative;
    display: inline-block;
}

.lang-select {
    padding: 0.5rem 2rem 0.5rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 90px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
}

.lang-select:hover {
    background-color: #ffffff;
}

.lang-select:focus {
    outline: 2px solid #017e3a;
    outline-offset: 2px;
}

.lang-flag-icon {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    pointer-events: none;
}

/* ===== BREADCRUMBS ===== */
/* Navigation breadcrumb trail */
.breadcrumbs {
    max-width: 1200px;
    margin: 0.5rem auto;
    padding: 0 1rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item:not(:last-child)::after {
    content: ' / ';
    margin-left: 0.25rem;
    color: #999;
}

.breadcrumb-item a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* ===== BANNER SECTION ===== */
/* Hero banner with CTA overlay */
.banner-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 2rem;
    overflow: hidden;
    left: 0;
    right: 0;
    padding: 0;
    box-sizing: border-box;
}

.banner-image {
    width: 100%;     /* растягиваем картинку по ширине */
    height: auto;    /* сохраняем пропорции */
    display: block;
    object-fit: cover; /* если нужно обрезать по краям */
}

/* CTA Overlay: Semi-transparent block with centered content */
.banner-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
    width: 100%;
    padding: 0;
    margin: 0;
}

.cta-content {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white block */
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: calc(100% - 2rem);
    margin: 1rem auto;
    box-sizing: border-box;
}

.cta-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-title {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* ===== SLOTS SECTION ===== */
/* Popular slots grid layout */
.slots-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for desktop */
    gap: 1rem;
}

.slot-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    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 12px rgba(0, 0, 0, 0.15);
}

.slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== CONTENT SECTION ===== */
/* Main article content area */
.content-section {
    margin-bottom: 3rem;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-text {
    margin-bottom: 2rem;
}

.content-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* ===== TABLE STYLES ===== */
/* Responsive table wrapper for mobile adaptation */
.table-wrapper {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.info-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.table-caption {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: left;
    color: #333;
}

.info-table thead {
    background-color: #017e3a; /* Dark green header */
}

.info-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #4CAF50;
}

.info-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.info-table tbody tr:hover {
    background-color: #f5f5f5;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== REGISTRATION SECTION ===== */
.registration-section {
    margin: 2rem 0;
}

.subsection-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.registration-steps {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.registration-steps li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.registration-steps strong {
    color: #333;
    font-weight: 600;
}

/* ===== CONTENT CTA ===== */
.content-cta {
    text-align: center;
    margin: 2rem 0;
}

.cta-button-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button-large:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* ===== FOOTER ===== */
/* Footer with payment method logos */
.footer {
    background-color: #f5f5f5;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.payment-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-logo:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.875rem;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Mobile-first responsive breakpoints */

/* Tablet and below (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Banner section mobile fix - full width */
    .main-content {
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    .banner-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        position: relative;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
    
    /* Add indents to content sections on mobile */
    /* Note: main-content already has padding: 0 1rem, so all children get left/right indents */
    /* Breadcrumbs and slots-section inherit the padding from main-content */
    .breadcrumbs {
        padding: 0;
    }
    
    .slots-section {
        padding: 0;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .section-title {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Header adjustments for mobile */
    .header-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .logo-container {
        order: 1;
    }

    .header-right {
        order: 2;
        margin-left: auto;
    }

    .language-switcher {
        order: 3;
    }

    .logo {
        height: 40px;
    }

    .lang-select {
        font-size: 0.75rem;
        padding: 0.4rem 2rem 0.4rem 2.25rem;
        min-width: 80px;
    }

    .lang-flag-icon {
        width: 18px;
        height: 13px;
        left: 0.4rem;
    }

    .login-button {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    /* Banner CTA adjustments for mobile - ensure centered */
    .banner-cta-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .cta-content {
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
        margin: 1rem auto;
        box-sizing: border-box;
        position: relative;
        left: auto;
        right: auto;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Slots grid: 2 columns on mobile */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 0.75rem;
    }

    /* Content section padding - already set above with indents */

    .section-title {
        font-size: 1.5rem;
    }

    /* Table mobile optimization */
    .table-wrapper {
        margin: 1.5rem 0;
        padding: 0;
        width: 100%;
        overflow-x: visible;
    }

    .info-table {
        font-size: 0.875rem;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .info-table th,
    .info-table td {
        padding: 0.75rem 0.5rem;
        word-wrap: break-word;
    }

    /* Footer adjustments */
    .payment-logos {
        gap: 0.75rem;
    }

    .payment-logo {
        height: 30px;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Small mobile devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .banner-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        left: 0;
        right: 0;
    }
    
    .banner-cta-overlay {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .cta-content {
        padding: 1rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .cta-title {
        font-size: 1.125rem;
    }

    .slots-grid {
        gap: 0.5rem;
    }

    .content-section {
        padding: 1rem 1rem;
    }

    .section-title {
        font-size: 1.25rem;
    }
    
    /* Ensure all content has left/right indents on small mobile */
    .main-content {
        padding: 0 1rem;
    }
    
    .breadcrumbs {
        padding: 0;
    }
    
    .slots-section {
        padding: 0;
    }
    
    .content-section {
        padding: 1rem 1rem;
    }

    .subsection-title {
        font-size: 1.25rem;
    }

    .cta-button-large {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }
}

/* Large desktop (min-width: 1200px) */
@media screen and (min-width: 1200px) {
    .header-container,
    .main-content,
    .footer-container {
        padding: 0 2rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .banner-cta-overlay,
    .cta-button,
    .cta-button-large {
        display: none;
    }

    body {
        background-color: #ffffff;
    }
}

