/**
 * LovePh Casino - Main Stylesheet
 * Website: loveph.club
 * Language: English (Philippines)
 * Version: 1.0.0
 * Mobile-first responsive design (max-width: 430px)
 */

/* ============================================
   CSS Variables & Root Configuration
   ============================================ */
:root {
    --v434-primary: #20B2AA;
    --v434-primary-dark: #1a9a93;
    --v434-primary-light: #3fc9c2;
    --v434-secondary: #4A4A4A;
    --v434-accent: #2D2D2D;
    --v434-bg-light: #EEEEEE;
    --v434-bg-gray: #D3D3D3;
    --v434-bg-medium: #5D5D5D;
    --v434-text-dark: #2D2D2D;
    --v434-text-light: #FFFFFF;
    --v434-text-gray: #5D5D5D;
    --v434-border: #D3D3D3;
    --v434-success: #28a745;
    --v434-warning: #ffc107;
    --v434-danger: #dc3545;
    --v434-gradient-primary: linear-gradient(135deg, #20B2AA 0%, #1a9a93 100%);
    --v434-gradient-dark: linear-gradient(180deg, #2D2D2D 0%, #4A4A4A 100%);
    --v434-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --v434-shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --v434-shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --v434-radius-sm: 4px;
    --v434-radius-md: 8px;
    --v434-radius-lg: 16px;
    --v434-radius-xl: 24px;
    --v434-transition: all 0.3s ease;
}

/* ============================================
   Base Styles & Reset
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--v434-text-dark);
    background-color: var(--v434-bg-light);
    overflow-x: hidden;
}

body.v434-no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v434-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   Header Styles
   ============================================ */
.v434-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--v434-gradient-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    transition: var(--v434-transition);
}

.v434-header-scrolled {
    box-shadow: var(--v434-shadow-md);
}

.v434-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v434-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--v434-radius-sm);
}

.v434-brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v434-primary);
    letter-spacing: 1px;
}

.v434-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v434-btn {
    padding: 8px 16px;
    border-radius: var(--v434-radius-md);
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--v434-transition);
}

.v434-btn-register {
    background: var(--v434-gradient-primary);
    color: var(--v434-text-light);
}

.v434-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--v434-shadow-md);
}

.v434-btn-login {
    background: transparent;
    border: 2px solid var(--v434-primary);
    color: var(--v434-primary);
}

.v434-btn-login:hover {
    background: var(--v434-primary);
    color: var(--v434-text-light);
}

.v434-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.v434-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--v434-text-light);
    border-radius: 2px;
    transition: var(--v434-transition);
}

/* ============================================
   Mobile Menu Styles
   ============================================ */
.v434-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v434-accent);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.v434-mobile-menu.v434-menu-active {
    right: 0;
}

.v434-mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.4rem;
    color: var(--v434-text-light);
    cursor: pointer;
}

.v434-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v434-mobile-nav-item {
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--v434-radius-md);
    color: var(--v434-text-light);
    font-size: 1.5rem;
    transition: var(--v434-transition);
}

.v434-mobile-nav-item:hover {
    background: var(--v434-primary);
}

.v434-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: var(--v434-transition);
}

.v434-menu-overlay.v434-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Main Content Area
   ============================================ */
.v434-main {
    padding-top: 60px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .v434-main {
        padding-bottom: 80px;
    }
}

.v434-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   Hero Carousel Styles
   ============================================ */
.v434-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.v434-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.v434-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v434-slide.v434-slide-active {
    opacity: 1;
}

.v434-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--v434-radius-md);
}

.v434-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v434-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--v434-transition);
}

.v434-dot.v434-dot-active {
    background: var(--v434-primary);
    transform: scale(1.2);
}

/* ============================================
   Section Styles
   ============================================ */
.v434-section {
    padding: 24px 0;
}

.v434-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v434-text-dark);
    margin-bottom: 16px;
    position: relative;
    padding-left: 12px;
}

.v434-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--v434-gradient-primary);
    border-radius: 2px;
}

/* ============================================
   Category Tabs Styles
   ============================================ */
.v434-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.v434-category-tabs::-webkit-scrollbar {
    display: none;
}

.v434-category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--v434-bg-gray);
    border-radius: var(--v434-radius-lg);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--v434-text-gray);
    white-space: nowrap;
    transition: var(--v434-transition);
}

.v434-category-tab.v434-tab-active {
    background: var(--v434-gradient-primary);
    color: var(--v434-text-light);
}

.v434-category-content {
    display: none;
}

.v434-category-content.v434-content-active {
    display: block;
}

/* ============================================
   Game Grid Styles
   ============================================ */
.v434-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.v434-game-card {
    background: var(--v434-text-light);
    border-radius: var(--v434-radius-md);
    overflow: hidden;
    box-shadow: var(--v434-shadow-sm);
    transition: var(--v434-transition);
    cursor: pointer;
}

.v434-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v434-shadow-md);
}

.v434-game-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v434-game-name {
    padding: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--v434-text-dark);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Features Section Styles
   ============================================ */
.v434-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.v434-feature-card {
    background: var(--v434-text-light);
    border-radius: var(--v434-radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--v434-shadow-sm);
    transition: var(--v434-transition);
}

