/**
 * Super Scatter - Main Stylesheet
 * File: css/layout-8137.css
 * Version: 1.0.0
 * Description: Mobile-first responsive styles for Super Scatter gaming platform
 * All classes use prefix 'v7f1-' for namespace isolation
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Color Palette - 6 colors as specified */
    --v7f1-color-1: #F5DEB3;
    --v7f1-color-2: #CED4DA;
    --v7f1-color-3: #FFD700;
    --v7f1-bg-dark: #0E1621;
    --v7f1-color-5: #FFE135;
    --v7f1-color-6: #FFA500;

    /* Semantic Colors */
    --v7f1-primary: var(--v7f1-color-3);
    --v7f1-secondary: var(--v7f1-color-5);
    --v7f1-accent: var(--v7f1-color-6);
    --v7f1-background: var(--v7f1-bg-dark);
    --v7f1-surface: #1a2332;
    --v7f1-text: var(--v7f1-color-1);
    --v7f1-text-muted: var(--v7f1-color-2);
    --v7f1-border: rgba(255, 215, 0, 0.3);

    /* Typography */
    --v7f1-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --v7f1-font-size-base: 1.6rem;
    --v7f1-font-size-sm: 1.4rem;
    --v7f1-font-size-lg: 1.8rem;
    --v7f1-font-size-xl: 2.0rem;
    --v7f1-font-size-xxl: 2.4rem;

    /* Spacing */
    --v7f1-spacing-xs: 0.4rem;
    --v7f1-spacing-sm: 0.8rem;
    --v7f1-spacing-md: 1.2rem;
    --v7f1-spacing-lg: 1.6rem;
    --v7f1-spacing-xl: 2.0rem;
    --v7f1-spacing-xxl: 2.4rem;

    /* Layout */
    --v7f1-max-width: 430px;
    --v7f1-header-height: 56px;
    --v7f1-bottom-nav-height: 64px;

    /* Borders */
    --v7f1-radius-sm: 6px;
    --v7f1-radius-md: 10px;
    --v7f1-radius-lg: 16px;

    /* Shadows */
    --v7f1-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --v7f1-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --v7f1-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --v7f1-transition-fast: 0.2s ease;
    --v7f1-transition-normal: 0.3s ease;
    --v7f1-transition-slow: 0.5s ease;
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--v7f1-font-family);
    font-size: var(--v7f1-font-size-base);
    line-height: 1.5;
    color: var(--v7f1-text);
    background-color: var(--v7f1-background);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.v7f1-body-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

a {
    color: var(--v7f1-primary);
    text-decoration: none;
    transition: color var(--v7f1-transition-fast);
}

a:hover {
    color: var(--v7f1-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== Layout Containers ==================== */
.v7f1-wrapper {
    width: 100%;
    max-width: var(--v7f1-max-width);
    margin: 0 auto;
    padding: 0 var(--v7f1-spacing-md);
}

.v7f1-container {
    width: 100%;
    max-width: var(--v7f1-max-width);
    margin: 0 auto;
}

.v7f1-section {
    padding: var(--v7f1-spacing-lg) var(--v7f1-spacing-md);
}

.v7f1-section-title {
    font-size: var(--v7f1-font-size-lg);
    font-weight: 700;
    color: var(--v7f1-primary);
    margin-bottom: var(--vf1-spacing-md);
    display: flex;
    align-items: center;
    gap: var(--v7f1-spacing-sm);
}

/* ==================== Header & Navigation ==================== */
.v7f1-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--v7f1-header-height);
    background: linear-gradient(135deg, var(--v7f1-bg-dark) 0%, var(--v7f1-surface) 100%);
    border-bottom: 1px solid var(--v7f1-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--v7f1-spacing-md);
    z-index: 1000;
    box-shadow: var(--v7f1-shadow-sm);
}

.v7f1-header-logo {
    display: flex;
    align-items: center;
    gap: var(--v7f1-spacing-sm);
}

.v7f1-logo-icon {
    width: 32px;
    height: 32px;
}

