/**
 * VIP77 - Premium Online Gaming Platform
 * CSS Design File
 * Class Prefix: s50e-
 */

/* CSS Variables */
:root {
    --s50e-primary: #FF91A4;
    --s50e-secondary: #80CBC4;
    --s50e-dark: #2C2C2C;
    --s50e-blue: #0000FF;
    --s50e-light: #E8F5E8;
    --s50e-bg: #1a1a1a;
    --s50e-bg-card: #252525;
    --s50e-text: #ffffff;
    --s50e-text-muted: #b0b0b0;
    --s50e-border: #333333;
    --s50e-gradient: linear-gradient(135deg, #FF91A4 0%, #80CBC4 100%);
    --s50e-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s50e-radius: 12px;
    --s50e-radius-sm: 8px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s50e-bg);
    color: var(--s50e-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.s50e-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s50e-wrapper {
    padding: 1rem 0;
}

/* Header */
.s50e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--s50e-dark) 0%, rgba(44, 44, 44, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--s50e-border);
    transition: all 0.3s ease;
}

.s50e-header-scrolled {
    background: rgba(44, 44, 44, 0.98);
    box-shadow: var(--s50e-shadow);
}

.s50e-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s50e-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--s50e-text);
}

.s50e-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.s50e-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--s50e-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s50e-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s50e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--s50e-radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.s50e-btn-login {
    background: transparent;
    color: var(--s50e-primary);
    border: 2px solid var(--s50e-primary);
}

.s50e-btn-login:hover {
    background: var(--s50e-primary);
    color: var(--s50e-dark);
}

.s50e-btn-register {
    background: var(--s50e-gradient);
    color: var(--s50e-dark);
}

.s50e-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 145, 164, 0.5);
}

.s50e-menu-toggle {
    background: none;
    border: none;
    color: var(--s50e-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.s50e-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--s50e-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.s50e-menu-active {
    right: 0;
}

.s50e-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;
}

.s50e-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s50e-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s50e-border);
}

.s50e-menu-close {
    background: none;
    border: none;
    color: var(--s50e-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.s50e-menu-nav {
    list-style: none;
}

.s50e-menu-nav li {
    margin-bottom: 0.5rem;
}

.s50e-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s50e-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--s50e-radius-sm);
    transition: all 0.3s ease;
}

.s50e-menu-nav a:hover {
    background: rgba(255, 145, 164, 0.2);
    color: var(--s50e-primary);
}

/* Main Content */
.s50e-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .s50e-main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.s50e-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 var(--s50e-radius) var(--s50e-radius);
}

.s50e-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.s50e-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
    cursor: pointer;
}

.s50e-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s50e-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.s50e-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s50e-dot-active {
    background: var(--s50e-primary);
    transform: scale(1.2);
}

/* Section Styles */
.s50e-section {
    padding: 2rem 0;
}

.s50e-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s50e-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s50e-section-title i {
    color: var(--s50e-primary);
}

/* Game Grid */
.s50e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s50e-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s50e-game-item:hover {
    transform: scale(1.05);
}

.s50e-game-img {
    width: 70px;
    height: 70px;
    border-radius: var(--s50e-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--s50e-border);
    transition: border-color 0.3s ease;
}

.s50e-game-item:hover .s50e-game-img {
    border-color: var(--s50e-primary);
}

.s50e-game-name {
    font-size: 1.1rem;
    color: var(--s50e-text);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tabs */
.s50e-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.s50e-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.s50e-category-live {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.s50e-category-cards {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.s50e-category-slot {
    background: linear-gradient(135deg, #F093FB, #F5576C);
}

.s50e-category-fishing {
    background: linear-gradient(135deg, #4CA1AF, #2C3E50);
}

.s50e-category-hot {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
}

/* Info Cards */
.s50e-card {
    background: var(--s50e-bg-card);
    border-radius: var(--s50e-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--s50e-border);
}

.s50e-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--s50e-primary);
}

.s50e-card-text {
    font-size: 1.4rem;
    color: var(--s50e-text-muted);
    line-height: 1.6;
}

.s50e-card-text a {
    color: var(--s50e-secondary);
    text-decoration: none;
}

.s50e-card-text a:hover {
    text-decoration: underline;
}

/* Features List */
.s50e-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s50e-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--s50e-bg-card);
    border-radius: var(--s50e-radius-sm);
    border: 1px solid var(--s50e-border);
}

.s50e-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s50e-gradient);
    color: var(--s50e-dark);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.s50e-feature-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--s50e-text);
}

.s50e-feature-text p {
    font-size: 1.2rem;
    color: var(--s50e-text-muted);
}

/* Promo Banner */
.s50e-promo-banner {
    background: var(--s50e-gradient);
    border-radius: var(--s50e-radius);
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.s50e-promo-banner h3 {
    font-size: 1.8rem;
    color: var(--s50e-dark);
    margin-bottom: 0.5rem;
}

.s50e-promo-banner p {
    font-size: 1.3rem;
    color: var(--s50e-dark);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.s50e-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--s50e-dark);
    color: var(--s50e-primary);
    border-radius: var(--s50e-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.s50e-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--s50e-shadow);
}

/* Footer */
.s50e-footer {
    background: var(--s50e-dark);
    padding: 2rem 0;
    border-top: 1px solid var(--s50e-border);
}

.s50e-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s50e-footer-links a {
    color: var(--s50e-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.s50e-footer-links a:hover {
    color: var(--s50e-primary);
}

.s50e-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.s50e-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(50%);
}

.s50e-partners img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.s50e-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s50e-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--s50e-border);
}

/* Bottom Navigation */
.s50e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.98) 0%, var(--s50e-dark) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--s50e-border);
}

@media (min-width: 769px) {
    .s50e-bottom-nav {
        display: none;
    }
}

.s50e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--s50e-text-muted);
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.s50e-nav-item:hover,
.s50e-nav-item-active {
    color: var(--s50e-primary);
    transform: scale(1.1);
}

.s50e-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.s50e-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .s50e-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s50e-game-img {
        width: 60px;
        height: 60px;
    }
}

/* Utilities */
.s50e-text-center {
    text-align: center;
}

.s50e-mb-1 {
    margin-bottom: 1rem;
}

.s50e-mb-2 {
    margin-bottom: 2rem;
}

.s50e-hidden {
    display: none;
}

/* RTP Analysis Card */
.s50e-rtp-card {
    background: var(--s50e-bg-card);
    border-radius: var(--s50e-radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--s50e-secondary);
}

.s50e-rtp-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s50e-secondary);
    margin-bottom: 0.5rem;
}

.s50e-rtp-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--s50e-primary);
}

/* Achievement Badge */
.s50e-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 145, 164, 0.2);
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--s50e-primary);
    margin: 0.3rem;
}

/* FAQ Accordion */
.s50e-faq-item {
    background: var(--s50e-bg-card);
    border-radius: var(--s50e-radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.s50e-faq-question {
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s50e-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s50e-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.3rem;
    color: var(--s50e-text-muted);
    line-height: 1.6;
}

/* List styles */
.s50e-list {
    list-style: none;
    padding: 0;
}

.s50e-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.4rem;
    color: var(--s50e-text-muted);
    border-bottom: 1px solid var(--s50e-border);
}

.s50e-list li:last-child {
    border-bottom: none;
}

.s50e-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--s50e-secondary);
}

/* Link styles */
.s50e-link {
    color: var(--s50e-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.s50e-link:hover {
    color: var(--s50e-secondary);
    text-decoration: underline;
}
