/**
 * Fair Play Game - Theme Stylesheet
 * Version: 1.0.0
 * All classes use 'vd72-' prefix for namespace isolation
 * Color Palette: #66CDAA | #ADD8E6 | #87CEFA | #1A1A1A | #00CED1
 */

/* CSS Variables */
:root {
    --vd72-primary: #66CDAA;
    --vd72-secondary: #ADD8E6;
    --vd72-accent: #87CEFA;
    --vd72-dark: #1A1A1A;
    --vd72-highlight: #00CED1;
    --vd72-bg-dark: #0D0D0D;
    --vd72-bg-card: #1F2937;
    --vd72-text-light: #E5E7EB;
    --vd72-text-muted: #9CA3AF;
    --vd72-border: #374151;
    --vd72-success: #10B981;
    --vd72-gradient: linear-gradient(135deg, #66CDAA 0%, #00CED1 100%);
}

/* Base Styles */
html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--vd72-dark);
    color: var(--vd72-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Container */
.vd72-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vd72-wrapper {
    width: 100%;
    position: relative;
}

/* Header Styles */
.vd72-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--vd72-dark) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-bottom: 1px solid var(--vd72-border);
    z-index: 1000;
    padding: 0.8rem 0;
}

.vd72-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vd72-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.vd72-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vd72-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vd72-primary);
    letter-spacing: -0.5px;
}

.vd72-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vd72-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    min-height: 36px;
}

.vd72-btn-register {
    background: var(--vd72-gradient);
    color: var(--vd72-dark);
}

.vd72-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 205, 170, 0.4);
}

.vd72-btn-login {
    background: transparent;
    border: 1px solid var(--vd72-primary);
    color: var(--vd72-primary);
}

.vd72-btn-login:hover {
    background: var(--vd72-primary);
    color: var(--vd72-dark);
}

.vd72-menu-toggle {
    background: transparent;
    border: none;
    color: var(--vd72-text-light);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vd72-menu-toggle i {
    font-size: 2rem;
}

/* Mobile Menu */
.vd72-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vd72-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.6rem 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--vd72-border);
}

.vd72-mobile-menu.vd72-menu-open {
    right: 0;
}

.vd72-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;
}

.vd72-menu-overlay.vd72-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vd72-menu-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--vd72-text-light);
    cursor: pointer;
    font-size: 2.4rem;
}

.vd72-menu-nav {
    list-style: none;
    padding: 0;
}

.vd72-menu-nav li {
    border-bottom: 1px solid var(--vd72-border);
}

.vd72-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--vd72-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.vd72-menu-nav a:hover {
    color: var(--vd72-primary);
}

/* Main Content */
main {
    padding-top: 6rem;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 8rem;
    }
}

/* Slider */
.vd72-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.vd72-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.vd72-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.vd72-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.vd72-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vd72-slider-dot.vd72-dot-active {
    background: var(--vd72-primary);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.vd72-section {
    padding: 2rem 0;
}

.vd72-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vd72-primary);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.vd72-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--vd72-gradient);
    border-radius: 2px;
}

/* Game Grid */
.vd72-game-section {
    margin-bottom: 2.4rem;
}

.vd72-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vd72-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vd72-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.vd72-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vd72-game-item:hover {
    transform: translateY(-4px);
}

.vd72-game-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.4rem;
    border: 2px solid var(--vd72-border);
    transition: border-color 0.2s ease;
}

.vd72-game-item:hover .vd72-game-icon {
    border-color: var(--vd72-primary);
}

.vd72-game-name {
    font-size: 1rem;
    color: var(--vd72-text-light);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.vd72-card {
    background: var(--vd72-bg-card);
    border-radius: 12px;
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--vd72-border);
}

.vd72-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vd72-primary);
    margin-bottom: 0.8rem;
}

.vd72-card-text {
    color: var(--vd72-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Promo Link Styles */
.vd72-promo-link {
    color: var(--vd72-highlight);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.vd72-promo-link:hover {
    color: var(--vd72-primary);
    text-decoration: underline;
}

.vd72-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--vd72-gradient);
    color: var(--vd72-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vd72-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 205, 170, 0.4);
}

/* FAQ Section */
.vd72-faq-item {
    background: var(--vd72-bg-card);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--vd72-primary);
}

.vd72-faq-question {
    font-weight: 600;
    color: var(--vd72-text-light);
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.vd72-faq-answer {
    color: var(--vd72-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* RTP Stats */
.vd72-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vd72-stat-item {
    background: var(--vd72-bg-card);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
}

.vd72-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vd72-primary);
}

.vd72-stat-label {
    font-size: 1.1rem;
    color: var(--vd72-text-muted);
    margin-top: 0.4rem;
}

/* Footer */
.vd72-footer {
    background: var(--vd72-bg-dark);
    border-top: 1px solid var(--vd72-border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.vd72-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vd72-footer-link {
    color: var(--vd72-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.vd72-footer-link:hover {
    color: var(--vd72-primary);
}

.vd72-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vd72-partner-logo {
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    filter: grayscale(100%);
}

.vd72-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.vd72-copyright {
    text-align: center;
    color: var(--vd72-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--vd72-border);
}

/* Bottom Navigation - Mobile */
.vd72-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--vd72-dark) 100%);
    border-top: 1px solid var(--vd72-border);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.4rem;
}

@media (max-width: 768px) {
    .vd72-bottom-nav {
        display: flex;
    }
}

.vd72-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 8px;
}

.vd72-nav-item:hover {
    background: rgba(102, 205, 170, 0.1);
}

.vd72-nav-item i,
.vd72-nav-item .material-icons {
    font-size: 24px;
    color: var(--vd72-text-muted);
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.vd72-nav-item span {
    font-size: 10px;
    color: var(--vd72-text-muted);
    transition: color 0.2s ease;
}

.vd72-nav-item:hover i,
.vd72-nav-item:hover .material-icons,
.vd72-nav-item:hover span {
    color: var(--vd72-primary);
}

.vd72-nav-item.active i,
.vd72-nav-item.active .material-icons,
.vd72-nav-item.active span {
    color: var(--vd72-highlight);
}

/* Responsive Utilities */
@media (min-width: 769px) {
    .vd72-bottom-nav {
        display: none !important;
    }

    .vd72-container {
        max-width: 600px;
    }
}

/* Utility Classes */
.vd72-text-center { text-align: center; }
.vd72-text-left { text-align: left; }
.vd72-mb-1 { margin-bottom: 1rem; }
.vd72-mb-2 { margin-bottom: 2rem; }
.vd72-mt-1 { margin-top: 1rem; }
.vd72-mt-2 { margin-top: 2rem; }
.vd72-hidden { display: none; }
.vd72-flex { display: flex; }
.vd72-flex-center { display: flex; align-items: center; justify-content: center; }
.vd72-gap-1 { gap: 0.5rem; }
.vd72-gap-2 { gap: 1rem; }

/* Features List */
.vd72-features-list {
    list-style: none;
    padding: 0;
}

.vd72-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--vd72-border);
}

.vd72-features-list li:last-child {
    border-bottom: none;
}

.vd72-features-list i {
    color: var(--vd72-primary);
    font-size: 1.4rem;
    margin-top: 2px;
}

/* Achievements */
.vd72-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--vd72-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.vd72-achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vd72-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vd72-dark);
    font-size: 1.6rem;
}

.vd72-achievement-text {
    flex: 1;
}

.vd72-achievement-title {
    font-weight: 600;
    color: var(--vd72-text-light);
    font-size: 1.2rem;
}

.vd72-achievement-desc {
    font-size: 1.1rem;
    color: var(--vd72-text-muted);
}
