/**
 * Queen Casino - Main Stylesheet
 * Version: 1.0.0
 * Prefix: v8eb-
 * Color Palette: #008B8B | #FFD700 | #2C2C2C | #FFAA00 | #00B8D4
 */

/* CSS Variables */
:root {
    --v8eb-primary: #008B8B;
    --v8eb-secondary: #FFD700;
    --v8eb-dark: #2C2C2C;
    --v8eb-accent: #FFAA00;
    --v8eb-highlight: #00B8D4;
    --v8eb-bg: #1a1a2e;
    --v8eb-bg-light: #16213e;
    --v8eb-text: #ffffff;
    --v8eb-text-muted: #a0a0a0;
    --v8eb-border: #333355;
    --v8eb-success: #28a745;
    --v8eb-gradient: linear-gradient(135deg, #008B8B 0%, #00B8D4 100%);
    --v8eb-gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFAA00 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--v8eb-bg);
    color: var(--v8eb-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.v8eb-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v8eb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 139, 139, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.v8eb-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 139, 139, 0.3);
}

.v8eb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.v8eb-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.v8eb-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.v8eb-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v8eb-secondary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.v8eb-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v8eb-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.v8eb-btn-primary {
    background: var(--v8eb-gradient-gold);
    color: var(--v8eb-dark);
}

.v8eb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.v8eb-btn-secondary {
    background: transparent;
    color: var(--v8eb-text);
    border: 2px solid var(--v8eb-primary);
}

.v8eb-btn-secondary:hover {
    background: var(--v8eb-primary);
}

/* Hamburger Menu */
.v8eb-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.v8eb-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--v8eb-secondary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.v8eb-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.v8eb-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.v8eb-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.v8eb-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--v8eb-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.v8eb-menu-active {
    right: 0;
}

.v8eb-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v8eb-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v8eb-nav-list {
    list-style: none;
}

.v8eb-nav-item {
    margin-bottom: 1rem;
}

.v8eb-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--v8eb-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.v8eb-nav-link:hover {
    background: var(--v8eb-primary);
    color: var(--v8eb-secondary);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel/Slider */
.v8eb-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.v8eb-slides {
    position: relative;
    width: 100%;
}

.v8eb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v8eb-slide-active {
    position: relative;
    opacity: 1;
}

.v8eb-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v8eb-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.v8eb-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v8eb-dot-active {
    background: var(--v8eb-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.v8eb-section {
    padding: 3rem 1.5rem;
}

.v8eb-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v8eb-secondary);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Game Grid */
.v8eb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.v8eb-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v8eb-game-item:hover {
    transform: scale(1.05);
}

.v8eb-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--v8eb-border);
    transition: all 0.3s ease;
}

.v8eb-game-item:hover .v8eb-game-img {
    border-color: var(--v8eb-secondary);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.v8eb-game-name {
    font-size: 1.1rem;
    color: var(--v8eb-text);
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.v8eb-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v8eb-highlight);
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v8eb-primary);
}

/* Cards */
.v8eb-card {
    background: var(--v8eb-bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v8eb-border);
    transition: all 0.3s ease;
}

.v8eb-card:hover {
    border-color: var(--v8eb-primary);
    box-shadow: 0 4px 20px rgba(0, 139, 139, 0.2);
}

.v8eb-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v8eb-secondary);
    margin-bottom: 1rem;
}

.v8eb-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--v8eb-text-muted);
}

/* Promo Links */
.v8eb-promo-link {
    color: var(--v8eb-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.v8eb-promo-link:hover {
    color: var(--v8eb-accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Footer */
.v8eb-footer {
    background: var(--v8eb-bg-light);
    padding: 3rem 1.5rem 8rem;
    border-top: 1px solid var(--v8eb-border);
}

.v8eb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v8eb-footer-link {
    color: var(--v8eb-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.v8eb-footer-link:hover {
    color: var(--v8eb-secondary);
}

.v8eb-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.v8eb-partner {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.v8eb-partner:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.v8eb-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--v8eb-text-muted);
}

/* Bottom Navigation - Mobile */
.v8eb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(0, 139, 139, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--v8eb-primary);
}

@media (min-width: 769px) {
    .v8eb-bottom-nav {
        display: none;
    }
}

.v8eb-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--v8eb-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.v8eb-nav-btn:hover,
.v8eb-nav-btn.v8eb-active {
    color: var(--v8eb-secondary);
    transform: scale(1.1);
}

.v8eb-nav-btn i,
.v8eb-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.v8eb-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .v8eb-hamburger {
        display: none;
    }

    .v8eb-desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .v8eb-desktop-nav .v8eb-nav-link {
        padding: 0.5rem 1rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .v8eb-desktop-nav {
        display: none;
    }

    .v8eb-hamburger {
        display: flex;
    }
}

/* Utility Classes */
.v8eb-text-center {
    text-align: center;
}

.v8eb-mb-1 {
    margin-bottom: 1rem;
}

.v8eb-mb-2 {
    margin-bottom: 2rem;
}

.v8eb-mb-3 {
    margin-bottom: 3rem;
}

.v8eb-hidden {
    display: none !important;
}

/* Animations */
@keyframes v8eb-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.v8eb-pulse {
    animation: v8eb-pulse 2s infinite;
}

@keyframes v8eb-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v8eb-fadeIn {
    animation: v8eb-fadeIn 0.5s ease forwards;
}

/* Responsive Typography */
@media (max-width: 380px) {
    html {
        font-size: 55%;
    }

    .v8eb-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
