/**
 * Auronplay Website CSS Theme
 * Prefix: ui5b-
 * Color Palette: #0C0C0C (bg) | #FFEF94 (accent) | #CD853F (gold) | #999999 | #A9A9A9 | #95A5A6
 */

/* CSS Variables */
:root {
    --ui5b-bg: #0C0C0C;
    --ui5b-bg-light: #1a1a1a;
    --ui5b-bg-card: #141414;
    --ui5b-accent: #FFEF94;
    --ui5b-gold: #CD853F;
    --ui5b-gold-light: #DAA520;
    --ui5b-text: #FFFFFF;
    --ui5b-text-muted: #999999;
    --ui5b-text-secondary: #A9A9A9;
    --ui5b-border: #2a2a2a;
    --ui5b-gradient: linear-gradient(135deg, #CD853F 0%, #FFEF94 100%);
}

/* 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, sans-serif;
    background-color: var(--ui5b-bg);
    color: var(--ui5b-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

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

.ui5b-wrapper {
    padding: 1.5rem 0;
}

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

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

.ui5b-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.ui5b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

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

.ui5b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ui5b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

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

.ui5b-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(205,133,63,0.4);
}

.ui5b-btn-secondary {
    background: transparent;
    border: 1px solid var(--ui5b-gold);
    color: var(--ui5b-gold);
}

.ui5b-btn-secondary:hover {
    background: rgba(205,133,63,0.1);
}

.ui5b-menu-btn {
    background: none;
    border: none;
    color: var(--ui5b-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
}

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

.ui5b-mobile-menu.app65b-menu-active {
    right: 0;
}

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

.ui5b-menu-overlay.app65b-overlay-active {
    opacity: 1;
    visibility: visible;
}

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

.ui5b-nav-item {
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--ui5b-border);
    color: var(--ui5b-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.ui5b-nav-item:hover {
    color: var(--ui5b-accent);
}

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

/* Carousel */
.ui5b-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

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

.ui5b-slide.app65b-slide-active {
    opacity: 1;
}

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

/* Section Titles */
.ui5b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--ui5b-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ui5b-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--ui5b-gradient);
    border-radius: 2px;
}

/* Game Grid */
.ui5b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

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

.ui5b-game-item:hover {
    transform: scale(1.05);
}

.ui5b-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--ui5b-border);
    transition: border-color 0.2s ease;
}

.ui5b-game-item:hover .ui5b-game-img {
    border-color: var(--ui5b-gold);
}

.ui5b-game-name {
    font-size: 1rem;
    color: var(--ui5b-text-muted);
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.ui5b-category-section {
    margin-bottom: 2rem;
}

.ui5b-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ui5b-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ui5b-gold);
}

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

.ui5b-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ui5b-accent);
    margin-bottom: 0.8rem;
}

.ui5b-card-text {
    color: var(--ui5b-text-secondary);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Promo Link */
.ui5b-promo-link {
    color: var(--ui5b-gold);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* Footer */
.ui5b-footer {
    background: var(--ui5b-bg-light);
    padding: 2rem 1rem;
    border-top: 1px solid var(--ui5b-border);
}

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

.ui5b-footer-desc {
    color: var(--ui5b-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

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

.ui5b-footer-link {
    color: var(--ui5b-text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ui5b-footer-link:hover {
    color: var(--ui5b-accent);
    background: rgba(255,239,148,0.1);
}

.ui5b-footer-copyright {
    text-align: center;
    color: var(--ui5b-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ui5b-border);
}

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

.ui5b-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(--ui5b-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ui5b-nav-btn:hover,
.ui5b-nav-btn.active {
    color: var(--ui5b-accent);
}

.ui5b-nav-btn i,
.ui5b-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

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

.ui5b-nav-btn:hover {
    transform: scale(1.1);
}

/* Desktop Hide */
@media (min-width: 769px) {
    .ui5b-bottom-nav {
        display: none;
    }
    .ui5b-container {
        max-width: 430px;
    }
}

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

/* Utilities */
.ui5b-text-center { text-align: center; }
.ui5b-mb-1 { margin-bottom: 1rem; }
.ui5b-mb-2 { margin-bottom: 2rem; }
.ui5b-mt-1 { margin-top: 1rem; }
.ui5b-highlight {
    color: var(--ui5b-gold);
    font-weight: 600;
}

/* RTP Stats */
.ui5b-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ui5b-rtp-item {
    background: var(--ui5b-bg-card);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--ui5b-border);
}

.ui5b-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ui5b-gold);
}

.ui5b-rtp-label {
    font-size: 1.1rem;
    color: var(--ui5b-text-muted);
}

/* Testimonials */
.ui5b-testimonial {
    background: var(--ui5b-bg-card);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--ui5b-gold);
}

.ui5b-testimonial-text {
    font-size: 1.3rem;
    color: var(--ui5b-text-secondary);
    font-style: italic;
    margin-bottom: 0.6rem;
}

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

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

.ui5b-payment-item {
    background: var(--ui5b-bg-card);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--ui5b-text-secondary);
    border: 1px solid var(--ui5b-border);
}

/* Winner Showcase */
.ui5b-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--ui5b-bg-card);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

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

.ui5b-winner-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ui5b-gold);
}

/* FAQ Section */
.ui5b-faq-item {
    background: var(--ui5b-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.ui5b-faq-question {
    padding: 1rem 1.2rem;
    font-weight: 600;
    color: var(--ui5b-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ui5b-faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--ui5b-text-secondary);
    font-size: 1.3rem;
}

/* Feature List */
.ui5b-feature-list {
    list-style: none;
}

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

.ui5b-feature-icon {
    color: var(--ui5b-gold);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.ui5b-feature-text {
    color: var(--ui5b-text-secondary);
    font-size: 1.3rem;
}

/* CTA Button */
.ui5b-cta-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--ui5b-gradient);
    color: var(--ui5b-bg);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    margin: 1.5rem 0;
    transition: all 0.2s ease;
}

.ui5b-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205,133,63,0.4);
}
