/**
 * Pinoy Time GCash - Main Stylesheet
 * @version 1.0.0
 * @description Complete styling for Pinoy Time GCash gaming platform
 */

/* CSS Variables */
:root {
    --w5669-primary: #C9C9FF;
    --w5669-secondary: #FFCCCB;
    --w5669-dark: #141414;
    --w5669-accent: #FF8C00;
    --w5669-success: #006400;
    --w5669-white: #ffffff;
    --w5669-gray-light: #f5f5f5;
    --w5669-gray-medium: #888888;
    --w5669-shadow: rgba(0, 0, 0, 0.15);
    --w5669-radius-sm: 8px;
    --w5669-radius-md: 12px;
    --w5669-radius-lg: 16px;
    --w5669-transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--w5669-gray-light);
    color: var(--w5669-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.w5669-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Styles */
.w5669-header {
    background: linear-gradient(135deg, var(--w5669-dark) 0%, #2a2a2a 100%);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--w5669-shadow);
}

.w5669-header-content {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.w5669-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-decoration: none;
    color: var(--w5669-white);
}

.w5669-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--w5669-primary), var(--w5669-accent));
    border-radius: var(--w5669-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.w5669-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.w5669-header-buttons {
    display: flex;
    gap: 8px;
}

.w5669-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--w5669-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--w5669-transition);
    white-space: nowrap;
}

.w5669-btn-register {
    background: linear-gradient(135deg, var(--w5669-accent), #ff6b00);
    color: var(--w5669-white);
}

.w5669-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.w5669-btn-login {
    background: transparent;
    color: var(--w5669-primary);
    border: 1px solid var(--w5669-primary);
}

.w5669-btn-login:hover {
    background: var(--w5669-primary);
    color: var(--w5669-dark);
}

.w5669-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.w5669-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--w5669-white);
    transition: var(--w5669-transition);
}

/* Mobile Menu */
.w5669-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--w5669-dark);
    z-index: 9999;
    transition: var(--w5669-transition);
    padding: 20px;
    overflow-y: auto;
}

.w5669-mobile-menu.w5669-menu-active {
    left: 0;
}

.w5669-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w5669-menu-close {
    background: none;
    border: none;
    color: var(--w5669-white);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

.w5669-menu-nav {
    list-style: none;
}

.w5669-menu-nav li {
    margin-bottom: 4px;
}

.w5669-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--w5669-white);
    text-decoration: none;
    border-radius: var(--w5669-radius-sm);
    transition: var(--w5669-transition);
    font-size: 15px;
}

.w5669-menu-nav a:hover {
    background: rgba(201, 201, 255, 0.1);
}

.w5669-menu-nav i {
    font-size: 18px;
    color: var(--w5669-primary);
}

.w5669-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w5669-transition);
}

.w5669-menu-overlay.w5669-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-bottom: 80px;
}

/* Hero Section */
.w5669-hero {
    background: linear-gradient(135deg, var(--w5669-dark) 0%, #1a1a1a 100%);
    padding: 24px 0;
}

.w5669-hero-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

.w5669-hero h1 {
    color: var(--w5669-white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.w5669-hero p {
    color: var(--w5669-gray-medium);
    font-size: 14px;
    margin-bottom: 20px;
}

.w5669-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--w5669-accent), #ff6b00);
    color: var(--w5669-white);
    padding: 12px 32px;
    border-radius: var(--w5669-radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--w5669-transition);
}

.w5669-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Carousel */
.w5669-carousel {
    position: relative;
    max-width: 430px;
    margin: 24px auto;
    overflow: hidden;
    border-radius: var(--w5669-radius-lg);
    box-shadow: 0 4px 16px var(--w5669-shadow);
}

.w5669-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.w5669-carousel-slide {
    min-width: 100%;
    position: relative;
}

.w5669-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.w5669-carousel-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.w5669-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--w5669-transition);
}

.w5669-carousel-dot.w5669-active {
    background: var(--w5669-white);
    transform: scale(1.2);
}

.w5669-carousel-prev,
.w5669-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--w5669-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--w5669-transition);
}

