/**
 * Vipslot CSS Stylesheet
 * Prefix: wf31b- for all classes
 * Color Palette: #FF5722 | #FF7F50 | #E9967A | #DB7093 | #0A0A0A
 */

/* CSS Variables */
:root {
    --wf31b-primary: #FF5722;
    --wf31b-secondary: #FF7F50;
    --wf31b-accent: #E9967A;
    --wf31b-highlight: #DB7093;
    --wf31b-dark: #0A0A0A;
    --wf31b-bg: #0A0A0A;
    --wf31b-bg-light: #1a1a1a;
    --wf31b-text: #ffffff;
    --wf31b-text-muted: #b0b0b0;
    --wf31b-border: #333333;
    --wf31b-gradient: linear-gradient(135deg, #FF5722 0%, #FF7F50 50%, #E9967A 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', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--wf31b-bg);
    color: var(--wf31b-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

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

a:hover {
    color: var(--wf31b-secondary);
}

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

/* Container */
.wf31b-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wf31b-wrapper {
    padding: 1rem;
}

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

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

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

.wf31b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.wf31b-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--wf31b-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf31b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wf31b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
    min-width: 70px;
}

.wf31b-btn-primary {
    background: var(--wf31b-gradient);
    color: var(--wf31b-text);
}

.wf31b-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

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

.wf31b-btn-outline:hover {
    background: var(--wf31b-primary);
    color: var(--wf31b-text);
}

.wf31b-menu-btn {
    background: none;
    border: none;
    color: var(--wf31b-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.wf31b-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;
}

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

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

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

.wf31b-menu-nav {
    list-style: none;
}

.wf31b-menu-nav li {
    margin-bottom: 0.5rem;
}

.wf31b-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--wf31b-text);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.wf31b-menu-nav a:hover {
    background: rgba(255, 87, 34, 0.2);
    color: var(--wf31b-primary);
}

/* Main Content */
.wf31b-main {
    padding-top: 60px;
}

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

/* Carousel */
.wf31b-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.wf31b-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.wf31b-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.wf31b-slide-active {
    opacity: 1;
    position: relative;
}

.wf31b-slide img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

.wf31b-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wf31b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Section Titles */
.wf31b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--wf31b-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wf31b-section-title i {
    color: var(--wf31b-primary);
}

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

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

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

.wf31b-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    margin-bottom: 0.4rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.wf31b-game-item:hover img {
    border-color: var(--wf31b-primary);
}

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

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

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

.wf31b-card-text {
    color: var(--wf31b-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Features List */
.wf31b-features {
    list-style: none;
}

.wf31b-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--wf31b-border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.wf31b-features li:last-child {
    border-bottom: none;
}

.wf31b-features i {
    color: var(--wf31b-primary);
    margin-top: 0.2rem;
}

/* Footer */
.wf31b-footer {
    background: var(--wf31b-bg-light);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--wf31b-border);
}

.wf31b-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

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

.wf31b-footer-links a {
    color: var(--wf31b-text-muted);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: var(--wf31b-dark);
    border-radius: 4px;
}

.wf31b-footer-links a:hover {
    color: var(--wf31b-primary);
    background: rgba(255, 87, 34, 0.1);
}

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

.wf31b-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wf31b-partners img:hover {
    opacity: 1;
}

.wf31b-copyright {
    text-align: center;
    color: var(--wf31b-text-muted);
    font-size: 1.2rem;
}

/* Mobile Bottom Navigation */
.wf31b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--wf31b-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid var(--wf31b-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

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

.wf31b-nav-item:hover,
.wf31b-nav-item.active {
    color: var(--wf31b-primary);
    background: rgba(255, 87, 34, 0.1);
    transform: scale(1.05);
}

.wf31b-nav-item i,
.wf31b-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 0.2rem;
}

.wf31b-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 0.2rem;
}

.wf31b-nav-text {
    font-size: 10px;
    text-align: center;
}

/* Promo Banner */
.wf31b-promo-banner {
    background: var(--wf31b-gradient);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.wf31b-promo-banner h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.wf31b-promo-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

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

.wf31b-rtp-item {
    background: var(--wf31b-dark);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

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

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

/* FAQ */
.wf31b-faq-item {
    background: var(--wf31b-bg-light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.wf31b-faq-question {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wf31b-faq-answer {
    padding: 0 1rem 1rem;
    color: var(--wf31b-text-muted);
    font-size: 1.3rem;
}

/* Utilities */
.wf31b-text-center {
    text-align: center;
}

.wf31b-mt-1 { margin-top: 0.5rem; }
.wf31b-mt-2 { margin-top: 1rem; }
.wf31b-mb-1 { margin-bottom: 0.5rem; }
.wf31b-mb-2 { margin-bottom: 1rem; }

.wf31b-hidden { display: none; }

/* Animations */
@keyframes wf31b-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wf31b-animate-pulse {
    animation: wf31b-pulse 2s infinite;
}

/* Responsive */
@media (max-width: 380px) {
    .wf31b-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wf31b-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}