.v7f1-logo-text {
    font-size: var(--v7f1-font-size-lg);
    font-weight: 700;
    color: var(--v7f1-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v7f1-header-actions {
    display: flex;
    gap: var(--v7f1-spacing-sm);
}

.v7f1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--v7f1-spacing-sm) var(--v7f1-spacing-md);
    font-size: var(--v7f1-font-size-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--v7f1-radius-sm);
    cursor: pointer;
    transition: all var(--v7f1-transition-fast);
    white-space: nowrap;
}

.v7f1-btn-primary {
    background: var(--v7f1-primary);
    color: var(--v7f1-bg-dark);
}

.v7f1-btn-primary:hover {
    background: var(--v7f1-secondary);
    transform: translateY(-2px);
    box-shadow: var(--v7f1-shadow-md);
}

.v7f1-btn-secondary {
    background: transparent;
    color: var(--v7f1-primary);
    border: 1px solid var(--v7f1-primary);
}

.v7f1-btn-secondary:hover {
    background: var(--v7f1-primary);
    color: var(--v7f1-bg-dark);
}

/* Mobile Menu Toggle */
.v7f1-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--v7f1-spacing-sm);
}

.v7f1-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--v7f1-primary);
    margin: 3px 0;
    transition: all var(--v7f1-transition-fast);
}

/* Mobile Menu Overlay */
.v7f1-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--v7f1-transition-normal);
}

.v7f1-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.v7f1-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--v7f1-bg-dark);
    z-index: 9999;
    transition: right var(--v7f1-transition-normal);
    overflow-y: auto;
    padding: var(--v7f1-spacing-lg);
}

.v7f1-menu-open {
    right: 0;
}

.v7f1-menu-closed {
    right: -100%;
}

.v7f1-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--v7f1-spacing-xl);
    padding-bottom: var(--v7f1-spacing-md);
    border-bottom: 1px solid var(--v7f1-border);
}

.v7f1-menu-title {
    font-size: var(--v7f1-font-size-lg);
    font-weight: 700;
    color: var(--v7f1-primary);
}

.v7f1-menu-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--v7f1-text);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v7f1-nav-list {
    list-style: none;
}

.v7f1-nav-item {
    margin-bottom: var(--v7f1-spacing-sm);
}

.v7f1-nav-link {
    display: flex;
    align-items: center;
    padding: var(--v7f1-spacing-md);
    color: var(--v7f1-text);
    border-radius: var(--v7f1-radius-md);
    transition: all var(--v7f1-transition-fast);
}

.v7f1-nav-link:hover,
.v7f1-nav-link.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--v7f1-primary);
}

.v7f1-nav-icon {
    margin-right: var(--v7f1-spacing-md);
    width: 24px;
    text-align: center;
}

/* ==================== Main Content ==================== */
.v7f1-main {
    padding-top: var(--v7f1-header-height);
    padding-bottom: var(--v7f1-bottom-nav-height);
    min-height: 100vh;
}

/* ==================== Hero Section ==================== */
.v7f1-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--v7f1-radius-lg);
    margin-bottom: var(--v7f1-spacing-lg);
}

.v7f1-hero-slider {
    display: flex;
    transition: transform var(--v7f1-transition-slow);
}

.v7f1-slide {
    min-width: 100%;
    position: relative;
}

.v7f1-slide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.v7f1-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--v7f1-spacing-lg);
    background: linear-gradient(transparent, rgba(14, 22, 33, 0.95));
}

/* ==================== Game Cards ==================== */
.v7f1-game-section {
    margin-bottom: var(--v7f1-spacing-xl);
}

.v7f1-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--v7f1-spacing-md);
}

.v7f1-section-link {
    font-size: var(--v7f1-font-size-sm);
    color: var(--v7f1-primary);
}

.v7f1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--v7f1-spacing-sm);
}

.v7f1-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--v7f1-spacing-sm);
    background: var(--v7f1-surface);
    border-radius: var(--v7f1-radius-md);
    transition: all var(--v7f1-transition-fast);
    cursor: pointer;
}

.v7f1-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v7f1-shadow-md);
    background: rgba(255, 215, 0, 0.1);
}

.v7f1-game-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--v7f1-radius-sm);
    object-fit: cover;
    margin-bottom: var(--v7f1-spacing-xs);
}

