/**
 * Nustar Club - Theme Stylesheet
 * Version: 1.0.0
 * All classes use scf5- prefix for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --scf5-bg-dark: #0C0C0C;
    --scf5-primary: #C71585;
    --scf5-text-light: #F8F9FA;
    --scf5-accent-1: #E9967A;
    --scf5-accent-2: #FF7F50;
    --scf5-accent-3: #FFB74D;
    --scf5-gradient: linear-gradient(135deg, #C71585 0%, #FF7F50 100%);
    --scf5-shadow: 0 4px 20px rgba(199, 21, 133, 0.3);
    --scf5-radius: 12px;
    --scf5-transition: all 0.3s ease;
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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(--scf5-bg-dark);
    color: var(--scf5-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--scf5-accent-2);
    text-decoration: none;
    transition: var(--scf5-transition);
}

a:hover {
    color: var(--scf5-accent-3);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.scf5-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.scf5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(199, 21, 133, 0.2);
}

.scf5-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.scf5-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.scf5-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.scf5-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--scf5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scf5-header-actions {
    display: flex;
    gap: 0.8rem;
}

.scf5-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: var(--scf5-transition);
    border: none;
    min-height: 44px;
}

.scf5-btn-primary {
    background: var(--scf5-gradient);
    color: var(--scf5-text-light);
    box-shadow: var(--scf5-shadow);
}

.scf5-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(199, 21, 133, 0.4);
}

.scf5-btn-outline {
    background: transparent;
    color: var(--scf5-text-light);
    border: 2px solid var(--scf5-primary);
}

.scf5-btn-outline:hover {
    background: var(--scf5-primary);
}

/* Menu Toggle */
.scf5-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}

.scf5-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--scf5-text-light);
    transition: var(--scf5-transition);
}

/* Mobile Menu */
.scf5-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(12, 12, 12, 0.98);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.scf5-menu-active {
    right: 0;
}

.scf5-mobile-menu ul {
    list-style: none;
}

.scf5-mobile-menu li {
    margin-bottom: 1rem;
}

.scf5-mobile-menu a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--scf5-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: var(--scf5-transition);
}

.scf5-mobile-menu a:hover {
    background: rgba(199, 21, 133, 0.2);
    color: var(--scf5-accent-2);
}

.scf5-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(--scf5-transition);
}

.scf5-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.scf5-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--scf5-radius);
    margin-bottom: 2rem;
}

.scf5-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.scf5-slide-active {
    opacity: 1;
}

.scf5-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Title */
.scf5-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--scf5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scf5-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--scf5-accent-3);
    margin-bottom: 1rem;
}

/* Game Grid */
.scf5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.scf5-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: rgba(199, 21, 133, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--scf5-transition);
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.scf5-game-card:hover {
    transform: translateY(-3px);
    background: rgba(199, 21, 133, 0.2);
    box-shadow: var(--scf5-shadow);
}

.scf5-game-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.scf5-game-card span {
    font-size: 1.1rem;
    color: var(--scf5-text-light);
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Section */
.scf5-content-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(199, 21, 133, 0.1);
}

.scf5-content-section p {
    margin-bottom: 1rem;
    color: rgba(248, 249, 250, 0.9);
}

.scf5-content-section ul {
    list-style: none;
    margin-bottom: 1rem;
}

.scf5-content-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(248, 249, 250, 0.85);
}

.scf5-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--scf5-primary);
    border-radius: 50%;
}

/* Features Grid */
.scf5-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.scf5-feature-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(199, 21, 133, 0.15) 0%, rgba(255, 127, 80, 0.1) 100%);
    border-radius: var(--scf5-radius);
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.scf5-feature-item i {
    font-size: 2.4rem;
    color: var(--scf5-accent-2);
    margin-bottom: 0.8rem;
}

.scf5-feature-item h4 {
    font-size: 1.4rem;
    color: var(--scf5-accent-3);
    margin-bottom: 0.5rem;
}

.scf5-feature-item p {
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.8);
}

/* CTA Section */
.scf5-cta-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(199, 21, 133, 0.2) 0%, rgba(255, 127, 80, 0.15) 100%);
    border-radius: var(--scf5-radius);
    margin: 2rem 0;
}

.scf5-cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--scf5-text-light);
}

.scf5-cta-section p {
    margin-bottom: 1.5rem;
    color: rgba(248, 249, 250, 0.9);
}

.scf5-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: var(--scf5-gradient);
    color: var(--scf5-text-light);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--scf5-shadow);
    transition: var(--scf5-transition);
}

.scf5-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(199, 21, 133, 0.5);
}

/* Footer */
.scf5-footer {
    background: rgba(12, 12, 12, 0.95);
    padding: 2rem 0;
    border-top: 1px solid rgba(199, 21, 133, 0.2);
}

.scf5-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.scf5-footer-links a {
    color: rgba(248, 249, 250, 0.8);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
}

.scf5-footer-links a:hover {
    color: var(--scf5-accent-2);
}

.scf5-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.scf5-partners img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.7;
    transition: var(--scf5-transition);
}

.scf5-partners img:hover {
    opacity: 1;
}

.scf5-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.6);
}

/* Bottom Navigation */
.scf5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 1) 100%);
    border-top: 1px solid rgba(199, 21, 133, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .scf5-bottom-nav {
        display: none;
    }
}

.scf5-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--scf5-transition);
    border-radius: 10px;
}

.scf5-nav-item:hover {
    background: rgba(199, 21, 133, 0.2);
}

.scf5-nav-item i,
.scf5-nav-item .material-icons-outlined {
    font-size: 24px;
    color: var(--scf5-text-light);
    margin-bottom: 0.3rem;
    transition: var(--scf5-transition);
}

.scf5-nav-item:hover i,
.scf5-nav-item:hover .material-icons-outlined {
    color: var(--scf5-accent-2);
    transform: scale(1.1);
}

.scf5-nav-item span {
    font-size: 10px;
    color: rgba(248, 249, 250, 0.8);
    text-align: center;
}

.scf5-nav-item:hover span {
    color: var(--scf5-accent-3);
}

/* Utility Classes */
.scf5-text-center { text-align: center; }
.scf5-mb-1 { margin-bottom: 1rem; }
.scf5-mb-2 { margin-bottom: 2rem; }
.scf5-mb-3 { margin-bottom: 3rem; }
.scf5-mt-2 { margin-top: 2rem; }
.scf5-py-2 { padding: 2rem 0; }

/* Promotional Link Styles */
.scf5-promo-link {
    color: var(--scf5-accent-2);
    font-weight: 600;
    cursor: pointer;
    transition: var(--scf5-transition);
}

.scf5-promo-link:hover {
    color: var(--scf5-accent-3);
    text-decoration: underline;
}

/* RTP Stats Section */
.scf5-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.scf5-rtp-item {
    background: rgba(199, 21, 133, 0.1);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
}

.scf5-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--scf5-accent-2);
}

.scf5-rtp-label {
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.7);
}

/* FAQ Section */
.scf5-faq-item {
    background: rgba(199, 21, 133, 0.08);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--scf5-primary);
}

.scf5-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--scf5-accent-3);
    margin-bottom: 0.8rem;
}

.scf5-faq-answer {
    font-size: 1.4rem;
    color: rgba(248, 249, 250, 0.85);
    line-height: 1.6;
}
