/**
 * Nustar PH - Main Stylesheet
 * Website: nustarph.cfd
 * Prefix: v69e-
 * Colors: #FFB6C1 (pink) | #0E1621 (dark bg) | #FF91A4 | #FFEBCD | #CD853F
 */

/* CSS Variables */
:root {
    --v69e-primary: #FFB6C1;
    --v69e-secondary: #FF91A4;
    --v69e-accent: #CD853F;
    --v69e-bg-dark: #0E1621;
    --v69e-bg-light: #FFEBCD;
    --v69e-text-light: #FFEBCD;
    --v69e-text-dark: #0E1621;
    --v69e-gold: #CD853F;
    --v69e-gradient: linear-gradient(135deg, #FF91A4 0%, #FFB6C1 50%, #CD853F 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v69e-bg-dark);
    color: var(--v69e-text-light);
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    color: var(--v69e-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Header Styles */
.v69e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--v69e-bg-dark) 0%, rgba(14, 22, 33, 0.95) 100%);
    padding: 12px 16px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.v69e-header.v69e-scrolled {
    background: rgba(14, 22, 33, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.v69e-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v69e-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v69e-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.v69e-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--v69e-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v69e-header-buttons {
    display: flex;
    gap: 10px;
}

.v69e-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

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

.v69e-btn-register {
    background: var(--v69e-gradient);
    color: var(--v69e-bg-dark);
    border: none;
}

.v69e-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.v69e-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--v69e-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Desktop Navigation */
.v69e-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .v69e-desktop-nav {
        display: flex;
        gap: 24px;
    }

    .v69e-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.v69e-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v69e-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 70px 20px 20px;
    border-left: 1px solid rgba(255, 182, 193, 0.2);
}

.v69e-mobile-menu.web766-active {
    right: 0;
}

.v69e-mobile-menu ul {
    list-style: none;
}

.v69e-mobile-menu li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 182, 193, 0.1);
}

.v69e-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--v69e-text-light);
    font-size: 16px;
}

.v69e-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v69e-menu-overlay.web766-active {
    opacity: 1;
    visibility: visible;
}

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

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

/* Carousel */
.v69e-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.v69e-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v69e-carousel-slide.v69e-active {
    opacity: 1;
}

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

.v69e-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v69e-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v69e-carousel-dot.v69e-active {
    background: var(--v69e-primary);
    transform: scale(1.3);
}

/* Section Styles */
.v69e-section {
    padding: 20px 16px;
}

.v69e-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v69e-section-title i {
    color: var(--v69e-primary);
}

/* Game Categories */
.v69e-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.v69e-category-tab {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 182, 193, 0.1);
    color: var(--v69e-text-light);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.v69e-category-tab.v69e-active {
    background: var(--v69e-gradient);
    color: var(--v69e-bg-dark);
    border-color: transparent;
}

/* Game Grid */
.v69e-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v69e-game-card {
    background: rgba(255, 182, 193, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.v69e-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
    border-color: var(--v69e-primary);
}

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

.v69e-game-card-title {
    padding: 8px;
    font-size: 12px;
    text-align: center;
    color: var(--v69e-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hot Games Badge */
.v69e-game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #FF4D4D, #FF6B6B);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

/* Promo Banner */
.v69e-promo-banner {
    background: var(--v69e-gradient);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    text-align: center;
}

.v69e-promo-banner h3 {
    font-size: 20px;
    color: var(--v69e-bg-dark);
    margin-bottom: 8px;
}

.v69e-promo-banner p {
    color: var(--v69e-bg-dark);
    font-size: 14px;
    margin-bottom: 12px;
}

.v69e-promo-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--v69e-bg-dark);
    color: var(--v69e-primary);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v69e-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(14, 22, 33, 0.3);
}

/* Features Section */
.v69e-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.v69e-feature-card {
    background: rgba(255, 182, 193, 0.05);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 182, 193, 0.1);
    transition: all 0.3s ease;
}

.v69e-feature-card:hover {
    border-color: var(--v69e-primary);
    background: rgba(255, 182, 193, 0.1);
}

.v69e-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    background: var(--v69e-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v69e-feature-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.v69e-feature-card p {
    font-size: 12px;
    color: rgba(255, 235, 205, 0.7);
}

/* Footer */
.v69e-footer {
    background: linear-gradient(180deg, var(--v69e-bg-dark) 0%, #0A0F17 100%);
    padding: 30px 16px;
    border-top: 1px solid rgba(255, 182, 193, 0.1);
}

.v69e-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.v69e-footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.v69e-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.v69e-footer-links a {
    color: rgba(255, 235, 205, 0.7);
    font-size: 14px;
}

.v69e-footer-links a:hover {
    color: var(--v69e-primary);
}

.v69e-partners {
    margin-bottom: 20px;
}

.v69e-partners-title {
    font-size: 14px;
    color: rgba(255, 235, 205, 0.5);
    margin-bottom: 10px;
}

.v69e-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.v69e-partner-logos img {
    width: 60px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(50%);
}

.v69e-copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 235, 205, 0.5);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 182, 193, 0.1);
}

/* Bottom Navigation - Mobile Only */
.v69e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: 64px;
    background: linear-gradient(180deg, rgba(14, 22, 33, 0.98) 0%, #0A0F17 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 182, 193, 0.2);
    backdrop-filter: blur(10px);
}

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

.v69e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 235, 205, 0.6);
}

.v69e-nav-item:hover,
.v69e-nav-item.v69e-active {
    color: var(--v69e-primary);
    transform: translateY(-2px);
}

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

.v69e-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* FAQ Styles */
.v69e-faq-item {
    background: rgba(255, 182, 193, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.v69e-faq-question {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.v69e-faq-icon {
    transition: transform 0.3s ease;
}

.v69e-faq-icon.v69e-rotated {
    transform: rotate(180deg);
}

.v69e-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.v69e-faq-answer.v69e-active {
    max-height: 500px;
    padding: 0 16px 16px;
}

/* Content Styles */
.v69e-content-block {
    background: rgba(255, 182, 193, 0.03);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.v69e-content-block h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--v69e-primary);
}

.v69e-content-block h3 {
    font-size: 18px;
    margin: 16px 0 12px;
    color: var(--v69e-secondary);
}

.v69e-content-block p {
    margin-bottom: 12px;
    color: rgba(255, 235, 205, 0.9);
}

.v69e-content-block ul,
.v69e-content-block ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.v69e-content-block li {
    margin-bottom: 8px;
    color: rgba(255, 235, 205, 0.9);
}

/* Utility Classes */
.v69e-text-center {
    text-align: center;
}

.v69e-mb-20 {
    margin-bottom: 20px;
}

.v69e-mt-20 {
    margin-top: 20px;
}

.v69e-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .v69e-hidden-mobile {
        display: block;
    }

    .v69e-hidden-desktop {
        display: none;
    }
}
