/**
 * NuStar PH Login - Main Stylesheet
 * Website: nustarphlogin.click
 * Prefix: v29d-
 * Colors: #F08080 (text/accent) | #1B263B (background)
 */

/* CSS Variables */
:root {
    --v29d-primary: #F08080;
    --v29d-secondary: #FF6B6B;
    --v29d-bg: #1B263B;
    --v29d-bg-dark: #0D1B2A;
    --v29d-bg-light: #2D3E50;
    --v29d-text: #F08080;
    --v29d-text-light: #FFFFFF;
    --v29d-text-muted: #A0AEC0;
    --v29d-border: #3D5A80;
    --v29d-success: #48BB78;
    --v29d-warning: #F6AD55;
    --v29d-gradient: linear-gradient(135deg, #F08080 0%, #FF6B6B 100%);
}

/* Reset & 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(--v29d-bg);
    color: var(--v29d-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--v29d-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v29d-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.v29d-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v29d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v29d-bg-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--v29d-border);
    transition: all 0.3s ease;
}

.v29d-header-scrolled {
    background: rgba(13, 27, 42, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.v29d-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.v29d-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v29d-logo img {
    width: 32px;
    height: 32px;
}

.v29d-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v29d-primary);
}

.v29d-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v29d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.v29d-btn-primary {
    background: var(--v29d-gradient);
    color: var(--v29d-bg-dark);
}

.v29d-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 128, 128, 0.4);
}

.v29d-btn-outline {
    background: transparent;
    border: 2px solid var(--v29d-primary);
    color: var(--v29d-primary);
}

.v29d-btn-outline:hover {
    background: var(--v29d-primary);
    color: var(--v29d-bg-dark);
}

.v29d-menu-toggle {
    background: none;
    border: none;
    color: var(--v29d-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.v29d-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--v29d-bg-dark);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border-bottom: 1px solid var(--v29d-border);
}

.v29d-menu-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.v29d-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v29d-nav-item {
    padding: 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.v29d-nav-item:hover {
    background: var(--v29d-bg-light);
}

.v29d-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--v29d-text-light);
    font-size: 1.4rem;
}

.v29d-nav-link i {
    width: 20px;
    color: var(--v29d-primary);
}

/* Main Content */
.v29d-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    .v29d-main {
        padding-bottom: 2rem;
    }
}

/* Slider/Carousel */
.v29d-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.v29d-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v29d-slide-active {
    opacity: 1;
}

.v29d-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.v29d-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v29d-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.v29d-section-subtitle {
    font-size: 1.4rem;
    color: var(--v29d-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.v29d-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v29d-game-card {
    background: var(--v29d-bg-light);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--v29d-border);
}

.v29d-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--v29d-primary);
    box-shadow: 0 8px 25px rgba(240, 128, 128, 0.2);
}

.v29d-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v29d-game-name {
    padding: 0.6rem;
    font-size: 1rem;
    color: var(--v29d-text-light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--v29d-bg-dark);
}

/* Category Section */
.v29d-category {
    margin-bottom: 3rem;
}

.v29d-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.v29d-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--v29d-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v29d-category-title i {
    font-size: 1.8rem;
}

/* Content Box */
.v29d-content-box {
    background: var(--v29d-bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--v29d-border);
}

.v29d-content-box h2 {
    font-size: 1.8rem;
    color: var(--v29d-primary);
    margin-bottom: 1.5rem;
}

.v29d-content-box h3 {
    font-size: 1.5rem;
    color: var(--v29d-primary);
    margin: 1.5rem 0 1rem;
}

.v29d-content-box p {
    color: var(--v29d-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.v29d-content-box ul, .v29d-content-box ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.v29d-content-box li {
    color: var(--v29d-text-light);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Promo Link */
.v29d-promo-link {
    color: var(--v29d-primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v29d-promo-link:hover {
    color: var(--v29d-secondary);
    text-decoration: underline;
}

/* Feature List */
.v29d-feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.v29d-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--v29d-bg-dark);
    border-radius: 10px;
    border: 1px solid var(--v29d-border);
}

.v29d-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--v29d-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v29d-bg-dark);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.v29d-feature-text h4 {
    font-size: 1.4rem;
    color: var(--v29d-primary);
    margin-bottom: 0.5rem;
}

.v29d-feature-text p {
    font-size: 1.2rem;
    color: var(--v29d-text-muted);
}

/* Stats Grid */
.v29d-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v29d-stat-card {
    background: var(--v29d-bg-dark);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--v29d-border);
}

.v29d-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v29d-primary);
    margin-bottom: 0.5rem;
}

.v29d-stat-label {
    font-size: 1.2rem;
    color: var(--v29d-text-muted);
}

/* Footer */
.v29d-footer {
    background: var(--v29d-bg-dark);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--v29d-border);
}

.v29d-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.v29d-footer-link {
    color: var(--v29d-text-light);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.v29d-footer-link:hover {
    background: var(--v29d-bg-light);
    color: var(--v29d-primary);
}

.v29d-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--v29d-border);
    border-bottom: 1px solid var(--v29d-border);
}

.v29d-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.v29d-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.v29d-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--v29d-text-muted);
}

/* Bottom Navigation - Mobile */
.v29d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--v29d-bg-dark);
    border-top: 1px solid var(--v29d-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .v29d-bottom-nav {
        display: none;
    }
}

.v29d-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    border: none;
    background: none;
    color: var(--v29d-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.v29d-nav-btn:hover, .v29d-nav-btn.active {
    color: var(--v29d-primary);
    background: var(--v29d-bg-light);
}

.v29d-nav-btn i {
    font-size: 22px;
    margin-bottom: 4px;
}

.v29d-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* FAQ Accordion */
.v29d-faq-item {
    background: var(--v29d-bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--v29d-border);
}

.v29d-faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--v29d-text-light);
    transition: all 0.3s ease;
}

.v29d-faq-question:hover {
    color: var(--v29d-primary);
}

.v29d-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--v29d-text-muted);
    line-height: 1.6;
}

/* CTA Section */
.v29d-cta {
    background: var(--v29d-gradient);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
}

.v29d-cta h3 {
    font-size: 1.8rem;
    color: var(--v29d-bg-dark);
    margin-bottom: 1rem;
}

.v29d-cta p {
    color: var(--v29d-bg);
    margin-bottom: 1.5rem;
}

.v29d-cta .v29d-btn {
    background: var(--v29d-bg-dark);
    color: var(--v29d-primary);
}

/* Responsive */
@media (max-width: 430px) {
    .v29d-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .v29d-game-name {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

@media (min-width: 769px) {
    .v29d-container {
        max-width: 768px;
    }

    .v29d-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v29d-slider {
        height: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.v29d-animate {
    animation: fadeIn 0.5s ease forwards;
}

/* Utilities */
.v29d-text-center { text-align: center; }
.v29d-mb-1 { margin-bottom: 1rem; }
.v29d-mb-2 { margin-bottom: 2rem; }
.v29d-mb-3 { margin-bottom: 3rem; }
.v29d-mt-2 { margin-top: 2rem; }
.v29d-hidden { display: none; }
