/* ============================================
   VOX Casino - Dark Theme Stylesheet
   Domain: cazinovox.ro
   ============================================ */

/* ============================================
   CSS VARIABLES - Dark Theme Color Palette
   ============================================ */
:root {
    /* Primary Colors - Dark Theme */
    --color-primary: #00ff88;
    --color-primary-dark: #00cc6f;
    --color-primary-light: #33ff99;
    
    /* Background Colors */
    --color-bg-main: #0a0e1a;
    --color-bg-secondary: #141b2d;
    --color-bg-tertiary: #1e2742;
    --color-bg-overlay: rgba(0, 0, 0, 0.7);
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b8c5d6;
    --color-text-muted: #7a8ba3;
    
    /* Accent Colors */
    --color-accent: #ff6b6b;
    --color-success: #00ff88;
    --color-warning: #ffd93d;
    --color-error: #ff4757;
    
    /* Border Colors */
    --color-border: #2d3a54;
    --color-border-light: #3a4860;
    
    /* Shadow Colors */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.6);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Typography */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Container Max Width */
    --container-max-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Lock screen orientation on mobile */
@media screen and (max-width: 768px) {
    html {
        /* Prevent zoom on input focus */
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        /* Lock orientation (via meta tag, but CSS support) */
        touch-action: pan-y pinch-zoom;
    }
}

/* ============================================
   ACCESSIBILITY - Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-bg-main);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   UTILITY CLASSES - Container
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ============================================
   HEADER COMPONENT
   ============================================ */
.header {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    gap: var(--spacing-md);
}

/* Logo Styles */
.logo-wrapper {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation Styles */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
    background-color: var(--color-bg-tertiary);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Header CTA Button */
.header-cta {
    flex-shrink: 0;
}

/* Mobile Header Adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: nowrap;
        padding-top: var(--spacing-xs);
        padding-bottom: var(--spacing-xs);
    }
    
    .logo-wrapper {
        flex: 1;
        min-width: 0;
    }
    
    .header-cta {
        flex-shrink: 0;
    }
    
    /* Hide navigation on mobile */
    .nav {
        display: none;
    }
    
    .logo {
        height: 35px;
    }
}

/* ============================================
   BREADCRUMBS COMPONENT
   ============================================ */
.breadcrumbs {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
}

.breadcrumbs-list a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumbs-list a:hover,
.breadcrumbs-list a:focus {
    color: var(--color-primary);
    text-decoration: underline;
    outline: none;
}

.breadcrumbs-list li[aria-current="page"] {
    color: var(--color-text-primary);
    font-weight: 500;
}

.breadcrumbs-separator {
    color: var(--color-text-muted);
    margin: 0 var(--spacing-xs);
}

/* ============================================
   BUTTON COMPONENT
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    line-height: 1.5;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Primary Button */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-main);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-main);
}

/* Large Button Variant */
.btn-large,
.btn-cta-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* CTA Large Button - Green Styling */
.btn-cta-large {
    background-color: var(--color-primary);
    color: var(--color-bg-main);
    border-color: var(--color-primary);
    font-weight: 700;
}

.btn-cta-large:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-large:active {
    transform: translateY(0);
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    position: relative;
    width: 100%;
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

/* Picture element styling */
.banner-container picture {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-container picture .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Semi-transparent CTA Overlay - Centered */
.banner-cta-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 90%;
    width: 600px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-cta-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.banner-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.2;
}

.banner-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin: 0;
}

/* Web Banner Adjustments */
@media (min-width: 769px) {
    .banner-container {
        min-height: 500px;
    }
    
    .banner-image {
        min-height: 500px;
        object-position: center;
    }
    
    .banner-cta-overlay {
        padding: var(--spacing-xl);
        width: 600px;
        max-width: 80%;
    }
}

/* Mobile Banner Adjustments */
@media (max-width: 768px) {
    .banner-container {
        min-height: 350px;
    }
    
    .banner-image {
        min-height: 350px;
        object-fit: cover;
        object-position: center;
    }
    
    .banner-cta-overlay {
        padding: var(--spacing-md);
        width: 95%;
        max-width: 95%;
    }
    
    .banner-title {
        font-size: var(--font-size-xl);
        line-height: 1.3;
    }
    
    .banner-description {
        font-size: var(--font-size-sm);
    }
    
    .btn-cta-large {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
        width: 100%;
    }
}

