/**
 * Tongits Gaming Platform - Core Stylesheet
 * Version: 1.0.0
 * Mobile-first design for Philippines market
 * CSS Class Prefix: g036-
 */

/* CSS Variables */
:root {
    --g036-primary: #48D1CC;
    --g036-secondary: #32CD32;
    --g036-accent: #E8F5E8;
    --g036-bg-dark: #333333;
    --g036-bg-light: #F0FDFF;
    --g036-text-light: #F0FDFF;
    --g036-text-dark: #333333;
    --g036-gradient-start: #1a1a2e;
    --g036-gradient-end: #16213e;
    --g036-success: #32CD32;
    --g036-warning: #FFD700;
    --g036-error: #FF6B6B;
    --g036-border-radius: 8px;
    --g036-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --g036-transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: linear-gradient(135deg, var(--g036-gradient-start), var(--g036-gradient-end));
    color: var(--g036-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header */
.g036-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--g036-transition);
}

.g036-header-scrolled {
    box-shadow: var(--g036-shadow);
    background: rgba(26, 26, 46, 0.98);
}

.g036-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.g036-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g036-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.g036-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g036-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g036-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.g036-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--g036-border-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g036-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.g036-btn-primary {
    background: linear-gradient(135deg, var(--g036-primary), var(--g036-secondary));
    color: var(--g036-text-dark);
}

.g036-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 209, 204, 0.4);
}

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

.g036-btn-secondary:hover {
    background: var(--g036-primary);
    color: var(--g036-text-dark);
}

.g036-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--g036-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.g036-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.g036-menu-active {
    right: 0;
}

.g036-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--g036-transition);
}

.g036-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g036-nav-list {
    list-style: none;
}

.g036-nav-item {
    margin-bottom: 1rem;
}

.g036-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--g036-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-radius: var(--g036-border-radius);
    transition: var(--g036-transition);
}

.g036-nav-link:hover {
    background: rgba(72, 209, 204, 0.2);
    color: var(--g036-primary);
}

/* Hero Section */
.g036-hero {
    padding: 10rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(72, 209, 204, 0.1), transparent);
}

.g036-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g036-text-light);
    line-height: 1.3;
}

.g036-hero p {
    font-size: 1.6rem;
    color: rgba(240, 253, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel */
.g036-carousel {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: var(--g036-border-radius);
}

.g036-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

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

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

.g036-slide-active {
    opacity: 1;
}

.g036-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.g036-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(240, 253, 255, 0.3);
    cursor: pointer;
    transition: var(--g036-transition);
}

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

/* Category Tabs */
.g036-categories {
    margin: 2rem 0;
    padding: 0 1.5rem;
}

.g036-category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g036-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g036-category-title i {
    font-size: 2.4rem;
}

/* Game Grid */
.g036-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.g036-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g036-border-radius);
    padding: 0.8rem;
    text-align: center;
    transition: var(--g036-transition);
    cursor: pointer;
    text-decoration: none;
}

.g036-game-card:hover {
    background: rgba(72, 209, 204, 0.2);
    transform: translateY(-3px);
}

.g036-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.g036-game-name {
    font-size: 1.1rem;
    color: var(--g036-text-light);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Feature Section */
.g036-features {
    padding: 2rem 1.5rem;
    background: rgba(72, 209, 204, 0.05);
    border-radius: var(--g036-border-radius);
    margin: 2rem 1.5rem;
}

.g036-features-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g036-primary);
    text-align: center;
}

.g036-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.g036-feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g036-border-radius);
}

.g036-feature-icon {
    font-size: 3rem;
    color: var(--g036-primary);
    margin-bottom: 1rem;
}

.g036-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--g036-text-light);
}

.g036-feature-desc {
    font-size: 1.2rem;
    color: rgba(240, 253, 255, 0.7);
}

/* CTA Section */
.g036-cta {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(72, 209, 204, 0.2), rgba(50, 205, 50, 0.2));
    margin: 2rem 1.5rem;
    border-radius: var(--g036-border-radius);
}

.g036-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--g036-text-light);
}

