/**
 * Nustar App - Main Stylesheet
 * Mobile-first responsive design
 * Prefix: gf71-
 * Colors: #E65100 | #212F3D | #FFEB3B | #B8860B
 */

/* CSS Variables */
:root {
    --gf71-primary: #E65100;
    --gf71-secondary: #212F3D;
    --gf71-accent: #FFEB3B;
    --gf71-gold: #B8860B;
    --gf71-bg: #1a1a2e;
    --gf71-bg-dark: #0f0f1a;
    --gf71-text: #ffffff;
    --gf71-text-muted: #b0b0b0;
    --gf71-border: #333344;
    --gf71-success: #4caf50;
    --gf71-gradient: linear-gradient(135deg, #E65100 0%, #B8860B 100%);
    --gf71-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

/* 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--gf71-bg);
    color: var(--gf71-text);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.gf71-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gf71-wrapper {
    padding: 2rem 0;
}

/* Header */
.gf71-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gf71-bg-dark);
    border-bottom: 1px solid var(--gf71-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.gf71-header-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--gf71-shadow);
}

.gf71-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.gf71-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gf71-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.gf71-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gf71-accent);
}

.gf71-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gf71-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.gf71-btn-primary {
    background: var(--gf71-gradient);
    color: var(--gf71-text);
}

.gf71-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--gf71-shadow);
}

.gf71-btn-secondary {
    background: transparent;
    color: var(--gf71-accent);
    border: 2px solid var(--gf71-accent);
}

.gf71-btn-secondary:hover {
    background: var(--gf71-accent);
    color: var(--gf71-bg-dark);
}

/* Hamburger Menu */
.gf71-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.gf71-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--gf71-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.gf71-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.gf71-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.gf71-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.gf71-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gf71-bg-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.gf71-menu-active {
    right: 0;
}

.gf71-menu-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;
}

.gf71-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gf71-nav-list {
    list-style: none;
}

.gf71-nav-item {
    margin-bottom: 0.5rem;
}

.gf71-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    color: var(--gf71-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gf71-nav-link:hover,
.gf71-nav-active {
    background: var(--gf71-primary);
    color: var(--gf71-text);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.gf71-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.gf71-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.gf71-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.gf71-slide-active {
    opacity: 1;
    position: relative;
}

.gf71-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

/* Section Styles */
.gf71-section {
    padding: 2rem 0;
}

.gf71-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gf71-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.gf71-subtitle {
    font-size: 1.6rem;
    color: var(--gf71-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.gf71-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gf71-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gf71-game-item:hover {
    transform: scale(1.05);
}

.gf71-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 2px solid var(--gf71-border);
}

.gf71-game-name {
    font-size: 1.1rem;
    color: var(--gf71-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Title */
.gf71-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gf71-primary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--gf71-primary);
}

/* Cards */
.gf71-card {
    background: var(--gf71-bg-dark);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gf71-border);
}

.gf71-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gf71-accent);
    margin-bottom: 1rem;
}

.gf71-card-text {
    font-size: 1.4rem;
    color: var(--gf71-text-muted);
    line-height: 1.6;
}

/* Promo Link */
.gf71-promo-link {
    color: var(--gf71-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gf71-promo-link:hover {
    color: var(--gf71-accent);
}

/* Features List */
.gf71-features {
    display: grid;
    gap: 1rem;
}

.gf71-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gf71-bg-dark);
    border-radius: 8px;
}

.gf71-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gf71-gradient);
    border-radius: 8px;
    font-size: 2rem;
}

.gf71-feature-text h4 {
    font-size: 1.5rem;
    color: var(--gf71-text);
    margin-bottom: 0.5rem;
}

.gf71-feature-text p {
    font-size: 1.3rem;
    color: var(--gf71-text-muted);
}

/* FAQ Section */
.gf71-faq-item {
    background: var(--gf71-bg-dark);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.gf71-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gf71-text);
    background: var(--gf71-secondary);
    cursor: pointer;
}

.gf71-faq-answer {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    color: var(--gf71-text-muted);
    line-height: 1.6;
}

/* Bottom Navigation */
.gf71-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--gf71-bg-dark);
    border-top: 1px solid var(--gf71-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .gf71-bottom-nav {
        display: none;
    }
}

.gf71-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.gf71-nav-btn:hover {
    background: rgba(230, 81, 0, 0.2);
}

.gf71-nav-btn.active {
    background: var(--gf71-primary);
}

.gf71-nav-btn i,
.gf71-nav-btn .material-icons {
    font-size: 24px;
    color: var(--gf71-text);
    margin-bottom: 2px;
}

.gf71-nav-btn.active i,
.gf71-nav-btn.active .material-icons {
    color: var(--gf71-accent);
}

.gf71-nav-btn span {
    font-size: 11px;
    color: var(--gf71-text-muted);
}

.gf71-nav-btn.active span {
    color: var(--gf71-text);
}

/* Footer */
.gf71-footer {
    background: var(--gf71-bg-dark);
    border-top: 1px solid var(--gf71-border);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.gf71-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.gf71-footer-link {
    font-size: 1.3rem;
    color: var(--gf71-text-muted);
    transition: color 0.3s ease;
}

.gf71-footer-link:hover {
    color: var(--gf71-accent);
}

.gf71-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gf71-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.gf71-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.gf71-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gf71-text-muted);
}

/* Promo Buttons */
.gf71-promo-btn {
    display: inline-block;
    background: var(--gf71-gradient);
    color: var(--gf71-text);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.gf71-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--gf71-shadow);
}

/* Stats Grid */
.gf71-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.gf71-stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gf71-bg-dark);
    border-radius: 8px;
    border: 1px solid var(--gf71-border);
}

.gf71-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gf71-primary);
}

.gf71-stat-label {
    font-size: 1.2rem;
    color: var(--gf71-text-muted);
}

/* List Styles */
.gf71-list {
    list-style: none;
    padding: 0;
}

.gf71-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gf71-border);
    font-size: 1.4rem;
    color: var(--gf71-text);
}

.gf71-list li:last-child {
    border-bottom: none;
}

/* Highlight Text */
.gf71-highlight {
    color: var(--gf71-primary);
    font-weight: 600;
}

.gf71-gold-text {
    color: var(--gf71-gold);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .gf71-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gf71-game-icon {
        width: 50px;
        height: 50px;
    }

    .gf71-game-name {
        font-size: 1rem;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .gf71-hamburger {
        display: none;
    }

    .gf71-desktop-nav {
        display: flex;
        gap: 1.5rem;
    }

    .gf71-desktop-nav a {
        color: var(--gf71-text);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .gf71-desktop-nav a:hover {
        color: var(--gf71-accent);
    }
}

/* Animation Classes */
.gf71-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.gf71-text-center {
    text-align: center;
}

.gf71-mt-2 {
    margin-top: 2rem;
}

.gf71-mb-2 {
    margin-bottom: 2rem;
}

.gf71-p-2 {
    padding: 2rem;
}
