/**
 * Nustar Login - Core Stylesheet
 * Prefix: v08f-
 * Color Palette: #212F3D | #8B7355 | #FAF0E6 | #8B4513
 */

/* CSS Variables */
:root {
    --v08f-primary: #8B7355;
    --v08f-secondary: #8B4513;
    --v08f-bg-dark: #212F3D;
    --v08f-bg-light: #FAF0E6;
    --v08f-text-light: #FAF0E6;
    --v08f-text-dark: #212F3D;
    --v08f-accent: #D4A574;
    --v08f-gold: #C9A227;
    --v08f-header-height: 60px;
    --v08f-bottom-nav-height: 60px;
}

/* 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(--v08f-bg-dark);
    color: var(--v08f-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    color: var(--v08f-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v08f-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.v08f-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v08f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--v08f-header-height);
    background: linear-gradient(135deg, var(--v08f-bg-dark) 0%, #1a2530 100%);
    border-bottom: 2px solid var(--v08f-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.v08f-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v08f-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.v08f-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v08f-gold);
    letter-spacing: 0.5px;
}

.v08f-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.v08f-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.v08f-btn-primary {
    background: linear-gradient(135deg, var(--v08f-gold) 0%, #B8941F 100%);
    color: var(--v08f-bg-dark);
}

.v08f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.v08f-btn-secondary {
    background: transparent;
    border: 2px solid var(--v08f-primary);
    color: var(--v08f-text-light);
}

.v08f-btn-secondary:hover {
    background: var(--v08f-primary);
    color: var(--v08f-text-light);
}

.v08f-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.v08f-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--v08f-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.v08f-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--v08f-bg-dark) 0%, #1a2530 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.v08f-mobile-menu.v08f-menu-open {
    right: 0;
}

.v08f-mobile-menu a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--v08f-text-light);
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
    transition: all 0.3s ease;
}

.v08f-mobile-menu a:hover {
    background: rgba(139, 115, 85, 0.2);
    color: var(--v08f-gold);
    padding-left: 1.5rem;
}

.v08f-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;
}

.v08f-menu-overlay.v08f-overlay-visible {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: calc(var(--v08f-header-height) + 1rem);
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: calc(var(--v08f-bottom-nav-height) + 2rem);
    }
}

/* Carousel */
.v08f-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.v08f-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.v08f-slide {
    min-width: 100%;
    cursor: pointer;
}

.v08f-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.v08f-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v08f-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250, 240, 230, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v08f-indicator-active,
.v08f-indicator:hover {
    background: var(--v08f-gold);
    transform: scale(1.2);
}

/* Section Titles */
.v08f-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v08f-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--v08f-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v08f-section-title i {
    font-size: 2.4rem;
}

/* Game Grid */
.v08f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v08f-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v08f-game-item:hover {
    transform: translateY(-5px);
}

.v08f-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--v08f-primary);
    transition: all 0.3s ease;
}

.v08f-game-item:hover img {
    border-color: var(--v08f-gold);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.v08f-game-name {
    font-size: 1.1rem;
    color: var(--v08f-text-light);
    margin-top: 0.5rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards and Sections */
.v08f-card {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.15) 0%, rgba(33, 47, 61, 0.8) 100%);
    border: 1px solid var(--v08f-primary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.v08f-card-title {
    font-size: 1.8rem;
    color: var(--v08f-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v08f-card-content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--v08f-text-light);
}

.v08f-card-content p {
    margin-bottom: 1rem;
}

.v08f-card-content ul {
    list-style: none;
    padding-left: 0;
}

.v08f-card-content li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.v08f-card-content li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--v08f-gold);
    font-weight: bold;
}

/* Promo Link Styles */
.v08f-promo-link {
    display: inline-block;
    color: var(--v08f-gold);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px dashed var(--v08f-gold);
}

.v08f-promo-link:hover {
    color: var(--v08f-accent);
    border-bottom-color: var(--v08f-accent);
}

.v08f-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--v08f-gold) 0%, #B8941F 100%);
    color: var(--v08f-bg-dark);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.v08f-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

/* Footer */
.v08f-footer {
    background: linear-gradient(180deg, #1a2530 0%, #0f1820 100%);
    border-top: 2px solid var(--v08f-primary);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.v08f-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v08f-footer-links a {
    color: var(--v08f-text-light);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.v08f-footer-links a:hover {
    background: var(--v08f-primary);
    color: var(--v08f-gold);
}

.v08f-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v08f-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.v08f-partners img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.v08f-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(250, 240, 230, 0.6);
}

/* Bottom Navigation - Mobile Only */
.v08f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--v08f-bottom-nav-height);
    background: linear-gradient(180deg, #2a3f52 0%, var(--v08f-bg-dark) 100%);
    border-top: 2px solid var(--v08f-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.v08f-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.3rem;
}

.v08f-nav-item:hover {
    background: rgba(139, 115, 85, 0.3);
}

.v08f-nav-item.active {
    background: rgba(201, 162, 39, 0.2);
}

.v08f-nav-item i,
.v08f-nav-item .material-icons {
    font-size: 24px;
    color: var(--v08f-accent);
    transition: all 0.3s ease;
}

.v08f-nav-item:hover i,
.v08f-nav-item:hover .material-icons,
.v08f-nav-item.active i,
.v08f-nav-item.active .material-icons {
    color: var(--v08f-gold);
    transform: scale(1.1);
}

.v08f-nav-text {
    font-size: 10px;
    color: var(--v08f-text-light);
    margin-top: 2px;
    text-align: center;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .v08f-bottom-nav {
        display: none;
    }

    .v08f-menu-toggle {
        display: none;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .v08f-desktop-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .v08f-desktop-nav a {
        color: var(--v08f-text-light);
        font-size: 1.4rem;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .v08f-desktop-nav a:hover {
        background: rgba(139, 115, 85, 0.3);
        color: var(--v08f-gold);
    }
}

@media (max-width: 768px) {
    .v08f-desktop-nav {
        display: none;
    }
}

/* Utility Classes */
.v08f-text-center {
    text-align: center;
}

.v08f-mb-1 {
    margin-bottom: 1rem;
}

.v08f-mb-2 {
    margin-bottom: 2rem;
}

.v08f-mb-3 {
    margin-bottom: 3rem;
}

.v08f-mt-2 {
    margin-top: 2rem;
}

.v08f-highlight {
    color: var(--v08f-gold);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 430px) {
    .v08f-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .v08f-game-name {
        font-size: 1rem;
    }

    .v08f-section-title {
        font-size: 1.8rem;
    }
}

/* FAQ Accordion */
.v08f-faq-item {
    border: 1px solid var(--v08f-primary);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.v08f-faq-question {
    padding: 1.2rem 1.5rem;
    background: rgba(139, 115, 85, 0.15);
    font-weight: 600;
    color: var(--v08f-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v08f-faq-answer {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
    border-top: 1px solid var(--v08f-primary);
}

/* Feature List */
.v08f-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v08f-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.v08f-feature-item i {
    font-size: 2rem;
    color: var(--v08f-gold);
}

.v08f-feature-item span {
    font-size: 1.3rem;
    color: var(--v08f-text-light);
}

/* RTP Stats */
.v08f-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v08f-rtp-item {
    text-align: center;
    padding: 1.2rem;
    background: rgba(139, 115, 85, 0.15);
    border-radius: 10px;
    border: 1px solid var(--v08f-primary);
}

.v08f-rtp-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v08f-gold);
}

.v08f-rtp-label {
    font-size: 1.2rem;
    color: var(--v08f-text-light);
    margin-top: 0.3rem;
}
