/**
 * Nustar Game - Theme Stylesheet
 * Class Prefix: v3c0-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v3c0-primary: #0097A7;
    --v3c0-secondary: #9370DB;
    --v3c0-accent: #9932CC;
    --v3c0-bg-dark: #34495E;
    --v3c0-bg-darker: #2c3e50;
    --v3c0-text-light: #ffffff;
    --v3c0-text-muted: #A9A9A9;
    --v3c0-pink: #DDA0DD;
    --v3c0-gradient: linear-gradient(135deg, #0097A7, #9370DB);
    --v3c0-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v3c0-radius: 8px;
    --v3c0-radius-lg: 12px;
    --vh: 1vh;
}

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

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

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

/* Header */
.v3c0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v3c0-bg-dark) 0%, rgba(52, 73, 94, 0.95) 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.v3c0-header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: var(--v3c0-shadow);
}

.v3c0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

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

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

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

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

.v3c0-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: var(--v3c0-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.v3c0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 112, 219, 0.4);
}

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

.v3c0-btn-secondary:hover {
    background: var(--v3c0-secondary);
    color: var(--v3c0-text-light);
}

/* Hamburger Menu */
.v3c0-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.v3c0-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--v3c0-text-light);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.v3c0-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v3c0-menu-active {
    opacity: 1;
    visibility: visible;
}

.v3c0-mobile-menu a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 2rem;
    color: var(--v3c0-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.v3c0-mobile-menu a:hover {
    color: var(--v3c0-secondary);
}

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

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

/* Hero Carousel */
.v3c0-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

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

/* Section Styles */
.v3c0-section {
    padding: 3rem 0;
}

.v3c0-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--v3c0-text-light);
    text-align: center;
}

.v3c0-section-title span {
    background: var(--v3c0-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.v3c0-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.v3c0-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--v3c0-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.v3c0-game-name {
    font-size: 1.1rem;
    color: var(--v3c0-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Category Section */
.v3c0-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.v3c0-category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v3c0-gradient);
    border-radius: 50%;
    color: var(--v3c0-text-light);
}

.v3c0-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v3c0-text-light);
}

/* Cards */
.v3c0-card {
    background: var(--v3c0-bg-dark);
    border-radius: var(--v3c0-radius-lg);
    padding: 2rem;
    margin: 1rem 1.5rem;
    box-shadow: var(--v3c0-shadow);
}

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

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

/* Features List */
.v3c0-features-list {
    list-style: none;
    padding: 0;
}

.v3c0-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v3c0-features-list li:last-child {
    border-bottom: none;
}

.v3c0-features-list i {
    color: var(--v3c0-primary);
    font-size: 2rem;
    margin-top: 0.2rem;
}

/* Promo Banner */
.v3c0-promo-banner {
    background: var(--v3c0-gradient);
    padding: 2rem;
    border-radius: var(--v3c0-radius-lg);
    text-align: center;
    margin: 2rem 1.5rem;
}

.v3c0-promo-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.v3c0-promo-banner p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

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

.v3c0-footer-brand p {
    font-size: 1.3rem;
    color: var(--v3c0-text-muted);
    line-height: 1.6;
}

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

.v3c0-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--v3c0-radius);
    color: var(--v3c0-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.v3c0-footer-links a:hover {
    background: var(--v3c0-secondary);
}

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

.v3c0-footer-nav a {
    color: var(--v3c0-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.v3c0-footer-nav a:hover {
    color: var(--v3c0-secondary);
}

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

/* Bottom Navigation */
.v3c0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--v3c0-bg-dark) 0%, var(--v3c0-bg-darker) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.v3c0-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Partners */
.v3c0-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--v3c0-radius-lg);
    margin: 1rem 1.5rem;
}

.v3c0-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.v3c0-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials */
.v3c0-testimonial {
    background: var(--v3c0-bg-dark);
    border-radius: var(--v3c0-radius-lg);
    padding: 1.5rem;
    margin: 1rem 1.5rem;
    border-left: 4px solid var(--v3c0-secondary);
}

.v3c0-testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--v3c0-text-light);
}

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

/* Utilities */
.v3c0-text-center { text-align: center; }
.v3c0-mt-2 { margin-top: 2rem; }
.v3c0-mb-2 { margin-bottom: 2rem; }
.v3c0-py-2 { padding: 2rem 0; }

/* Responsive Adjustments */
@media (min-width: 769px) {
    .v3c0-container {
        max-width: 768px;
    }

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

    .v3c0-carousel {
        height: 300px;
    }
}

/* Animation Classes */
@keyframes v3c0-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.v3c0-animate-in {
    animation: v3c0-fadeIn 0.5s ease forwards;
}

/* Help Page Styles */
.v3c0-help-section {
    padding: 2rem 1.5rem;
}

.v3c0-help-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v3c0-text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v3c0-help-content {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--v3c0-text-muted);
}

.v3c0-help-content p {
    margin-bottom: 1rem;
}

.v3c0-help-content a {
    color: var(--v3c0-secondary);
    text-decoration: none;
    font-weight: 600;
}

.v3c0-help-content a:hover {
    text-decoration: underline;
}

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

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

.v3c0-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.4rem;
    color: var(--v3c0-text-muted);
    line-height: 1.6;
}

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

.v3c0-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v3c0-radius);
}

.v3c0-payment-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--v3c0-secondary);
}

.v3c0-payment-item span {
    font-size: 1.2rem;
    color: var(--v3c0-text-muted);
}

/* Winner Showcase */
.v3c0-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(147, 112, 219, 0.1);
    border-radius: var(--v3c0-radius);
    margin-bottom: 0.8rem;
}

.v3c0-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--v3c0-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

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

.v3c0-winner-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v3c0-text-light);
}

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