/**
 * jiljil.sbs - Core Stylesheet
 * Mobile-first gaming website design
 * Prefix: w1df1-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --w1df1-primary: #FF69B4;
    --w1df1-secondary: #FFEF94;
    --w1df1-accent: #FF0000;
    --w1df1-bg: #2C3E50;
    --w1df1-bg-dark: #1a252f;
    --w1df1-text: #FFF8DC;
    --w1df1-text-light: #ffffff;
    --w1df1-border: rgba(255, 105, 180, 0.3);
    --w1df1-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --w1df1-radius: 12px;
    --w1df1-radius-sm: 8px;
    --w1df1-transition: all 0.3s ease;
}

/* 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: var(--w1df1-bg);
    color: var(--w1df1-text);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

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

/* Header */
.w1df1-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--w1df1-bg-dark) 0%, var(--w1df1-bg) 100%);
    padding: 1rem 0;
    box-shadow: var(--w1df1-shadow);
}

.w1df1-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.w1df1-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w1df1-logo img {
    width: 32px;
    height: 32px;
}

.w1df1-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--w1df1-primary), var(--w1df1-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w1df1-header-actions {
    display: flex;
    gap: 0.8rem;
}

.w1df1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: var(--w1df1-radius-sm);
    cursor: pointer;
    transition: var(--w1df1-transition);
    min-height: 44px;
}

.w1df1-btn-primary {
    background: linear-gradient(135deg, var(--w1df1-primary), #ff85c1);
    color: var(--w1df1-bg-dark);
}

.w1df1-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.w1df1-btn-secondary {
    background: transparent;
    border: 2px solid var(--w1df1-primary);
    color: var(--w1df1-primary);
}

.w1df1-btn-secondary:hover {
    background: var(--w1df1-primary);
    color: var(--w1df1-bg-dark);
}

/* Mobile Menu Toggle */
.w1df1-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.w1df1-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--w1df1-primary);
    transition: var(--w1df1-transition);
}

.w1df1-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.w1df1-toggle-active span:nth-child(2) {
    opacity: 0;
}

.w1df1-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.w1df1-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w1df1-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 7rem 2rem 2rem;
    overflow-y: auto;
}

.w1df1-menu-open {
    right: 0;
}

.w1df1-mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.w1df1-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    color: var(--w1df1-text);
    border-radius: var(--w1df1-radius-sm);
    transition: var(--w1df1-transition);
}

.w1df1-mobile-menu a:hover {
    background: rgba(255, 105, 180, 0.15);
    color: var(--w1df1-primary);
}

.w1df1-mobile-menu a i {
    font-size: 1.8rem;
    width: 24px;
    text-align: center;
}

/* Menu Overlay */
.w1df1-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: var(--w1df1-transition);
}

.w1df1-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.w1df1-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

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

/* Carousel */
.w1df1-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--w1df1-radius) var(--w1df1-radius);
}

.w1df1-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.w1df1-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.w1df1-slide-active {
    opacity: 1;
    position: relative;
}

.w1df1-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Sections */
.w1df1-section {
    padding: 2rem 1.5rem;
}

.w1df1-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--w1df1-primary);
}

.w1df1-section-subtitle {
    font-size: 1.4rem;
    color: var(--w1df1-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.w1df1-game-category {
    margin-bottom: 2.5rem;
}

.w1df1-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--w1df1-primary);
    color: var(--w1df1-secondary);
}

.w1df1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w1df1-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--w1df1-transition);
}

.w1df1-game-item:hover {
    transform: translateY(-5px);
}

.w1df1-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--w1df1-radius-sm);
    margin-bottom: 0.5rem;
    border: 2px solid var(--w1df1-border);
}

.w1df1-game-item:hover img {
    border-color: var(--w1df1-primary);
}

