/**
 * Lucky Star Casino - Layout Styles
 * All classes prefixed with vc60-
 * All CSS variables prefixed with --vc60-
 */

/* === CSS Variables === */
:root {
    --vc60-primary: #40E0D0;
    --vc60-secondary: #00CED1;
    --vc60-light: #F0FDFF;
    --vc60-highlight: #E0FFFF;
    --vc60-bg: #0E1621;
    --vc60-bg-card: #151f2e;
    --vc60-bg-card-hover: #1a2738;
    --vc60-text: #F0FDFF;
    --vc60-text-muted: #8a9bb5;
    --vc60-border: #1e3048;
    --vc60-shadow: rgba(0, 0, 0, 0.35);
    --vc60-radius: 10px;
    --vc60-radius-sm: 6px;
    --vc60-radius-lg: 16px;
    --vc60-transition: 0.3s ease;
    --vc60-font: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --vc60-header-h: 56px;
    --vc60-bnav-h: 62px;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--vc60-font);
    background: var(--vc60-bg);
    color: var(--vc60-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--vc60-primary);
    text-decoration: none;
    transition: color var(--vc60-transition);
}

a:hover {
    color: var(--vc60-highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* === Container === */
.vc60-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 12px;
}

/* === Header === */
.vc60-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--vc60-bg);
    border-bottom: 1px solid var(--vc60-border);
    height: var(--vc60-header-h);
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: all var(--vc60-transition);
}

.vc60-header-scrolled {
    height: 46px;
    background: rgba(14, 22, 33, 0.96);
    box-shadow: 0 2px 12px var(--vc60-shadow);
}

.vc60-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.vc60-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.vc60-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.vc60-logo-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--vc60-primary);
    white-space: nowrap;
}

.vc60-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vc60-btn-register {
    background: var(--vc60-primary);
    color: var(--vc60-bg);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all var(--vc60-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vc60-btn-register:hover {
    background: var(--vc60-highlight);
    color: var(--vc60-bg);
    transform: scale(1.04);
}

.vc60-btn-login {
    background: transparent;
    color: var(--vc60-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--vc60-primary);
    transition: all var(--vc60-transition);
}

.vc60-btn-login:hover {
    background: var(--vc60-primary);
    color: var(--vc60-bg);
}

.vc60-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--vc60-text);
    font-size: 22px;
    margin-left: 4px;
}

/* === Desktop Navigation === */
.vc60-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .vc60-desktop-nav {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .vc60-desktop-nav a {
        color: var(--vc60-text-muted);
        font-size: 13px;
        font-weight: 500;
        transition: color var(--vc60-transition);
    }

    .vc60-desktop-nav a:hover {
        color: var(--vc60-primary);
    }

    .vc60-hamburger {
        display: none;
    }

    .vc60-header-inner {
        max-width: 960px;
    }

    .vc60-container {
        max-width: 960px;
    }
}

/* === Overlay === */
.vc60-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    transition: opacity var(--vc60-transition);
}

.vc60-overlay-active {
    display: block;
    opacity: 1;
}

/* === Mobile Menu === */
.vc60-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vc60-bg);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--vc60-border);
    padding: 20px 16px 80px;
}

.vc60-menu-open {
    right: 0;
}

.vc60-menu-closed {
    right: -280px;
}

.vc60-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--vc60-border);
}

.vc60-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--vc60-primary);
}

.vc60-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--vc60-text);
    font-size: 20px;
    border-radius: 50%;
    transition: background var(--vc60-transition);
}

.vc60-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vc60-menu-section {
    margin-bottom: 18px;
}

.vc60-menu-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--vc60-text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.vc60-menu-link {
    display: block;
    padding: 8px 10px;
    color: var(--vc60-text);
    font-size: 13px;
    border-radius: var(--vc60-radius-sm);
    transition: all var(--vc60-transition);
}

.vc60-menu-link:hover {
    background: rgba(64, 224, 208, 0.1);
    color: var(--vc60-primary);
}

/* === Slider / Banner === */
.vc60-slider {
    position: relative;
    width: 100%;
    margin-top: var(--vc60-header-h);
    overflow: hidden;
    border-radius: 0 0 var(--vc60-radius) var(--vc60-radius);
}

.vc60-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.vc60-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc60-slide-active {
    display: block;
    animation: vc60fadeIn 0.5s ease;
}

