/**
 * em777 Core CSS Styles
 * Website: em777.cfd
 * Prefix: sac8-
 * Colors: #BBBBBB | #1A1A2E | #32CD32
 */

/* CSS Variables */
:root {
    --sac8-primary: #32CD32;
    --sac8-bg: #1A1A2E;
    --sac8-text: #BBBBBB;
    --sac8-dark: #0f0f1a;
    --sac8-accent: #28a428;
    --sac8-gold: #ffd700;
    --sac8-white: #ffffff;
    --sac8-gray: #888888;
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--sac8-bg);
    color: var(--sac8-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.sac8-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.sac8-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--sac8-bg) 0%, rgba(26, 26, 46, 0.95) 100%);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.sac8-header.sac8-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sac8-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.sac8-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sac8-logo img {
    width: 28px;
    height: 28px;
}

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

.sac8-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sac8-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.sac8-btn-primary {
    background: var(--sac8-primary);
    color: var(--sac8-dark);
}

.sac8-btn-primary:hover {
    background: var(--sac8-accent);
    transform: scale(1.05);
}

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

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

.sac8-menu-btn {
    background: none;
    border: none;
    color: var(--sac8-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

.sac8-mobile-menu.gameac39-active {
    right: 0;
}

.sac8-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;
}

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

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

.sac8-menu-links {
    margin-top: 3rem;
    list-style: none;
}

.sac8-menu-links li {
    margin-bottom: 0.8rem;
}

.sac8-menu-links a {
    display: block;
    padding: 1rem;
    color: var(--sac8-text);
    font-size: 1.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sac8-menu-links a:hover {
    background: rgba(50, 205, 50, 0.1);
    color: var(--sac8-primary);
}

/* Main Content */
main {
    padding-top: 60px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.sac8-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 1rem 0;
}

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

.sac8-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.sac8-slide.gameac39-active {
    opacity: 1;
    position: relative;
}

.sac8-slide img {
    width: 100%;
    border-radius: 10px;
}

/* Game Grid */
.sac8-section {
    padding: 1.5rem 0;
}

.sac8-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sac8-white);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--sac8-primary);
}

.sac8-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

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

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

.sac8-game-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.4rem;
}

.sac8-game-card p {
    font-size: 1.1rem;
    color: var(--sac8-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.sac8-content-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.sac8-content-box h2 {
    color: var(--sac8-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.sac8-content-box p {
    color: var(--sac8-text);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.sac8-content-box ul {
    list-style: none;
    padding-left: 0;
}

.sac8-content-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.3rem;
}

.sac8-content-box li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--sac8-primary);
}

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

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

/* Footer */
.sac8-footer {
    background: var(--sac8-dark);
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
}

.sac8-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sac8-footer-brand p {
    color: var(--sac8-gray);
    font-size: 1.2rem;
    line-height: 1.6;
}

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

.sac8-footer-links a {
    padding: 0.5rem 1rem;
    background: rgba(50, 205, 50, 0.1);
    border-radius: 20px;
    color: var(--sac8-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.sac8-footer-links a:hover {
    background: var(--sac8-primary);
    color: var(--sac8-dark);
}

.sac8-footer-copyright {
    text-align: center;
    color: var(--sac8-gray);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.sac8-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, var(--sac8-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(50, 205, 50, 0.3);
}

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

.sac8-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;
    color: var(--sac8-gray);
}

.sac8-nav-item:hover,
.sac8-nav-item.sac8-active {
    color: var(--sac8-primary);
}

.sac8-nav-item i,
.sac8-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.sac8-nav-item span {
    font-size: 10px;
}

/* Utilities */
.sac8-text-primary {
    color: var(--sac8-primary);
}

.sac8-text-white {
    color: var(--sac8-white);
}

.sac8-mb-1 {
    margin-bottom: 1rem;
}

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

.sac8-text-center {
    text-align: center;
}

/* Stats Box */
.sac8-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sac8-stat-item {
    background: rgba(50, 205, 50, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.sac8-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sac8-primary);
}

.sac8-stat-label {
    font-size: 1.1rem;
    color: var(--sac8-gray);
}

/* Testimonials */
.sac8-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.sac8-testimonial-text {
    font-style: italic;
    color: var(--sac8-text);
    margin-bottom: 0.8rem;
}

.sac8-testimonial-author {
    color: var(--sac8-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Payment Methods */
.sac8-payment-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sac8-payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--sac8-text);
}

/* Winners Showcase */
.sac8-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.sac8-winner-game {
    font-size: 1.2rem;
    color: var(--sac8-white);
}

.sac8-winner-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sac8-gold);
}
