/**
 * ============================================
 * WINNITA CASINO - STYLESHEET
 * Domain: casino-winnita.online
 * Theme: Light with primary color #192b8f
 * ============================================
 *
 * Table of Contents:
 * 1. CSS Variables & Reset
 * 2. Typography
 * 3. Layout Components
 * 4. Header & Navigation
 * 5. Hero Banner Section
 * 6. Slots Gallery
 * 7. Content Sections
 * 8. Tables
 * 9. Buttons & CTAs
 * 10. Footer
 * 11. Breadcrumbs
 * 12. Responsive Styles
 * 13. Accessibility
 * 14. Banner Text with CTA
 * 15. Animations
 */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Primary Colors */
    --primary-color: #192b8f;
    --primary-dark: #0f1a5c;
    --primary-light: #2a3fa8;

    /* Accent Colors */
    --accent-gold: #ffd700;
    --accent-orange: #ff6b35;
    --accent-green: #28a745;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #1a1a1a;

    /* Semantic Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-round: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container widths */
    --container-max: 1200px;
    --container-narrow: 900px;
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-light);
}

ul, ol {
    list-style-position: inside;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: var(--spacing-xl);
}

p {
    margin-bottom: var(--spacing-md);
}

strong {
    font-weight: 600;
}

/* ============================================
   3. LAYOUT COMPONENTS
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: var(--spacing-xl) 0;
}

.section--alt {
    background-color: var(--off-white);
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--primary-color);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__cta {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--black);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header__cta:hover,
.header__cta:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--black);
}

/* ============================================
   5. HERO BANNER SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Desktop banner - shown by default */
.hero__background--desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

/* Mobile banner - hidden by default */
.hero__background--mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 43, 143, 0.7) 0%, rgba(15, 26, 92, 0.8) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: var(--spacing-xl);
}

.hero__title {
    color: var(--white);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--black);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: pulse 2s infinite;
}

.hero__cta:hover,
.hero__cta:focus {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    color: var(--black);
}

/* ============================================
   6. SLOTS GALLERY
   ============================================ */

.slots {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.slots__title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.slots__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.slots__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    aspect-ratio: 1;
}

.slots__item:hover,
.slots__item:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.slots__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.slots__item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.slots__item:hover .slots__item-overlay {
    opacity: 1;
}

.slots__play-btn {
    display: block;
    width: 100%;
    background: var(--accent-gold);
    color: var(--black);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   7. CONTENT SECTIONS
   ============================================ */

.content {
    padding: var(--spacing-xxl) 0;
}

.content__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content ul,
.content ol {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.content li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-sm);
}

.content ul li::marker {
    color: var(--accent-gold);
}

.content ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature-item {
    background: var(--off-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-gold);
}

.feature-item__icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   8. TABLES
   ============================================ */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-width: 500px;
}

thead {
    background: var(--primary-color);
    color: var(--white);
}

th {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
}

tbody tr:nth-child(even) {
    background-color: var(--off-white);
}

tbody tr:hover {
    background-color: rgba(25, 43, 143, 0.05);
}

/* Mobile table styles */
@media (max-width: 768px) {
    .table-wrapper {
        margin: var(--spacing-md) calc(-1 * var(--spacing-md));
        padding: 0 var(--spacing-md);
        border-radius: 0;
    }

    table {
        font-size: 0.875rem;
        min-width: 100%;
    }

    th, td {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    /* Responsive table - card layout for mobile */
    .table--responsive thead {
        display: none;
    }

    .table--responsive tbody tr {
        display: block;
        margin-bottom: var(--spacing-md);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--light-gray);
    }

    .table--responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid var(--light-gray);
    }

    .table--responsive td:last-child {
        border-bottom: none;
    }

    .table--responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-color);
        margin-right: var(--spacing-md);
        flex-shrink: 0;
    }
}

/* ============================================
   9. BUTTONS & CTAs
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--black);
}

.btn--primary:hover,
.btn--primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--black);
}

.btn--secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn--secondary:hover,
.btn--secondary:focus {
    background: var(--primary-light);
    color: var(--white);
}

.btn--large {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--spacing-xxl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) 0;
}

.cta-section__title {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.cta-section__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer__payments {
    margin-bottom: var(--spacing-xl);
}

.footer__payments-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    opacity: 0.8;
}

.footer__payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.footer__payment-icon {
    width: 60px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer__payment-icon:hover {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: var(--spacing-md);
}

.footer__copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer__links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer__link {
    color: var(--white);
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer__link:hover {
    opacity: 1;
    color: var(--white);
}

.footer__disclaimer {
    width: 100%;
    font-size: 0.75rem;
    opacity: 0.6;
    text-align: center;
    margin-top: var(--spacing-lg);
    line-height: 1.5;
}

/* ============================================
   11. BREADCRUMBS
   ============================================ */

.breadcrumbs {
    background: var(--off-white);
    padding: var(--spacing-sm) 0;
}

.breadcrumbs__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    color: var(--medium-gray);
}

.breadcrumbs__link {
    color: var(--primary-color);
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__current {
    color: var(--medium-gray);
}

/* ============================================
   12. RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {
    .slots__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .header__nav {
        gap: var(--spacing-md);
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    /* Show mobile banner, hide desktop */
    .hero__background--desktop {
        display: none;
    }

    .hero__background--mobile {
        display: block;
    }

    .hero {
        min-height: 500px;
    }

    .hero__content {
        margin: var(--spacing-md);
        padding: var(--spacing-lg);
    }

    .slots__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .header__container {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .header__logo-text {
        font-size: 1.25rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .cta-section__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn--large {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .slots__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__content {
        margin: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer__payment-icon {
        width: 50px;
        height: 30px;
    }
}

/* ============================================
   13. ACCESSIBILITY
   ============================================ */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
[tabindex="0"]:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--spacing-md);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--spacing-md);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --accent-gold: #ffcc00;
    }

    .hero__content {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid var(--white);
    }
}


/* ============================================
   14. BANNER TEXT IMAGES
   ============================================ */

.banner-text-wrapper {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.banner-text-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto;
}

/* ============================================
   15. ANIMATIONS
   ============================================ */

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations for slots */
.slots__item:nth-child(1) { animation-delay: 0.05s; }
.slots__item:nth-child(2) { animation-delay: 0.1s; }
.slots__item:nth-child(3) { animation-delay: 0.15s; }
.slots__item:nth-child(4) { animation-delay: 0.2s; }
.slots__item:nth-child(5) { animation-delay: 0.25s; }
.slots__item:nth-child(6) { animation-delay: 0.3s; }
.slots__item:nth-child(7) { animation-delay: 0.35s; }
.slots__item:nth-child(8) { animation-delay: 0.4s; }
.slots__item:nth-child(9) { animation-delay: 0.45s; }
.slots__item:nth-child(10) { animation-delay: 0.5s; }
.slots__item:nth-child(11) { animation-delay: 0.55s; }
.slots__item:nth-child(12) { animation-delay: 0.6s; }