/**
 * Scatter Slots - Theme Stylesheet
 * Website: scatter-slots.click
 * Prefix: g539-
 */

/* CSS Variables */
:root {
    --g539-primary: #26A69A;
    --g539-secondary: #2C2C2C;
    --g539-accent: #FFE135;
    --g539-light: #FFEBCD;
    --g539-gold: #DAA520;
    --g539-bg: #1a1a1a;
    --g539-text: #ffffff;
    --g539-text-muted: #b0b0b0;
    --g539-gradient: linear-gradient(135deg, #26A69A 0%, #2C2C2C 100%);
    --g539-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g539-radius: 12px;
    --g539-radius-sm: 8px;
}

/* 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(--g539-bg);
    color: var(--g539-text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--g539-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--g539-accent);
}

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

/* Container */
.g539-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.g539-wrapper {
    padding: 2rem 1.6rem;
}

/* Header */
.g539-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(38, 166, 154, 0.95) 0%, rgba(44, 44, 44, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--g539-shadow);
}

.g539-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g539-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g539-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g539-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g539-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g539-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--g539-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g539-btn-primary {
    background: var(--g539-accent);
    color: var(--g539-secondary);
}

.g539-btn-primary:hover {
    background: var(--g539-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 225, 53, 0.4);
}

.g539-btn-secondary {
    background: transparent;
    color: var(--g539-text);
    border: 2px solid var(--g539-primary);
}

.g539-btn-secondary:hover {
    background: var(--g539-primary);
    color: var(--g539-text);
}

/* Hamburger Menu */
.g539-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.g539-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--g539-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.g539-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.g539-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.g539-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.g539-menu-open {
    right: 0;
}

.g539-mobile-menu ul {
    list-style: none;
}

.g539-mobile-menu li {
    margin-bottom: 1rem;
}

.g539-mobile-menu a {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--g539-text);
    font-size: 1.5rem;
    border-radius: var(--g539-radius-sm);
    transition: all 0.3s ease;
}

.g539-mobile-menu a:hover {
    background: var(--g539-primary);
    color: var(--g539-text);
}

.g539-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g539-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

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

/* Carousel */
.g539-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--g539-radius);
    margin-bottom: 2rem;
}

.g539-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.g539-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g539-slide-active {
    opacity: 1;
}

.g539-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g539-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.g539-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g539-dot-active {
    background: var(--g539-accent);
    transform: scale(1.2);
}

/* Section Titles */
.g539-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g539-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--g539-primary);
    display: inline-block;
}

/* Game Grid */
.g539-game-section {
    margin-bottom: 3rem;
}

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

.g539-game-card {
    background: var(--g539-secondary);
    border-radius: var(--g539-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g539-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.3);
}

.g539-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g539-game-name {
    padding: 0.6rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--g539-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cards & Boxes */
.g539-card {
    background: var(--g539-secondary);
    border-radius: var(--g539-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--g539-shadow);
}

.g539-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g539-primary);
    margin-bottom: 1rem;
}

.g539-card-text {
    color: var(--g539-text-muted);
    line-height: 1.6;
}

/* Features Grid */
.g539-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.g539-feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(38, 166, 154, 0.1);
    border-radius: var(--g539-radius-sm);
    border: 1px solid rgba(38, 166, 154, 0.3);
}

.g539-feature-icon {
    font-size: 3rem;
    color: var(--g539-accent);
    margin-bottom: 1rem;
}

.g539-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g539-text);
    margin-bottom: 0.5rem;
}

/* Promo Links */
.g539-promo-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--g539-gradient);
    color: var(--g539-text);
    font-weight: 600;
    border-radius: var(--g539-radius);
    margin: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.g539-promo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.4);
}

/* Footer */
.g539-footer {
    background: var(--g539-secondary);
    padding: 3rem 1.6rem 8rem;
    margin-top: 3rem;
}

.g539-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.g539-footer-brand p {
    color: var(--g539-text-muted);
    font-size: 1.4rem;
    margin-top: 1rem;
}

.g539-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g539-footer-links a {
    padding: 0.8rem 1.2rem;
    background: rgba(38, 166, 154, 0.2);
    border-radius: var(--g539-radius-sm);
    font-size: 1.3rem;
}

.g539-footer-links a:hover {
    background: var(--g539-primary);
}

.g539-copyright {
    text-align: center;
    color: var(--g539-text-muted);
    font-size: 1.3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.g539-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.98) 0%, rgba(26, 26, 26, 1) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--g539-primary);
}

.g539-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(--g539-text-muted);
}

.g539-nav-item:hover,
.g539-nav-item-active {
    color: var(--g539-accent);
    transform: scale(1.1);
}

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

.g539-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

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

/* Testimonials */
.g539-testimonials {
    display: grid;
    gap: 1.5rem;
}

.g539-testimonial {
    background: var(--g539-secondary);
    padding: 1.5rem;
    border-radius: var(--g539-radius);
    border-left: 4px solid var(--g539-primary);
}

.g539-testimonial-text {
    font-style: italic;
    color: var(--g539-text-muted);
    margin-bottom: 1rem;
}

.g539-testimonial-author {
    color: var(--g539-accent);
    font-weight: 600;
    font-size: 1.3rem;
}

/* Payment Methods */
.g539-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.g539-payment-item {
    background: var(--g539-secondary);
    padding: 1rem 1.5rem;
    border-radius: var(--g539-radius-sm);
    font-size: 1.3rem;
    color: var(--g539-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners Showcase */
.g539-winners {
    background: var(--g539-secondary);
    border-radius: var(--g539-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.g539-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g539-winner-item:last-child {
    border-bottom: none;
}

.g539-winner-name {
    color: var(--g539-primary);
    font-weight: 600;
}

.g539-winner-amount {
    color: var(--g539-accent);
    font-weight: 700;
    font-size: 1.4rem;
}

/* App Download */
.g539-app-download {
    background: linear-gradient(135deg, rgba(38, 166, 154, 0.2) 0%, rgba(218, 165, 32, 0.2) 100%);
    border-radius: var(--g539-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.g539-app-download h3 {
    color: var(--g539-accent);
    margin-bottom: 1rem;
}

.g539-app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive Typography */
@media (max-width: 380px) {
    html {
        font-size: 55%;
    }
}

/* Utilities */
.g539-text-center {
    text-align: center;
}

.g539-text-accent {
    color: var(--g539-accent);
}

.g539-text-primary {
    color: var(--g539-primary);
}

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

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

.g539-mb-3 {
    margin-bottom: 3rem;
}

.g539-mt-2 {
    margin-top: 2rem;
}

/* Internal Link Styles */
.g539-internal-link {
    color: var(--g539-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.g539-internal-link:hover {
    color: var(--g539-accent);
}
