/**
 * PH Binggo - Main Stylesheet
 * All classes use prefix: s703-
 * Color Palette: #2C3E50 | #48D1CC | #DC143C | #20B2AA | #B2DFDB
 */

/* CSS Variables */
:root {
    --s703-primary: #48D1CC;
    --s703-secondary: #20B2AA;
    --s703-accent: #DC143C;
    --s703-dark: #2C3E50;
    --s703-light: #B2DFDB;
    --s703-bg: #1a2633;
    --s703-bg-light: #243447;
    --s703-text: #ffffff;
    --s703-text-muted: #a0b3c5;
    --s703-border: #3d5a73;
    --s703-gradient: linear-gradient(135deg, #48D1CC 0%, #20B2AA 100%);
    --s703-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 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', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s703-bg);
    color: var(--s703-text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--s703-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s703-light);
}

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

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

/* Header */
.s703-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--s703-dark) 0%, rgba(44, 62, 80, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--s703-border);
    padding: 1rem 0;
}

.s703-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.s703-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s703-primary);
    letter-spacing: 0.5px;
}

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

.s703-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s703-btn-primary {
    background: var(--s703-gradient);
    color: var(--s703-dark);
}

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

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

.s703-btn-outline:hover {
    background: var(--s703-primary);
    color: var(--s703-dark);
}

.s703-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.s703-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--s703-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.s703-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s703-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

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

.s703-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: all 0.3s ease;
}

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

.s703-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s703-border);
}

.s703-menu-close {
    font-size: 2.4rem;
    color: var(--s703-text);
    cursor: pointer;
    background: none;
    border: none;
}

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

.s703-nav-item {
    margin-bottom: 0.5rem;
}

.s703-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s703-text);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s703-nav-link:hover {
    background: var(--s703-primary);
    color: var(--s703-dark);
}

/* Main Content */
.s703-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .s703-main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.s703-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.s703-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.s703-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s703-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.s703-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s703-text);
    margin-bottom: 0.5rem;
}

/* Sections */
.s703-section {
    padding: 2rem 0;
}

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

.s703-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--s703-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

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

.s703-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s703-game-item:hover {
    transform: scale(1.05);
}

.s703-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--s703-bg-light);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.s703-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Category Tabs */
.s703-category-tabs {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.s703-category-tab {
    flex-shrink: 0;
    padding: 0.8rem 1.6rem;
    background: var(--s703-bg-light);
    border-radius: 20px;
    font-size: 1.3rem;
    color: var(--s703-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.s703-category-tab:hover,
.s703-category-tab.s703-active {
    background: var(--s703-gradient);
    color: var(--s703-dark);
}

/* Cards */
.s703-card {
    background: var(--s703-bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--s703-border);
}

.s703-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s703-primary);
    margin-bottom: 1rem;
}

.s703-card-text {
    font-size: 1.4rem;
    color: var(--s703-text-muted);
    line-height: 1.6;
}

/* Feature List */
.s703-feature-list {
    list-style: none;
}

.s703-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--s703-border);
}

.s703-feature-item:last-child {
    border-bottom: none;
}

.s703-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--s703-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s703-feature-icon i {
    font-size: 1.8rem;
    color: var(--s703-dark);
}

/* Promo Banner */
.s703-promo-banner {
    background: linear-gradient(135deg, var(--s703-accent) 0%, #ff6b6b 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

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

.s703-promo-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Footer */
.s703-footer {
    background: var(--s703-dark);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--s703-border);
}

.s703-footer-desc {
    font-size: 1.3rem;
    color: var(--s703-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.s703-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.s703-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--s703-bg-light);
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--s703-text);
    transition: all 0.3s ease;
}

.s703-footer-link:hover {
    background: var(--s703-primary);
    color: var(--s703-dark);
}

.s703-partners {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.s703-partner-logo {
    height: 30px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

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

.s703-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s703-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--s703-border);
}

/* Bottom Navigation */
.s703-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--s703-dark) 0%, var(--s703-bg) 100%);
    border-top: 1px solid var(--s703-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

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

.s703-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--s703-text-muted);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.s703-nav-btn:hover,
.s703-nav-btn.s703-active {
    color: var(--s703-primary);
    background: rgba(72, 209, 204, 0.1);
}

.s703-nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.s703-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Testimonials */
.s703-testimonial {
    background: var(--s703-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.s703-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.s703-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--s703-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--s703-dark);
}

.s703-testimonial-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s703-text);
}

.s703-testimonial-text {
    font-size: 1.3rem;
    color: var(--s703-text-muted);
    font-style: italic;
}

/* Payment Methods */
.s703-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s703-payment-item {
    background: var(--s703-bg-light);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.s703-payment-item i {
    font-size: 2.4rem;
    color: var(--s703-primary);
    margin-bottom: 0.5rem;
}

.s703-payment-name {
    font-size: 1.1rem;
    color: var(--s703-text);
}

/* RTP Stats */
.s703-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s703-rtp-item {
    background: var(--s703-bg-light);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.s703-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s703-primary);
}

.s703-rtp-label {
    font-size: 1.2rem;
    color: var(--s703-text-muted);
}

/* Winners List */
.s703-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--s703-bg-light);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.s703-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Utility Classes */
.s703-text-center { text-align: center; }
.s703-text-primary { color: var(--s703-primary); }
.s703-text-accent { color: var(--s703-accent); }
.s703-mb-1 { margin-bottom: 1rem; }
.s703-mb-2 { margin-bottom: 2rem; }
.s703-mt-2 { margin-top: 2rem; }

/* FAQ Section */
.s703-faq-item {
    background: var(--s703-bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.s703-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--s703-text-muted);
    line-height: 1.6;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .s703-header-inner {
        max-width: 1200px;
    }

    .s703-container {
        max-width: 1200px;
    }

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

    .s703-carousel {
        height: 400px;
    }
}
