/* CSS with s9f0- prefix for yyy777-sbs */

/* Color Palette Variables */
:root {
    --primary-color: #48D1CC;
    --secondary-color: #E0FFFF;
    --accent-color: #E65100;
    --dark-color: #2C2C2C;
    --orange-color: #FF8000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    min-height: 100vh;
}

/* Header Styles */
.s9f0-header {
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.s9f0-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.s9f0-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.s9f0-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.s9f0-logo span {
    color: var(--orange-color);
}

.s9f0-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.s9f0-search-container {
    position: relative;
}

.s9f0-search-input {
    background: rgba(255,255,255,0.2);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 8px 15px;
    color: var(--text-light);
    width: 200px;
    transition: all 0.3s ease;
}

.s9f0-search-input:focus {
    outline: none;
    border-color: var(--orange-color);
    background: rgba(255,255,255,0.3);
    width: 250px;
}

.s9f0-search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.s9f0-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
}

.s9f0-search-result {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.s9f0-search-result:hover {
    background-color: var(--bg-light);
}

.s9f0-search-no-results {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
}

.s9f0-header-buttons {
    display: flex;
    gap: 10px;
}

.s9f0-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--orange-color));
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.s9f0-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, var(--orange-color), var(--primary-color));
}

.s9f0-btn:active {
    transform: translateY(0);
}

.s9f0-menu-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    display: none;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.s9f0-menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* Navigation Menu */
.s9f0-nav {
    display: flex;
    gap: 30px;
}

.s9f0-nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.s9f0-nav-item:hover {
    color: var(--orange-color);
}

.s9f0-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-color);
    transition: width 0.3s ease;
}

.s9f0-nav-item:hover::after {
    width: 100%;
}

/* Mobile Menu */
.s9f0-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-color);
    z-index: 9999;
    transition: right 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
}

.s9f0-mobile-menu.s9f0-active {
    right: 0;
}

.s9f0-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;
}

.s9f0-menu-overlay.s9f0-active {
    opacity: 1;
    visibility: visible;
}

.s9f0-mobile-nav {
    padding: 20px;
}

.s9f0-mobile-nav-item {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease;
}

.s9f0-mobile-nav-item:hover {
    color: var(--orange-color);
}

/* Hero Section */
.s9f0-hero {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--orange-color) 100%);
    position: relative;
    overflow: hidden;
}

.s9f0-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.s9f0-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.s9f0-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.s9f0-hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.9;
}

.s9f0-hero-cta {
    background: linear-gradient(45deg, var(--accent-color), var(--orange-color));
    color: var(--text-light);
    font-size: 18px;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.s9f0-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

/* Carousel Styles */
.s9f0-hero-carousel {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.s9f0-carousel-slide {
    position: relative;
    height: 300px;
    display: none;
}

.s9f0-carousel-slide.s9f0-active {
    display: block;
}

.s9f0-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s9f0-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--text-light);
    padding: 30px;
}

.s9f0-carousel-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.s9f0-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.s9f0-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.s9f0-carousel-indicator.s9f0-active {
    background: var(--orange-color);
}

/* Main Content */
.s9f0-main {
    padding: 40px 0;
    background: var(--bg-light);
}

.s9f0-main-content {
    margin-bottom: 40px;
}

.s9f0-section {
    margin-bottom: 60px;
}

.s9f0-section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.s9f0-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--orange-color));
    border-radius: 2px;
}

