/**
 * Filbet App - Design Stylesheet
 * Class Prefix: v569-
 * Color Palette: #708090 | #DCDCDC | #1A1A1A | #36454F
 * Website: filbetapp.club
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --v569-primary: #708090;
    --v569-secondary: #36454F;
    --v569-accent: #DCDCDC;
    --v569-dark: #1A1A1A;
    --v569-light: #FFFFFF;
    --v569-text: #DCDCDC;
    --v569-text-dark: #1A1A1A;
    --v569-bg: #1A1A1A;
    --v569-bg-secondary: #36454F;
    --v569-border: #708090;
    --v569-gradient: linear-gradient(135deg, #36454F 0%, #1A1A1A 100%);
    --v569-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v569-radius: 8px;
    --v569-radius-lg: 16px;
    --v569-transition: all 0.3s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--v569-text);
    background-color: var(--v569-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--v569-accent);
    text-decoration: none;
    transition: var(--v569-transition);
}

a:hover {
    color: var(--v569-primary);
}

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

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

.v569-wrapper {
    padding: 1.6rem 0;
}

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

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

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

.v569-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v569-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v569-light);
}

.v569-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v569-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: var(--v569-radius);
    cursor: pointer;
    transition: var(--v569-transition);
    min-height: 36px;
}

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

.v569-btn-primary:hover {
    background: #5a6b7a;
    transform: translateY(-1px);
}

.v569-btn-secondary {
    background: transparent;
    color: var(--v569-light);
    border: 1px solid var(--v569-accent);
}

.v569-btn-secondary:hover {
    background: var(--v569-accent);
    color: var(--v569-dark);
}

.v569-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.v569-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--v569-light);
    margin: 3px 0;
    transition: var(--v569-transition);
}

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

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

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

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

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

.v569-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v569-transition);
}

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

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

.v569-nav-item {
    border-bottom: 1px solid rgba(112, 128, 144, 0.3);
}

.v569-nav-link {
    display: block;
    padding: 1.4rem 0;
    color: var(--v569-text);
    font-size: 1.4rem;
    font-weight: 500;
}

.v569-nav-link:hover {
    color: var(--v569-accent);
}

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

/* Carousel/Slider */
.v569-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--v569-radius-lg);
    margin-bottom: 2rem;
}

.v569-slide {
    display: none;
    cursor: pointer;
}

.v569-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v569-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v569-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v569-transition);
}

.v569-dot-active {
    background: var(--v569-light);
    transform: scale(1.2);
}

/* Section Titles */
.v569-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v569-light);
    margin-bottom: 1.6rem;
    text-align: center;
}

.v569-section-subtitle {
    font-size: 1.4rem;
    color: var(--v569-accent);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.v569-games-section {
    padding: 2rem 0;
}

.v569-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v569-accent);
    margin-bottom: 1.2rem;
    padding-left: 0.4rem;
    border-left: 3px solid var(--v569-primary);
}

.v569-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.v569-game-card {
    background: var(--v569-bg-secondary);
    border-radius: var(--v569-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v569-transition);
}

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

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

.v569-game-name {
    font-size: 1rem;
    color: var(--v569-text);
    text-align: center;
    padding: 0.6rem 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v569-touch-active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Content Sections */
.v569-content-section {
    background: var(--v569-bg-secondary);
    border-radius: var(--v569-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.v569-content-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v569-light);
    margin-bottom: 1.2rem;
}

.v569-content-section p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--v569-text);
    margin-bottom: 1rem;
}

.v569-content-section ul {
    list-style: none;
    margin: 1rem 0;
}

.v569-content-section li {
    padding: 0.8rem 0;
    padding-left: 1.6rem;
    position: relative;
    font-size: 1.3rem;
    color: var(--v569-text);
}

.v569-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 6px;
    height: 6px;
    background: var(--v569-primary);
    border-radius: 50%;
}

/* Footer */
.v569-footer {
    background: var(--v569-bg-secondary);
    padding: 2rem 1.2rem;
    padding-bottom: 8rem;
}

.v569-footer-inner {
    max-width: 430px;
    margin: 0 auto;
}

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

.v569-footer-link {
    font-size: 1.2rem;
    color: var(--v569-accent);
    padding: 0.4rem 0.8rem;
}

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

.v569-partner-logo {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: var(--v569-transition);
}

.v569-partner-logo:hover {
    opacity: 1;
}

.v569-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v569-primary);
}

/* Bottom Navigation */
.v569-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--v569-gradient);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.v569-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--v569-transition);
    color: var(--v569-accent);
}

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

.v569-nav-btn i,
.v569-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

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

/* Promo Links */
.v569-promo-text {
    color: var(--v569-accent);
    font-weight: 600;
    cursor: pointer;
}

.v569-promo-text:hover {
    color: var(--v569-light);
    text-decoration: underline;
}

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

.v569-rtp-item {
    background: rgba(112, 128, 144, 0.2);
    padding: 1rem;
    border-radius: var(--v569-radius);
    text-align: center;
}

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

.v569-rtp-label {
    font-size: 1.1rem;
    color: var(--v569-accent);
}

/* FAQ Section */
.v569-faq-item {
    background: rgba(112, 128, 144, 0.15);
    border-radius: var(--v569-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

/* Desktop Styles */
@media (min-width: 769px) {
    .v569-bottom-nav {
        display: none;
    }

    .v569-main {
        padding-bottom: 2rem;
    }

    .v569-footer {
        padding-bottom: 2rem;
    }

    .v569-container {
        max-width: 768px;
    }

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

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

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

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

.v569-hidden {
    display: none;
}

.v569-bold {
    font-weight: 700;
}
