/**
 * Luck Game - Core Stylesheet
 * Version: 1.0.0
 * Prefix: g0dc-
 * Color Palette: #9932CC (MediumOrchid) | #9400D3 (DarkViolet) | #1A1A1A (Dark Background)
 */

/* CSS Variables with prefix */
:root {
    --g0dc-primary: #9932CC;
    --g0dc-primary-dark: #9400D3;
    --g0dc-bg: #1A1A1A;
    --g0dc-bg-light: #2D2D2D;
    --g0dc-bg-card: #252525;
    --g0dc-text: #FFFFFF;
    --g0dc-text-muted: #B8B8B8;
    --g0dc-text-dim: #888888;
    --g0dc-accent: #E8B4F8;
    --g0dc-gold: #FFD700;
    --g0dc-success: #4CAF50;
    --g0dc-border: #3D3D3D;
    --g0dc-shadow: rgba(0, 0, 0, 0.3);
    --g0dc-gradient: linear-gradient(135deg, #9932CC 0%, #9400D3 100%);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--g0dc-bg);
    color: var(--g0dc-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
.g0dc-h1, .g0dc-h2, .g0dc-h3, .g0dc-h4, .g0dc-h5, .g0dc-h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.g0dc-h1 { font-size: 2.8rem; }
.g0dc-h2 { font-size: 2.4rem; }
.g0dc-h3 { font-size: 2rem; }
.g0dc-h4 { font-size: 1.8rem; }
.g0dc-h5 { font-size: 1.6rem; }
.g0dc-h6 { font-size: 1.4rem; }

.g0dc-text-gradient {
    background: var(--g0dc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.g0dc-wrapper {
    padding: 2rem 0;
}

/* Header */
.g0dc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g0dc-bg) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-bottom: 1px solid var(--g0dc-border);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

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

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

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

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

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

.g0dc-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: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.g0dc-btn-primary {
    background: var(--g0dc-gradient);
    color: var(--g0dc-text);
    box-shadow: 0 4px 15px rgba(153, 50, 204, 0.4);
}

.g0dc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 50, 204, 0.6);
}

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

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

.g0dc-btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
}

.g0dc-btn-lg {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
}

/* Hamburger Menu */
.g0dc-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.g0dc-hamburger span {
    width: 100%;
    height: 3px;
    background: var(--g0dc-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.g0dc-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--g0dc-bg);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding-top: 7rem;
    overflow-y: auto;
}

.g0dc-menu-open {
    opacity: 1;
    visibility: visible;
}

.g0dc-mobile-menu nav {
    padding: 2rem 1.6rem;
}

.g0dc-mobile-menu a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.8rem;
    color: var(--g0dc-text);
    text-decoration: none;
    border-bottom: 1px solid var(--g0dc-border);
    transition: color 0.3s ease;
}

.g0dc-mobile-menu a:hover {
    color: var(--g0dc-primary);
}

/* Main Content */
.g0dc-main {
    padding-top: 7rem;
}

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

/* Hero Carousel */
.g0dc-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.g0dc-slides {
    display: flex;
    width: 100%;
}

.g0dc-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

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

.g0dc-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.g0dc-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

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

.g0dc-dot-active {
    background: var(--g0dc-primary);
    transform: scale(1.2);
}

/* Section */
.g0dc-section {
    padding: 3rem 1.6rem;
}

.g0dc-section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.g0dc-section-title span {
    color: var(--g0dc-primary);
}

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

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

.g0dc-game-item:hover {
    transform: scale(1.05);
}

.g0dc-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.g0dc-game-item:hover .g0dc-game-img {
    border-color: var(--g0dc-primary);
}

.g0dc-game-name {
    font-size: 1.1rem;
    color: var(--g0dc-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.g0dc-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.g0dc-category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g0dc-gradient);
    border-radius: 8px;
    color: var(--g0dc-text);
    font-size: 1.6rem;
}

.g0dc-category-title {
    font-size: 1.8rem;
    font-weight: 600;
}

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

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

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

/* Features List */
.g0dc-features {
    display: grid;
    gap: 1.5rem;
}

.g0dc-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.g0dc-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g0dc-gradient);
    border-radius: 12px;
    color: var(--g0dc-text);
    font-size: 2rem;
}

.g0dc-feature-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.g0dc-feature-content p {
    font-size: 1.2rem;
    color: var(--g0dc-text-muted);
}

/* FAQ */
.g0dc-faq-item {
    background: var(--g0dc-bg-card);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.g0dc-faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g0dc-faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--g0dc-text-muted);
    font-size: 1.4rem;
}

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

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

.g0dc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g0dc-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g0dc-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

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

.g0dc-payment-item {
    background: var(--g0dc-bg-card);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.g0dc-payment-icon {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.g0dc-payment-name {
    font-size: 1.2rem;
    color: var(--g0dc-text-muted);
}

/* Winners Showcase */
.g0dc-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--g0dc-bg-card);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.g0dc-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g0dc-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.g0dc-winner-info {
    flex: 1;
}

.g0dc-winner-name {
    font-weight: 600;
    font-size: 1.4rem;
}

.g0dc-winner-game {
    font-size: 1.2rem;
    color: var(--g0dc-text-muted);
}

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

/* Footer */
.g0dc-footer {
    background: var(--g0dc-bg-light);
    padding: 3rem 1.6rem 2rem;
    border-top: 1px solid var(--g0dc-border);
}

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

.g0dc-footer-desc {
    color: var(--g0dc-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.g0dc-footer-links a {
    color: var(--g0dc-primary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.g0dc-footer-links a:hover {
    color: var(--g0dc-accent);
}

.g0dc-footer-partners {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.g0dc-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.g0dc-partner-logo:hover {
    opacity: 1;
}

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

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

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

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

.g0dc-nav-btn:hover,
.g0dc-nav-btn-active {
    color: var(--g0dc-primary);
    transform: scale(1.1);
}

.g0dc-nav-btn i,
.g0dc-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.g0dc-nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

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

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

/* Utility Classes */
.g0dc-text-center { text-align: center; }
.g0dc-text-left { text-align: left; }
.g0dc-text-right { text-align: right; }
.g0dc-mb-1 { margin-bottom: 1rem; }
.g0dc-mb-2 { margin-bottom: 2rem; }
.g0dc-mb-3 { margin-bottom: 3rem; }
.g0dc-mt-1 { margin-top: 1rem; }
.g0dc-mt-2 { margin-top: 2rem; }
.g0dc-mt-3 { margin-top: 3rem; }
.g0dc-py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.g0dc-py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Responsive */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }

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

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

@media (min-width: 431px) and (max-width: 768px) {
    html {
        font-size: 60%;
    }
}

/* Animations */
@keyframes g0dc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes g0dc-glow {
    0%, 100% { box-shadow: 0 0 5px var(--g0dc-primary); }
    50% { box-shadow: 0 0 20px var(--g0dc-primary), 0 0 30px var(--g0dc-primary); }
}

.g0dc-animate-pulse {
    animation: g0dc-pulse 2s ease-in-out infinite;
}

.g0dc-animate-glow {
    animation: g0dc-glow 2s ease-in-out infinite;
}
