/**
 * Fortune Coins - Core Stylesheet
 * Prefix: sfe5-
 * Version: 1.0.0
 */

/* CSS Reset and Variables */
:root {
    --sfe5-primary: #CD853F;
    --sfe5-secondary: #3A3A3A;
    --sfe5-accent: #A9A9A9;
    --sfe5-danger: #FF0000;
    --sfe5-highlight: #DC143C;
    --sfe5-bg-dark: #1a1a1a;
    --sfe5-bg-light: #2d2d2d;
    --sfe5-text-light: #ffffff;
    --sfe5-text-muted: #b0b0b0;
    --sfe5-border: #404040;
    --sfe5-shadow: rgba(0, 0, 0, 0.3);
    --sfe5-gradient: linear-gradient(135deg, var(--sfe5-primary) 0%, var(--sfe5-highlight) 100%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--sfe5-bg-dark);
    color: var(--sfe5-text-light);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--sfe5-highlight);
}

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

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

.sfe5-wrapper {
    padding: 2rem 0;
}

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

.sfe5-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

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

.sfe5-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.sfe5-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sfe5-primary);
    text-transform: capitalize;
}

.sfe5-header-actions {
    display: flex;
    gap: 0.8rem;
}

.sfe5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

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

.sfe5-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--sfe5-shadow);
}

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

.sfe5-btn-outline:hover {
    background: var(--sfe5-primary);
    color: var(--sfe5-bg-dark);
}

.sfe5-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.sfe5-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--sfe5-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.sfe5-mobile-menu.sfe5-menu-active {
    right: 0;
}

.sfe5-mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--sfe5-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

.sfe5-nav-item {
    margin-bottom: 0.5rem;
}

.sfe5-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--sfe5-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sfe5-nav-link:hover {
    background: var(--sfe5-bg-light);
    color: var(--sfe5-primary);
}

/* Menu Overlay */
.sfe5-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;
}

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

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

/* Hero Slider */
.sfe5-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

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

.sfe5-slide {
    min-width: 100%;
    display: none;
    cursor: pointer;
}

.sfe5-slide.sfe5-slide-active {
    display: block;
}

.sfe5-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.sfe5-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.sfe5-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sfe5-accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Section Styles */
.sfe5-section {
    padding: 2rem 0;
}

.sfe5-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sfe5-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sfe5-section-subtitle {
    font-size: 1.6rem;
    color: var(--sfe5-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.sfe5-game-card:hover {
    transform: scale(1.05);
}

.sfe5-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.sfe5-game-name {
    font-size: 1.2rem;
    color: var(--sfe5-text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Title */
.sfe5-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--sfe5-primary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--sfe5-highlight);
}

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

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

.sfe5-card-text {
    font-size: 1.4rem;
    color: var(--sfe5-text-muted);
    line-height: 1.6;
}

/* Feature List */
.sfe5-feature-list {
    list-style: none;
}

.sfe5-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--sfe5-border);
}

.sfe5-feature-item:last-child {
    border-bottom: none;
}

.sfe5-feature-icon {
    color: var(--sfe5-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.sfe5-feature-content h4 {
    font-size: 1.5rem;
    color: var(--sfe5-text-light);
    margin-bottom: 0.3rem;
}

.sfe5-feature-content p {
    font-size: 1.3rem;
    color: var(--sfe5-text-muted);
}

/* FAQ Styles */
.sfe5-faq-item {
    background: var(--sfe5-bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

/* Promo Link Styles */
.sfe5-promo-link {
    color: var(--sfe5-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sfe5-promo-link:hover {
    color: var(--sfe5-highlight);
    text-decoration: underline;
}

.sfe5-promo-btn {
    display: inline-block;
    background: var(--sfe5-gradient);
    color: var(--sfe5-text-light);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.sfe5-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--sfe5-shadow);
}

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

.sfe5-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.sfe5-footer-brand p {
    font-size: 1.3rem;
    color: var(--sfe5-text-muted);
    line-height: 1.6;
}

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

.sfe5-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--sfe5-bg-dark);
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--sfe5-text-light);
    transition: all 0.3s ease;
}

.sfe5-footer-link:hover {
    background: var(--sfe5-primary);
    color: var(--sfe5-bg-dark);
}

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

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

.sfe5-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--sfe5-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

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

.sfe5-nav-btn .material-icons,
.sfe5-nav-btn i {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.sfe5-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonial Styles */
.sfe5-testimonial {
    background: var(--sfe5-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sfe5-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sfe5-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sfe5-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--sfe5-bg-dark);
}

.sfe5-testimonial-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sfe5-text-light);
}

.sfe5-testimonial-text {
    font-size: 1.3rem;
    color: var(--sfe5-text-muted);
    line-height: 1.5;
}

/* Winner Showcase */
.sfe5-winner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--sfe5-bg-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.sfe5-winner-game {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.sfe5-winner-info {
    flex: 1;
}

.sfe5-winner-name {
    font-size: 1.3rem;
    color: var(--sfe5-text-light);
    font-weight: 500;
}

.sfe5-winner-amount {
    font-size: 1.5rem;
    color: var(--sfe5-primary);
    font-weight: 700;
}

/* Payment Methods */
.sfe5-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sfe5-payment-item {
    background: var(--sfe5-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.sfe5-payment-item i {
    font-size: 2.4rem;
    color: var(--sfe5-primary);
    margin-bottom: 0.5rem;
}

.sfe5-payment-name {
    font-size: 1.1rem;
    color: var(--sfe5-text-muted);
}

/* Responsive */
@media (max-width: 430px) {
    .sfe5-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .sfe5-game-name {
        font-size: 1.1rem;
    }
}

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

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

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

/* Animation Classes */
.sfe5-fade-in {
    animation: sfe5fadeIn 0.5s ease forwards;
}

@keyframes sfe5fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.sfe5-mt-2 {
    margin-top: 2rem;
}

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

.sfe5-hidden {
    display: none;
}
