/* uk9 layout stylesheet - prefix: w0f8d- */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --w0f8d-primary: #EE82EE;
    --w0f8d-secondary: #7B68EE;
    --w0f8d-bg: #1C2833;
    --w0f8d-bg-light: #243447;
    --w0f8d-text: #B2DFDB;
    --w0f8d-muted: #ADB5BD;
    --w0f8d-accent: #4DB6AC;
    --w0f8d-font: 'Hind Siliguri', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--w0f8d-font);
    background: var(--w0f8d-bg);
    color: var(--w0f8d-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.w0f8d-container {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: var(--w0f8d-bg);
}

/* Header */
.w0f8d-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 52px;
    background: rgba(28, 40, 51, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1000;
    border-bottom: 1px solid rgba(238, 130, 238, 0.15);
}

.w0f8d-logo-area {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

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

.w0f8d-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w0f8d-primary);
    letter-spacing: 1px;
}

.w0f8d-header-actions { display: flex; align-items: center; gap: 8px; }

.w0f8d-btn-login, .w0f8d-btn-register {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--w0f8d-font);
    transition: all 0.2s ease;
}

.w0f8d-btn-login {
    background: transparent;
    color: var(--w0f8d-primary);
    border: 1px solid var(--w0f8d-primary);
}

.w0f8d-btn-login:hover { background: rgba(238, 130, 238, 0.1); }

.w0f8d-btn-register {
    background: linear-gradient(135deg, var(--w0f8d-primary), var(--w0f8d-secondary));
    color: #fff;
}

.w0f8d-btn-register:hover { opacity: 0.9; transform: scale(1.03); }

.w0f8d-menu-btn {
    background: none;
    border: none;
    color: var(--w0f8d-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* Mobile menu overlay */
.w0f8d-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

/* Mobile nav slide-in */
.w0f8d-mobile-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100%;
    background: var(--w0f8d-bg-light);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 60px 20px 20px;
    overflow-y: auto;
}

.w0f8d-mobile-nav a {
    display: block;
    color: var(--w0f8d-text);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(173, 181, 189, 0.15);
    transition: color 0.2s;
}

.w0f8d-mobile-nav a:hover { color: var(--w0f8d-primary); }

.w0f8d-nav-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: none;
    color: var(--w0f8d-muted);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Main content */
.w0f8d-main {
    padding-top: 52px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .w0f8d-main { padding-bottom: 80px; }
}

/* Carousel */
.w0f8d-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.w0f8d-carousel-inner { position: relative; width: 100%; height: 200px; }

.w0f8d-carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

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

.w0f8d-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.w0f8d-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
}

.w0f8d-dot-active { background: var(--w0f8d-primary) !important; }

.w0f8d-carousel-prev, .w0f8d-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 5;
}

.w0f8d-carousel-prev { left: 8px; }
.w0f8d-carousel-next { right: 8px; }

/* Section styles */
.w0f8d-section {
    padding: 16px 12px;
}

.w0f8d-section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--w0f8d-primary);
}

.w0f8d-section-subtitle {
    font-size: 1.3rem;
    color: var(--w0f8d-muted);
    margin-bottom: 10px;
}

/* Category tabs */
.w0f8d-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch;
}

.w0f8d-cat-tabs::-webkit-scrollbar { display: none; }

.w0f8d-cat-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--w0f8d-bg-light);
    color: var(--w0f8d-muted);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--w0f8d-font);
}

.w0f8d-cat-tab:hover { border-color: var(--w0f8d-primary); color: var(--w0f8d-primary); }

.w0f8d-cat-active {
    background: linear-gradient(135deg, var(--w0f8d-primary), var(--w0f8d-secondary)) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Category panels */
.w0f8d-cat-panel {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 12px;
}

/* Game item */
.w0f8d-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: all 0.2s;
    background: var(--w0f8d-bg-light);
}

.w0f8d-game-item:hover {
    background: rgba(238, 130, 238, 0.1);
    transform: translateY(-2px);
}

.w0f8d-game-icon {
    width: 64px; height: 64px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 4px;
}

