/**
 * Nutstar Website Stylesheet
 * Prefix: s910-
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --s910-primary: #2E8B57;
    --s910-secondary: #C9C9FF;
    --s910-accent: #FFB6C1;
    --s910-bg-dark: #333333;
    --s910-bg-light: #1a1a2e;
    --s910-text-light: #ffffff;
    --s910-text-muted: #b0b0b0;
    --s910-gradient-start: #2E8B57;
    --s910-gradient-end: #1a5c3a;
    --s910-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s910-radius: 12px;
    --s910-radius-sm: 8px;
}

/* 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', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--s910-bg-dark);
    color: var(--s910-text-light);
    min-height: 100vh;
}

/* Container */
.s910-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.s910-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--s910-bg-dark) 0%, #1a1a2e 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--s910-shadow);
    border-bottom: 2px solid var(--s910-primary);
}

.s910-header-scrolled {
    background: rgba(51, 51, 51, 0.98);
}

.s910-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.s910-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s910-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--s910-secondary), var(--s910-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s910-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.s910-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--s910-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.s910-btn-primary {
    background: linear-gradient(135deg, var(--s910-primary), var(--s910-gradient-end));
    color: var(--s910-text-light);
}

.s910-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.s910-btn-secondary {
    background: transparent;
    border: 2px solid var(--s910-secondary);
    color: var(--s910-secondary);
}

.s910-btn-secondary:hover {
    background: var(--s910-secondary);
    color: var(--s910-bg-dark);
}

.s910-menu-btn {
    background: none;
    border: none;
    color: var(--s910-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.s910-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s910-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.s910-menu-active {
    right: 0;
}

.s910-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--s910-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.s910-menu-nav {
    margin-top: 4rem;
    list-style: none;
}

.s910-menu-nav li {
    margin-bottom: 1.5rem;
}

.s910-menu-nav a {
    color: var(--s910-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--s910-radius-sm);
    transition: all 0.3s ease;
}

.s910-menu-nav a:hover {
    background: rgba(46, 139, 87, 0.2);
    color: var(--s910-primary);
}

.s910-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.s910-overlay-active {
    display: block;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Hero Slider */
.s910-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.s910-slider {
    position: relative;
    height: 200px;
}

.s910-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.s910-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.s910-section {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.s910-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s910-secondary);
    text-align: center;
    position: relative;
}

.s910-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--s910-primary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.s910-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s910-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s910-game-item:hover {
    transform: scale(1.05);
}

.s910-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--s910-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.s910-game-item:hover .s910-game-img {
    border-color: var(--s910-primary);
}

.s910-game-name {
    font-size: 1.2rem;
    color: var(--s910-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.s910-category-section {
    margin-bottom: 2rem;
}

.s910-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--s910-accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Content Card */
.s910-card {
    background: var(--s910-bg-light);
    border-radius: var(--s910-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 201, 255, 0.1);
}

.s910-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--s910-secondary);
}

.s910-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--s910-text-muted);
}

/* Promo Link */
.s910-promo-link {
    color: var(--s910-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.s910-promo-link:hover {
    color: var(--s910-accent);
    text-decoration: underline;
}

/* Footer */
.s910-footer {
    background: var(--s910-bg-light);
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--s910-primary);
}

.s910-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s910-footer-links a {
    color: var(--s910-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.s910-footer-links a:hover {
    color: var(--s910-primary);
}

.s910-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s910-partners img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s910-partners img:hover {
    opacity: 1;
}

.s910-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s910-text-muted);
}

/* Bottom Navigation */
.s910-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(135deg, var(--s910-bg-dark) 0%, #1a1a2e 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--s910-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.s910-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--s910-text-muted);
}

.s910-nav-item:hover {
    transform: scale(1.1);
    color: var(--s910-primary);
}

.s910-nav-item.active {
    color: var(--s910-secondary);
}

.s910-nav-item i,
.s910-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.s910-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* H1 Title */
.s910-h1-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--s910-secondary), var(--s910-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features List */
.s910-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s910-feature-item {
    background: var(--s910-bg-light);
    padding: 1.5rem;
    border-radius: var(--s910-radius-sm);
    text-align: center;
    border: 1px solid rgba(201, 201, 255, 0.1);
}

.s910-feature-icon {
    font-size: 2.8rem;
    color: var(--s910-primary);
    margin-bottom: 0.8rem;
}

.s910-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--s910-text-light);
}

.s910-feature-desc {
    font-size: 1.2rem;
    color: var(--s910-text-muted);
}

/* FAQ Section */
.s910-faq-item {
    background: var(--s910-bg-light);
    border-radius: var(--s910-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.s910-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s910-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s910-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--s910-text-muted);
    line-height: 1.5;
}

/* RTP Stats */
.s910-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s910-rtp-item {
    background: var(--s910-bg-light);
    padding: 1.2rem;
    border-radius: var(--s910-radius-sm);
    text-align: center;
}

.s910-rtp-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--s910-primary);
}

.s910-rtp-label {
    font-size: 1.2rem;
    color: var(--s910-text-muted);
}

/* Responsive */
@media (min-width: 769px) {
    .s910-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }

    .s910-container {
        max-width: 768px;
    }
}

/* Utility Classes */
.s910-text-center {
    text-align: center;
}

.s910-mb-1 {
    margin-bottom: 1rem;
}

.s910-mb-2 {
    margin-bottom: 2rem;
}

.s910-highlight {
    color: var(--s910-primary);
    font-weight: 600;
}
