/**
 * Beeking Layout Stylesheet
 * Version: 1.0.0
 * All classes use prefix: v86d-
 * Color Palette: #C0C0C0 | #1A1A2E | #2C3E50 | #6F4E37 | #A9A9A9
 */

/* CSS Variables */
:root {
    --v86d-primary: #C0C0C0;
    --v86d-bg-dark: #1A1A2E;
    --v86d-bg-secondary: #2C3E50;
    --v86d-accent: #6F4E37;
    --v86d-text-light: #A9A9A9;
    --v86d-text-white: #FFFFFF;
    --v86d-gold: #DAA520;
    --v86d-gradient: linear-gradient(135deg, #1A1A2E 0%, #2C3E50 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--v86d-bg-dark);
    color: var(--v86d-text-white);
    line-height: 1.5rem;
    min-height: 100vh;
}

/* Container */
.v86d-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v86d-wrapper {
    width: 100%;
    padding: 1rem;
}

/* Header */
.v86d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v86d-bg-dark);
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    transition: all 0.3s ease;
}

.v86d-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.v86d-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.v86d-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v86d-logo img {
    width: 28px;
    height: 28px;
}

.v86d-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v86d-text-white);
    background: linear-gradient(90deg, var(--v86d-gold), var(--v86d-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v86d-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v86d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.v86d-btn-primary {
    background: var(--v86d-gold);
    color: var(--v86d-bg-dark);
}

.v86d-btn-primary:hover {
    background: #F0C020;
    transform: scale(1.05);
}

.v86d-btn-secondary {
    background: transparent;
    border: 1px solid var(--v86d-primary);
    color: var(--v86d-primary);
}

.v86d-btn-secondary:hover {
    background: var(--v86d-primary);
    color: var(--v86d-bg-dark);
}

.v86d-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v86d-text-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.v86d-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v86d-bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.v86d-menu-active {
    right: 0;
}

.v86d-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v86d-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v86d-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.v86d-menu-close {
    background: transparent;
    border: none;
    color: var(--v86d-text-white);
    font-size: 2.4rem;
    cursor: pointer;
}

.v86d-nav-list {
    list-style: none;
}

.v86d-nav-item {
    margin-bottom: 0.5rem;
}

.v86d-nav-link {
    display: block;
    padding: 1rem;
    color: var(--v86d-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.v86d-nav-link:hover {
    background: rgba(192, 192, 192, 0.1);
    color: var(--v86d-text-white);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.v86d-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.v86d-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v86d-slide-active {
    opacity: 1;
}

.v86d-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.v86d-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v86d-text-white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--v86d-gold);
}

.v86d-h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v86d-text-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Game Grid */
.v86d-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v86d-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v86d-game-item:hover {
    transform: translateY(-3px);
}

.v86d-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
    object-fit: cover;
    border: 2px solid rgba(192, 192, 192, 0.2);
}

.v86d-game-name {
    font-size: 1.1rem;
    color: var(--v86d-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.v86d-card {
    background: var(--v86d-bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.v86d-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v86d-gold);
    margin-bottom: 1rem;
}

.v86d-card-text {
    font-size: 1.3rem;
    color: var(--v86d-text-light);
    line-height: 1.6;
}

/* Features List */
.v86d-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v86d-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.v86d-feature-icon {
    font-size: 2rem;
    color: var(--v86d-gold);
    flex-shrink: 0;
}

.v86d-feature-text {
    font-size: 1.3rem;
    color: var(--v86d-text-light);
}

/* Footer */
.v86d-footer {
    background: var(--v86d-bg-secondary);
    padding: 2rem 1.5rem 3rem;
    margin-top: 2rem;
}

.v86d-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v86d-footer-link {
    color: var(--v86d-text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.v86d-footer-link:hover {
    color: var(--v86d-gold);
}

.v86d-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v86d-partner-logo {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v86d-partner-logo:hover {
    opacity: 1;
}

.v86d-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v86d-text-light);
    margin-top: 1rem;
}

/* Mobile Bottom Navigation */
.v86d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--v86d-bg-dark);
    border-top: 1px solid rgba(192, 192, 192, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

@media (min-width: 769px) {
    .v86d-bottom-nav {
        display: none;
    }
}

.v86d-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--v86d-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v86d-nav-btn:hover,
.v86d-nav-btn-active {
    color: var(--v86d-gold);
    transform: scale(1.1);
}

.v86d-nav-btn i,
.v86d-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.v86d-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Link Styles */
.v86d-promo-link {
    color: var(--v86d-gold);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.v86d-promo-link:hover {
    color: #F0C020;
    text-decoration: underline;
}

.v86d-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--v86d-gold), #B8860B);
    color: var(--v86d-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.v86d-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

/* RTP Stats */
.v86d-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v86d-rtp-item {
    background: rgba(192, 192, 192, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.v86d-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v86d-gold);
}

.v86d-rtp-label {
    font-size: 1.1rem;
    color: var(--v86d-text-light);
}

/* FAQ Section */
.v86d-faq-item {
    background: rgba(192, 192, 192, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.v86d-faq-question {
    padding: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v86d-text-white);
    background: rgba(192, 192, 192, 0.1);
}

.v86d-faq-answer {
    padding: 1.2rem;
    font-size: 1.2rem;
    color: var(--v86d-text-light);
    line-height: 1.6;
}

/* Utility Classes */
.v86d-text-center {
    text-align: center;
}

.v86d-mb-1 {
    margin-bottom: 1rem;
}

.v86d-mb-2 {
    margin-bottom: 2rem;
}

.v86d-mt-2 {
    margin-top: 2rem;
}

.v86d-hidden-desktop {
    display: block;
}

@media (min-width: 769px) {
    .v86d-hidden-desktop {
        display: none;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .v86d-header-inner {
        max-width: 1200px;
    }

    .v86d-container {
        max-width: 1200px;
    }

    .v86d-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v86d-slider {
        height: 350px;
    }
}
