/**
 * Nusta Website Stylesheet
 * All classes use prefix "gc62-" for namespace isolation
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --gc62-primary: #FFBF00;
    --gc62-secondary: #FF9800;
    --gc62-bg-dark: #1C2833;
    --gc62-bg-darker: #2C3E50;
    --gc62-text-light: #DCDCDC;
    --gc62-text-white: #FFFFFF;
    --gc62-accent: #FFD700;
    --gc62-success: #27AE60;
    --gc62-danger: #E74C3C;
    --gc62-header-height: 60px;
    --gc62-bottom-nav-height: 64px;
    --gc62-border-radius: 8px;
    --gc62-transition: all 0.3s ease;
}

/* Reset and 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(--gc62-bg-dark);
    color: var(--gc62-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    color: var(--gc62-primary);
    text-decoration: none;
    transition: var(--gc62-transition);
}

a:hover {
    color: var(--gc62-secondary);
}

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

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

/* Header */
.gc62-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--gc62-header-height);
    background: linear-gradient(135deg, var(--gc62-bg-darker) 0%, var(--gc62-bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.gc62-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gc62-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gc62-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gc62-header-actions {
    display: flex;
    gap: 1rem;
}

.gc62-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--gc62-border-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gc62-transition);
    border: none;
    min-height: 44px;
}

.gc62-btn-primary {
    background: linear-gradient(135deg, var(--gc62-primary) 0%, var(--gc62-secondary) 100%);
    color: var(--gc62-bg-dark);
}

.gc62-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.4);
}

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

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

.gc62-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.gc62-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--gc62-primary);
    border-radius: 2px;
    transition: var(--gc62-transition);
}

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

.gc62-mobile-menu.app27c-active {
    right: 0;
}

.gc62-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: var(--gc62-transition);
}

.gc62-menu-overlay.app27c-active {
    opacity: 1;
    visibility: visible;
}

.gc62-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 191, 0, 0.3);
}

.gc62-menu-close {
    background: none;
    border: none;
    color: var(--gc62-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

.gc62-nav-list li {
    margin-bottom: 1.5rem;
}

.gc62-nav-list a {
    display: block;
    color: var(--gc62-text-light);
    font-size: 1.6rem;
    padding: 1rem;
    border-radius: var(--gc62-border-radius);
    transition: var(--gc62-transition);
}

.gc62-nav-list a:hover {
    background: rgba(255, 191, 0, 0.1);
    color: var(--gc62-primary);
}

/* Main Content */
.gc62-main {
    padding-top: calc(var(--gc62-header-height) + 1rem);
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .gc62-main {
        padding-bottom: calc(var(--gc62-bottom-nav-height) + 2rem);
    }
}

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

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

.gc62-slide.app27c-active {
    opacity: 1;
}

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

/* Section Title */
.gc62-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gc62-primary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--gc62-primary);
}

.gc62-section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gc62-text-white);
    margin-bottom: 1rem;
}

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

.gc62-game-card {
    background: var(--gc62-bg-darker);
    border-radius: var(--gc62-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--gc62-transition);
    border: 1px solid rgba(255, 191, 0, 0.1);
}

.gc62-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--gc62-primary);
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.2);
}

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

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

/* Category Section */
.gc62-category-section {
    margin-bottom: 3rem;
}

.gc62-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gc62-category-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gc62-primary) 0%, var(--gc62-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gc62-bg-dark);
    font-size: 1.8rem;
}

/* Content Sections */
.gc62-content-section {
    background: var(--gc62-bg-darker);
    border-radius: var(--gc62-border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.gc62-content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.gc62-content-section ul {
    list-style: none;
    padding-left: 0;
}

.gc62-content-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.gc62-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gc62-primary);
    border-radius: 50%;
}

/* Promo Link */
.gc62-promo-link {
    display: inline-block;
    color: var(--gc62-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--gc62-transition);
}

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

.gc62-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gc62-primary) 0%, var(--gc62-secondary) 100%);
    color: var(--gc62-bg-dark);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--gc62-transition);
    border: none;
    min-height: 44px;
}

.gc62-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 191, 0, 0.4);
}

/* Footer */
.gc62-footer {
    background: var(--gc62-bg-darker);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
}

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

.gc62-footer-brand p {
    font-size: 1.4rem;
    color: var(--gc62-text-light);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

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

.gc62-footer-link {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 191, 0, 0.1);
    border-radius: var(--gc62-border-radius);
    color: var(--gc62-text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--gc62-transition);
}

.gc62-footer-link:hover {
    background: var(--gc62-primary);
    color: var(--gc62-bg-dark);
}

.gc62-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 191, 0, 0.2);
    border-bottom: 1px solid rgba(255, 191, 0, 0.2);
}

.gc62-footer-nav a {
    color: var(--gc62-text-light);
    font-size: 1.4rem;
}

.gc62-footer-nav a:hover {
    color: var(--gc62-primary);
}

.gc62-copyright {
    text-align: center;
    font-size: 1.3rem;
    color: rgba(220, 220, 220, 0.6);
}

/* Bottom Navigation (Mobile Only) */
.gc62-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--gc62-bottom-nav-height);
    background: linear-gradient(180deg, var(--gc62-bg-darker) 0%, var(--gc62-bg-dark) 100%);
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 191, 0, 0.2);
}

.gc62-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--gc62-transition);
    color: var(--gc62-text-light);
}

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

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

.gc62-nav-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.gc62-nav-item.gc62-active {
    background: rgba(255, 191, 0, 0.1);
    border-radius: 12px;
}

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

/* FAQ Accordion */
.gc62-faq-item {
    background: var(--gc62-bg-darker);
    border-radius: var(--gc62-border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.gc62-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--gc62-text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gc62-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gc62-text-light);
    line-height: 1.6;
}

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

.gc62-feature-card {
    background: var(--gc62-bg-darker);
    padding: 1.5rem;
    border-radius: var(--gc62-border-radius);
    text-align: center;
    border: 1px solid rgba(255, 191, 0, 0.1);
    transition: var(--gc62-transition);
}

.gc62-feature-card:hover {
    border-color: var(--gc62-primary);
}

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

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

.gc62-feature-desc {
    font-size: 1.2rem;
    color: var(--gc62-text-light);
}

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

.gc62-testimonial-author {
    font-weight: 600;
    color: var(--gc62-primary);
    margin-bottom: 0.5rem;
}

.gc62-testimonial-text {
    color: var(--gc62-text-light);
    font-style: italic;
}

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

.gc62-payment-item {
    background: var(--gc62-bg-darker);
    padding: 1rem 1.5rem;
    border-radius: var(--gc62-border-radius);
    font-size: 1.3rem;
    color: var(--gc62-text-light);
    border: 1px solid rgba(255, 191, 0, 0.2);
}

/* Winners Showcase */
.gc62-winners-list {
    background: var(--gc62-bg-darker);
    border-radius: var(--gc62-border-radius);
    overflow: hidden;
}

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

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

.gc62-winner-name {
    font-weight: 600;
    color: var(--gc62-text-white);
}

.gc62-winner-amount {
    color: var(--gc62-primary);
    font-weight: 700;
}

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

    .gc62-game-name {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* Animation Classes */
.gc62-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .gc62-menu-toggle {
        display: none;
    }

    .gc62-desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .gc62-desktop-nav a {
        color: var(--gc62-text-light);
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .gc62-desktop-nav {
        display: none;
    }
}