.w5669-carousel-prev {
    left: 8px;
}

.w5669-carousel-next {
    right: 8px;
}

.w5669-carousel-prev:hover,
.w5669-carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Section Styles */
.w5669-section {
    background: var(--w5669-white);
    margin: 16px 0;
    border-radius: var(--w5669-radius-lg);
    padding: 20px;
    box-shadow: 0 2px 8px var(--w5669-shadow);
}

.w5669-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--w5669-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.w5669-section-title i {
    color: var(--w5669-accent);
    font-size: 22px;
}

/* Game Grid */
.w5669-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.w5669-game-card {
    background: var(--w5669-white);
    border-radius: var(--w5669-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--w5669-shadow);
    transition: var(--w5669-transition);
    cursor: pointer;
}

.w5669-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--w5669-shadow);
}

.w5669-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.w5669-game-card-name {
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--w5669-dark);
    background: linear-gradient(to bottom, var(--w5669-gray-light), var(--w5669-white));
}

/* Feature Cards */
.w5669-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.w5669-feature-card {
    background: linear-gradient(135deg, var(--w5669-primary), var(--w5669-secondary));
    border-radius: var(--w5669-radius-md);
    padding: 20px;
    text-align: center;
}

.w5669-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--w5669-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.w5669-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--w5669-dark);
}

.w5669-feature-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

/* Promotional Box */
.w5669-promo-box {
    background: linear-gradient(135deg, var(--w5669-accent), #ff6b00);
    border-radius: var(--w5669-radius-lg);
    padding: 24px;
    text-align: center;
    color: var(--w5669-white);
    margin: 20px 0;
}

.w5669-promo-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.w5669-promo-box p {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.w5669-promo-cta {
    display: inline-block;
    background: var(--w5669-white);
    color: var(--w5669-accent);
    padding: 12px 32px;
    border-radius: var(--w5669-radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: var(--w5669-transition);
}

.w5669-promo-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.w5669-footer {
    background: var(--w5669-dark);
    padding: 32px 0 100px;
    margin-top: 32px;
}

.w5669-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

.w5669-footer-intro {
    color: var(--w5669-gray-medium);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.w5669-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.w5669-footer-link {
    color: var(--w5669-primary);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    background: rgba(201, 201, 255, 0.1);
    border-radius: var(--w5669-radius-sm);
    transition: var(--w5669-transition);
}

.w5669-footer-link:hover {
    background: rgba(201, 201, 255, 0.2);
}

.w5669-partners {
    margin: 24px 0;
}

.w5669-partners-title {
    color: var(--w5669-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.w5669-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.w5669-partner-logo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--w5669-white);
    border-radius: var(--w5669-radius-sm);
    padding: 4px;
}

.w5669-copyright {
    color: var(--w5669-gray-medium);
    font-size: 12px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.w5669-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w5669-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--w5669-shadow);
    padding: 0 8px;
}

.w5669-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--w5669-transition);
    padding: 8px 4px;
    border-radius: var(--w5669-radius-sm);
    text-decoration: none;
    color: var(--w5669-gray-medium);
}

.w5669-nav-item:hover {
    background: rgba(201, 201, 255, 0.1);
}

.w5669-nav-item.active {
    color: var(--w5669-primary);
}

.w5669-nav-icon {
    font-size: 24px;
}

.w5669-nav-text {
    font-size: 11px;
    font-weight: 500;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .w5669-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 0;
    }

    .w5669-container {
        max-width: 1200px;
        padding: 0 24px;
    }

    .w5669-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .w5669-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w5669-menu-toggle {
        display: none;
    }
}

/* Utility Classes */
.w5669-text-center {
    text-align: center;
}

.w5669-mt-1 {
    margin-top: 8px;
}

.w5669-mt-2 {
    margin-top: 16px;
}

.w5669-mb-1 {
    margin-bottom: 8px;
}

.w5669-mb-2 {
    margin-bottom: 16px;
}

.w5669-loading {
    opacity: 0.6;
    pointer-events: none;
}

.w5669-body-locked {
    overflow: hidden;
}