/* ============================================
   SLOTS SECTION
   ============================================ */
.slots-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-secondary);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-primary);
}

/* Slots Grid - 6 columns on desktop, 2 on mobile */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.slot-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    transition: transform var(--transition-base);
}

.slot-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.slot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: opacity var(--transition-base);
}

.slot-item:hover img {
    opacity: 0.9;
}

.slot-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Mobile Slots Grid - 2 columns */
@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-lg);
    }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.article-content {
    padding: var(--spacing-xl) 0;
}

.content-section {
    margin-bottom: var(--spacing-xl);
}

.content-section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-border);
}

.content-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.content-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.content-section p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ============================================
   LISTS - Feature, Step, Problem Lists
   ============================================ */
.feature-list,
.step-list {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.feature-list li,
.step-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.feature-list li strong,
.step-list li strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* ============================================
   TABLE COMPONENT - Responsive Design
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-secondary);
    box-shadow: var(--shadow-md);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.table-caption {
    caption-side: top;
    padding: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: left;
}

.responsive-table thead {
    background-color: var(--color-bg-tertiary);
}

.responsive-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-border);
}

.responsive-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.responsive-table tbody tr:hover {
    background-color: var(--color-bg-tertiary);
}

.responsive-table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile Table - Stack Layout */
@media (max-width: 768px) {
    .responsive-table {
        display: block;
        min-width: 100%;
    }
    
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }
    
    .responsive-table tr {
        margin-bottom: var(--spacing-md);
        background-color: var(--color-bg-tertiary);
        border-radius: var(--radius-md);
        padding: var(--spacing-sm);
        border: 1px solid var(--color-border);
    }
    
    .responsive-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
        border: none;
        text-align: right;
        position: relative;
        padding-left: 40%;
    }
    
    .responsive-table td:before {
        content: attr(data-label);
        position: absolute;
        left: var(--spacing-sm);
        font-weight: 600;
        color: var(--color-text-primary);
        text-align: left;
    }
    
    .responsive-table td:last-child {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: var(--spacing-sm);
    }
}

/* ============================================
   PROBLEM ITEMS
   ============================================ */
.problem-item {
    background-color: var(--color-bg-secondary);
    border-left: 4px solid var(--color-warning);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
}

.problem-item h3 {
    color: var(--color-warning);
    margin-top: 0;
}

/* ============================================
   REGISTRATION STEPS
   ============================================ */
.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step-card {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.step-card h4 {
    color: var(--color-primary);
    margin-top: 0;
}

.step-card p {
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
    .registration-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    padding: var(--spacing-xxl) 0;
    margin: var(--spacing-xxl) 0;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.benefit-card {
    background-color: var(--color-bg-main);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.benefit-card h3 {
    color: var(--color-primary);
    font-size: var(--font-size-lg);
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

.benefit-card p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
    color: var(--color-text-secondary);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.promo-code-text {
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.promo-code-text strong {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .cta-section h2 {
        font-size: var(--font-size-2xl);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
}

.faq-answer {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 0;
}

/* ============================================
   FOOTER COMPONENT
   ============================================ */
.footer {
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

/* Payment Section */
.payment-section {
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.payment-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-base);
    filter: brightness(0.9);
}

.payment-logo:hover {
    opacity: 1;
    filter: brightness(1);
}

@media (max-width: 768px) {
    .payment-logos {
        gap: var(--spacing-sm);
    }
    
    .payment-logo {
        height: 30px;
    }
}

/* Footer Navigation */
.footer-nav {
    margin-bottom: var(--spacing-lg);
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: var(--spacing-md);
}

.footer-nav-list a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: var(--font-size-sm);
}

.footer-nav-list a:hover,
.footer-nav-list a:focus {
    color: var(--color-primary);
    text-decoration: underline;
    outline: none;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.disclaimer {
    font-size: var(--font-size-xs) !important;
    color: var(--color-text-muted) !important;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile Optimizations
   ============================================ */
@media (max-width: 768px) {
    /* Reduce font sizes on mobile */
    html {
        font-size: 14px;
    }
    
    /* Increase touch targets */
    .btn,
    .nav-link,
    .footer-nav-list a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve spacing on small screens */
    .content-section {
        margin-bottom: var(--spacing-lg);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .banner-section,
    .slots-section,
    .btn,
    .nav {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
}

/* ============================================
   ACCESSIBILITY - Focus States
   ============================================ */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.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;
}
