/* ===================================
   RUNA CASINO - DARK THEME STYLESHEET
   ===================================
   
   This stylesheet implements a comprehensive dark theme
   for Runa Casino with full responsive design support.
*/

/* ===================================
   RESET & BASE STYLES
   =================================== */

/* Reset margins and padding for consistent rendering */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base HTML and Body Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* Prevent horizontal scrolling */
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0; /* Light gray text for dark theme */
    background-color: #0a0a0a; /* Deep black background */
    /* Lock screen on mobile - prevent zooming and scrolling */
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

/* Headings - Dark theme optimized */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

/* ===================================
   SITE HEADER
   =================================== */

/* Site header container */
.site-header {
    background-color: #1a1a1a; /* Dark gray background */
    padding: 0.5rem 2rem; /* Thinner header padding */
    border-bottom: 2px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Header container - flex layout for logo and login */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo container on the left */
.logo-container {
    flex-shrink: 0;
}

/* Logo image styling */
.logo-image {
    height: 50px; /* Fixed logo height */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-container a:hover .logo-image {
    opacity: 0.8;
}

/* Login container on the right */
.login-container {
    flex-shrink: 0;
}

/* Login button styling */
.login-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a9eff 0%, #6ab3ff 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(74, 158, 255, 0.3);
    white-space: nowrap;
}

.login-button:hover {
    background: linear-gradient(135deg, #6ab3ff 0%, #4a9eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

/* ===================================
   SITE FOOTER
   =================================== */

/* Site footer container */
.site-footer {
    background-color: #111111; /* Darker background for footer */
    padding: 3rem 2rem;
    border-top: 2px solid #2a2a2a;
    margin-top: 4rem;
}

/* Footer container */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Payment methods section */
.payment-methods {
    text-align: center;
}

/* Footer title */
.footer-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Payment logos container - responsive grid */
.payment-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual payment logo */
.payment-logo {
    height: 40px; /* Smaller payment icons */
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* Payment logo hover effect */
.payment-logo:hover {
    filter: brightness(1.1);
    opacity: 1;
    transform: scale(1.05);
}

/* ===================================
   BREADCRUMBS NAVIGATION
   =================================== */

/* Breadcrumb container */
.breadcrumb-nav {
    background-color: #1a1a1a; /* Dark gray background */
    padding: 0.5rem 2rem; /* Thinner breadcrumb padding */
    border-bottom: 1px solid #2a2a2a;
}

/* Breadcrumb list - remove default list styling */
.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb list items */
.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: #b0b0b0;
}

/* Breadcrumb separator */
.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #666;
}

/* Breadcrumb links */
.breadcrumb-list a {
    color: #4a9eff; /* Blue accent for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #6ab3ff;
}

/* ===================================
   HERO BANNER SECTION
   =================================== */

/* Hero banner container - relative positioning for overlay */
.hero-banner {
    position: relative;
    width: 100%;
    height: 500px; /* Default desktop height */
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Banner image - full width and height */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Overlay - Semi-transparent centered block */
.cta-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Blur effect for modern look */
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
    width: 600px;
    z-index: 10;
}

/* CTA Content wrapper */
.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* CTA Title */
.cta-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
}

/* CTA Text */
.cta-text {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 0;
}

/* CTA Button - Primary call to action */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a9eff 0%, #6ab3ff 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #6ab3ff 0%, #4a9eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ===================================
   POPULAR SLOTS SECTION
   =================================== */

/* Popular slots container */
.popular-slots {
    padding: 3rem 2rem;
    background-color: #111111;
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Section title */
.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Section subtitle */
.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
}

/* Slots grid - 6 items per row on desktop */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns on desktop */
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual slot item */
.slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #1a1a1a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover effect for slot items */
.slot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.2);
}

/* Slot image */
.slot-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.slot-item:hover .slot-image {
    transform: scale(1.05);
}

/* ===================================
   ABOUT CASINO SECTION
   =================================== */

/* About casino container */
.about-casino {
    padding: 4rem 2rem;
    background-color: #0a0a0a;
}

/* Content wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Text content paragraph styling */
.text-content {
    margin-bottom: 3rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

/* ===================================
   TABLE STYLES (Mobile Adaptive)
   =================================== */

/* Table wrapper for responsive scrolling */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1rem;
}