.v434-feature-card:hover {
    transform: scale(1.02);
    box-shadow: var(--v434-shadow-md);
}

.v434-feature-icon {
    font-size: 2.8rem;
    color: var(--v434-primary);
    margin-bottom: 8px;
}

.v434-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v434-text-dark);
    margin-bottom: 4px;
}

.v434-feature-desc {
    font-size: 1.2rem;
    color: var(--v434-text-gray);
}

/* ============================================
   Promo Banner Styles
   ============================================ */
.v434-promo-banner {
    background: var(--v434-gradient-primary);
    border-radius: var(--v434-radius-lg);
    padding: 20px;
    color: var(--v434-text-light);
    text-align: center;
    margin: 16px 0;
}

.v434-promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.v434-promo-desc {
    font-size: 1.4rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.v434-promo-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--v434-text-light);
    color: var(--v434-primary);
    border-radius: var(--v434-radius-lg);
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--v434-transition);
}

.v434-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--v434-shadow-md);
}

/* ============================================
   Footer Styles
   ============================================ */
.v434-footer {
    background: var(--v434-gradient-dark);
    padding: 32px 16px;
    color: var(--v434-text-light);
}

.v434-footer-brand {
    text-align: center;
    margin-bottom: 24px;
}

.v434-footer-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    border-radius: var(--v434-radius-md);
}

.v434-footer-name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--v434-primary);
}

.v434-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.v434-footer-link {
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--v434-radius-md);
    text-align: center;
    font-size: 1.3rem;
    transition: var(--v434-transition);
}

.v434-footer-link:hover {
    background: var(--v434-primary);
}

.v434-partners {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.v434-partners-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.v434-partners-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.v434-partner-logo {
    height: 24px;
    opacity: 0.7;
    transition: var(--v434-transition);
}

.v434-partner-logo:hover {
    opacity: 1;
}

.v434-copyright {
    text-align: center;
    padding-top: 16px;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* ============================================
   Mobile Bottom Navigation
   ============================================ */
.v434-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--v434-gradient-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

@media (min-width: 769px) {
    .v434-bottom-nav {
        display: none;
    }
}

.v434-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--v434-text-light);
    opacity: 0.7;
    transition: var(--v434-transition);
    border-radius: var(--v434-radius-md);
}

.v434-nav-btn:hover,
.v434-nav-btn.v434-nav-active {
    opacity: 1;
    color: var(--v434-primary);
    transform: scale(1.1);
}

.v434-nav-btn i,
.v434-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.v434-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* ============================================
   Utility Classes
   ============================================ */
.v434-text-center { text-align: center; }
.v434-text-left { text-align: left; }
.v434-text-right { text-align: right; }
.v434-mb-0 { margin-bottom: 0; }
.v434-mb-8 { margin-bottom: 8px; }
.v434-mb-16 { margin-bottom: 16px; }
.v434-mb-24 { margin-bottom: 24px; }
.v434-mt-16 { margin-top: 16px; }
.v434-mt-24 { margin-top: 24px; }
.v434-py-16 { padding: 16px 0; }
.v434-py-24 { padding: 24px 0; }

/* ============================================
   Content Page Styles
   ============================================ */
.v434-page-header {
    background: var(--v434-gradient-dark);
    padding: 80px 16px 32px;
    text-align: center;
}

.v434-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--v434-primary);
    margin-bottom: 8px;
}

.v434-page-subtitle {
    font-size: 1.4rem;
    color: var(--v434-text-light);
    opacity: 0.8;
}

.v434-content-section {
    background: var(--v434-text-light);
    border-radius: var(--v434-radius-lg);
    padding: 20px;
    margin: 16px 0;
    box-shadow: var(--v434-shadow-sm);
}

.v434-content-section h2 {
    font-size: 1.8rem;
    color: var(--v434-text-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--v434-primary);
}

.v434-content-section p {
    font-size: 1.4rem;
    color: var(--v434-text-gray);
    margin-bottom: 12px;
    line-height: 1.8;
}

.v434-content-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.v434-content-section li {
    font-size: 1.4rem;
    color: var(--v434-text-gray);
    margin-bottom: 8px;
    list-style: disc;
}

.v434-cta-box {
    background: var(--v434-gradient-primary);
    border-radius: var(--v434-radius-lg);
    padding: 24px;
    text-align: center;
    color: var(--v434-text-light);
    margin: 24px 0;
}

.v434-cta-box h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.v434-cta-box p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.v434-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--v434-text-light);
    color: var(--v434-primary);
    border-radius: var(--v434-radius-lg);
    font-size: 1.6rem;
    font-weight: 600;
    transition: var(--v434-transition);
}

.v434-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--v434-shadow-md);
}

/* ============================================
   Desktop Styles
   ============================================ */
@media (min-width: 769px) {
    .v434-container {
        max-width: 1200px;
    }

    .v434-header {
        height: 70px;
    }

    .v434-logo {
        width: 40px;
        height: 40px;
    }

    .v434-brand-name {
        font-size: 2.4rem;
    }

    .v434-carousel {
        height: 400px;
    }

    .v434-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .v434-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .v434-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}