.v7f1-game-name {
    font-size: 1.0rem;
    font-weight: 500;
    text-align: center;
    color: var(--v7f1-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* ==================== Content Sections ==================== */
.v7f1-content-block {
    background: var(--v7f1-surface);
    border-radius: var(--v7f1-radius-lg);
    padding: var(--v7f1-spacing-lg);
    margin-bottom: var(--v7f1-spacing-lg);
    border: 1px solid var(--v7f1-border);
}

.v7f1-block-title {
    font-size: var(--v7f1-font-size-lg);
    font-weight: 700;
    color: var(--v7f1-primary);
    margin-bottom: var(--v7f1-spacing-md);
    display: flex;
    align-items: center;
    gap: var(--v7f1-spacing-sm);
}

.v7f1-block-text {
    font-size: var(--v7f1-font-size-base);
    line-height: 1.6;
    color: var(--v7f1-text);
    margin-bottom: var(--v7f1-spacing-md);
}

.v7f1-block-text:last-child {
    margin-bottom: 0;
}

.v7f1-feature-list {
    list-style: none;
}

.v7f1-feature-item {
    display: flex;
    align-items: flex-start;
    padding: var(--v7f1-spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.v7f1-feature-item:last-child {
    border-bottom: none;
}

.v7f1-feature-icon {
    margin-right: var(--v7f1-spacing-sm);
    color: var(--v7f1-primary);
    flex-shrink: 0;
}

.v7f1-feature-text {
    font-size: var(--v7f1-font-size-sm);
    line-height: 1.5;
}

/* ==================== FAQ Section ==================== */
.v7f1-faq-item {
    border-bottom: 1px solid var(--v7f1-border);
    margin-bottom: var(--v7f1-spacing-sm);
}

.v7f1-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--v7f1-spacing-md);
    font-size: var(--v7f1-font-size-base);
    font-weight: 600;
    color: var(--v7f1-text);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.v7f1-faq-question:hover {
    color: var(--v7f1-primary);
}

.v7f1-faq-icon {
    transition: transform var(--v7f1-transition-fast);
    color: var(--v7f1-primary);
}

.v7f1-faq-answer {
    padding: 0 var(--v7f1-spacing-md) var(--v7f1-spacing-md);
    font-size: var(--v7f1-font-size-sm);
    line-height: 1.6;
    color: var(--v7f1-text-muted);
    display: none;
}

.v7f1-faq-answer.show {
    display: block;
}

/* ==================== CTA Section ==================== */
.v7f1-cta-section {
    background: linear-gradient(135deg, var(--v7f1-surface) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: var(--v7f1-radius-lg);
    padding: var(--v7f1-spacing-xl);
    text-align: center;
    margin-bottom: var(--v7f1-spacing-lg);
    border: 1px solid var(--v7f1-border);
}

.v7f1-cta-title {
    font-size: var(--v7f1-font-size-xl);
    font-weight: 700;
    color: var(--v7f1-primary);
    margin-bottom: var(--v7f1-spacing-md);
}

.v7f1-cta-text {
    font-size: var(--v7f1-font-size-base);
    color: var(--v7f1-text);
    margin-bottom: var(--v7f1-spacing-lg);
}

.v7f1-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--v7f1-spacing-md) var(--v7f1-spacing-xl);
    font-size: var(--v7f1-font-size-lg);
    font-weight: 700;
    background: var(--v7f1-primary);
    color: var(--v7f1-bg-dark);
    border: none;
    border-radius: var(--v7f1-radius-md);
    cursor: pointer;
    transition: all var(--v7f1-transition-fast);
}

.v7f1-cta-btn:hover {
    background: var(--v7f1-secondary);
    transform: scale(1.05);
    box-shadow: var(--v7f1-shadow-lg);
}

/* ==================== Bottom Navigation ==================== */
.v7f1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--v7f1-bottom-nav-height);
    background: linear-gradient(180deg, var(--v7f1-bg-dark) 0%, var(--v7f1-surface) 100%);
    border-top: 1px solid var(--v7f1-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: var(--v7f1-spacing-xs) var(--v7f1-spacing-sm);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.v7f1-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    padding: var(--v7f1-spacing-xs);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--v7f1-transition-fast);
    border-radius: var(--v7f1-radius-sm);
}

