/**
 * Pinoy Timezone - Core Stylesheet
 * All classes use the v1ee- prefix for namespace isolation
 * Color Palette: #FF4500 | #1A1A1A | #FFD700 | #FFEF94 | #FFF8DC | #DEE2E6
 * Mobile-first design (max-width: 430px viewport)
 */

/* === CSS Variables === */
:root {
    --v1ee-primary: #FF4500;
    --v1ee-secondary: #FFD700;
    --v1ee-bg-dark: #1A1A1A;
    --v1ee-bg-card: #222222;
    --v1ee-text-light: #FFF8DC;
    --v1ee-text-muted: #DEE2E6;
    --v1ee-highlight: #FFEF94;
    --v1ee-accent: #FF6B35;
    --v1ee-gradient: linear-gradient(135deg, #FF4500 0%, #FFD700 100%);
    --v1ee-radius: 8px;
    --v1ee-radius-lg: 12px;
    --v1ee-shadow: 0 2px 12px rgba(255, 69, 0, 0.2);
    --v1ee-transition: all 0.3s ease;
    --v1ee-font-base: 62.5%;
    --v1ee-header-h: 56px;
    --v1ee-bottom-h: 60px;
}

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

html {
    font-size: var(--v1ee-font-base);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--v1ee-bg-dark);
    color: var(--v1ee-text-light);
    line-height: 1.5rem;
    font-size: 1.6rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--v1ee-secondary);
    text-decoration: none;
    transition: var(--v1ee-transition);
}

a:hover {
    color: var(--v1ee-primary);
}

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

/* === Container === */
.v1ee-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.v1ee-wrapper {
    width: 100%;
    position: relative;
}

/* === Header === */
.v1ee-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--v1ee-header-h);
    background: var(--v1ee-bg-dark);
    border-bottom: 2px solid var(--v1ee-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.v1ee-header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v1ee-logo {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v1ee-site-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v1ee-secondary);
    white-space: nowrap;
}

.v1ee-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v1ee-btn-register {
    background: var(--v1ee-gradient);
    color: var(--v1ee-bg-dark);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--v1ee-transition);
    min-height: 36px;
}

.v1ee-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.5);
}

.v1ee-btn-login {
    background: transparent;
    color: var(--v1ee-secondary);
    border: 1.5px solid var(--v1ee-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v1ee-transition);
    min-height: 36px;
}

.v1ee-btn-login:hover {
    background: var(--v1ee-secondary);
    color: var(--v1ee-bg-dark);
}

.v1ee-menu-toggle {
    background: none;
    border: none;
    color: var(--v1ee-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    line-height: 1;
}

/* === Mobile Menu === */
.v1ee-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #111;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.v1ee-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

.v1ee-menu-close {
    background: none;
    border: none;
    color: var(--v1ee-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.v1ee-menu-list {
    list-style: none;
    margin-top: 2rem;
}

.v1ee-menu-list li {
    margin-bottom: 1.2rem;
}

.v1ee-menu-list a {
    color: var(--v1ee-text-light);
    font-size: 1.5rem;
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    transition: var(--v1ee-transition);
}

.v1ee-menu-list a:hover {
    color: var(--v1ee-primary);
    padding-left: 0.5rem;
}

/* === Carousel === */
.v1ee-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--v1ee-radius-lg);
    margin-top: calc(var(--v1ee-header-h) + 0.8rem);
}

.v1ee-carousel-inner {
    position: relative;
    width: 100%;
    height: 180px;
}

.v1ee-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v1ee-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--v1ee-radius-lg);
}

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

.v1ee-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--v1ee-transition);
    border: none;
}

.v1ee-carousel-dot.v1ee-active {
    background: var(--v1ee-primary);
    transform: scale(1.2);
}

/* === Main Content === */
.v1ee-main {
    margin-top: calc(var(--v1ee-header-h) + 0.8rem);
    padding-bottom: 1rem;
}

/* === Section Titles === */
.v1ee-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v1ee-secondary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--v1ee-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v1ee-section-title i {
    color: var(--v1ee-primary);
}

/* === Game Grid === */
.v1ee-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.v1ee-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--v1ee-transition);
    border-radius: var(--v1ee-radius);
    padding: 0.4rem;
}

.v1ee-game-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--v1ee-shadow);
}

.v1ee-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--v1ee-radius);
    border: 2px solid #333;
    transition: var(--v1ee-transition);
}

.v1ee-game-item:hover img {
    border-color: var(--v1ee-primary);
}

.v1ee-game-name {
    font-size: 1.1rem;
    color: var(--v1ee-text-muted);
    margin-top: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

/* === Card === */
.v1ee-card {
    background: var(--v1ee-bg-card);
    border-radius: var(--v1ee-radius-lg);
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #333;
}

.v1ee-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v1ee-secondary);
    margin-bottom: 1rem;
}

.v1ee-card p {
    color: var(--v1ee-text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* === Buttons === */
.v1ee-btn {
    display: inline-block;
    background: var(--v1ee-gradient);
    color: var(--v1ee-bg-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--v1ee-transition);
    text-align: center;
}

.v1ee-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(255, 69, 0, 0.4);
}

.v1ee-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--v1ee-primary);
    padding: 0.7rem 1.6rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid var(--v1ee-primary);
    cursor: pointer;
    transition: var(--v1ee-transition);
    text-align: center;
}

