/**
 * AH7 Gaming Platform - Main Stylesheet
 * Version: 1.0.0
 * Prefix: uie5-
 * Color Scheme: #00FA9A | #C0C0C0 | #90EE90 | #1B263B | #95A5A6
 */

/* CSS Variables */
:root {
    --uie5-primary: #00FA9A;
    --uie5-primary-dark: #00d484;
    --uie5-secondary: #90EE90;
    --uie5-accent: #C0C0C0;
    --uie5-bg-dark: #1B263B;
    --uie5-bg-darker: #0d1321;
    --uie5-text-light: #ffffff;
    --uie5-text-muted: #95A5A6;
    --uie5-success: #00FA9A;
    --uie5-warning: #f39c12;
    --uie5-gradient: linear-gradient(135deg, #00FA9A 0%, #90EE90 100%);
    --uie5-shadow: 0 4px 20px rgba(0, 250, 154, 0.3);
    --uie5-radius: 12px;
    --uie5-radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: var(--uie5-bg-darker);
    color: var(--uie5-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* Header */
.uie5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(27, 38, 59, 0.98) 0%, rgba(27, 38, 59, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 250, 154, 0.2);
    transition: all 0.3s ease;
}

.uie5-header-scrolled {
    background: rgba(13, 19, 33, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

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

.uie5-logo img {
    width: 32px;
    height: 32px;
}

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

.uie5-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uie5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--uie5-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.uie5-btn-primary {
    background: var(--uie5-gradient);
    color: var(--uie5-bg-dark);
}

.uie5-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--uie5-shadow);
}

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

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

.uie5-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.uie5-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--uie5-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.uie5-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--uie5-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    border-left: 1px solid rgba(0, 250, 154, 0.2);
}

.uie5-menu-open {
    right: 0;
}

.uie5-mobile-menu ul {
    list-style: none;
}

.uie5-mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uie5-mobile-menu a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.5rem;
    color: var(--uie5-text-light);
    transition: color 0.3s ease;
}

.uie5-mobile-menu a:hover {
    color: var(--uie5-primary);
}

.uie5-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;
}

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

/* Main Content */
.uie5-main {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

/* Hero Section */
.uie5-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.95) 0%, rgba(13, 19, 33, 0.98) 100%);
    overflow: hidden;
}

.uie5-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 250, 154, 0.1) 0%, transparent 50%);
    animation: site54fpulse 4s ease-in-out infinite;
}

@keyframes site54fpulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.uie5-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--uie5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.uie5-hero p {
    font-size: 1.5rem;
    color: var(--uie5-text-muted);
    margin-bottom: 2rem;
    max-width: 350px;
    position: relative;
    z-index: 1;
}

/* Carousel */
.uie5-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--uie5-radius);
    margin-bottom: 2rem;
}

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

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

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

.uie5-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uie5-section-title i {
    color: var(--uie5-primary);
}

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

.uie5-game-card {
    position: relative;
    background: linear-gradient(145deg, rgba(27, 38, 59, 0.8) 0%, rgba(13, 19, 33, 0.9) 100%);
    border-radius: var(--uie5-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 250, 154, 0.1);
}

.uie5-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--uie5-primary);
    box-shadow: 0 8px 25px rgba(0, 250, 154, 0.2);
}

.uie5-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.uie5-game-card-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(13, 19, 33, 0.9);
}

/* Features Section */
.uie5-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.uie5-feature-card {
    background: linear-gradient(145deg, rgba(27, 38, 59, 0.6) 0%, rgba(13, 19, 33, 0.8) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--uie5-radius);
    text-align: center;
    border: 1px solid rgba(0, 250, 154, 0.1);
    transition: all 0.3s ease;
}

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

.uie5-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--uie5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uie5-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.uie5-feature-card p {
    font-size: 1.2rem;
    color: var(--uie5-text-muted);
    line-height: 1.4;
}

