/**
 * minibet88 - Core Stylesheet
 * Version: 1.0.0
 * All classes use saaa- prefix for namespace isolation
 * Color palette: #FA8072 (accent) | #212F3D (background)
 */

/* CSS Variables */
:root {
    --saaa-primary: #FA8072;
    --saaa-secondary: #FF6B5B;
    --saaa-bg: #212F3D;
    --saaa-bg-light: #2C3E50;
    --saaa-bg-dark: #1A252F;
    --saaa-text: #FFFFFF;
    --saaa-text-muted: #BDC3C7;
    --saaa-border: #34495E;
    --saaa-success: #27AE60;
    --saaa-warning: #F39C12;
    --saaa-gradient: linear-gradient(135deg, #FA8072 0%, #FF6B5B 100%);
    --saaa-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --saaa-radius: 8px;
    --saaa-radius-lg: 12px;
}

/* Reset & 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(--saaa-bg);
    color: var(--saaa-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--saaa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--saaa-secondary); }

/* Container */
.saaa-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.saaa-wrapper {
    padding: 2rem 0;
}

/* Header */
.saaa-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--saaa-bg-dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--saaa-border);
}

.saaa-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.saaa-logo img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.saaa-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saaa-primary);
}

.saaa-header-actions {
    display: flex;
    gap: 0.8rem;
}

.saaa-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(--saaa-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.saaa-btn-primary {
    background: var(--saaa-gradient);
    color: white;
}

.saaa-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--saaa-shadow);
}

.saaa-btn-outline {
    background: transparent;
    border: 2px solid var(--saaa-primary);
    color: var(--saaa-primary);
}

.saaa-btn-outline:hover {
    background: var(--saaa-primary);
    color: var(--saaa-bg);
}

.saaa-menu-toggle {
    background: none;
    border: none;
    color: var(--saaa-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.saaa-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--saaa-bg-dark);
    z-index: 9999;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.gameaa69-menu-open {
    right: 0 !important;
}

.saaa-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--saaa-border);
}

.saaa-menu-close {
    background: none;
    border: none;
    color: var(--saaa-text);
    font-size: 2rem;
    cursor: pointer;
}

.saaa-nav-list {
    list-style: none;
}

.saaa-nav-item {
    margin-bottom: 0.5rem;
}

.saaa-nav-link {
    display: block;
    padding: 1rem;
    color: var(--saaa-text);
    font-size: 1.5rem;
    border-radius: var(--saaa-radius);
    transition: all 0.3s ease;
}

.saaa-nav-link:hover {
    background: var(--saaa-bg-light);
    color: var(--saaa-primary);
}

.saaa-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;
}

.gameaa69-overlay-visible {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.saaa-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .saaa-main {
        padding-bottom: 80px;
    }
}

/* Carousel/Slider */
.saaa-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--saaa-radius-lg);
    margin-bottom: 2rem;
}

.saaa-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.gameaa69-slide-active {
    opacity: 1;
}

.saaa-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saaa-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.saaa-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

/* Game Section */
.saaa-section {
    margin-bottom: 2.5rem;
}

.saaa-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saaa-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--saaa-border);
}

.saaa-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.saaa-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--saaa-bg-light);
    border-radius: var(--saaa-radius);
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.saaa-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--saaa-shadow);
    background: var(--saaa-bg-dark);
}

.saaa-game-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--saaa-radius);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.saaa-game-name {
    font-size: 1.1rem;
    text-align: center;
    color: var(--saaa-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Info Cards */
.saaa-info-card {
    background: var(--saaa-bg-light);
    border-radius: var(--saaa-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.saaa-info-card h3 {
    color: var(--saaa-primary);
    margin-bottom: 1rem;
}

.saaa-info-card p {
    color: var(--saaa-text-muted);
    line-height: 1.6;
}

.saaa-info-card ul {
    list-style: none;
    padding-left: 0;
}

.saaa-info-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--saaa-text-muted);
}

.saaa-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--saaa-primary);
}

/* Footer */
.saaa-footer {
    background: var(--saaa-bg-dark);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--saaa-border);
}

.saaa-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.saaa-footer-link {
    color: var(--saaa-text-muted);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.saaa-footer-link:hover {
    color: var(--saaa-primary);
}

.saaa-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.saaa-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.saaa-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.saaa-copyright {
    text-align: center;
    color: var(--saaa-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.saaa-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--saaa-bg-dark);
    border-top: 1px solid var(--saaa-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

@media (min-width: 769px) {
    .saaa-bottom-nav {
        display: none;
    }
}

.saaa-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--saaa-text-muted);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 60px;
}

.saaa-nav-btn:hover,
.saaa-nav-btn.active {
    color: var(--saaa-primary);
    transform: scale(1.1);
}

.saaa-nav-btn i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.saaa-nav-btn span {
    font-size: 1rem;
}

/* Utility Classes */
.saaa-text-center { text-align: center; }
.saaa-text-primary { color: var(--saaa-primary); }
.saaa-mb-1 { margin-bottom: 1rem; }
.saaa-mb-2 { margin-bottom: 2rem; }
.saaa-mt-2 { margin-top: 2rem; }
.saaa-hidden { display: none; }

/* Promo Links */
.saaa-promo-text {
    font-weight: 700;
    color: var(--saaa-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.saaa-promo-text:hover {
    color: var(--saaa-secondary);
    text-decoration: underline;
}

/* Features Grid */
.saaa-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.saaa-feature-item {
    background: var(--saaa-bg-light);
    border-radius: var(--saaa-radius);
    padding: 1.2rem;
    text-align: center;
}

.saaa-feature-icon {
    font-size: 2.5rem;
    color: var(--saaa-primary);
    margin-bottom: 0.8rem;
}

.saaa-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--saaa-text);
    margin-bottom: 0.5rem;
}

.saaa-feature-desc {
    font-size: 1.1rem;
    color: var(--saaa-text-muted);
}

/* RTP Stats */
.saaa-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.saaa-rtp-item {
    background: var(--saaa-bg-light);
    border-radius: var(--saaa-radius);
    padding: 1rem;
    text-align: center;
}

.saaa-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--saaa-primary);
}

.saaa-rtp-label {
    font-size: 1.1rem;
    color: var(--saaa-text-muted);
}

/* CTA Section */
.saaa-cta {
    background: var(--saaa-gradient);
    border-radius: var(--saaa-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.saaa-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.saaa-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.saaa-cta .saaa-btn {
    background: white;
    color: var(--saaa-primary);
    font-weight: 700;
}

/* FAQ Accordion */
.saaa-faq-item {
    background: var(--saaa-bg-light);
    border-radius: var(--saaa-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.saaa-faq-question {
    padding: 1.2rem;
    font-weight: 600;
    color: var(--saaa-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saaa-faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--saaa-text-muted);
    line-height: 1.6;
}

/* Security Section */
.saaa-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.saaa-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--saaa-bg-light);
    padding: 0.8rem 1.2rem;
    border-radius: var(--saaa-radius);
}

.saaa-badge i {
    color: var(--saaa-success);
    font-size: 1.5rem;
}

.saaa-badge span {
    font-size: 1.2rem;
    color: var(--saaa-text);
}