.w1df1-game-name {
    font-size: 1.1rem;
    color: var(--w1df1-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Info Cards */
.w1df1-info-card {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 239, 148, 0.1));
    border: 1px solid var(--w1df1-border);
    border-radius: var(--w1df1-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.w1df1-info-card h3 {
    font-size: 1.6rem;
    color: var(--w1df1-primary);
    margin-bottom: 1rem;
}

.w1df1-info-card p {
    font-size: 1.3rem;
    color: var(--w1df1-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.w1df1-info-card p:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.w1df1-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w1df1-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--w1df1-radius-sm);
    text-align: center;
}

.w1df1-feature i {
    font-size: 2.4rem;
    color: var(--w1df1-primary);
    margin-bottom: 0.8rem;
}

.w1df1-feature h4 {
    font-size: 1.3rem;
    color: var(--w1df1-secondary);
    margin-bottom: 0.5rem;
}

.w1df1-feature p {
    font-size: 1.1rem;
    color: var(--w1df1-text);
}

/* CTA Section */
.w1df1-cta {
    background: linear-gradient(135deg, var(--w1df1-primary), #ff85c1);
    padding: 2rem;
    border-radius: var(--w1df1-radius);
    text-align: center;
    margin: 2rem 1.5rem;
}

.w1df1-cta h3 {
    font-size: 1.8rem;
    color: var(--w1df1-bg-dark);
    margin-bottom: 1rem;
}

.w1df1-cta p {
    font-size: 1.3rem;
    color: var(--w1df1-bg);
    margin-bottom: 1.5rem;
}

.w1df1-cta .w1df1-btn {
    background: var(--w1df1-bg-dark);
    color: var(--w1df1-primary);
}

.w1df1-cta .w1df1-btn:hover {
    background: var(--w1df1-bg);
}

/* Footer */
.w1df1-footer {
    background: var(--w1df1-bg-dark);
    padding: 2rem 1.5rem;
    padding-bottom: 90px;
}

.w1df1-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.w1df1-footer-brand p {
    font-size: 1.2rem;
    color: var(--w1df1-text);
    line-height: 1.6;
}

.w1df1-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.w1df1-footer-links a {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    background: rgba(255, 105, 180, 0.15);
    color: var(--w1df1-primary);
    border-radius: var(--w1df1-radius-sm);
    transition: var(--w1df1-transition);
}

.w1df1-footer-links a:hover {
    background: var(--w1df1-primary);
    color: var(--w1df1-bg-dark);
}

.w1df1-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 248, 220, 0.6);
}

/* Bottom Navigation */
.w1df1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--w1df1-bg-dark) 0%, #0f1519 100%);
    border-top: 1px solid var(--w1df1-border);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

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

.w1df1-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    cursor: pointer;
    transition: var(--w1df1-transition);
    border-radius: var(--w1df1-radius-sm);
    padding: 0.5rem;
}

.w1df1-nav-item:hover {
    background: rgba(255, 105, 180, 0.15);
}

.w1df1-nav-item i {
    font-size: 22px;
    color: var(--w1df1-text);
    margin-bottom: 0.3rem;
    transition: var(--w1df1-transition);
}

.w1df1-nav-item span {
    font-size: 10px;
    color: var(--w1df1-text);
    transition: var(--w1df1-transition);
}

.w1df1-nav-item:hover i,
.w1df1-nav-item:hover span {
    color: var(--w1df1-primary);
}

.w1df1-nav-item-active i,
.w1df1-nav-item-active span {
    color: var(--w1df1-primary);
}

/* Testimonials */
.w1df1-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--w1df1-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.w1df1-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.w1df1-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--w1df1-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w1df1-bg-dark);
}

.w1df1-testimonial-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--w1df1-secondary);
}

.w1df1-testimonial-text {
    font-size: 1.2rem;
    color: var(--w1df1-text);
    font-style: italic;
}

/* Payment Methods */
.w1df1-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.w1df1-payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--w1df1-radius-sm);
    font-size: 1.2rem;
    color: var(--w1df1-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* RTP Table */
.w1df1-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.w1df1-rtp-table th,
.w1df1-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--w1df1-border);
}

.w1df1-rtp-table th {
    color: var(--w1df1-primary);
    font-weight: 600;
}

.w1df1-rtp-table td {
    color: var(--w1df1-text);
}

/* Text Link Style */
.w1df1-text-link {
    color: var(--w1df1-primary);
    text-decoration: underline;
    cursor: pointer;
    transition: var(--w1df1-transition);
}

.w1df1-text-link:hover {
    color: var(--w1df1-secondary);
}

/* Winner Showcase */
.w1df1-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 105, 180, 0.1);
    border-radius: var(--w1df1-radius-sm);
    margin-bottom: 0.8rem;
}

.w1df1-winner-game {
    font-size: 1.2rem;
    color: var(--w1df1-secondary);
}

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

/* App Download */
.w1df1-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.w1df1-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--w1df1-primary);
    border-radius: var(--w1df1-radius-sm);
    cursor: pointer;
    transition: var(--w1df1-transition);
}

.w1df1-app-btn:hover {
    background: var(--w1df1-primary);
    color: var(--w1df1-bg-dark);
}

.w1df1-app-btn i {
    font-size: 2rem;
}

.w1df1-app-btn span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Partners */
.w1df1-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.w1df1-partner-logo {
    height: 30px;
    opacity: 0.7;
    transition: var(--w1df1-transition);
}

.w1df1-partner-logo:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    html {
        font-size: 60%;
    }
}

/* Utility Classes */
.w1df1-text-center {
    text-align: center;
}

.w1df1-mb-1 {
    margin-bottom: 1rem;
}

.w1df1-mb-2 {
    margin-bottom: 2rem;
}

.w1df1-mt-2 {
    margin-top: 2rem;
}
