/**
 * iBet Register - Core Stylesheet
 * Website: ibetregister.click
 * Prefix: ui11-
 * Color Palette: #0000CD | #3A3A3A | #E6E6FA | #6A5ACD | #9370DB
 */

/* CSS Variables */
:root {
    --ui11-primary: #0000CD;
    --ui11-secondary: #6A5ACD;
    --ui11-accent: #9370DB;
    --ui11-bg-dark: #3A3A3A;
    --ui11-bg-light: #E6E6FA;
    --ui11-text-light: #E6E6FA;
    --ui11-text-dark: #3A3A3A;
    --ui11-gradient: linear-gradient(135deg, #0000CD 0%, #6A5ACD 50%, #9370DB 100%);
    --ui11-shadow: 0 4px 15px rgba(0, 0, 205, 0.3);
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: var(--ui11-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.ui11-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.ui11-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #0000CD 0%, #6A5ACD 100%);
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.ui11-header-scrolled {
    box-shadow: var(--ui11-shadow);
}

.ui11-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ui11-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.ui11-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ui11-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ui11-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.ui11-btn-register {
    background: #FFD700;
    color: #000;
}

.ui11-btn-register:hover {
    background: #FFC107;
    transform: scale(1.05);
}

.ui11-btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.ui11-btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ui11-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.ui11-hamburger span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ui11-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ui11-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.ui11-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.ui11-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #6A5ACD 0%, #9370DB 100%);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    max-height: 70vh;
    overflow-y: auto;
}

.ui11-menu-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ui11-mobile-menu a {
    display: block;
    padding: 1rem;
    color: #fff;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ui11-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 1rem;
}

/* Carousel Styles */
.ui11-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.ui11-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.ui11-slide-active {
    opacity: 1;
}

.ui11-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ui11-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.ui11-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.ui11-dot-active {
    background: #FFD700;
}

/* Section Styles */
.ui11-section {
    padding: 2rem 0;
}

.ui11-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFD700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ui11-section-subtitle {
    font-size: 1.4rem;
    color: var(--ui11-accent);
    margin-bottom: 1rem;
}

/* Game Grid */
.ui11-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.ui11-game-card {
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 90, 205, 0.3);
}

.ui11-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 90, 205, 0.4);
    border-color: var(--ui11-secondary);
}

.ui11-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.ui11-game-name {
    font-size: 1rem;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 205, 0.3);
}

/* Category Badge */
.ui11-category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--ui11-gradient);
    border-radius: 15px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* Info Box */
.ui11-info-box {
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--ui11-primary);
}

.ui11-info-box h3 {
    font-size: 1.6rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.ui11-info-box p {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: var(--ui11-text-light);
}

.ui11-info-box ul {
    list-style: none;
    padding-left: 1rem;
}

.ui11-info-box li {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: var(--ui11-text-light);
    padding: 0.5rem 0;
    position: relative;
}

.ui11-info-box li::before {
    content: ">";
    position: absolute;
    left: -1rem;
    color: var(--ui11-accent);
}

/* Promo Link Styles */
.ui11-promo-link {
    color: #FFD700;
    font-weight: 600;
    cursor: pointer;
}

.ui11-promo-link:hover {
    color: #FFC107;
    text-decoration: underline;
}

.ui11-promo-btn {
    display: inline-block;
    background: var(--ui11-gradient);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ui11-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.5);
}

/* Features Grid */
.ui11-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.ui11-feature-card {
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(106, 90, 205, 0.3);
    transition: all 0.3s ease;
}

.ui11-feature-card:hover {
    border-color: var(--ui11-secondary);
    transform: translateY(-3px);
}

.ui11-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #FFD700;
}

.ui11-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ui11-feature-desc {
    font-size: 1.1rem;
    color: var(--ui11-accent);
}

/* FAQ Section */
.ui11-faq-item {
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.ui11-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFD700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ui11-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.2rem;
    color: var(--ui11-text-light);
    line-height: 1.6rem;
}

/* Footer */
.ui11-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.ui11-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ui11-footer-links a {
    color: var(--ui11-accent);
    font-size: 1.2rem;
    padding: 0.5rem;
}

.ui11-footer-links a:hover {
    color: #FFD700;
}

.ui11-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.ui11-partners img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ui11-partners img:hover {
    opacity: 1;
}

.ui11-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(230, 230, 250, 0.6);
}

/* Bottom Navigation - Mobile */
.ui11-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #6A5ACD 0%, #0000CD 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 205, 0.4);
}

.ui11-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: rgba(255, 255, 255, 0.7);
}

.ui11-nav-item:hover,
.ui11-nav-item-active {
    color: #FFD700;
    transform: scale(1.1);
}

.ui11-nav-item .material-icons,
.ui11-nav-item ion-icon {
    font-size: 26px;
    margin-bottom: 2px;
}

.ui11-nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.ui11-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Padding for Bottom Nav */
@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }

    .ui11-hamburger {
        display: flex;
    }

    .ui11-header-actions .ui11-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .ui11-container {
        max-width: 600px;
    }

    .ui11-bottom-nav {
        display: none;
    }

    .ui11-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Utility Classes */
.ui11-text-center {
    text-align: center;
}

.ui11-mb-1 {
    margin-bottom: 1rem;
}

.ui11-mb-2 {
    margin-bottom: 2rem;
}

.ui11-mt-2 {
    margin-top: 2rem;
}

.ui11-hidden {
    display: none;
}

/* Animation */
@keyframes ui11-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.ui11-pulse {
    animation: ui11-pulse 2s infinite;
}

/* RTP Badge */
.ui11-rtp-badge {
    display: inline-block;
    background: linear-gradient(90deg, #00C853 0%, #64DD17 100%);
    color: #000;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
}
