/**
 * GPER Gaming Platform - Main Stylesheet
 * Prefix: v898-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --v898-primary: #FF9500;
    --v898-bg: #0E1621;
    --v898-bg-light: #1a2535;
    --v898-text: #ADB5BD;
    --v898-text-light: #ffffff;
    --v898-accent: #FF9500;
    --v898-border: #2a3a4d;
    --v898-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v898-bg);
    color: var(--v898-text);
    line-height: 1.5;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.v898-container {
    width: 100%;
    padding: 0 1.2rem;
}

/* Header */
.v898-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--v898-bg) 0%, rgba(14, 22, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--v898-border);
}

.v898-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v898-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.v898-logo img {
    width: 28px;
    height: 28px;
}

.v898-logo-text {
    color: var(--v898-text-light);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.v898-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v898-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.v898-btn-primary {
    background: var(--v898-primary);
    color: var(--v898-bg);
}

.v898-btn-primary:hover {
    background: #ffaa33;
    transform: translateY(-1px);
}

.v898-btn-outline {
    background: transparent;
    color: var(--v898-primary);
    border: 1px solid var(--v898-primary);
}

.v898-btn-outline:hover {
    background: var(--v898-primary);
    color: var(--v898-bg);
}

.v898-menu-toggle {
    background: none;
    border: none;
    color: var(--v898-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.v898-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v898-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.v898-menu-active {
    right: 0;
}

.v898-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.v898-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v898-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--v898-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.v898-menu-list {
    list-style: none;
    margin-top: 3rem;
}

.v898-menu-item {
    margin-bottom: 0.8rem;
}

.v898-menu-link {
    display: block;
    padding: 1rem;
    color: var(--v898-text);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.v898-menu-link:hover {
    background: var(--v898-bg);
    color: var(--v898-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.v898-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.v898-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v898-carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.v898-slide-active {
    opacity: 1;
}

.v898-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.v898-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v898-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v898-dot-active {
    background: var(--v898-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section Styles */
.v898-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
}

.v898-section-title {
    color: var(--v898-text-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v898-primary);
}

/* Game Grid */
.v898-game-category {
    margin-bottom: 2rem;
}

.v898-category-title {
    color: var(--v898-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v898-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v898-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v898-game-item:hover {
    transform: scale(1.05);
}

.v898-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 0.4rem;
    background: var(--v898-bg-light);
}

.v898-game-name {
    font-size: 1rem;
    color: var(--v898-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards */
.v898-card {
    background: var(--v898-bg-light);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--v898-border);
}

.v898-card-title {
    color: var(--v898-text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.v898-card-text {
    color: var(--v898-text);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Feature List */
.v898-feature-list {
    list-style: none;
}

.v898-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--v898-border);
}

.v898-feature-item:last-child {
    border-bottom: none;
}

.v898-feature-icon {
    color: var(--v898-primary);
    font-size: 1.8rem;
    min-width: 24px;
}

.v898-feature-text {
    color: var(--v898-text);
    font-size: 1.3rem;
}

/* FAQ Section */
.v898-faq-item {
    background: var(--v898-bg-light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    padding: 1rem;
    border-left: 3px solid var(--v898-primary);
}

.v898-faq-question {
    color: var(--v898-text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.v898-faq-answer {
    color: var(--v898-text);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Footer */
.v898-footer {
    background: var(--v898-bg-light);
    padding: 2rem 1rem;
    border-top: 1px solid var(--v898-border);
}

.v898-footer-section {
    margin-bottom: 1.5rem;
}

.v898-footer-title {
    color: var(--v898-text-light);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.v898-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.v898-footer-link {
    color: var(--v898-text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.v898-footer-link:hover {
    color: var(--v898-primary);
}

.v898-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.v898-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v898-partner-logo:hover {
    opacity: 1;
}

.v898-copyright {
    text-align: center;
    color: var(--v898-text);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--v898-border);
}

/* Bottom Navigation */
.v898-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--v898-bg-light) 0%, var(--v898-bg) 100%);
    border-top: 1px solid var(--v898-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .v898-bottom-nav {
        display: none;
    }
}

.v898-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--v898-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.v898-nav-btn:hover,
.v898-nav-btn.v898-active {
    color: var(--v898-primary);
    transform: scale(1.1);
}

.v898-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v898-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Promo Banner */
.v898-promo-banner {
    background: linear-gradient(135deg, var(--v898-primary) 0%, #ff6600 100%);
    padding: 1.2rem;
    border-radius: 10px;
    margin: 1rem;
    text-align: center;
}

.v898-promo-text {
    color: var(--v898-bg);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.v898-promo-sub {
    color: rgba(14, 22, 33, 0.8);
    font-size: 1.2rem;
}

/* RTP Section */
.v898-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.v898-rtp-item {
    background: var(--v898-bg-light);
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
}

.v898-rtp-value {
    color: var(--v898-primary);
    font-size: 1.8rem;
    font-weight: 700;
}

.v898-rtp-label {
    color: var(--v898-text);
    font-size: 1rem;
}

/* Achievements */
.v898-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--v898-bg-light);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.v898-achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--v898-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v898-bg);
    font-size: 1.8rem;
}

.v898-achievement-text {
    flex: 1;
}

.v898-achievement-title {
    color: var(--v898-text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.v898-achievement-desc {
    color: var(--v898-text);
    font-size: 1rem;
}

/* Tricks Section */
.v898-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--v898-bg-light);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.v898-trick-number {
    background: var(--v898-primary);
    color: var(--v898-bg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* CTA Button */
.v898-cta-section {
    text-align: center;
    padding: 2rem 1rem;
}

.v898-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--v898-primary) 0%, #ff6600 100%);
    color: var(--v898-bg);
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
    transition: all 0.3s ease;
}

.v898-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

/* Text utilities */
.v898-text-primary {
    color: var(--v898-primary);
}

.v898-text-light {
    color: var(--v898-text-light);
}

.v898-text-bold {
    font-weight: 700;
}

/* Internal links */
.v898-internal-link {
    color: var(--v898-primary);
    text-decoration: none;
    font-weight: 500;
}

.v898-internal-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 360px) {
    .v898-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
