/**
 * jl777 Main Stylesheet
 * All classes use prefix: g8c1-
 * @version 1.0.0
 */

/* CSS Variables with prefix */
:root {
    --g8c1-bg-dark: #1B263B;
    --g8c1-accent-coral: #CD5C5C;
    --g8c1-accent-violet: #EE82EE;
    --g8c1-accent-plum: #DDA0DD;
    --g8c1-accent-lavender: #CC99FF;
    --g8c1-text-light: #FFFFFF;
    --g8c1-text-muted: #B8C5D6;
    --g8c1-bg-card: #243B55;
    --g8c1-bg-hover: #2D4A6F;
    --g8c1-border: #3A5A7C;
    --g8c1-gradient-primary: linear-gradient(135deg, #CD5C5C, #EE82EE);
    --g8c1-gradient-secondary: linear-gradient(135deg, #DDA0DD, #CC99FF);
    --g8c1-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    color: var(--g8c1-accent-violet);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

/* Header Styles */
.g8c1-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--g8c1-bg-dark);
    border-bottom: 1px solid var(--g8c1-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.g8c1-header-scrolled {
    background: rgba(27, 38, 59, 0.98);
    box-shadow: var(--g8c1-shadow);
}

.g8c1-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.g8c1-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.g8c1-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--g8c1-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g8c1-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.g8c1-btn-primary {
    background: var(--g8c1-gradient-primary);
    color: var(--g8c1-text-light);
}

.g8c1-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 92, 92, 0.4);
}

.g8c1-btn-secondary {
    background: transparent;
    border: 2px solid var(--g8c1-accent-violet);
    color: var(--g8c1-accent-violet);
}

.g8c1-btn-secondary:hover {
    background: var(--g8c1-accent-violet);
    color: var(--g8c1-bg-dark);
}

.g8c1-menu-toggle {
    background: transparent;
    border: none;
    color: var(--g8c1-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

/* Navigation Menu */
.g8c1-nav {
    display: none;
}

.g8c1-nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.g8c1-nav-link {
    color: var(--g8c1-text-muted);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.g8c1-nav-link:hover {
    color: var(--g8c1-accent-violet);
}

/* Mobile Menu */
#appd88-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g8c1-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.appd88-menu-active {
    right: 0 !important;
}

#appd88-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;
}

.appd88-overlay-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.g8c1-mobile-nav-list {
    list-style: none;
    margin-top: 3rem;
}

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

.g8c1-mobile-nav-link {
    color: var(--g8c1-text-light);
    font-size: 1.6rem;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.g8c1-mobile-nav-link:hover {
    background: var(--g8c1-bg-hover);
    color: var(--g8c1-accent-violet);
}

.g8c1-mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--g8c1-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

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

.g8c1-section {
    padding: 2rem 0;
}

.g8c1-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--g8c1-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Carousel Styles */
.appd88-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.appd88-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

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

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

.appd88-slide img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

.appd88-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.appd88-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g8c1-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Game Grid */
.g8c1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.g8c1-game-item:hover {
    transform: translateY(-3px);
}

.g8c1-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--g8c1-border);
    transition: border-color 0.3s ease;
}

.g8c1-game-item:hover .g8c1-game-img {
    border-color: var(--g8c1-accent-violet);
}

.g8c1-game-name {
    font-size: 1.1rem;
    color: var(--g8c1-text-muted);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.g8c1-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.g8c1-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g8c1-accent-plum);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Cards */
.g8c1-card {
    background: var(--g8c1-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--g8c1-border);
}

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

.g8c1-card-text {
    color: var(--g8c1-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

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

.g8c1-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.g8c1-feature-icon {
    color: var(--g8c1-accent-coral);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Testimonials */
.g8c1-testimonial {
    background: var(--g8c1-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--g8c1-accent-violet);
}

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

.g8c1-testimonial-author {
    font-weight: 600;
    color: var(--g8c1-accent-plum);
}

/* Footer */
.g8c1-footer {
    background: var(--g8c1-bg-card);
    border-top: 1px solid var(--g8c1-border);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

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

.g8c1-footer-desc {
    color: var(--g8c1-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto 1.5rem;
}

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

.g8c1-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--g8c1-bg-hover);
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--g8c1-text-light);
    transition: all 0.3s ease;
}

.g8c1-footer-link:hover {
    background: var(--g8c1-gradient-primary);
    color: var(--g8c1-text-light);
}

.g8c1-footer-copyright {
    text-align: center;
    color: var(--g8c1-text-muted);
    font-size: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--g8c1-border);
}

/* Mobile Bottom Navigation */
.g8c1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--g8c1-bg-dark);
    border-top: 1px solid var(--g8c1-border);
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.g8c1-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    color: var(--g8c1-text-muted);
}

.g8c1-bottom-nav-item:hover,
.g8c1-bottom-nav-item:focus {
    background: var(--g8c1-bg-hover);
    color: var(--g8c1-accent-violet);
    transform: scale(1.05);
}

.g8c1-bottom-nav-item.active {
    color: var(--g8c1-accent-coral);
}

.g8c1-bottom-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.g8c1-bottom-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

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

.g8c1-payment-item {
    background: var(--g8c1-bg-hover);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--g8c1-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners Section */
.g8c1-winners-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.g8c1-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--g8c1-bg-hover);
    border-radius: 8px;
}

.g8c1-winner-game {
    font-weight: 600;
    color: var(--g8c1-text-light);
}

.g8c1-winner-amount {
    color: var(--g8c1-accent-coral);
    font-weight: 700;
}

/* Promo Banner */
.g8c1-promo-banner {
    background: var(--g8c1-gradient-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.g8c1-promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.g8c1-promo-text {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

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

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

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

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

.g8c1-highlight {
    color: var(--g8c1-accent-coral);
    font-weight: 600;
}

/* H1 Title */
.g8c1-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--g8c1-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

/* RTP Section */
.g8c1-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g8c1-rtp-item {
    background: var(--g8c1-bg-hover);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.g8c1-rtp-game {
    font-size: 1.2rem;
    color: var(--g8c1-text-muted);
    margin-bottom: 0.5rem;
}

.g8c1-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g8c1-accent-coral);
}

/* Tricks Section */
.g8c1-tricks-list {
    list-style: none;
}

.g8c1-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--g8c1-bg-hover);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.g8c1-trick-number {
    background: var(--g8c1-gradient-primary);
    color: var(--g8c1-text-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* App Download Section */
.g8c1-app-section {
    background: var(--g8c1-gradient-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.g8c1-app-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.g8c1-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.g8c1-app-btn {
    background: var(--g8c1-bg-dark);
    color: var(--g8c1-text-light);
    padding: 1.2rem 2rem;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
}

.g8c1-app-btn:hover {
    transform: scale(1.02);
}