/* Promo Code Section */
.uie5-promo-section {
    background: linear-gradient(135deg, rgba(0, 250, 154, 0.1) 0%, rgba(144, 238, 144, 0.1) 100%);
    padding: 2rem;
    border-radius: var(--uie5-radius);
    text-align: center;
    margin: 2rem 0;
    border: 1px solid rgba(0, 250, 154, 0.3);
}

.uie5-promo-code {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--uie5-bg-darker);
    padding: 1rem 2rem;
    border-radius: var(--uie5-radius-sm);
    margin: 1.5rem 0;
    border: 2px dashed var(--uie5-primary);
}

.uie5-promo-code span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--uie5-primary);
    letter-spacing: 2px;
}

.uie5-promo-copy {
    background: var(--uie5-gradient);
    color: var(--uie5-bg-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--uie5-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uie5-promo-copy:hover {
    transform: scale(1.05);
}

/* FAQ Section */
.uie5-faq-item {
    background: rgba(27, 38, 59, 0.6);
    border-radius: var(--uie5-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.uie5-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.uie5-faq-question i {
    color: var(--uie5-primary);
}

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

/* Footer */
.uie5-footer {
    background: var(--uie5-bg-darker);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(0, 250, 154, 0.2);
}

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

.uie5-footer-brand p {
    font-size: 1.3rem;
    color: var(--uie5-text-muted);
    margin-top: 1rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

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

.uie5-footer-links a {
    font-size: 1.2rem;
    color: var(--uie5-text-muted);
    padding: 0.5rem 1rem;
    background: rgba(27, 38, 59, 0.6);
    border-radius: var(--uie5-radius-sm);
    transition: all 0.3s ease;
}

.uie5-footer-links a:hover {
    color: var(--uie5-primary);
    background: rgba(0, 250, 154, 0.1);
}

.uie5-footer-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.uie5-footer-promos .uie5-btn {
    width: 100%;
}

.uie5-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--uie5-text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.uie5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(27, 38, 59, 0.98) 0%, rgba(13, 19, 33, 0.99) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 250, 154, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.uie5-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--uie5-text-muted);
}

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

.uie5-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

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

/* Utility Classes */
.uie5-text-gradient {
    background: var(--uie5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uie5-text-center {
    text-align: center;
}

.uie5-mb-1 { margin-bottom: 1rem; }
.uie5-mb-2 { margin-bottom: 2rem; }
.uie5-mb-3 { margin-bottom: 3rem; }

/* Animations */
.uie5-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.uie5-animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes site54ftoastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes site54ftoastOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Scroll to Top Button */
.uie5-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--uie5-gradient);
    color: var(--uie5-bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.uie5-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .uie5-bottom-nav {
        display: none;
    }

    .uie5-main {
        padding-bottom: 2rem;
    }

    .uie5-container {
        max-width: 768px;
    }

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

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

/* Content Links */
.uie5-content-link {
    color: var(--uie5-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.uie5-content-link:hover {
    color: var(--uie5-secondary);
}

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

.uie5-payment-item {
    background: rgba(27, 38, 59, 0.6);
    padding: 1rem 1.5rem;
    border-radius: var(--uie5-radius-sm);
    font-size: 1.2rem;
    border: 1px solid rgba(0, 250, 154, 0.2);
}

/* Testimonials */
.uie5-testimonial {
    background: rgba(27, 38, 59, 0.6);
    padding: 1.5rem;
    border-radius: var(--uie5-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--uie5-primary);
}

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

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

/* Winners Section */
.uie5-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(27, 38, 59, 0.4);
    padding: 1rem;
    border-radius: var(--uie5-radius-sm);
    margin-bottom: 0.8rem;
}

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

.uie5-winner-info {
    flex: 1;
}

.uie5-winner-name {
    font-weight: 600;
    font-size: 1.3rem;
}

.uie5-winner-game {
    font-size: 1.1rem;
    color: var(--uie5-text-muted);
}

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