.v1ee-btn-outline:hover {
    background: var(--v1ee-primary);
    color: #fff;
}

/* === Footer === */
.v1ee-footer {
    background: #111;
    padding: 2rem 1.2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--v1ee-primary);
}

.v1ee-footer-brand {
    font-size: 1.4rem;
    color: var(--v1ee-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.v1ee-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v1ee-footer-links a {
    color: var(--v1ee-secondary);
    font-size: 1.3rem;
    padding: 0.4rem 0.8rem;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #333;
    transition: var(--v1ee-transition);
}

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

.v1ee-footer-copy {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
}

/* === Bottom Navigation (Mobile) === */
.v1ee-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--v1ee-bottom-h);
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 2px solid var(--v1ee-primary);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.3rem;
}

.v1ee-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--v1ee-text-muted);
    cursor: pointer;
    transition: var(--v1ee-transition);
    border-radius: 8px;
    padding: 0.3rem;
    position: relative;
}

.v1ee-bottom-btn i,
.v1ee-bottom-btn .material-icons-outlined,
.v1ee-bottom-btn ion-icon {
    font-size: 22px;
    margin-bottom: 2px;
    transition: var(--v1ee-transition);
}

.v1ee-bottom-btn span {
    font-size: 1rem;
    white-space: nowrap;
}

.v1ee-bottom-btn:hover,
.v1ee-bottom-btn.v1ee-active {
    color: var(--v1ee-primary);
}

.v1ee-bottom-btn:hover i,
.v1ee-bottom-btn:hover .material-icons-outlined,
.v1ee-bottom-btn:hover ion-icon {
    transform: scale(1.15);
}

.v1ee-bottom-btn.v1ee-active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--v1ee-primary);
    border-radius: 2px;
}

/* === Back to Top === */
.v1ee-back-top {
    position: fixed;
    bottom: 75px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--v1ee-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--v1ee-transition);
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
}

.v1ee-back-top:hover {
    transform: scale(1.1);
}

/* === Content Modules === */
.v1ee-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.v1ee-feature-item {
    background: var(--v1ee-bg-card);
    border-radius: var(--v1ee-radius);
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #333;
    transition: var(--v1ee-transition);
}

.v1ee-feature-item:hover {
    border-color: var(--v1ee-primary);
    box-shadow: var(--v1ee-shadow);
}

.v1ee-feature-item i {
    font-size: 2.4rem;
    color: var(--v1ee-primary);
    margin-bottom: 0.6rem;
}

.v1ee-feature-item h3 {
    font-size: 1.3rem;
    color: var(--v1ee-secondary);
    margin-bottom: 0.4rem;
}

.v1ee-feature-item p {
    font-size: 1.1rem;
    color: var(--v1ee-text-muted);
    line-height: 1.4;
}

.v1ee-testimonial {
    background: var(--v1ee-bg-card);
    border-radius: var(--v1ee-radius);
    padding: 1.2rem;
    margin: 0.8rem 0;
    border-left: 3px solid var(--v1ee-primary);
}

.v1ee-testimonial-name {
    color: var(--v1ee-secondary);
    font-weight: 700;
    font-size: 1.3rem;
}

.v1ee-testimonial-text {
    color: var(--v1ee-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 0.4rem;
}

.v1ee-winner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--v1ee-bg-card);
    border-radius: var(--v1ee-radius);
    margin: 0.5rem 0;
}

.v1ee-winner-name {
    color: var(--v1ee-text-light);
    font-weight: 600;
    font-size: 1.2rem;
}

.v1ee-winner-game {
    color: var(--v1ee-text-muted);
    font-size: 1.1rem;
}

.v1ee-winner-amount {
    color: var(--v1ee-primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.v1ee-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 1rem 0;
}

.v1ee-payment-item {
    background: var(--v1ee-bg-card);
    border: 1px solid #333;
    border-radius: var(--v1ee-radius);
    padding: 0.6rem 1.2rem;
    color: var(--v1ee-text-muted);
    font-size: 1.2rem;
    transition: var(--v1ee-transition);
}

.v1ee-payment-item:hover {
    border-color: var(--v1ee-primary);
    color: var(--v1ee-primary);
}

/* === H1 Tag === */
.v1ee-h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--v1ee-highlight);
    margin: 1.5rem 0 1rem;
    line-height: 1.3;
}

/* === FAQ Module === */
.v1ee-faq-item {
    background: var(--v1ee-bg-card);
    border-radius: var(--v1ee-radius);
    margin: 0.6rem 0;
    padding: 1rem 1.2rem;
    border: 1px solid #333;
}

.v1ee-faq-q {
    color: var(--v1ee-secondary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.v1ee-faq-a {
    color: var(--v1ee-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* === Responsive === */
@media (min-width: 769px) {
    .v1ee-bottom-nav {
        display: none;
    }
    .v1ee-container {
        max-width: 430px;
    }
}

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

/* === Utility === */
.v1ee-text-center { text-align: center; }
.v1ee-mt-1 { margin-top: 1rem; }
.v1ee-mt-2 { margin-top: 2rem; }
.v1ee-mb-1 { margin-bottom: 1rem; }
.v1ee-mb-2 { margin-bottom: 2rem; }
.v1ee-hidden { display: none; }
