/**
 * NUSTAR Rewards - Main Stylesheet
 * Website: nustarrewards.club
 * Prefix: w354a-
 * Colors: #BDB76B (Dark Khaki) | #262626 (Dark) | #FAFAD2 (Light Khaki)
 */

/* CSS Variables */
:root {
    --w354a-primary: #BDB76B;
    --w354a-secondary: #262626;
    --w354a-light: #FAFAD2;
    --w354a-accent: #D4AF37;
    --w354a-text: #FAFAD2;
    --w354a-text-dark: #262626;
    --w354a-bg: #1a1a1a;
    --w354a-card-bg: #2d2d2d;
    --w354a-border: #3d3d3d;
    --w354a-gradient: linear-gradient(135deg, #BDB76B 0%, #D4AF37 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(--w354a-bg);
    color: var(--w354a-text);
    line-height: 1.5;
    font-size: 1.6rem;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--w354a-light);
}

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

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

.w354a-wrapper {
    padding: 2rem 0;
}

/* Header Styles */
.w354a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(38, 38, 38, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--w354a-border);
    padding: 1rem 0;
}

.w354a-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.w354a-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.w354a-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w354a-primary);
    letter-spacing: 0.5px;
}

.w354a-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w354a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.w354a-btn-primary {
    background: var(--w354a-gradient);
    color: var(--w354a-text-dark);
}

.w354a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(189, 183, 107, 0.4);
}

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

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

.w354a-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--w354a-text);
    cursor: pointer;
    font-size: 2.4rem;
}

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

.site4ae-menu-active {
    right: 0;
}

.w354a-mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--w354a-text);
    font-size: 2.4rem;
    cursor: pointer;
}

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

.w354a-nav-item {
    margin-bottom: 0.5rem;
}

.w354a-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--w354a-text);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.w354a-nav-link:hover {
    background: var(--w354a-card-bg);
    color: var(--w354a-primary);
}

/* Overlay */
.w354a-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: all 0.3s ease;
}

.site4ae-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.w354a-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    .w354a-main {
        padding-bottom: 3rem;
    }
}

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

.w354a-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

.w354a-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.w354a-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w354a-primary);
    margin-bottom: 0.5rem;
}

.w354a-slide-desc {
    font-size: 1.3rem;
    color: var(--w354a-light);
}

/* Carousel Dots */
.w354a-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

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

.w354a-dot-active {
    background: var(--w354a-primary);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.w354a-section {
    padding: 2.5rem 0;
}

.w354a-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w354a-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.w354a-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--w354a-gradient);
    border-radius: 2px;
}

/* Game Grid */
.w354a-game-category {
    margin-bottom: 2.5rem;
}

.w354a-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w354a-primary);
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--w354a-primary);
}

.w354a-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w354a-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w354a-game-item:hover {
    transform: translateY(-3px);
}

.w354a-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid var(--w354a-border);
    transition: border-color 0.3s ease;
}

.w354a-game-item:hover .w354a-game-img {
    border-color: var(--w354a-primary);
}

.w354a-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w354a-game-name {
    font-size: 1.1rem;
    color: var(--w354a-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.w354a-card {
    background: var(--w354a-card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--w354a-border);
}

.w354a-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w354a-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w354a-card-title i {
    font-size: 2rem;
}

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

.w354a-card-text p {
    margin-bottom: 1rem;
}

.w354a-card-text p:last-child {
    margin-bottom: 0;
}

/* Promo Link Styles */
.w354a-promo-link {
    color: var(--w354a-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Features List */
.w354a-features-list {
    list-style: none;
}

.w354a-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--w354a-border);
}

.w354a-feature-item:last-child {
    border-bottom: none;
}

.w354a-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--w354a-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w354a-text-dark);
    font-size: 2rem;
    flex-shrink: 0;
}

.w354a-feature-content h4 {
    font-size: 1.4rem;
    color: var(--w354a-primary);
    margin-bottom: 0.3rem;
}