.vc60-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.vc60-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--vc60-transition);
}

.vc60-dot-active {
    background: var(--vc60-primary);
    width: 22px;
    border-radius: 4px;
}

/* === Main Content === */
.vc60-main {
    padding-top: 12px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .vc60-main {
        padding-bottom: 80px;
    }
}

/* === Sections === */
.vc60-section {
    margin-bottom: 24px;
}

.vc60-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vc60-text);
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 3px solid var(--vc60-primary);
}

.vc60-section-subtitle {
    font-size: 13px;
    color: var(--vc60-text-muted);
    margin-top: -10px;
    margin-bottom: 14px;
    padding-left: 13px;
}

/* === Game Grid === */
.vc60-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (min-width: 769px) {
    .vc60-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
}

.vc60-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: var(--vc60-radius);
    background: var(--vc60-bg-card);
    cursor: pointer;
    transition: all var(--vc60-transition);
    border: 1px solid transparent;
}

.vc60-game-card:hover {
    background: var(--vc60-bg-card-hover);
    border-color: var(--vc60-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.15);
}

.vc60-game-card img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.vc60-game-card span {
    font-size: 10px;
    font-weight: 500;
    color: var(--vc60-text-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === Category Tabs === */
.vc60-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vc60-cat-tabs::-webkit-scrollbar {
    display: none;
}

.vc60-cat-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--vc60-bg-card);
    color: var(--vc60-text-muted);
    cursor: pointer;
    transition: all var(--vc60-transition);
    border: 1px solid var(--vc60-border);
}

.vc60-cat-tab-active,
.vc60-cat-tab:hover {
    background: var(--vc60-primary);
    color: var(--vc60-bg);
    border-color: var(--vc60-primary);
}

/* === Content Modules === */
.vc60-content-block {
    background: var(--vc60-bg-card);
    border-radius: var(--vc60-radius-lg);
    padding: 18px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--vc60-border);
}

.vc60-content-block h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--vc60-primary);
    margin-bottom: 10px;
}

.vc60-content-block h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--vc60-text);
    margin-bottom: 8px;
    margin-top: 12px;
}

.vc60-content-block p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--vc60-text-muted);
    margin-bottom: 10px;
}

.vc60-content-block ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.vc60-content-block li {
    font-size: 13px;
    line-height: 1.7;
    color: var(--vc60-text-muted);
    margin-bottom: 4px;
    list-style: disc;
}

/* === Promo Buttons === */
.vc60-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--vc60-primary), var(--vc60-secondary));
    color: var(--vc60-bg);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--vc60-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin: 6px 4px;
}

.vc60-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 18px rgba(64, 224, 208, 0.35);
}

/* === Bottom Navigation (Mobile) === */
.vc60-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--vc60-bnav-h);
    background: var(--vc60-bg);
    border-top: 1px solid var(--vc60-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    box-shadow: 0 -2px 10px var(--vc60-shadow);
}

@media (min-width: 769px) {
    .vc60-bottom-nav {
        display: none;
    }
}

.vc60-bnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: transparent;
    color: var(--vc60-text-muted);
    font-size: 10px;
    gap: 2px;
    border-radius: var(--vc60-radius-sm);
    transition: all var(--vc60-transition);
    padding: 4px 6px;
    position: relative;
}

.vc60-bnav-btn:hover,
.vc60-bnav-btn-active {
    color: var(--vc60-primary);
}

.vc60-bnav-btn-active::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--vc60-primary);
    border-radius: 0 0 2px 2px;
}

.vc60-bnav-btn .material-icons,
.vc60-bnav-btn i {
    font-size: 22px;
    transition: transform var(--vc60-transition);
}

.vc60-bnav-btn:hover .material-icons,
.vc60-bnav-btn:hover i {
    transform: scale(1.15);
}

.vc60-bnav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* === Footer === */
.vc60-footer {
    background: var(--vc60-bg-card);
    border-top: 1px solid var(--vc60-border);
    padding: 24px 12px 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .vc60-footer {
        padding-bottom: 80px;
    }
}

.vc60-footer-inner {
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .vc60-footer-inner {
        max-width: 960px;
    }
}

.vc60-footer-brand {
    text-align: center;
    margin-bottom: 18px;
}

.vc60-footer-brand p {
    font-size: 12px;
    color: var(--vc60-text-muted);
    line-height: 1.6;
    max-width: 340px;
    margin: 8px auto 0;
}

