/**
 * Playtime Casino Layout Stylesheet
 * All classes use vca5- prefix for namespace isolation
 * Mobile-first responsive design (max-width: 430px)
 */

/* CSS Variables */
:root {
    --vca5-primary: #228B22;
    --vca5-dark: #273746;
    --vca5-pink: #FFC0CB;
    --vca5-mint: #00FA9A;
    --vca5-red: #B22222;
    --vca5-white: #FFFFFF;
    --vca5-black: #000000;
    --vca5-gray: #6B7280;
    --vca5-light-gray: #F3F4F6;
    --vca5-dark-gray: #1F2937;
    --vca5-shadow: rgba(0, 0, 0, 0.15);
    --vca5-overlay: rgba(39, 55, 70, 0.95);
    --vca5-transition: 0.3s ease;
    --vca5-radius: 8px;
    --vca5-radius-lg: 12px;
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--vca5-dark);
    color: var(--vca5-white);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--vca5-mint);
    text-decoration: none;
    transition: color var(--vca5-transition);
}

a:hover {
    color: var(--vca5-pink);
}

/* Container and Layout */
.vca5-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

.vca5-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.vca5-main {
    flex: 1;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    .vca5-main {
        padding-bottom: 0;
    }
    .vca5-container {
        max-width: 1200px;
        padding: 0 24px;
    }
}

/* Header Styles */
.vca5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--vca5-dark) 0%, rgba(39, 55, 70, 0.98) 100%);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 2px 10px var(--vca5-shadow);
}

.vca5-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 769px) {
    .vca5-header-inner {
        max-width: 1200px;
    }
}

.vca5-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vca5-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.vca5-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vca5-mint);
    text-transform: uppercase;
}

.vca5-header-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vca5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--vca5-radius);
    cursor: pointer;
    transition: all var(--vca5-transition);
    border: none;
    text-transform: uppercase;
    min-height: 44px;
}

.vca5-btn-register {
    background: linear-gradient(135deg, var(--vca5-primary) 0%, #1a6b1a 100%);
    color: var(--vca5-white);
}

.vca5-btn-register:hover {
    background: linear-gradient(135deg, #2aa32a 0%, var(--vca5-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.4);
}

.vca5-btn-login {
    background: transparent;
    color: var(--vca5-pink);
    border: 2px solid var(--vca5-pink);
}

.vca5-btn-login:hover {
    background: var(--vca5-pink);
    color: var(--vca5-dark);
}

.vca5-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
}

.vca5-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--vca5-white);
    transition: all var(--vca5-transition);
}

.vca5-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vca5-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.vca5-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 769px) {
    .vca5-hamburger {
        display: none;
    }
}

/* Mobile Menu */
.vca5-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vca5-dark);
    z-index: 9999;
    transition: right var(--vca5-transition);
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.vca5-menu-open {
    right: 0;
}

.vca5-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--vca5-transition);
}

.vca5-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.vca5-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vca5-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--vca5-white);
    border-radius: var(--vca5-radius);
    transition: all var(--vca5-transition);
}

.vca5-menu-link:hover, .vca5-menu-link.vca5-nav-active {
    background: rgba(0, 250, 154, 0.1);
    color: var(--vca5-mint);
}

.vca5-menu-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Desktop Navigation */
.vca5-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .vca5-desktop-nav {
        display: flex;
        gap: 24px;
        align-items: center;
    }

    .vca5-nav-link {
        color: var(--vca5-white);
        font-weight: 500;
        padding: 8px 0;
        position: relative;
    }

    .vca5-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--vca5-mint);
        transition: width var(--vca5-transition);
    }

    .vca5-nav-link:hover::after, .vca5-nav-active::after {
        width: 100%;
    }
}

/* Mobile Bottom Navigation */
.vca5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--vca5-dark-gray) 0%, var(--vca5-dark) 100%);
    z-index: 1000;
    padding: 8px 0;
    box-shadow: 0 -4px 20px var(--vca5-shadow);
    border-top: 1px solid rgba(255, 192, 203, 0.2);
}

.vca5-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.vca5-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    padding: 6px 8px;
    color: var(--vca5-gray);
    cursor: pointer;
    transition: all var(--vca5-transition);
    border-radius: var(--vca5-radius);
}

.vca5-bottom-nav-item:hover, .vca5-bottom-nav-active {
    color: var(--vca5-mint);
    background: rgba(0, 250, 154, 0.1);
}

.vca5-bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.vca5-bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .vca5-bottom-nav {
        display: none;
    }
}

/* Carousel Styles */
.vca5-carousel {
    position: relative;
    margin-top: 70px;
    overflow: hidden;
    border-radius: var(--vca5-radius-lg);
}

.vca5-carousel-track {
    position: relative;
    height: 200px;
}

