/**
 * Okebet Gaming Platform - Main Stylesheet
 * Website: okebet.click
 * Prefix: uieb-
 * Colors: #A9A9A9 | #BF360C | #FF9800 | #1B263B | #FFF176
 */

/* CSS Variables */
:root {
    --uieb-primary: #FF9800;
    --uieb-secondary: #BF360C;
    --uieb-bg-dark: #1B263B;
    --uieb-bg-light: #2d3a4f;
    --uieb-text-light: #FFF176;
    --uieb-text-white: #ffffff;
    --uieb-text-gray: #A9A9A9;
    --uieb-accent: #FF9800;
    --uieb-success: #4CAF50;
    --uieb-gradient: linear-gradient(135deg, #FF9800 0%, #BF360C 100%);
}

/* Reset & 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(--uieb-bg-dark);
    color: var(--uieb-text-white);
    line-height: 1.5rem;
    font-size: 1.4rem;
}

/* Container */
.uieb-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.uieb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--uieb-bg-dark) 0%, rgba(27, 38, 59, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 152, 0, 0.3);
}

.uieb-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.uieb-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.uieb-logo img {
    width: 28px;
    height: 28px;
}

.uieb-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--uieb-primary);
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.uieb-header-btns {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.uieb-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.uieb-btn-primary {
    background: var(--uieb-gradient);
    color: var(--uieb-text-white);
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.4);
}

.uieb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.6);
}

.uieb-btn-outline {
    background: transparent;
    color: var(--uieb-primary);
    border: 2px solid var(--uieb-primary);
}

.uieb-btn-outline:hover {
    background: var(--uieb-primary);
    color: var(--uieb-bg-dark);
}

.uieb-menu-toggle {
    background: none;
    border: none;
    color: var(--uieb-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.uieb-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--uieb-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.uieb-menu-active {
    right: 0;
}

.uieb-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: all 0.3s ease;
}

.uieb-overlay-active {
    opacity: 1;
    visibility: visible;
}

.uieb-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 152, 0, 0.3);
}

.uieb-menu-close {
    background: none;
    border: none;
    color: var(--uieb-text-white);
    font-size: 2rem;
    cursor: pointer;
}

.uieb-menu-nav {
    list-style: none;
}

.uieb-menu-nav li {
    margin-bottom: 0.5rem;
}

.uieb-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--uieb-text-white);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.uieb-menu-nav a:hover {
    background: rgba(255, 152, 0, 0.2);
    color: var(--uieb-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.uieb-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.uieb-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.uieb-slide-active {
    opacity: 1;
}

.uieb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uieb-slide-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.uieb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.uieb-dot-active {
    background: var(--uieb-primary);
}

/* Sections */
.uieb-section {
    padding: 2rem 1rem;
}

.uieb-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--uieb-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

/* Game Grid */
.uieb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.uieb-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.uieb-game-item:hover {
    transform: scale(1.05);
}

.uieb-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.8rem;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.uieb-game-item:hover .uieb-game-img {
    border-color: var(--uieb-primary);
}

.uieb-game-name {
    font-size: 1.1rem;
    color: var(--uieb-text-white);
    margin-top: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.uieb-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--uieb-text-light);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--uieb-primary);
}

/* Cards */
.uieb-card {
    background: var(--uieb-bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.uieb-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--uieb-primary);
    margin-bottom: 1rem;
}

.uieb-card-text {
    color: var(--uieb-text-gray);
    line-height: 1.6;
    font-size: 1.3rem;
}

/* Features Grid */
.uieb-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.uieb-feature {
    background: var(--uieb-bg-light);
    padding: 1.2rem;
    border-radius: 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.uieb-feature-icon {
    font-size: 2.4rem;
    color: var(--uieb-primary);
    margin-bottom: 0.5rem;
}

.uieb-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--uieb-text-white);
}

/* Promo Links */
.uieb-promo-link {
    color: var(--uieb-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.uieb-promo-link:hover {
    color: var(--uieb-text-light);
    text-decoration: underline;
}

/* Footer */
.uieb-footer {
    background: var(--uieb-bg-light);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 152, 0, 0.3);
}

.uieb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.uieb-footer-links a {
    color: var(--uieb-text-gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.uieb-footer-links a:hover {
    color: var(--uieb-primary);
}

.uieb-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.uieb-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.uieb-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.uieb-copyright {
    text-align: center;
    color: var(--uieb-text-gray);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.uieb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(45, 58, 79, 0.98) 0%, var(--uieb-bg-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 152, 0, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

.uieb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uieb-nav-item:hover {
    transform: scale(1.1);
}

.uieb-nav-item.active {
    transform: scale(1.1);
}

.uieb-nav-item.active .uieb-nav-icon {
    color: var(--uieb-primary);
}

.uieb-nav-item.active .uieb-nav-text {
    color: var(--uieb-primary);
}

.uieb-nav-icon {
    font-size: 24px;
    color: var(--uieb-text-gray);
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.uieb-nav-item:hover .uieb-nav-icon {
    color: var(--uieb-primary);
}

.uieb-nav-text {
    font-size: 1rem;
    color: var(--uieb-text-gray);
    transition: color 0.3s ease;
}

.uieb-nav-item:hover .uieb-nav-text {
    color: var(--uieb-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .uieb-bottom-nav {
        display: none;
    }
}

/* List Styles */
.uieb-list {
    list-style: none;
    padding: 0;
}

.uieb-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 152, 0, 0.1);
    color: var(--uieb-text-gray);
    font-size: 1.3rem;
}

.uieb-list li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.uieb-faq-item {
    margin-bottom: 1rem;
}

.uieb-faq-q {
    font-weight: 600;
    color: var(--uieb-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.uieb-faq-a {
    color: var(--uieb-text-gray);
    padding-left: 1rem;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Promo Banner */
.uieb-promo-banner {
    background: var(--uieb-gradient);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.uieb-promo-banner h3 {
    color: var(--uieb-text-white);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.uieb-promo-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Utility Classes */
.uieb-text-center {
    text-align: center;
}

.uieb-mt-1 {
    margin-top: 1rem;
}

.uieb-mb-1 {
    margin-bottom: 1rem;
}

.uieb-mt-2 {
    margin-top: 2rem;
}

.uieb-mb-2 {
    margin-bottom: 2rem;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .uieb-header-inner {
        max-width: 1200px;
    }

    .uieb-container {
        max-width: 1200px;
    }

    .uieb-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .uieb-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .uieb-menu-toggle {
        display: none;
    }

    .uieb-desktop-nav {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .uieb-desktop-nav a {
        color: var(--uieb-text-white);
        text-decoration: none;
        font-size: 1.3rem;
        transition: color 0.3s ease;
    }

    .uieb-desktop-nav a:hover {
        color: var(--uieb-primary);
    }
}

@media (max-width: 768px) {
    .uieb-desktop-nav {
        display: none;
    }
}