.g036-cta-desc {
    font-size: 1.4rem;
    color: rgba(240, 253, 255, 0.8);
    margin-bottom: 2rem;
}

.g036-cta-btn {
    font-size: 1.6rem;
    padding: 1.2rem 3rem;
}

/* Footer */
.g036-footer {
    background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
    padding: 3rem 1.5rem;
    margin-top: 3rem;
}

.g036-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.g036-footer-desc {
    font-size: 1.4rem;
    color: rgba(240, 253, 255, 0.7);
    max-width: 350px;
    margin: 1rem auto;
    line-height: 1.6;
}

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

.g036-footer-link {
    color: var(--g036-primary);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(72, 209, 204, 0.1);
    border-radius: 20px;
    transition: var(--g036-transition);
}

.g036-footer-link:hover {
    background: rgba(72, 209, 204, 0.2);
}

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

.g036-partner-logo {
    height: 30px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--g036-transition);
}

.g036-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.g036-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(240, 253, 255, 0.5);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.g036-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98), rgba(15, 15, 26, 0.99));
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.g036-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: rgba(240, 253, 255, 0.6);
    cursor: pointer;
    transition: var(--g036-transition);
    text-decoration: none;
    padding: 0.5rem;
}

.g036-nav-btn:hover,
.g036-nav-btn-active {
    color: var(--g036-primary);
    transform: scale(1.1);
}

.g036-nav-btn i,
.g036-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.g036-nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Toast Container */
.g036-toast-container {
    position: fixed;
    top: 80px;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.g036-toast {
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 46, 0.95);
    border-radius: var(--g036-border-radius);
    color: var(--g036-text-light);
    font-size: 1.4rem;
    box-shadow: var(--g036-shadow);
    animation: slideIn 0.3s ease;
}

.g036-toast-success {
    border-left: 4px solid var(--g036-success);
}

.g036-toast-error {
    border-left: 4px solid var(--g036-error);
}

.g036-toast-info {
    border-left: 4px solid var(--g036-primary);
}

.g036-toast-fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Utility Classes */
.g036-text-center {
    text-align: center;
}

.g036-mb-1 {
    margin-bottom: 1rem;
}

.g036-mb-2 {
    margin-bottom: 2rem;
}

.g036-mb-3 {
    margin-bottom: 3rem;
}

/* Main content padding for bottom nav */
main {
    padding-bottom: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .g036-menu-toggle {
        display: block;
    }

    .g036-header-actions .g036-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) {
    .g036-container {
        max-width: 768px;
    }

    .g036-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .g036-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 0;
    }

    .g036-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section Styles */
.g036-section {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.g036-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g036-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Payment Methods */
.g036-payment-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.g036-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.g036-payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.g036-payment-name {
    font-size: 1.2rem;
    color: var(--g036-text-light);
}

/* Testimonials */
.g036-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g036-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g036-border-radius);
    padding: 1.5rem;
}

.g036-testimonial-text {
    font-size: 1.4rem;
    color: rgba(240, 253, 255, 0.9);
    margin-bottom: 1rem;
    font-style: italic;
}

.g036-testimonial-author {
    font-size: 1.3rem;
    color: var(--g036-primary);
    font-weight: 600;
}

/* Winners Showcase */
.g036-winners {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.g036-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--g036-border-radius);
}

.g036-winner-game {
    font-size: 1.3rem;
    color: var(--g036-text-light);
}

.g036-winner-amount {
    font-size: 1.4rem;
    color: var(--g036-warning);
    font-weight: 700;
}

/* FAQ Styles */
.g036-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g036-border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.g036-faq-question {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g036-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g036-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.4rem;
    color: rgba(240, 253, 255, 0.8);
    line-height: 1.6;
}

/* Guide Steps */
.g036-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.g036-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.g036-step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--g036-primary), var(--g036-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--g036-text-dark);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.g036-step-content h3 {
    font-size: 1.5rem;
    color: var(--g036-primary);
    margin-bottom: 0.5rem;
}

.g036-step-content p {
    font-size: 1.4rem;
    color: rgba(240, 253, 255, 0.8);
}

/* Touched state for mobile */
.g036-touched {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Loaded image animation */
.g036-loaded {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
