/**
 * Super King - Main Stylesheet
 * CSS class prefix: uif1-
 * Color palette: #00695C | #F0FDFF | #1A1A1A | #40E0D0 | #495057
 */

/* CSS Variables */
:root {
    --uif1-primary: #00695C;
    --uif1-secondary: #40E0D0;
    --uif1-bg: #1A1A1A;
    --uif1-bg-light: #2d2d2d;
    --uif1-text: #F0FDFF;
    --uif1-text-muted: #a0aec0;
    --uif1-accent: #40E0D0;
    --uif1-border: #3d3d3d;
    --uif1-gradient: linear-gradient(135deg, #00695C 0%, #40E0D0 100%);
}

* {
    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(--uif1-bg);
    color: var(--uif1-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

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

.uif1-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}
.uif1-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.uif1-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}
.uif1-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--uif1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.uif1-header-btns {
    display: flex;
    gap: 0.6rem;
}
.uif1-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.uif1-btn-primary {
    background: var(--uif1-gradient);
    color: var(--uif1-text);
}
.uif1-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}
.uif1-btn-outline {
    background: transparent;
    border: 2px solid var(--uif1-secondary);
    color: var(--uif1-secondary);
}
.uif1-btn-outline:hover {
    background: var(--uif1-secondary);
    color: var(--uif1-bg);
}
.uif1-menu-toggle {
    background: transparent;
    border: none;
    color: var(--uif1-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
}
/* Mobile Menu */
.uif1-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--uif1-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}
.uif1-menu-active {
    right: 0;
}
.uif1-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;
}
.uif1-overlay-active {
    opacity: 1;
    visibility: visible;
}
.uif1-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--uif1-border);
}
.uif1-menu-close {
    background: transparent;
    border: none;
    color: var(--uif1-text);
    font-size: 2.4rem;
    cursor: pointer;
}
.uif1-menu-nav {
    list-style: none;
}
.uif1-menu-item {
    margin-bottom: 0.5rem;
}
.uif1-menu-link {
    display: block;
    padding: 1rem;
    color: var(--uif1-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.uif1-menu-link:hover {
    background: var(--uif1-primary);
    color: var(--uif1-text);
}
/* Main Content */
.uif1-main {
    padding-top: 60px;
    padding-bottom: 80px;
}
/* Carousel */
.uif1-carousel {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem;
}
.game4f90-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}
.game4f90-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.uif1-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.game4f90-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.uif1-dot-active {
    background: var(--uif1-secondary);
    transform: scale(1.2);
}
/* Sections */
.uif1-section {
    padding: 1.5rem 1rem;
}
.uif1-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--uif1-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.uif1-section-title i {
    font-size: 2rem;
}
/* Game Grid */
.uif1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.uif1-game-item {
    background: var(--uif1-bg-light);
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--uif1-border);
}
.uif1-game-item:hover {
    transform: translateY(-3px);
    border-color: var(--uif1-secondary);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.2);
}
.uif1-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}
.uif1-game-name {
    font-size: 1.1rem;
    color: var(--uif1-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Category Badge */
.uif1-category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--uif1-gradient);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
/* Cards */
.uif1-card {
    background: var(--uif1-bg-light);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--uif1-border);
}
.uif1-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--uif1-secondary);
}
.uif1-card-text {
    color: var(--uif1-text-muted);
    line-height: 1.6;
}
/* Promo Link */
.uif1-promo-link {
    color: var(--uif1-secondary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.uif1-promo-link:hover {
    text-decoration: underline;
    color: var(--uif1-text);
}
/* Footer */
.uif1-footer {
    background: var(--uif1-bg-light);
    padding: 2rem 1rem;
    border-top: 1px solid var(--uif1-border);
}
.uif1-footer-brand {
    margin-bottom: 1.5rem;
}
.uif1-footer-desc {
    color: var(--uif1-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.uif1-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.uif1-footer-link {
    padding: 0.5rem 1rem;
    background: var(--uif1-primary);
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--uif1-text);
    transition: all 0.3s ease;
}
.uif1-footer-link:hover {
    background: var(--uif1-secondary);
    color: var(--uif1-bg);
}
.uif1-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--uif1-border);
}
.uif1-footer-nav a {
    color: var(--uif1-text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.uif1-footer-nav a:hover {
    color: var(--uif1-secondary);
}
.uif1-copyright {
    text-align: center;
    color: var(--uif1-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--uif1-border);
}
/* Bottom Navigation */
.uif1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 105, 92, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 0;
    border-top: 1px solid var(--uif1-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.uif1-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 60px;
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem;
}
.uif1-nav-item:hover {
    transform: scale(1.1);
}
.uif1-nav-item i,
.uif1-nav-item .material-icons {
    font-size: 24px;
    color: var(--uif1-text-muted);
    transition: color 0.3s ease;
}
.uif1-nav-item:hover i,
.uif1-nav-item:hover .material-icons {
    color: var(--uif1-secondary);
}
.uif1-nav-item span {
    font-size: 1rem;
    color: var(--uif1-text-muted);
    transition: color 0.3s ease;
}
.uif1-nav-item:hover span {
    color: var(--uif1-secondary);
}
.uif1-nav-active i,
.uif1-nav-active .material-icons,
.uif1-nav-active span {
    color: var(--uif1-secondary);
}
/* Testimonials */
.uif1-testimonial {
    background: var(--uif1-bg-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--uif1-secondary);
}
.uif1-testimonial-text {
    font-size: 1.2rem;
    color: var(--uif1-text);
    margin-bottom: 0.5rem;
    font-style: italic;
}
.uif1-testimonial-author {
    font-size: 1.1rem;
    color: var(--uif1-secondary);
    font-weight: 600;
}
/* Payment Icons */
.uif1-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.uif1-payment-item {
    background: var(--uif1-bg-light);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--uif1-border);
    font-size: 1.2rem;
    color: var(--uif1-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* RTP Table */
.uif1-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}
.uif1-rtp-table th,
.uif1-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--uif1-border);
}
.uif1-rtp-table th {
    background: var(--uif1-primary);
    color: var(--uif1-text);
    font-weight: 600;
}
.uif1-rtp-table td {
    color: var(--uif1-text-muted);
}
.uif1-rtp-high {
    color: #4ade80;
    font-weight: 600;
}
/* Winner List */
.uif1-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--uif1-border);
}
.uif1-winner-game {
    font-size: 1.2rem;
    color: var(--uif1-text);
}
.uif1-winner-amount {
    font-size: 1.2rem;
    color: var(--uif1-secondary);
    font-weight: 700;
}
/* Desktop Hidden */
@media (min-width: 769px) {
    .uif1-bottom-nav {
        display: none;
    }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .uif1-main {
        padding-bottom: 80px;
    }
}
/* Utility Classes */
.uif1-text-center {
    text-align: center;
}
.uif1-mb-1 {
    margin-bottom: 1rem;
}
.uif1-mb-2 {
    margin-bottom: 2rem;
}
.uif1-hidden {
    display: none;
}