.vc60-footer-promos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.vc60-footer-promos button {
    background: var(--vc60-bg);
    color: var(--vc60-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 18px;
    border: 1px solid var(--vc60-border);
    transition: all var(--vc60-transition);
}

.vc60-footer-promos button:hover {
    border-color: var(--vc60-primary);
    background: rgba(64, 224, 208, 0.1);
}

.vc60-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 18px;
}

.vc60-footer-links a {
    font-size: 12px;
    color: var(--vc60-text-muted);
    transition: color var(--vc60-transition);
}

.vc60-footer-links a:hover {
    color: var(--vc60-primary);
}

.vc60-footer-copy {
    text-align: center;
    font-size: 11px;
    color: var(--vc60-text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--vc60-border);
}

/* === Back to Top === */
.vc60-back-to-top {
    position: fixed;
    bottom: 76px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vc60-primary);
    color: var(--vc60-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all var(--vc60-transition);
    box-shadow: 0 2px 10px rgba(64, 224, 208, 0.3);
}

.vc60-btt-visible {
    opacity: 1;
    pointer-events: auto;
}

.vc60-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(64, 224, 208, 0.45);
}

@media (min-width: 769px) {
    .vc60-back-to-top {
        bottom: 20px;
    }
}

/* === Animations === */
@keyframes vc60fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vc60slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vc60-animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.vc60-animated-in {
    opacity: 1;
    transform: translateY(0);
}

/* === Utilities === */
.vc60-text-center { text-align: center; }
.vc60-text-primary { color: var(--vc60-primary); }
.vc60-text-muted { color: var(--vc60-text-muted); }
.vc60-mt-8 { margin-top: 8px; }
.vc60-mt-16 { margin-top: 16px; }
.vc60-mb-8 { margin-bottom: 8px; }
.vc60-mb-16 { margin-bottom: 16px; }
.vc60-hidden-mobile { display: none; }

@media (min-width: 769px) {
    .vc60-hidden-mobile { display: block; }
    .vc60-hidden-desktop { display: none; }
}

/* === FAQ Accordion === */
.vc60-faq-item {
    background: var(--vc60-bg-card);
    border: 1px solid var(--vc60-border);
    border-radius: var(--vc60-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.vc60-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vc60-text);
    cursor: pointer;
    transition: background var(--vc60-transition);
}

.vc60-faq-q:hover {
    background: rgba(64, 224, 208, 0.05);
}

.vc60-faq-a {
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--vc60-text-muted);
    display: none;
}

.vc60-faq-item-open .vc60-faq-a {
    display: block;
    animation: vc60fadeIn 0.3s ease;
}

.vc60-faq-icon {
    font-size: 16px;
    color: var(--vc60-primary);
    transition: transform var(--vc60-transition);
}

.vc60-faq-item-open .vc60-faq-icon {
    transform: rotate(180deg);
}

/* === About Page === */
.vc60-about-hero {
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(0, 206, 209, 0.05));
    border-radius: var(--vc60-radius-lg);
    margin-bottom: 20px;
    border: 1px solid var(--vc60-border);
}

.vc60-about-hero h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--vc60-primary);
    margin-bottom: 8px;
}

.vc60-about-hero p {
    font-size: 13px;
    color: var(--vc60-text-muted);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.7;
}

.vc60-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.vc60-feature-item {
    background: var(--vc60-bg-card);
    border: 1px solid var(--vc60-border);
    border-radius: var(--vc60-radius);
    padding: 14px 10px;
    text-align: center;
    transition: all var(--vc60-transition);
}

.vc60-feature-item:hover {
    border-color: var(--vc60-primary);
    box-shadow: 0 2px 10px rgba(64, 224, 208, 0.1);
}

.vc60-feature-item i,
.vc60-feature-item .material-icons {
    font-size: 26px;
    color: var(--vc60-primary);
    margin-bottom: 6px;
    display: block;
}

.vc60-feature-item h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--vc60-text);
    margin-bottom: 4px;
}

.vc60-feature-item p {
    font-size: 11px;
    color: var(--vc60-text-muted);
    line-height: 1.5;
}

/* === Page Title === */
.vc60-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--vc60-text);
    margin-bottom: 6px;
    padding-top: 10px;
}

.vc60-page-desc {
    font-size: 13px;
    color: var(--vc60-text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}
