/**
 * 22jl ph - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: vdcd-
 */

/* CSS Variables */
:root {
    --vdcd-primary: #008B8B;
    --vdcd-secondary: #4DB6AC;
    --vdcd-accent: #FF7F50;
    --vdcd-bg-dark: #2C2C2C;
    --vdcd-bg-light: #F0FDFF;
    --vdcd-text-light: #F0FDFF;
    --vdcd-text-dark: #2C2C2C;
    --vdcd-text-muted: #999999;
    --vdcd-gradient-start: #008B8B;
    --vdcd-gradient-end: #4DB6AC;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--vdcd-text-dark);
    background: var(--vdcd-bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.vdcd-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vdcd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--vdcd-gradient-start), var(--vdcd-gradient-end));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.vdcd-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.vdcd-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.vdcd-logo img {
    width: 32px;
    height: 32px;
}

.vdcd-logo-text {
    color: var(--vdcd-text-light);
    font-size: 1.8rem;
    font-weight: 700;
}

.vdcd-header-actions {
    display: flex;
    gap: 0.8rem;
}

.vdcd-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.vdcd-btn-primary {
    background: var(--vdcd-accent);
    color: var(--vdcd-text-light);
}

.vdcd-btn-primary:hover {
    background: #FF6B3D;
    transform: translateY(-2px);
}

.vdcd-btn-outline {
    background: transparent;
    color: var(--vdcd-text-light);
    border: 2px solid var(--vdcd-text-light);
}

.vdcd-btn-outline:hover {
    background: var(--vdcd-text-light);
    color: var(--vdcd-primary);
}

.vdcd-menu-toggle {
    background: none;
    border: none;
    color: var(--vdcd-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Menu */
.vdcd-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.95);
    z-index: 9999;
    display: none;
    padding: 8rem 2rem 2rem;
}

.vdcd-menu-open {
    display: block;
}

.vdcd-mobile-menu ul {
    list-style: none;
}

.vdcd-mobile-menu li {
    margin-bottom: 1.5rem;
}

.vdcd-mobile-menu a {
    color: var(--vdcd-text-light);
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.vdcd-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
main {
    margin-top: 80px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.vdcd-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.vdcd-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vdcd-slide.vdcd-active {
    opacity: 1;
}

.vdcd-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section */
.vdcd-section {
    padding: 2.5rem 0;
}

.vdcd-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--vdcd-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Games Grid */
.vdcd-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vdcd-game-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

.vdcd-game-card:hover {
    transform: translateY(-5px);
}

.vdcd-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vdcd-game-name {
    font-size: 1.2rem;
    color: var(--vdcd-text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Box */
.vdcd-content-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vdcd-content-box h2 {
    color: var(--vdcd-primary);
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.vdcd-content-box h3 {
    color: var(--vdcd-secondary);
    font-size: 1.7rem;
    margin: 1.5rem 0 1rem;
}

.vdcd-content-box p {
    color: var(--vdcd-text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vdcd-content-box ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.vdcd-content-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Affiliate Link */
.vdcd-affiliate-link {
    color: var(--vdcd-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vdcd-affiliate-link:hover {
    color: #FF6B3D;
    text-decoration: underline;
}

/* Footer */
.vdcd-footer {
    background: var(--vdcd-bg-dark);
    color: var(--vdcd-text-light);
    padding: 3rem 0 1.5rem;
}

.vdcd-footer-section {
    margin-bottom: 2rem;
}

.vdcd-footer-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vdcd-accent);
}

.vdcd-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vdcd-footer-links a {
    color: var(--vdcd-text-light);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.vdcd-footer-links a:hover {
    color: var(--vdcd-accent);
}

.vdcd-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.vdcd-partners img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.vdcd-partners img:hover {
    opacity: 1;
}

.vdcd-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
    color: var(--vdcd-text-muted);
}

/* Bottom Navigation - Mobile */
.vdcd-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--vdcd-gradient-start), var(--vdcd-gradient-end));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .vdcd-bottom-nav {
        display: block;
    }
}

.vdcd-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    max-width: 430px;
    margin: 0 auto;
}

.vdcd-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 60px;
}

.vdcd-nav-item:hover {
    transform: scale(1.1);
}

.vdcd-nav-item i,
.vdcd-nav-item .material-icons {
    font-size: 24px;
    color: var(--vdcd-text-light);
    margin-bottom: 0.3rem;
}

.vdcd-nav-item span {
    font-size: 1.1rem;
    color: var(--vdcd-text-light);
    font-weight: 500;
}

.vdcd-nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .vdcd-menu-toggle {
        display: none;
    }

    .vdcd-desktop-nav {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .vdcd-desktop-nav a {
        color: var(--vdcd-text-light);
        font-size: 1.4rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .vdcd-desktop-nav a:hover {
        color: var(--vdcd-accent);
    }
}

@media (max-width: 768px) {
    .vdcd-desktop-nav {
        display: none;
    }
}

/* Utility Classes */
.vdcd-text-center {
    text-align: center;
}

.vdcd-mb-1 {
    margin-bottom: 1rem;
}

.vdcd-mb-2 {
    margin-bottom: 2rem;
}

.vdcd-mt-2 {
    margin-top: 2rem;
}

.vdcd-hidden {
    display: none !important;
}

/* Responsive Typography */
@media (max-width: 430px) {
    html {
        font-size: 55%;
    }
}
