/**
 * phlove app login - Main Stylesheet
 * Prefix: g04c-
 * Version: 1.0.0
 */

:root {
    --g04c-primary: #00FFFF;
    --g04c-secondary: #00E5FF;
    --g04c-accent: #FF8000;
    --g04c-accent-alt: #FF5722;
    --g04c-bg: #0C0C0C;
    --g04c-bg-light: #1a1a1a;
    --g04c-bg-card: #141414;
    --g04c-text: #ffffff;
    --g04c-text-muted: #b0b0b0;
    --g04c-border: #2a2a2a;
    --g04c-gradient: linear-gradient(135deg, #00FFFF, #00E5FF);
    --g04c-gradient-accent: linear-gradient(135deg, #FF8000, #FF5722);
    --g04c-shadow: 0 4px 20px rgba(0, 255, 255, 0.15);
    --g04c-radius: 8px;
    --g04c-radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 1.4rem; line-height: 1.5; background: var(--g04c-bg); color: var(--g04c-text); min-height: 100vh; overflow-x: hidden; }
a { color: var(--g04c-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--g04c-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.g04c-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.g04c-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, var(--g04c-bg) 0%, rgba(12, 12, 12, 0.95) 100%); padding: 1rem 0; transition: all 0.3s; }
.g04c-header-scrolled { box-shadow: var(--g04c-shadow); background: rgba(12, 12, 12, 0.98); }
.g04c-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
.g04c-logo { display: flex; align-items: center; gap: 0.8rem; }
.g04c-logo img { width: 32px; height: 32px; border-radius: 6px; }
.g04c-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--g04c-primary); }
.g04c-header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* Buttons */
.g04c-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.6rem; font-size: 1.3rem; font-weight: 600; border: none; border-radius: var(--g04c-radius); cursor: pointer; transition: all 0.3s; text-decoration: none; min-height: 44px; }
.g04c-btn-primary { background: var(--g04c-gradient); color: var(--g04c-bg); }
.g04c-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4); color: var(--g04c-bg); }
.g04c-btn-secondary { background: transparent; color: var(--g04c-primary); border: 2px solid var(--g04c-primary); }
.g04c-btn-secondary:hover { background: var(--g04c-primary); color: var(--g04c-bg); }
.g04c-btn-accent { background: var(--g04c-gradient-accent); color: var(--g04c-text); }
.g04c-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 128, 0, 0.4); color: var(--g04c-text); }

/* Hamburger Menu */
.g04c-hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0; }
.g04c-hamburger span { display: block; width: 100%; height: 2px; background: var(--g04c-primary); transition: all 0.3s; }
.g04c-hamburger-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.g04c-hamburger-active span:nth-child(2) { opacity: 0; }
.g04c-hamburger-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.g04c-mobile-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: var(--g04c-bg-light); z-index: 9999; padding: 8rem 2rem 2rem; transition: right 0.3s; overflow-y: auto; }
.g04c-menu-active { right: 0; }
.g04c-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s; }
.g04c-overlay-active { opacity: 1; visibility: visible; }
.g04c-menu-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.g04c-menu-link { display: block; padding: 1.2rem 1.5rem; color: var(--g04c-text); font-size: 1.5rem; border-radius: var(--g04c-radius); transition: all 0.3s; }
.g04c-menu-link:hover { background: var(--g04c-bg-card); color: var(--g04c-primary); }

/* Carousel */
.g04c-carousel { position: relative; margin-top: 60px; overflow: hidden; }
.g04c-slides { display: flex; transition: transform 0.5s; }
.g04c-slide { min-width: 100%; opacity: 0; position: absolute; top: 0; left: 0; transition: opacity 0.5s; }
.g04c-slide-active { opacity: 1; position: relative; }
.g04c-slide img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.g04c-slide-dots { display: flex; justify-content: center; gap: 0.8rem; padding: 1rem 0; position: absolute; bottom: 0; left: 0; right: 0; }
.g04c-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); border: none; cursor: pointer; transition: all 0.3s; }
.g04c-dot-active { background: var(--g04c-primary); transform: scale(1.2); }

/* Main Content */
.g04c-main { padding-bottom: 80px; }

/* Sections */
.g04c-section { padding: 2.5rem 0; }
.g04c-section-title { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--g04c-primary); text-align: center; }
.g04c-section-subtitle { font-size: 1.4rem; color: var(--g04c-text-muted); text-align: center; margin-bottom: 2rem; }

/* Game Grid */
.g04c-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g04c-game-card { background: var(--g04c-bg-card); border-radius: var(--g04c-radius); overflow: hidden; transition: all 0.3s; cursor: pointer; }
.g04c-game-card:hover { transform: translateY(-4px); box-shadow: var(--g04c-shadow); }
.g04c-game-img { aspect-ratio: 1; overflow: hidden; }
.g04c-game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.g04c-game-card:hover .g04c-game-img img { transform: scale(1.1); }
.g04c-game-name { padding: 0.6rem; font-size: 1.1rem; text-align: center; color: var(--g04c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Category */
.g04c-category-title { font-size: 1.6rem; font-weight: 600; color: var(--g04c-secondary); margin: 2rem 0 1rem; padding-left: 1rem; border-left: 3px solid var(--g04c-accent); }

/* Features */
.g04c-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.g04c-feature-card { background: var(--g04c-bg-card); border-radius: var(--g04c-radius-lg); padding: 2rem; text-align: center; transition: all 0.3s; }
.g04c-feature-card:hover { transform: translateY(-4px); box-shadow: var(--g04c-shadow); }
.g04c-feature-icon { font-size: 3rem; color: var(--g04c-primary); margin-bottom: 1rem; }
.g04c-feature-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--g04c-text); }
.g04c-feature-desc { font-size: 1.2rem; color: var(--g04c-text-muted); }

