/**
 * Jjj777 - Core Stylesheet
 * All classes use prefix 'w7df6-' for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --w7df6-primary: #FF9800;
    --w7df6-secondary: #FFAA00;
    --w7df6-accent: #AFEEEE;
    --w7df6-bg-dark: #0C0C0C;
    --w7df6-bg-light: #1a1a1a;
    --w7df6-text-light: #E0FFFF;
    --w7df6-text-gray: #BBBBBB;
    --w7df6-border: rgba(255, 152, 0, 0.3);
    --w7df6-shadow: 0 4px 20px rgba(255, 152, 0, 0.15);
}

/* 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', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--w7df6-bg-dark);
    color: var(--w7df6-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.w7df6-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.w7df6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--w7df6-bg-dark) 0%, rgba(12, 12, 12, 0.95) 100%);
    border-bottom: 1px solid var(--w7df6-border);
    z-index: 1000;
    padding: 0.8rem 1rem;
}

.w7df6-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.w7df6-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.w7df6-logo img {
    width: 28px;
    height: 28px;
}

.w7df6-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--w7df6-primary), var(--w7df6-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w7df6-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.w7df6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.w7df6-btn-login {
    background: transparent;
    border: 1px solid var(--w7df6-primary);
    color: var(--w7df6-primary);
}

.w7df6-btn-login:hover {
    background: var(--w7df6-primary);
    color: var(--w7df6-bg-dark);
}

.w7df6-btn-register {
    background: linear-gradient(135deg, var(--w7df6-primary), var(--w7df6-secondary));
    color: var(--w7df6-bg-dark);
}

.w7df6-btn-register:hover {
    transform: scale(1.05);
    box-shadow: var(--w7df6-shadow);
}

/* Hamburger Menu */
.w7df6-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.w7df6-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--w7df6-primary);
    transition: all 0.3s ease;
}

.w7df6-hamburger.w7df6-active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.w7df6-hamburger.w7df6-active span:nth-child(2) {
    opacity: 0;
}

.w7df6-hamburger.w7df6-active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.w7df6-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.w7df6-menu-overlay.w7df6-active {
    opacity: 1;
    visibility: visible;
}

.w7df6-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--w7df6-bg-light);
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.w7df6-mobile-menu.w7df6-active {
    right: 0;
}

.w7df6-mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--w7df6-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.w7df6-mobile-menu a:hover {
    color: var(--w7df6-primary);
    padding-left: 1.5rem;
}

/* Slider */
.w7df6-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem;
    margin-top: 1rem;
}

.w7df6-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.w7df6-slide.w7df6-active {
    opacity: 1;
}

.w7df6-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w7df6-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.w7df6-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w7df6-slide-dot.w7df6-active {
    background: var(--w7df6-primary);
    width: 20px;
    border-radius: 4px;
}

/* Main Content */
.w7df6-main {
    padding-top: 5.5rem;
    padding-bottom: 8rem;
}

/* Section Title */
.w7df6-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--w7df6-text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w7df6-section-title i {
    color: var(--w7df6-primary);
}

/* Game Grid */
.w7df6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.w7df6-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
    background: var(--w7df6-bg-light);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.w7df6-game-item:hover {
    border-color: var(--w7df6-primary);
    transform: translateY(-2px);
}

.w7df6-game-item img {
    width: 48px;
    height: 48px;
    border-radius: 0.6rem;
    margin-bottom: 0.4rem;
}

.w7df6-game-item span {
    font-size: 1rem;
    color: var(--w7df6-text-gray);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Category Section */
.w7df6-category-section {
    margin-bottom: 2rem;
}

.w7df6-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--w7df6-primary);
}

.w7df6-category-header i {
    font-size: 2rem;
    color: var(--w7df6-primary);
}

.w7df6-category-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

/* Cards */
.w7df6-card {
    background: var(--w7df6-bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.w7df6-card h3 {
    font-size: 1.5rem;
    color: var(--w7df6-primary);
    margin-bottom: 1rem;
}

.w7df6-card p {
    color: var(--w7df6-text-gray);
    line-height: 1.8rem;
    margin-bottom: 1rem;
}

.w7df6-card ul {
    list-style: none;
    padding-left: 0;
}

.w7df6-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--w7df6-text-gray);
}

