/**
 * JL96 Core Stylesheet
 * Website: jl96.sbs
 * Prefix: sfc6-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --sfc6-primary: #8B4513;
    --sfc6-secondary: #5F9EA0;
    --sfc6-dark: #2D2D2D;
    --sfc6-light: #FDF5E6;
    --sfc6-navy: #000080;
    --sfc6-accent: #D4AF37;
    --sfc6-success: #28a745;
    --sfc6-danger: #dc3545;
    --sfc6-gradient: linear-gradient(135deg, var(--sfc6-primary) 0%, var(--sfc6-navy) 100%);
    --sfc6-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --sfc6-radius: 8px;
    --sfc6-transition: all 0.3s ease;
}

/* 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--sfc6-dark);
    color: var(--sfc6-light);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--sfc6-secondary);
    text-decoration: none;
    transition: var(--sfc6-transition);
}

a:hover {
    color: var(--sfc6-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.sfc6-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sfc6-wrapper {
    padding: 2rem 0;
}

/* Header */
.sfc6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--sfc6-gradient);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--sfc6-shadow);
    transition: var(--sfc6-transition);
}

.sfc6-header-scrolled {
    padding: 0.8rem 1.5rem;
    background: rgba(139, 69, 19, 0.98);
}

.sfc6-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sfc6-logo img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.sfc6-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sfc6-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sfc6-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sfc6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--sfc6-radius);
    cursor: pointer;
    transition: var(--sfc6-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sfc6-btn-primary {
    background: var(--sfc6-accent);
    color: var(--sfc6-dark);
}

.sfc6-btn-primary:hover {
    background: #e6c03a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.sfc6-btn-secondary {
    background: transparent;
    color: var(--sfc6-light);
    border: 2px solid var(--sfc6-light);
}

.sfc6-btn-secondary:hover {
    background: var(--sfc6-light);
    color: var(--sfc6-dark);
}

.sfc6-menu-toggle {
    background: transparent;
    border: none;
    color: var(--sfc6-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.sfc6-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: var(--sfc6-transition);
}

.sfc6-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.sfc6-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sfc6-dark);
    z-index: 9999;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sfc6-menu-open {
    right: 0;
}

.sfc6-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(253, 245, 230, 0.2);
}

.sfc6-menu-close {
    background: transparent;
    border: none;
    color: var(--sfc6-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.sfc6-menu-nav {
    list-style: none;
}

.sfc6-menu-nav li {
    margin-bottom: 0.5rem;
}

.sfc6-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--sfc6-light);
    font-size: 1.5rem;
    border-radius: var(--sfc6-radius);
    transition: var(--sfc6-transition);
}

.sfc6-menu-nav a:hover {
    background: rgba(95, 158, 160, 0.2);
    color: var(--sfc6-secondary);
}

/* Main Content */
.sfc6-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .sfc6-main {
        padding-bottom: 80px;
    }
}

/* Carousel/Slider */
.sfc6-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--sfc6-radius);
    margin-bottom: 2rem;
}

.sfc6-slides {
    position: relative;
    width: 100%;
    height: 200px;
}

.sfc6-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.sfc6-slide.sfc6-active {
    opacity: 1;
}

.sfc6-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sfc6-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.sfc6-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--sfc6-transition);
}

.sfc6-dot-active,
.sfc6-dot:hover {
    background: var(--sfc6-accent);
    transform: scale(1.2);
}

/* Section Titles */
.sfc6-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sfc6-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--sfc6-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sfc6-section-title i {
    color: var(--sfc6-accent);
}

/* Game Grid */
.sfc6-game-section {
    margin-bottom: 3rem;
}

.sfc6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sfc6-game-card {
    background: rgba(45, 45, 45, 0.8);
    border-radius: var(--sfc6-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--sfc6-transition);
    border: 1px solid rgba(253, 245, 230, 0.1);
}

.sfc6-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sfc6-shadow);
    border-color: var(--sfc6-primary);
}

.sfc6-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.sfc6-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--sfc6-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, 0.3);
}

/* Info Cards */
.sfc6-info-card {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.9), rgba(0, 0, 80, 0.3));
    border-radius: var(--sfc6-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.sfc6-info-card h2 {
    font-size: 2rem;
    color: var(--sfc6-accent);
    margin-bottom: 1rem;
}

.sfc6-info-card h3 {
    font-size: 1.7rem;
    color: var(--sfc6-secondary);
    margin: 1.5rem 0 0.8rem;
}

.sfc6-info-card p {
    color: var(--sfc6-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sfc6-info-card ul {
    list-style: none;
    padding-left: 0;
}

.sfc6-info-card li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--sfc6-light);
}

.sfc6-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--sfc6-success);
}

/* Promo Links */
.sfc6-promo-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--sfc6-gradient);
    color: var(--sfc6-light);
    border-radius: var(--sfc6-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--sfc6-transition);
    margin: 0.5rem 0;
}

.sfc6-promo-link:hover {
    transform: scale(1.05);
    box-shadow: var(--sfc6-shadow);
}

.sfc6-text-link {
    color: var(--sfc6-accent);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.sfc6-text-link:hover {
    color: var(--sfc6-secondary);
}

/* Footer */
.sfc6-footer {
    background: var(--sfc6-gradient);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
}

.sfc6-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.sfc6-footer-links a {
    color: var(--sfc6-light);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--sfc6-radius);
}

.sfc6-footer-links a:hover {
    background: var(--sfc6-accent);
    color: var(--sfc6-dark);
}

.sfc6-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(253, 245, 230, 0.2);
    border-bottom: 1px solid rgba(253, 245, 230, 0.2);
}

.sfc6-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--sfc6-transition);
}

.sfc6-partners img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sfc6-copyright {
    text-align: center;
    color: rgba(253, 245, 230, 0.7);
    font-size: 1.3rem;
}

/* Bottom Navigation */
.sfc6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--sfc6-primary) 0%, var(--sfc6-navy) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    border-top: 2px solid var(--sfc6-accent);
}

@media (min-width: 769px) {
    .sfc6-bottom-nav {
        display: none;
    }
}

.sfc6-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--sfc6-light);
    cursor: pointer;
    transition: var(--sfc6-transition);
    border-radius: 12px;
    padding: 0.5rem;
}

.sfc6-nav-item:hover,
.sfc6-nav-item.sfc6-active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--sfc6-accent);
    transform: scale(1.1);
}

.sfc6-nav-item i {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.sfc6-nav-item span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Touch States */
.sfc6-touch-active {
    transform: scale(0.95);
    opacity: 0.9;
}

/* Utility Classes */
.sfc6-text-center {
    text-align: center;
}

.sfc6-mt-2 {
    margin-top: 2rem;
}

.sfc6-mb-2 {
    margin-bottom: 2rem;
}

.sfc6-hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .sfc6-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sfc6-logo-text {
        font-size: 1.6rem;
    }

    .sfc6-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) {
    .sfc6-container {
        max-width: 768px;
    }

    .sfc6-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
