/**
 * Filbet App - Main Stylesheet
 * Prefix: g75b-
 * Color Palette: #BAFFC9 | #FFF176 | #0F0F23 | #FFDFBA
 */

/* CSS Variables */
:root {
    --g75b-primary: #FFF176;
    --g75b-secondary: #BAFFC9;
    --g75b-accent: #FFDFBA;
    --g75b-bg-dark: #0F0F23;
    --g75b-bg-card: #1a1a35;
    --g75b-text-light: #ffffff;
    --g75b-text-muted: #a0a0b0;
    --g75b-border: rgba(255, 255, 255, 0.1);
    --g75b-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --g75b-gradient: linear-gradient(135deg, #0F0F23 0%, #1a1a35 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--g75b-bg-dark);
    color: var(--g75b-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.g75b-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.g75b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g75b-bg-dark) 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--g75b-border);
}

.g75b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.g75b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g75b-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g75b-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g75b-primary);
}

.g75b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g75b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 2.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.g75b-btn-primary {
    background: var(--g75b-primary);
    color: var(--g75b-bg-dark);
}

.g75b-btn-primary:hover {
    background: #ffe066;
    transform: scale(1.05);
}

.g75b-btn-secondary {
    background: transparent;
    color: var(--g75b-text-light);
    border: 1px solid var(--g75b-primary);
}

.g75b-btn-secondary:hover {
    background: var(--g75b-primary);
    color: var(--g75b-bg-dark);
}

.g75b-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--g75b-text-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu */
.g75b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g75b-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g75b-menu-active {
    right: 0;
}

.g75b-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;
}

.g75b-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g75b-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--g75b-border);
}

.g75b-menu-close {
    width: 36px;
    height: 36px;
    background: var(--g75b-border);
    border: none;
    border-radius: 50%;
    color: var(--g75b-text-light);
    cursor: pointer;
    font-size: 1.8rem;
}

.g75b-menu-nav {
    list-style: none;
}

.g75b-menu-nav li {
    margin-bottom: 0.5rem;
}

.g75b-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--g75b-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.g75b-menu-nav a:hover {
    background: var(--g75b-border);
    color: var(--g75b-primary);
}

/* Main Content */
.g75b-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .g75b-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g75b-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.g75b-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.g75b-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g75b-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g75b-slide-active {
    opacity: 1;
}

.g75b-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g75b-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g75b-dot-active {
    background: var(--g75b-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section */
.g75b-section {
    padding: 2rem 1.6rem;
}

.g75b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g75b-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g75b-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.g75b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g75b-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g75b-game-card:hover {
    transform: scale(1.05);
}

.g75b-game-card:active,
.g75b-touch-active {
    transform: scale(0.95);
}

.g75b-game-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--g75b-shadow);
}

.g75b-game-name {
    font-size: 1rem;
    color: var(--g75b-text-light);
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.g75b-category-section {
    margin-bottom: 2rem;
}

.g75b-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.g75b-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g75b-secondary);
}

/* Info Card */
.g75b-info-card {
    background: var(--g75b-bg-card);
    border-radius: 12px;
    padding: 1.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--g75b-border);
}

.g75b-info-card h3 {
    font-size: 1.4rem;
    color: var(--g75b-primary);
    margin-bottom: 1rem;
}

.g75b-info-card p {
    font-size: 1.2rem;
    color: var(--g75b-text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.g75b-info-card p:last-child {
    margin-bottom: 0;
}

/* Feature List */
.g75b-feature-list {
    list-style: none;
}

.g75b-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    font-size: 1.2rem;
    color: var(--g75b-text-light);
}

.g75b-feature-list li i {
    color: var(--g75b-secondary);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

/* CTA Section */
.g75b-cta {
    background: linear-gradient(135deg, var(--g75b-bg-card) 0%, rgba(186, 255, 201, 0.1) 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 1.6rem;
    border: 1px solid var(--g75b-secondary);
}

.g75b-cta h2 {
    font-size: 2rem;
    color: var(--g75b-primary);
    margin-bottom: 1rem;
}

.g75b-cta p {
    font-size: 1.3rem;
    color: var(--g75b-text-muted);
    margin-bottom: 1.5rem;
}

.g75b-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--g75b-primary);
    color: var(--g75b-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.g75b-cta-btn:hover {
    background: #ffe066;
    transform: scale(1.05);
}

/* Footer */
.g75b-footer {
    background: var(--g75b-bg-card);
    padding: 2rem 1.6rem 3rem;
    border-top: 1px solid var(--g75b-border);
}

.g75b-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g75b-footer-links a {
    color: var(--g75b-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.g75b-footer-links a:hover {
    color: var(--g75b-primary);
}

.g75b-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.g75b-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g75b-partners img:hover {
    opacity: 1;
}

.g75b-copyright {
    text-align: center;
    color: var(--g75b-text-muted);
    font-size: 1.1rem;
}

/* Bottom Navigation */
.g75b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--g75b-bg-card) 0%, var(--g75b-bg-dark) 100%);
    border-top: 1px solid var(--g75b-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

@media (min-width: 769px) {
    .g75b-bottom-nav {
        display: none;
    }
}

.g75b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.g75b-nav-item:hover {
    background: rgba(255, 241, 118, 0.1);
}

.g75b-nav-item i {
    font-size: 22px;
    color: var(--g75b-text-muted);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.g75b-nav-item span {
    font-size: 10px;
    color: var(--g75b-text-muted);
    transition: color 0.3s ease;
}

.g75b-nav-item:hover i,
.g75b-nav-item:hover span {
    color: var(--g75b-primary);
}

.g75b-nav-item.active i,
.g75b-nav-item.active span {
    color: var(--g75b-primary);
}

/* Promo Link Styles */
.g75b-promo-link {
    color: var(--g75b-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g75b-promo-link:hover {
    color: #ffe066;
    text-decoration: underline;
}

/* RTP Stats */
.g75b-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g75b-rtp-item {
    background: var(--g75b-bg-card);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
}

.g75b-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g75b-secondary);
}

.g75b-rtp-label {
    font-size: 1rem;
    color: var(--g75b-text-muted);
}

/* Achievement Badge */
.g75b-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(186, 255, 201, 0.15);
    border-radius: 20px;
    font-size: 1rem;
    color: var(--g75b-secondary);
}

/* Tricks Section */
.g75b-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--g75b-bg-card);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.g75b-trick-number {
    width: 28px;
    height: 28px;
    background: var(--g75b-primary);
    color: var(--g75b-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.g75b-trick-text {
    font-size: 1.2rem;
    color: var(--g75b-text-light);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 430px) {
    .g75b-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .g75b-game-icon {
        width: 56px;
        height: 56px;
    }

    .g75b-game-name {
        font-size: 0.9rem;
    }
}

/* Utility */
.g75b-text-center {
    text-align: center;
}

.g75b-mb-1 {
    margin-bottom: 1rem;
}

.g75b-mb-2 {
    margin-bottom: 2rem;
}

.g75b-hidden {
    display: none;
}