/* Game Grid */
.s9f0-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.s9f0-game-card {
    background: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.s9f0-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.s9f0-game-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.s9f0-game-info {
    padding: 15px;
    text-align: center;
}

.s9f0-game-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.s9f0-game-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.s9f0-play-btn {
    background: linear-gradient(45deg, var(--accent-color), var(--orange-color));
    color: var(--text-light);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.s9f0-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Category Tabs */
.s9f0-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.s9f0-category-tab {
    background: var(--text-light);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.s9f0-category-tab.s9f0-active {
    background: linear-gradient(45deg, var(--primary-color), var(--orange-color));
    color: var(--text-light);
    border-color: transparent;
}

.s9f0-category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* FAQ Section */
.s9f0-faq-section {
    background: var(--text-light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.s9f0-faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.s9f0-faq-item:last-child {
    border-bottom: none;
}

.s9f0-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.s9f0-faq-question:hover {
    color: var(--primary-color);
}

.s9f0-faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.s9f0-faq-item.s9f0-active .s9f0-faq-icon {
    transform: rotate(45deg);
}

.s9f0-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.s9f0-faq-item.s9f0-active .s9f0-faq-answer {
    max-height: 500px;
    padding-top: 15px;
}

/* CTA Section */
.s9f0-cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 60px 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.s9f0-cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.s9f0-cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.s9f0-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.s9f0-footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 40px 0 20px;
}

.s9f0-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.s9f0-footer-section h3 {
    color: var(--orange-color);
    margin-bottom: 15px;
}

.s9f0-footer-links {
    list-style: none;
}

.s9f0-footer-links li {
    margin-bottom: 8px;
}

.s9f0-footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.s9f0-footer-links a:hover {
    color: var(--orange-color);
}

.s9f0-partners {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.s9f0-partner-icon {
    width: 60px;
    height: 60px;
    background: var(--text-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.s9f0-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Bottom Navigation */
.s9f0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    z-index: 1000;
    height: 64px;
    display: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.s9f0-bottom-nav-content {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.s9f0-bottom-nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    cursor: pointer;
}

.s9f0-bottom-nav-item:hover,
.s9f0-bottom-nav-item.s9f0-active {
    color: var(--orange-color);
    background: rgba(255,255,255,0.1);
}

.s9f0-bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.s9f0-bottom-nav-item:hover .s9f0-bottom-nav-icon {
    transform: scale(1.1);
}

.s9f0-bottom-nav-label {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}

/* Scroll to Top Button */
.s9f0-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--orange-color));
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.s9f0-scroll-top.s9f0-visible {
    opacity: 1;
    visibility: visible;
}

.s9f0-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .s9f0-header {
        padding: 10px 0;
    }

    .s9f0-header-content {
        justify-content: space-between;
    }

    .s9f0-nav {
        display: none;
    }

    .s9f0-search-container {
        display: none;
    }

    .s9f0-menu-toggle {
        display: block;
    }

    .s9f0-hero {
        margin-top: 60px;
        padding: 40px 0;
    }

    .s9f0-hero-title {
        font-size: 32px;
    }

    .s9f0-hero-subtitle {
        font-size: 16px;
    }

    .s9f0-hero-carousel {
        margin: 30px auto 0;
    }

    .s9f0-carousel-slide {
        height: 200px;
    }

    .s9f0-carousel-title {
        font-size: 18px;
    }

    .s9f0-main {
        padding: 30px 0 80px;
    }

    .s9f0-section-title {
        font-size: 24px;
    }

    .s9f0-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .s9f0-game-image {
        height: 120px;
    }

    .s9f0-game-name {
        font-size: 14px;
    }

    .s9f0-category-tabs {
        gap: 8px;
    }

    .s9f0-category-tab {
        padding: 8px 16px;
        font-size: 14px;
    }

    .s9f0-faq-section {
        padding: 20px;
    }

    .s9f0-cta-section {
        padding: 40px 20px;
    }

    .s9f0-cta-title {
        font-size: 24px;
    }

    .s9f0-cta-description {
        font-size: 16px;
    }

    .s9f0-footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .s9f0-partners {
        gap: 15px;
    }

    .s9f0-partner-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .s9f0-bottom-nav {
        display: block;
    }

    .s9f0-scroll-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .s9f0-container {
        padding: 0 10px;
    }

    .s9f0-hero-title {
        font-size: 24px;
    }

    .s9f0-hero-subtitle {
        font-size: 14px;
    }

    .s9f0-carousel-slide {
        height: 180px;
    }

    .s9f0-carousel-title {
        font-size: 16px;
    }

    .s9f0-section-title {
        font-size: 20px;
    }

    .s9f0-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .s9f0-game-image {
        height: 100px;
    }

    .s9f0-cta-title {
        font-size: 20px;
    }

    .s9f0-cta-description {
        font-size: 14px;
    }

    .s9f0-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .s9f0-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.s9f0-text-center {
    text-align: center;
}

.s9f0-text-primary {
    color: var(--primary-color);
}

.s9f0-text-orange {
    color: var(--orange-color);
}

.s9f0-mb-20 {
    margin-bottom: 20px;
}

.s9f0-mb-30 {
    margin-bottom: 30px;
}

.s9f0-mb-40 {
    margin-bottom: 40px;
}

.s9f0-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.s9f0-lazy.s9f0-loaded {
    opacity: 1;
}

/* Animation Classes */
.s9f0-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.s9f0-slide-up {
    animation: slideUp 0.6s ease-out;
}

.s9f0-bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}