/**
 * Phlwin App - Main Stylesheet
 * Class Prefix: g735-
 * Color Palette: #1A1A2E (dark) | #E94560 (accent) | #0F3460 (secondary)
 */

/* CSS Variables */
:root {
    --g735-primary: #E94560;
    --g735-secondary: #0F3460;
    --g735-dark: #1A1A2E;
    --g735-darker: #0d0d1a;
    --g735-light: #ffffff;
    --g735-gray: #8892a0;
    --g735-gold: #FFD700;
    --g735-success: #4CAF50;
    --g735-gradient: linear-gradient(135deg, #E94560 0%, #0F3460 100%);
    --g735-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g735-radius: 8px;
    --g735-radius-lg: 16px;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--g735-dark);
    color: var(--g735-light);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* Header */
.g735-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--g735-darker);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: var(--g735-shadow);
}

.g735-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.g735-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g735-logo img {
    width: 32px;
    height: 32px;
}

.g735-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--g735-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g735-header-btns {
    display: flex;
    gap: 0.8rem;
}

.g735-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--g735-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g735-btn-primary {
    background: var(--g735-primary);
    color: var(--g735-light);
}

.g735-btn-primary:hover {
    background: #ff5a7a;
    transform: translateY(-2px);
}

.g735-btn-secondary {
    background: transparent;
    border: 1px solid var(--g735-primary);
    color: var(--g735-primary);
}

.g735-btn-secondary:hover {
    background: var(--g735-primary);
    color: var(--g735-light);
}

/* Hamburger Menu */
.g735-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.g735-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--g735-light);
    transition: all 0.3s ease;
}

.g735-hamburger.g735-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.g735-hamburger.g735-active span:nth-child(2) {
    opacity: 0;
}

.g735-hamburger.g735-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.g735-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 280px;
    height: 100vh;
    background: var(--g735-darker);
    padding: 6rem 2rem 2rem;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.g735-mobile-menu.g735-active {
    left: 0;
}

.g735-mobile-menu ul {
    list-style: none;
}

.g735-mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g735-mobile-menu a {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.4rem;
    color: var(--g735-light);
}

.g735-mobile-menu a:hover {
    color: var(--g735-primary);
}

/* Main Content */
main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.g735-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--g735-radius-lg);
    margin: 1rem 0;
}

.g735-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.g735-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.g735-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.g735-slide.g735-active {
    display: block;
}

.g735-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g735-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Section Styles */
.g735-section {
    padding: 2rem 1.5rem;
}

.g735-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g735-light);
    text-align: center;
}

.g735-section-title span {
    color: var(--g735-primary);
}

/* Game Grid */
.g735-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (min-width: 769px) {
    .g735-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.g735-game-card {
    background: var(--g735-secondary);
    border-radius: var(--g735-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g735-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g735-shadow);
}

.g735-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g735-game-name {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.g735-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--g735-primary);
    color: var(--g735-light);
}

/* Features Section */
.g735-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g735-feature-card {
    background: var(--g735-secondary);
    padding: 1.5rem;
    border-radius: var(--g735-radius);
    text-align: center;
}

.g735-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--g735-primary);
}

.g735-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.g735-feature-desc {
    font-size: 1rem;
    color: var(--g735-gray);
}

/* Promo Banner */
.g735-promo-banner {
    background: var(--g735-gradient);
    padding: 2rem;
    border-radius: var(--g735-radius-lg);
    text-align: center;
    margin: 1.5rem 0;
}

.g735-promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.g735-promo-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Bottom Navigation */
.g735-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--g735-darker);
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .g735-bottom-nav {
        display: none;
    }
}

.g735-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.g735-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g735-nav-item:hover {
    transform: scale(1.1);
}

.g735-nav-item.active {
    color: var(--g735-primary);
}

.g735-nav-item i,
.g735-nav-item .material-icons {
    font-size: 24px;
}

.g735-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Footer */
.g735-footer {
    background: var(--g735-darker);
    padding: 2rem 1.5rem;
    padding-bottom: 100px;
}

@media (min-width: 769px) {
    .g735-footer {
        padding-bottom: 2rem;
    }
}

.g735-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.g735-footer-links a {
    font-size: 1.1rem;
    color: var(--g735-gray);
}

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

.g735-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.g735-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g735-partners img:hover {
    opacity: 1;
}

.g735-copyright {
    text-align: center;
    font-size: 1rem;
    color: var(--g735-gray);
}

/* Content Styles */
.g735-content {
    padding: 1.5rem;
}

.g735-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--g735-primary);
}

.g735-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--g735-gray);
    line-height: 1.8;
}

.g735-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.g735-content li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--g735-gray);
}

.g735-content li::before {
    content: "•";
    color: var(--g735-primary);
    position: absolute;
    left: -1.2rem;
}

/* Promo Link Styles */
.g735-promo-link {
    color: var(--g735-primary);
    font-weight: 600;
    cursor: pointer;
}

.g735-promo-link:hover {
    text-decoration: underline;
}

.g735-promo-btn {
    display: inline-block;
    background: var(--g735-primary);
    color: var(--g735-light);
    padding: 0.8rem 2rem;
    border-radius: var(--g735-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g735-promo-btn:hover {
    background: #ff5a7a;
    transform: translateY(-2px);
}

/* FAQ Section */
.g735-faq-item {
    background: var(--g735-secondary);
    border-radius: var(--g735-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.g735-faq-question {
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g735-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.1rem;
    color: var(--g735-gray);
}

/* Stats Section */
.g735-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.g735-stat-card {
    background: var(--g735-secondary);
    padding: 1.2rem;
    border-radius: var(--g735-radius);
    text-align: center;
}

.g735-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g735-primary);
}

.g735-stat-label {
    font-size: 1rem;
    color: var(--g735-gray);
}

/* H1 Title */
.g735-h1-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--g735-light);
}

/* Responsive Adjustments */
@media (max-width: 430px) {
    .g735-container {
        padding: 0 1rem;
    }

    .g735-game-grid {
        gap: 0.8rem;
    }

    .g735-game-name {
        font-size: 0.9rem;
    }
}