.v7f1-nav-btn:hover {
    background: rgba(255, 215, 0, 0.1);
}

.v7f1-nav-btn:active {
    transform: scale(0.95);
}

.v7f1-nav-btn.active {
    background: rgba(255, 215, 0, 0.15);
}

.v7f1-nav-btn.active .v7f1-nav-btn-icon {
    color: var(--v7f1-primary);
}

.v7f1-nav-btn-icon {
    font-size: 24px;
    color: var(--v7f1-text-muted);
    margin-bottom: 2px;
    transition: color var(--v7f1-transition-fast);
}

.v7f1-nav-btn-text {
    font-size: 10px;
    color: var(--v7f1-text-muted);
    font-weight: 500;
    transition: color var(--v7f1-transition-fast);
}

.v7f1-nav-btn.active .v7f1-nav-btn-text {
    color: var(--v7f1-primary);
}

/* ==================== Footer ==================== */
.v7f1-footer {
    background: var(--v7f1-surface);
    padding: var(--v7f1-spacing-xl) var(--v7f1-spacing-md);
    border-top: 1px solid var(--v7f1-border);
    margin-bottom: var(--v7f1-bottom-nav-height);
}

.v7f1-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--v7f1-spacing-sm);
    margin-bottom: var(--v7f1-spacing-lg);
}

.v7f1-footer-link {
    font-size: var(--v7f1-font-size-sm);
    color: var(--v7f1-text-muted);
    padding: var(--v7f1-spacing-xs) 0;
    transition: color var(--v7f1-transition-fast);
}

.v7f1-footer-link:hover {
    color: var(--v7f1-primary);
}

.v7f1-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--v7f1-spacing-sm);
    margin-bottom: var(--v7f1-spacing-lg);
    padding: var(--v7f1-spacing-md);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--v7f1-radius-md);
}

.v7f1-partner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.v7f1-footer-bottom {
    text-align: center;
    padding-top: var(--v7f1-spacing-md);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.v7f1-copyright {
    font-size: var(--v7f1-font-size-sm);
    color: var(--v7f1-text-muted);
}

/* ==================== Responsive ==================== */
@media (min-width: 769px) {
    .v7f1-bottom-nav {
        display: none;
    }

    .v7f1-main {
        padding-bottom: var(--v7f1-spacing-lg);
    }

    .v7f1-footer {
        margin-bottom: 0;
    }

    .v7f1-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --v7f1-font-size-base: 1.5rem;
    }

    .v7f1-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--v7f1-spacing-xs);
    }

    .v7f1-game-icon {
        width: 48px;
        height: 48px;
    }

    .v7f1-game-name {
        font-size: 0.9rem;
    }
}

/* ==================== Utility Classes ==================== */
.v7f1-text-center {
    text-align: center;
}

.v7f1-text-left {
    text-align: left;
}

.v7f1-text-right {
    text-align: right;
}

.v7f1-mb-sm {
    margin-bottom: var(--v7f1-spacing-sm);
}

.v7f1-mb-md {
    margin-bottom: var(--v7f1-spacing-md);
}

.v7f1-mb-lg {
    margin-bottom: var(--v7f1-spacing-lg);
}

.v7f1-mb-xl {
    margin-bottom: var(--v7f1-spacing-xl);
}

.v7f1-mt-sm {
    margin-top: var(--v7f1-spacing-sm);
}

.v7f1-mt-md {
    margin-top: var(--v7f1-spacing-md);
}

.v7f1-mt-lg {
    margin-top: var(--v7f1-spacing-lg);
}

/* Badge Styles */
.v7f1-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    background: var(--v7f1-primary);
    color: var(--v7f1-bg-dark);
    border-radius: 10px;
    text-transform: uppercase;
}

.v7f1-badge-hot {
    background: #ff4757;
    color: white;
}

/* Toast Notification */
.v7f1-toast {
    animation: v7f1-fade-in-up 0.3s ease;
}

@keyframes v7f1-fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Loading Animation */
.v7f1-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--v7f1-text-muted);
    border-top-color: var(--v7f1-primary);
    border-radius: 50%;
    animation: v7f1-spin 1s linear infinite;
}

@keyframes v7f1-spin {
    to {
        transform: rotate(360deg);
    }
}
