/**
 * Scatter Slots Layout Stylesheet
 * Version: 1.0.0
 * Prefix: pg74-
 * All classes use pg74- prefix for namespace isolation
 */

/* CSS Variables */
:root {
    --pg74-primary: #CD853F;
    --pg74-secondary: #E0E0E0;
    --pg74-bg: #1E1E1E;
    --pg74-accent: #FF0000;
    --pg74-highlight: #CD5C5C;
    --pg74-text: #E0E0E0;
    --pg74-text-dark: #1E1E1E;
    --pg74-gold: #CD853F;
    --pg74-gradient: linear-gradient(135deg, #CD853F 0%, #FF6B35 100%);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

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

.pg74-wrapper {
    padding: 2rem 1.5rem;
}

/* Header */
.pg74-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, rgba(30, 30, 30, 0.95) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--pg74-gold);
}

.pg74-header-scrolled {
    box-shadow: 0 4px 20px rgba(205, 133, 63, 0.3);
}

.pg74-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.pg74-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pg74-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pg74-gold);
    letter-spacing: 0.5px;
}

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

.pg74-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 40px;
}

.pg74-btn-primary {
    background: var(--pg74-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

.pg74-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(205, 133, 63, 0.6);
}

.pg74-btn-secondary {
    background: transparent;
    color: var(--pg74-gold);
    border: 2px solid var(--pg74-gold);
}

.pg74-btn-secondary:hover {
    background: var(--pg74-gold);
    color: var(--pg74-text-dark);
}

.pg74-menu-btn {
    background: none;
    border: none;
    color: var(--pg74-gold);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.pg74-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(30, 30, 30, 0.98);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    border-left: 2px solid var(--pg74-gold);
}

.pg74-menu-active {
    right: 0;
}

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

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

.pg74-nav-list {
    list-style: none;
}

.pg74-nav-item {
    margin-bottom: 1.5rem;
}

.pg74-nav-link {
    display: block;
    padding: 1rem;
    color: var(--pg74-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pg74-nav-link:hover {
    background: var(--pg74-gold);
    color: var(--pg74-text-dark);
}

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

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

/* Hero Slider */
.pg74-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.pg74-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(30, 30, 30, 0.9));
}

.pg74-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg74-gold);
    margin-bottom: 0.5rem;
}

/* Section Titles */
.pg74-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pg74-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pg74-gold);
}

.pg74-subtitle {
    font-size: 1.4rem;
    color: var(--pg74-secondary);
    margin-bottom: 1rem;
}

/* Game Grid */
.pg74-game-section {
    padding: 2rem 1.5rem;
}

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

.pg74-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: rgba(205, 133, 63, 0.1);
    border-radius: 10px;
    padding: 0.8rem;
}

.pg74-game-card:hover {
    transform: translateY(-4px);
    background: rgba(205, 133, 63, 0.2);
}

.pg74-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.pg74-game-name {
    font-size: 1.1rem;
    color: var(--pg74-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.pg74-content-section {
    padding: 2rem 1.5rem;
    background: rgba(205, 133, 63, 0.05);
    margin-bottom: 1rem;
}

.pg74-text-content {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--pg74-secondary);
}

.pg74-text-content p {
    margin-bottom: 1rem;
}

.pg74-text-content a {
    color: var(--pg74-gold);
    text-decoration: underline;
    font-weight: 600;
}

/* Cards */
.pg74-card {
    background: rgba(205, 133, 63, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(205, 133, 63, 0.3);
}

.pg74-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pg74-gold);
    margin-bottom: 1rem;
}

/* Feature List */
.pg74-feature-list {
    list-style: none;
}

.pg74-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(205, 133, 63, 0.08);
    border-radius: 8px;
}

.pg74-feature-icon {
    color: var(--pg74-gold);
    font-size: 2rem;
    flex-shrink: 0;
}

.pg74-feature-text {
    font-size: 1.3rem;
    color: var(--pg74-secondary);
}

/* Testimonials */
.pg74-testimonial {
    background: rgba(205, 133, 63, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--pg74-gold);
}

.pg74-testimonial-text {
    font-size: 1.3rem;
    color: var(--pg74-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

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

/* Payment Methods */
.pg74-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pg74-payment-item {
    background: rgba(205, 133, 63, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.pg74-payment-icon {
    font-size: 2.5rem;
    color: var(--pg74-gold);
    margin-bottom: 0.5rem;
}

.pg74-payment-name {
    font-size: 1.2rem;
    color: var(--pg74-secondary);
}

/* Footer */
.pg74-footer {
    background: rgba(20, 20, 20, 0.95);
    padding: 3rem 1.5rem 8rem;
    border-top: 2px solid var(--pg74-gold);
}

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

.pg74-footer-desc {
    font-size: 1.3rem;
    color: var(--pg74-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.pg74-footer-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--pg74-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pg74-footer-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

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

.pg74-sitemap-link {
    color: var(--pg74-gold);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.pg74-sitemap-link:hover {
    color: var(--pg74-highlight);
    text-decoration: underline;
}

.pg74-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--pg74-secondary);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(205, 133, 63, 0.2);
}

/* Bottom Navigation */
.pg74-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, rgba(20, 20, 20, 0.99) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--pg74-gold);
    padding: 0 0.5rem;
}

.pg74-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.pg74-nav-btn:hover {
    background: rgba(205, 133, 63, 0.2);
}

.pg74-nav-btn:active {
    transform: scale(0.95);
}

.pg74-nav-btn.active {
    background: rgba(205, 133, 63, 0.3);
}

.pg74-nav-icon {
    font-size: 24px;
    color: var(--pg74-gold);
    margin-bottom: 4px;
}

.pg74-nav-text {
    font-size: 10px;
    color: var(--pg74-secondary);
    font-weight: 500;
}

.pg74-nav-btn.active .pg74-nav-text {
    color: var(--pg74-gold);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .pg74-bottom-nav {
        display: none;
    }
}

/* Back to Top */
.pg74-backtotop {
    position: fixed;
    bottom: 80px;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--pg74-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

.pg74-visible {
    opacity: 1;
    visibility: visible;
}

.pg74-backtotop i {
    color: #fff;
    font-size: 2rem;
}

/* Promo Link Styles */
.pg74-promo-link {
    color: var(--pg74-gold);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.pg74-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--pg74-gradient);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.4);
}

.pg74-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.6);
}

/* Winners Showcase */
.pg74-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(205, 133, 63, 0.08);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

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

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

/* Responsive Adjustments */
@media (max-width: 430px) {
    .pg74-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .pg74-game-name {
        font-size: 1rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .pg74-container {
        max-width: 1200px;
    }

    .pg74-game-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .pg74-footer {
        padding-bottom: 3rem;
    }
}
