/**
 * Jilli58 Gaming Platform - Main Stylesheet
 * Prefix: v963-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --v963-primary: #800080;
    --v963-bg-dark: #0C0C0C;
    --v963-accent: #CC99FF;
    --v963-text-light: #FFDEAD;
    --v963-silver: #C0C0C0;
    --v963-secondary: #6A5ACD;
    --v963-gradient: linear-gradient(135deg, #800080 0%, #6A5ACD 100%);
    --v963-shadow: 0 4px 20px rgba(128, 0, 128, 0.3);
    --v963-radius: 12px;
    --v963-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    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(--v963-bg-dark);
    color: var(--v963-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v963-transition);
}

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

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

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

/* Header */
.v963-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(204, 153, 255, 0.2);
}

.v963-header-scrolled {
    background: rgba(12, 12, 12, 0.99);
    box-shadow: var(--v963-shadow);
}

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

.v963-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.v963-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--v963-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.v963-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--v963-transition);
    border: none;
    text-align: center;
}

.v963-btn-primary {
    background: var(--v963-gradient);
    color: #fff;
}

.v963-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(128, 0, 128, 0.5);
}

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

.v963-btn-outline:hover {
    background: var(--v963-accent);
    color: var(--v963-bg-dark);
}

.v963-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--v963-accent);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.v963-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v963-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    border-left: 1px solid rgba(204, 153, 255, 0.2);
    overflow-y: auto;
}

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

.v963-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: var(--v963-transition);
}

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

.v963-mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v963-mobile-menu a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--v963-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: var(--v963-transition);
}

.v963-mobile-menu a:hover {
    background: rgba(128, 0, 128, 0.3);
    color: var(--v963-accent);
}

.v963-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--v963-accent);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.v963-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--v963-radius);
    margin: 1rem 0;
}

.v963-carousel-slide {
    display: none;
    cursor: pointer;
}

.v963-carousel-slide:first-child {
    display: block;
}

.v963-carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--v963-radius);
}

.v963-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v963-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v963-transition);
}

.v963-dot-active {
    background: var(--v963-accent);
    transform: scale(1.2);
}

/* Section Titles */
.v963-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--v963-accent);
    text-align: center;
    position: relative;
}

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

/* Game Grid */
.v963-game-section {
    padding: 2rem 0;
}

.v963-game-category {
    margin-bottom: 2rem;
}

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

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

.v963-game-card {
    text-align: center;
    cursor: pointer;
    transition: var(--v963-transition);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(128, 0, 128, 0.1);
    padding: 0.5rem;
}

.v963-game-card:hover {
    transform: translateY(-3px);
    background: rgba(128, 0, 128, 0.2);
}

.v963-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.v963-game-card span {
    font-size: 1.1rem;
    color: var(--v963-text-light);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Features Section */
.v963-features {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(128, 0, 128, 0.1) 0%, transparent 100%);
}

.v963-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.v963-feature-card {
    background: rgba(12, 12, 12, 0.8);
    border-radius: var(--v963-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(204, 153, 255, 0.2);
    transition: var(--v963-transition);
}

.v963-feature-card:hover {
    border-color: var(--v963-accent);
    transform: translateY(-2px);
}

.v963-feature-icon {
    font-size: 3rem;
    color: var(--v963-accent);
    margin-bottom: 1rem;
}

.v963-feature-card h3 {
    font-size: 1.4rem;
    color: var(--v963-text-light);
    margin-bottom: 0.5rem;
}

.v963-feature-card p {
    font-size: 1.2rem;
    color: var(--v963-silver);
}

/* Content Sections */
.v963-content-section {
    padding: 2rem 1.5rem;
}

.v963-content-section h2 {
    font-size: 1.8rem;
    color: var(--v963-accent);
    margin-bottom: 1rem;
}

.v963-content-section p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--v963-silver);
    margin-bottom: 1rem;
}

.v963-content-section ul {
    list-style: none;
    padding: 0;
}

.v963-content-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--v963-text-light);
    font-size: 1.3rem;
}

.v963-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--v963-primary);
    border-radius: 50%;
}

/* Promo Links */
.v963-promo-link {
    color: var(--v963-accent);
    font-weight: 600;
    cursor: pointer;
}

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

/* Testimonials */
.v963-testimonials {
    padding: 2rem 1.5rem;
    background: rgba(128, 0, 128, 0.05);
}

.v963-testimonial-card {
    background: rgba(12, 12, 12, 0.9);
    border-radius: var(--v963-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--v963-primary);
}

.v963-testimonial-card p {
    font-size: 1.3rem;
    color: var(--v963-silver);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.v963-testimonial-author {
    font-size: 1.2rem;
    color: var(--v963-accent);
    font-weight: 600;
}

/* Payment Methods */
.v963-payment-methods {
    padding: 2rem 1.5rem;
}

.v963-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.v963-payment-item {
    background: rgba(12, 12, 12, 0.8);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(204, 153, 255, 0.2);
}

.v963-payment-item i {
    font-size: 2rem;
    color: var(--v963-accent);
}

.v963-payment-item span {
    font-size: 1.2rem;
    color: var(--v963-text-light);
}

/* CTA Section */
.v963-cta-section {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--v963-gradient);
    border-radius: var(--v963-radius);
    margin: 2rem 1.5rem;
}

.v963-cta-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.v963-cta-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.v963-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: var(--v963-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--v963-transition);
}

.v963-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Footer */
.v963-footer {
    background: rgba(12, 12, 12, 0.95);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(204, 153, 255, 0.2);
}

.v963-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.v963-footer-brand p {
    font-size: 1.2rem;
    color: var(--v963-silver);
    line-height: 1.6;
}

.v963-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v963-footer-links a {
    font-size: 1.2rem;
    color: var(--v963-text-light);
    padding: 0.5rem 1rem;
    background: rgba(128, 0, 128, 0.2);
    border-radius: 6px;
    transition: var(--v963-transition);
}

.v963-footer-links a:hover {
    background: var(--v963-primary);
    color: #fff;
}

.v963-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v963-silver);
    padding-top: 1rem;
    border-top: 1px solid rgba(204, 153, 255, 0.1);
}

/* Mobile Bottom Navigation */
.v963-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.99) 0%, #0C0C0C 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(204, 153, 255, 0.3);
    padding-bottom: env(safe-area-inset-bottom);
}

.v963-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--v963-transition);
    color: var(--v963-silver);
}

.v963-nav-item:hover,
.v963-nav-item.v963-nav-active {
    color: var(--v963-accent);
    transform: scale(1.1);
}

.v963-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.v963-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .v963-container {
        max-width: 768px;
    }

    .v963-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v963-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .v963-bottom-nav {
        display: none;
    }

    .v963-menu-toggle {
        display: none;
    }

    .v963-header nav {
        display: flex;
        gap: 1.5rem;
    }

    .v963-header nav a {
        color: var(--v963-text-light);
        font-size: 1.3rem;
        transition: var(--v963-transition);
    }

    .v963-header nav a:hover {
        color: var(--v963-accent);
    }
}

/* Mobile Only */
@media (max-width: 768px) {
    .v963-menu-toggle {
        display: block;
    }

    .v963-header nav {
        display: none;
    }

    .v963-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }

    .v963-logo-text {
        font-size: 1.6rem;
    }
}

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

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

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

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

.v963-hidden {
    display: none;
}

/* Animations */
@keyframes v963-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes v963-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v963-animate-pulse {
    animation: v963-pulse 2s infinite;
}

.v963-animate-fadeIn {
    animation: v963-fadeIn 0.5s ease-out;
}