/* Info Box */
.g04c-info-box { background: var(--g04c-bg-card); border-radius: var(--g04c-radius-lg); padding: 2rem; margin-bottom: 1.5rem; }
.g04c-info-title { font-size: 1.6rem; font-weight: 600; color: var(--g04c-primary); margin-bottom: 1rem; }
.g04c-info-text { font-size: 1.3rem; color: var(--g04c-text-muted); line-height: 1.6; }

/* Testimonials */
.g04c-testimonials { display: flex; flex-direction: column; gap: 1rem; }
.g04c-testimonial { background: var(--g04c-bg-card); border-radius: var(--g04c-radius-lg); padding: 1.5rem; border-left: 3px solid var(--g04c-accent); }
.g04c-testimonial-text { font-size: 1.3rem; color: var(--g04c-text); margin-bottom: 0.8rem; font-style: italic; }
.g04c-testimonial-author { font-size: 1.2rem; color: var(--g04c-primary); font-weight: 600; }

/* Payments */
.g04c-payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.g04c-payment-item { background: var(--g04c-bg-card); padding: 1rem 1.5rem; border-radius: var(--g04c-radius); font-size: 1.2rem; color: var(--g04c-text); }

/* CTA */
.g04c-cta { background: var(--g04c-gradient-accent); border-radius: var(--g04c-radius-lg); padding: 2.5rem; text-align: center; margin: 2rem 0; }
.g04c-cta-title { font-size: 2rem; font-weight: 700; color: var(--g04c-text); margin-bottom: 1rem; }
.g04c-cta-text { font-size: 1.4rem; color: var(--g04c-text); margin-bottom: 1.5rem; opacity: 0.9; }

/* Footer */
.g04c-footer { background: var(--g04c-bg-light); padding: 3rem 0 2rem; border-top: 1px solid var(--g04c-border); }
.g04c-footer-brand { text-align: center; margin-bottom: 2rem; }
.g04c-footer-desc { font-size: 1.3rem; color: var(--g04c-text-muted); max-width: 350px; margin: 0 auto 1.5rem; }
.g04c-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 2rem; }
.g04c-footer-link { background: var(--g04c-bg-card); padding: 0.8rem 1.2rem; border-radius: var(--g04c-radius); font-size: 1.2rem; color: var(--g04c-text); transition: all 0.3s; }
.g04c-footer-link:hover { background: var(--g04c-primary); color: var(--g04c-bg); }
.g04c-footer-copyright { text-align: center; font-size: 1.2rem; color: var(--g04c-text-muted); padding-top: 1.5rem; border-top: 1px solid var(--g04c-border); }

/* Bottom Navigation */
.g04c-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: linear-gradient(180deg, var(--g04c-bg-light) 0%, var(--g04c-bg) 100%); border-top: 1px solid var(--g04c-border); display: flex; justify-content: space-around; align-items: center; z-index: 1000; padding: 0 0.5rem; }
.g04c-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; min-height: 60px; color: var(--g04c-text-muted); text-decoration: none; transition: all 0.3s; cursor: pointer; }
.g04c-nav-item:hover, .g04c-nav-item-active { color: var(--g04c-primary); }
.g04c-nav-item-active .g04c-nav-icon { color: var(--g04c-accent); }
.g04c-nav-icon { font-size: 2.4rem; margin-bottom: 0.2rem; transition: transform 0.3s; }
.g04c-nav-item:hover .g04c-nav-icon { transform: scale(1.1); }
.g04c-nav-label { font-size: 1rem; font-weight: 500; }

/* Winners */
.g04c-winners { background: var(--g04c-bg-card); border-radius: var(--g04c-radius-lg); padding: 1.5rem; }
.g04c-winner-item { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--g04c-border); }
.g04c-winner-item:last-child { border-bottom: none; }
.g04c-winner-name { font-size: 1.3rem; color: var(--g04c-text); }
.g04c-winner-amount { font-size: 1.4rem; font-weight: 700; color: var(--g04c-accent); }

/* FAQ */
.g04c-faq-item { background: var(--g04c-bg-card); border-radius: var(--g04c-radius); margin-bottom: 1rem; overflow: hidden; }
.g04c-faq-question { padding: 1.5rem; font-size: 1.4rem; font-weight: 600; color: var(--g04c-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.g04c-faq-answer { padding: 0 1.5rem 1.5rem; font-size: 1.3rem; color: var(--g04c-text-muted); line-height: 1.6; }

/* Utilities */
.g04c-text-center { text-align: center; }
.g04c-text-primary { color: var(--g04c-primary); }
.g04c-text-accent { color: var(--g04c-accent); }
.g04c-mb-1 { margin-bottom: 1rem; }
.g04c-mb-2 { margin-bottom: 2rem; }
.g04c-mt-2 { margin-top: 2rem; }
.g04c-hidden-mobile { display: none; }

/* Desktop */
@media (min-width: 769px) {
    .g04c-container { max-width: 600px; }
    .g04c-bottom-nav { display: none; }
    .g04c-main { padding-bottom: 0; }
    .g04c-game-grid { grid-template-columns: repeat(5, 1fr); }
    .g04c-hidden-mobile { display: block; }
}