.w7df6-card li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--w7df6-primary);
}

/* Promotional Link */
.w7df6-promo-link {
    color: var(--w7df6-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w7df6-promo-link:hover {
    color: var(--w7df6-secondary);
    text-decoration: underline;
}

/* Bottom Navigation */
.w7df6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--w7df6-bg-dark) 100%);
    border-top: 1px solid var(--w7df6-border);
    z-index: 1000;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

.w7df6-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;
    border-radius: 0.8rem;
}

.w7df6-nav-item:hover {
    background: rgba(255, 152, 0, 0.1);
}

.w7df6-nav-item.active {
    color: var(--w7df6-primary);
}

.w7df6-nav-item i {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.w7df6-nav-item span {
    font-size: 10px;
    color: var(--w7df6-text-gray);
}

.w7df6-nav-item.active span {
    color: var(--w7df6-primary);
}

/* Footer */
.w7df6-footer {
    background: var(--w7df6-bg-light);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--w7df6-border);
}

.w7df6-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.w7df6-footer-links a {
    color: var(--w7df6-text-gray);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.w7df6-footer-links a:hover {
    color: var(--w7df6-primary);
}

.w7df6-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.w7df6-partners img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.w7df6-partners img:hover {
    opacity: 1;
}

.w7df6-copyright {
    text-align: center;
    color: var(--w7df6-text-gray);
    font-size: 1.1rem;
}

/* CTA Button */
.w7df6-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--w7df6-primary), var(--w7df6-secondary));
    color: var(--w7df6-bg-dark);
    padding: 1rem 2rem;
    border-radius: 2.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.w7df6-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--w7df6-shadow);
}

/* Features Grid */
.w7df6-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w7df6-feature {
    background: var(--w7df6-bg-light);
    padding: 1.2rem;
    border-radius: 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.w7df6-feature i {
    font-size: 2.4rem;
    color: var(--w7df6-primary);
    margin-bottom: 0.5rem;
}

.w7df6-feature h4 {
    font-size: 1.2rem;
    color: var(--w7df6-text-light);
    margin-bottom: 0.3rem;
}

.w7df6-feature p {
    font-size: 1rem;
    color: var(--w7df6-text-gray);
}

/* RTP Table */
.w7df6-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.w7df6-rtp-table th,
.w7df6-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w7df6-rtp-table th {
    color: var(--w7df6-primary);
    font-size: 1.2rem;
}

.w7df6-rtp-table td {
    color: var(--w7df6-text-gray);
    font-size: 1.1rem;
}

/* FAQ Section */
.w7df6-faq-item {
    background: var(--w7df6-bg-light);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.w7df6-faq-question {
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--w7df6-text-light);
}

.w7df6-faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--w7df6-text-gray);
    line-height: 1.6;
}

/* Responsive - Hide bottom nav on desktop */
@media (min-width: 769px) {
    .w7df6-bottom-nav {
        display: none;
    }

    .w7df6-main {
        padding-bottom: 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .w7df6-main {
        padding-bottom: 8rem;
    }
}

/* Promo Banner */
.w7df6-promo-banner {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 170, 0, 0.1));
    border: 1px solid var(--w7df6-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.w7df6-promo-banner h3 {
    color: var(--w7df6-primary);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.w7df6-promo-banner p {
    color: var(--w7df6-text-gray);
    margin-bottom: 1rem;
}

/* Achievement Badge */
.w7df6-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 152, 0, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 1rem;
    color: var(--w7df6-primary);
    margin: 0.3rem;
}

/* Security Section */
.w7df6-security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--w7df6-bg-light);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
}

.w7df6-security-item i {
    font-size: 2rem;
    color: var(--w7df6-accent);
}

.w7df6-security-item h4 {
    color: var(--w7df6-text-light);
    font-size: 1.2rem;
}

.w7df6-security-item p {
    color: var(--w7df6-text-gray);
    font-size: 1rem;
}