.w354a-feature-content p {
    font-size: 1.3rem;
    color: var(--w354a-light);
    opacity: 0.9;
}

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

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

.w354a-testimonial-author {
    font-size: 1.3rem;
    color: var(--w354a-primary);
    font-weight: 600;
}

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

.w354a-payment-item {
    background: var(--w354a-card-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--w354a-border);
    font-size: 1.3rem;
    color: var(--w354a-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners Section */
.w354a-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--w354a-card-bg);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.w354a-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.w354a-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--w354a-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w354a-text-dark);
    font-weight: 700;
}

.w354a-winner-name {
    font-size: 1.4rem;
    color: var(--w354a-light);
}

.w354a-winner-game {
    font-size: 1.2rem;
    color: var(--w354a-text);
    opacity: 0.7;
}

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

/* CTA Section */
.w354a-cta {
    background: var(--w354a-gradient);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.w354a-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w354a-text-dark);
    margin-bottom: 1rem;
}

.w354a-cta-text {
    font-size: 1.4rem;
    color: var(--w354a-secondary);
    margin-bottom: 1.5rem;
}

.w354a-cta-btn {
    display: inline-block;
    background: var(--w354a-secondary);
    color: var(--w354a-primary);
    padding: 1.2rem 3rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w354a-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.w354a-footer {
    background: var(--w354a-secondary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--w354a-border);
}

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

.w354a-footer-desc {
    font-size: 1.3rem;
    color: var(--w354a-light);
    opacity: 0.8;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto 1.5rem;
}

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

.w354a-footer-link {
    background: var(--w354a-card-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--w354a-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.w354a-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--w354a-border);
}

.w354a-footer-nav a {
    font-size: 1.3rem;
    color: var(--w354a-light);
    opacity: 0.8;
}

.w354a-footer-nav a:hover {
    color: var(--w354a-primary);
    opacity: 1;
}

.w354a-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--w354a-light);
    opacity: 0.6;
}

/* Bottom Navigation */
.w354a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(38, 38, 38, 1) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--w354a-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.w354a-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--w354a-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

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

.w354a-nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

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

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .w354a-main {
        padding-bottom: 80px;
    }
}

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

.w354a-mb-1 {
    margin-bottom: 1rem;
}

.w354a-mb-2 {
    margin-bottom: 2rem;
}

.w354a-mt-2 {
    margin-top: 2rem;
}

.w354a-highlight {
    color: var(--w354a-primary);
    font-weight: 600;
}

/* RTP Badge */
.w354a-rtp-badge {
    display: inline-block;
    background: var(--w354a-gradient);
    color: var(--w354a-text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Achievement Badge */
.w354a-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--w354a-card-bg);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    border: 1px solid var(--w354a-border);
}

.w354a-achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--w354a-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.w354a-achievement-info h4 {
    font-size: 1.4rem;
    color: var(--w354a-primary);
}

.w354a-achievement-info p {
    font-size: 1.2rem;
    color: var(--w354a-light);
    opacity: 0.8;
}

/* FAQ Accordion */
.w354a-faq-item {
    background: var(--w354a-card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--w354a-border);
}

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

.w354a-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--w354a-light);
    line-height: 1.6;
}

/* Promo Banner */
.w354a-promo-banner {
    background: linear-gradient(135deg, var(--w354a-card-bg) 0%, var(--w354a-secondary) 100%);
    border: 2px solid var(--w354a-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.w354a-promo-banner h3 {
    font-size: 1.8rem;
    color: var(--w354a-primary);
    margin-bottom: 1rem;
}

.w354a-promo-banner p {
    font-size: 1.4rem;
    color: var(--w354a-light);
    margin-bottom: 1.5rem;
}

/* Internal Link Styles */
.w354a-internal-link {
    color: var(--w354a-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.w354a-internal-link:hover {
    color: var(--w354a-accent);
}