.w0f8d-game-name {
    font-size: 1.1rem;
    color: var(--w0f8d-text);
    text-align: center;
    line-height: 1.3rem;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content blocks */
.w0f8d-content-block {
    background: var(--w0f8d-bg-light);
    border-radius: 12px;
    padding: 16px;
    margin: 0 12px 12px;
}

.w0f8d-content-block p {
    font-size: 1.3rem;
    line-height: 2rem;
    color: var(--w0f8d-text);
    margin-bottom: 8px;
}

.w0f8d-content-block a {
    color: var(--w0f8d-primary);
    text-decoration: underline;
}

.w0f8d-content-block a:hover { color: var(--w0f8d-secondary); }

/* Highlight box */
.w0f8d-highlight-box {
    background: linear-gradient(135deg, rgba(238,130,238,0.12), rgba(123,104,238,0.12));
    border: 1px solid rgba(238,130,238,0.25);
    border-radius: 12px;
    padding: 16px;
    margin: 12px;
}

/* Step list */
.w0f8d-step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.w0f8d-step-list li {
    counter-increment: step;
    position: relative;
    padding: 10px 10px 10px 40px;
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: var(--w0f8d-text);
    margin-bottom: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.w0f8d-step-list li::before {
    content: counter(step);
    position: absolute;
    left: 10px;
    top: 10px;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--w0f8d-primary), var(--w0f8d-secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Feature cards */
.w0f8d-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
}

.w0f8d-feature-card {
    background: var(--w0f8d-bg-light);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(238,130,238,0.1);
    transition: all 0.2s;
}

.w0f8d-feature-card:hover { border-color: var(--w0f8d-primary); }

.w0f8d-feature-card .material-icons,
.w0f8d-feature-card .fas,
.w0f8d-feature-card .far,
.w0f8d-feature-card .bi {
    font-size: 2.8rem;
    color: var(--w0f8d-primary);
    margin-bottom: 8px;
}

.w0f8d-feature-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 4px;
}

.w0f8d-feature-card p {
    font-size: 1.1rem;
    color: var(--w0f8d-muted);
    line-height: 1.6rem;
}

/* CTA banner */
.w0f8d-cta-banner {
    background: linear-gradient(135deg, var(--w0f8d-primary), var(--w0f8d-secondary));
    border-radius: 14px;
    padding: 20px 16px;
    margin: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.w0f8d-cta-banner:hover { opacity: 0.92; transform: scale(1.01); }

.w0f8d-cta-banner h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 6px;
}

.w0f8d-cta-banner p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.w0f8d-cta-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #fff;
    color: var(--w0f8d-bg);
    border-radius: 24px;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--w0f8d-font);
}

/* FAQ accordion */
.w0f8d-faq-item {
    background: var(--w0f8d-bg-light);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid rgba(173,181,189,0.1);
}

.w0f8d-faq-q {
    padding: 12px 14px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w0f8d-faq-q .fas { color: var(--w0f8d-primary); transition: transform 0.2s; }

.w0f8d-faq-a {
    padding: 0 14px 12px;
    font-size: 1.2rem;
    color: var(--w0f8d-muted);
    line-height: 1.8rem;
    display: none;
}

.w0f8d-faq-item.active .w0f8d-faq-a { display: block; }
.w0f8d-faq-item.active .w0f8d-faq-q .fas { transform: rotate(180deg); }

/* Footer */
.w0f8d-footer {
    background: var(--w0f8d-bg-light);
    padding: 20px 12px;
    margin-top: 16px;
    border-top: 1px solid rgba(238,130,238,0.12);
}

.w0f8d-footer-brand {
    font-size: 1.3rem;
    color: var(--w0f8d-muted);
    line-height: 1.8rem;
    margin-bottom: 12px;
}

.w0f8d-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.w0f8d-partner-badge {
    padding: 4px 10px;
    background: rgba(238,130,238,0.08);
    border: 1px solid rgba(238,130,238,0.2);
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--w0f8d-primary);
}

.w0f8d-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 14px;
}

.w0f8d-footer-links a {
    font-size: 1.2rem;
    color: var(--w0f8d-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.w0f8d-footer-links a:hover { color: var(--w0f8d-primary); }

.w0f8d-footer-copy {
    font-size: 1.1rem;
    color: var(--w0f8d-muted);
    text-align: center;
    border-top: 1px solid rgba(173,181,189,0.1);
    padding-top: 10px;
}

/* Bottom nav */
.w0f8d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: linear-gradient(180deg, var(--w0f8d-bg-light), var(--w0f8d-bg));
    border-top: 1px solid rgba(238,130,238,0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

@media (min-width: 769px) {
    .w0f8d-bottom-nav { display: none; }
}

.w0f8d-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    background: none;
    border: none;
    color: var(--w0f8d-muted);
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px;
    font-family: var(--w0f8d-font);
}

.w0f8d-bottom-btn:hover, .w0f8d-bottom-btn.active {
    color: var(--w0f8d-primary);
    transform: scale(1.08);
}

.w0f8d-bottom-btn .material-icons,
.w0f8d-bottom-btn .fas,
.w0f8d-bottom-btn .far,
.w0f8d-bottom-btn .fad,
.w0f8d-bottom-btn .bi {
    font-size: 22px;
    margin-bottom: 2px;
}

.w0f8d-bottom-btn span {
    font-size: 1rem;
    line-height: 1.2rem;
}

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

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

/* Utility */
.w0f8d-text-center { text-align: center; }
.w0f8d-mt-10 { margin-top: 10px; }
.w0f8d-mb-10 { margin-bottom: 10px; }

/* Winner showcase */
.w0f8d-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 6px;
}

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

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

/* Payment methods */
.w0f8d-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.w0f8d-payment-item {
    padding: 6px 14px;
    background: var(--w0f8d-bg-light);
    border: 1px solid rgba(238,130,238,0.15);
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--w0f8d-text);
}

/* RTP table compact */
.w0f8d-rtp-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(173,181,189,0.08);
    font-size: 1.2rem;
}

.w0f8d-rtp-row span:first-child { color: var(--w0f8d-text); }
.w0f8d-rtp-row span:last-child { color: var(--w0f8d-accent); font-weight: 600; }

/* H1 heading */
.w0f8d-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    padding: 14px 12px;
    line-height: 2.4rem;
}

/* Responsive */
@media (max-width: 430px) {
    .w0f8d-container { max-width: 100%; }
}