/* Casino info table */
.casino-info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Table caption - hidden visually but accessible */
.table-caption {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: left;
    color: #ffffff;
}

/* Table header */
.casino-info-table thead {
    background-color: #2a2a2a;
}

.casino-info-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 2px solid #4a9eff;
}

/* Table body cells */
.casino-info-table td {
    padding: 1rem;
    border-bottom: 1px solid #333333;
}

/* Table row hover effect */
.casino-info-table tbody tr:hover {
    background-color: #222222;
    transition: background-color 0.2s ease;
}

/* ===================================
   CTA SECTION
   =================================== */

/* CTA section container */
.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

/* Large CTA button */
.cta-button-large {
    display: inline-block;
    background: linear-gradient(135deg, #4a9eff 0%, #6ab3ff 100%);
    color: #ffffff;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #6ab3ff 0%, #4a9eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media screen and (max-width: 1024px) {
    /* Adjust banner height for tablet */
    .hero-banner {
        height: 400px;
    }
    
    /* Reduce slots grid to 4 columns on tablet */
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    /* Adjust CTA overlay padding */
    .cta-overlay {
        padding: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */

@media screen and (max-width: 768px) {
    /* Lock screen on mobile - prevent user scaling */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        /* Lock screen - prevent zoom */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: pan-y pinch-zoom;
        position: fixed;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile header adjustments */
    .site-header {
        padding: 0.5rem 1rem; /* Thinner header on mobile */
    }
    
    /* Mobile breadcrumb adjustments */
    .breadcrumb-nav {
        padding: 0.5rem 1rem; /* Thinner breadcrumb on mobile */
    }
    
    .logo-image {
        height: 40px; /* Smaller logo on mobile */
    }
    
    .login-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile footer adjustments */
    .site-footer {
        padding: 2rem 1rem;
    }
    
    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .payment-logos {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .payment-logo {
        height: 35px; /* Smaller payment icons on mobile */
        max-width: 100px;
    }
    
    /* Mobile banner - use original size, no height restriction */
    .hero-banner {
        height: auto; /* Allow banner to use original size */
        min-height: 300px; /* Minimum height for layout */
    }
    
    /* Mobile banner image - display at original size */
    .banner-image {
        width: 100%;
        height: auto; /* Use natural image height */
        object-fit: contain; /* Show full image without cropping */
        display: block;
    }
    
    /* Mobile CTA overlay - centered with adjusted padding */
    .cta-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 1.5rem;
        width: 90%;
        max-width: 350px;
    }
    
    /* Mobile CTA title */
    .cta-title {
        font-size: 1.5rem;
    }
    
    /* Mobile CTA text */
    .cta-text {
        font-size: 1rem;
    }
    
    /* Mobile CTA button */
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Mobile slots grid - 2 columns */
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Mobile breadcrumb */
    .breadcrumb-nav {
        padding: 0.75rem 1rem;
    }
    
    .breadcrumb-list {
        font-size: 0.875rem;
    }
    
    /* Mobile section padding */
    .popular-slots,
    .about-casino {
        padding: 2rem 1rem;
    }
    
    /* Mobile section titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Mobile text content */
    .text-content p {
        font-size: 1rem;
    }
    
    /* ===================================
       MOBILE TABLE ADAPTATION
       =================================== */
    
    /* Hide table header on mobile */
    .casino-info-table thead {
        display: none;
    }
    
    /* Convert table rows to card layout on mobile */
    .casino-info-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        background-color: #222222;
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid #333333;
    }
    
    /* Style table cells as blocks on mobile */
    .casino-info-table tbody td {
        display: block;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid #333333;
    }
    
    /* Remove last cell border */
    .casino-info-table tbody td:last-child {
        border-bottom: none;
    }
    
    /* Add data-label pseudo-element for mobile table */
    .casino-info-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #4a9eff;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile CTA button large */
    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 90%;
        max-width: 300px;
    }
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #4a9eff;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background-color: #000000;
        color: #ffffff;
    }
    
    .cta-button,
    .cta-button-large {
        border: 2px solid #ffffff;
    }
}