.vca5-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vca5-slide-active {
    opacity: 1;
}

.vca5-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vca5-carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.vca5-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--vca5-transition);
}

.vca5-indicator-active {
    background: var(--vca5-mint);
    transform: scale(1.2);
}

/* Game Grid */
.vca5-section {
    padding: 24px 0;
}

.vca5-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--vca5-pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vca5-section-title i {
    color: var(--vca5-mint);
}

.vca5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.vca5-game-card {
    background: var(--vca5-dark-gray);
    border-radius: var(--vca5-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--vca5-transition);
}

.vca5-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 250, 154, 0.2);
}

.vca5-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.vca5-game-name {
    padding: 8px;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--vca5-white);
}

/* Content Modules */
.vca5-module {
    background: var(--vca5-dark-gray);
    border-radius: var(--vca5-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.vca5-module-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--vca5-mint);
}

.vca5-module p {
    margin-bottom: 12px;
    color: var(--vca5-light-gray);
}

.vca5-module ul {
    list-style: none;
    margin-bottom: 12px;
}

.vca5-module li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--vca5-light-gray);
}

.vca5-module li::before {
    content: '\2022';
    color: var(--vca5-pink);
    position: absolute;
    left: 8px;
}

.vca5-promo-link {
    color: var(--vca5-mint);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.vca5-promo-link:hover {
    color: var(--vca5-pink);
}

/* Accordion */
.vca5-accordion-item {
    background: var(--vca5-dark-gray);
    border-radius: var(--vca5-radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.vca5-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--vca5-white);
}

.vca5-accordion-header i {
    transition: transform var(--vca5-transition);
    color: var(--vca5-mint);
}

.vca5-accordion-open .vca5-accordion-header i {
    transform: rotate(180deg);
}

.vca5-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--vca5-transition);
}

.vca5-accordion-open .vca5-accordion-content {
    max-height: 500px;
}

.vca5-accordion-body {
    padding: 0 16px 16px;
    color: var(--vca5-light-gray);
}

/* Tabs */
.vca5-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.vca5-tab-btn {
    padding: 10px 16px;
    background: var(--vca5-dark-gray);
    color: var(--vca5-white);
    border: none;
    border-radius: var(--vca5-radius);
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--vca5-transition);
}

.vca5-tab-btn:hover, .vca5-tab-active {
    background: var(--vca5-primary);
    color: var(--vca5-white);
}

.vca5-tab-panel {
    display: none;
}

.vca5-panel-active {
    display: block;
}

/* Footer */
.vca5-footer {
    background: var(--vca5-dark-gray);
    padding: 30px 0 20px;
    margin-top: 40px;
}

.vca5-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.vca5-partner-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--vca5-transition);
}

.vca5-partner-logo:hover {
    opacity: 1;
}

.vca5-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.vca5-footer-link {
    color: var(--vca5-gray);
    font-size: 0.875rem;
}

.vca5-footer-link:hover {
    color: var(--vca5-mint);
}

.vca5-copyright {
    text-align: center;
    color: var(--vca5-gray);
    font-size: 0.75rem;
}

/* Scroll to Top */
.vca5-scroll-top {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--vca5-primary);
    color: var(--vca5-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--vca5-transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vca5-scroll-visible {
    opacity: 1;
    visibility: visible;
}

.vca5-scroll-top:hover {
    background: var(--vca5-mint);
    transform: translateY(-4px);
}

@media (min-width: 769px) {
    .vca5-scroll-top {
        bottom: 30px;
        right: 30px;
    }
}

/* Utility Classes */
.vca5-text-center { text-align: center; }
.vca5-text-pink { color: var(--vca5-pink); }
.vca5-text-mint { color: var(--vca5-mint); }
.vca5-text-primary { color: var(--vca5-primary); }
.vca5-mt-20 { margin-top: 20px; }
.vca5-mb-20 { margin-bottom: 20px; }
.vca5-hidden { display: none; }

/* Feature Cards */
.vca5-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vca5-feature-card {
    background: linear-gradient(135deg, var(--vca5-dark-gray) 0%, rgba(34, 139, 34, 0.1) 100%);
    padding: 16px;
    border-radius: var(--vca5-radius);
    text-align: center;
    border: 1px solid rgba(0, 250, 154, 0.2);
}

.vca5-feature-card i {
    font-size: 32px;
    color: var(--vca5-mint);
    margin-bottom: 8px;
}

.vca5-feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--vca5-white);
}

.vca5-feature-card p {
    font-size: 0.75rem;
    color: var(--vca5-gray);
}

/* H1 Title */
.vca5-h1 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin: 24px 0;
    color: var(--vca5-white);
    line-height: 1.3;
}

.vca5-h1 span {
    color: var(--vca5-mint);
}
