/**
 * jilikkk app - CSS Design System
 * All classes use prefix "v772-" to avoid conflicts
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v772-primary: #FF8A80;
    --v772-secondary: #66CDAA;
    --v772-accent: #7FFF00;
    --v772-success: #9AFF9A;
    --v772-dark: #2E4057;
    --v772-bg: #1a2634;
    --v772-bg-light: #243447;
    --v772-text: #ffffff;
    --v772-text-muted: #b8c5d6;
    --v772-border: #3a4a5c;
    --v772-gradient: linear-gradient(135deg, #2E4057 0%, #1a2634 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--v772-bg);
    color: var(--v772-text);
    line-height: 1.5;
    font-size: 1.4rem;
    min-height: 100vh;
}

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

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

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

/* Header */
.v772-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v772-gradient);
    border-bottom: 1px solid var(--v772-border);
    padding: 0.8rem 0;
}

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

.v772-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v772-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v772-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v772-primary);
}

.v772-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v772-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    min-height: 36px;
}

.v772-btn-primary {
    background: var(--v772-primary);
    color: var(--v772-dark);
}

.v772-btn-primary:hover {
    background: #ff6b6b;
    transform: scale(1.02);
}

.v772-btn-secondary {
    background: var(--v772-secondary);
    color: var(--v772-dark);
}

.v772-btn-secondary:hover {
    background: #4db8a3;
    transform: scale(1.02);
}

.v772-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v772-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.v772-menu-active {
    right: 0;
}

.v772-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;
}

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

.v772-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v772-border);
}

.v772-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v772-primary);
}

.v772-menu-close {
    background: none;
    border: none;
    color: var(--v772-text);
    font-size: 2rem;
    cursor: pointer;
}

.v772-menu-nav {
    list-style: none;
}

.v772-menu-item {
    margin-bottom: 0.5rem;
}

.v772-menu-link {
    display: block;
    padding: 1rem;
    color: var(--v772-text);
    font-size: 1.4rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.v772-menu-link:hover {
    background: var(--v772-dark);
    color: var(--v772-primary);
}

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

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

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

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

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

.v772-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v772-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.v772-slide-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Section */
.v772-section {
    padding: 2rem 0;
}

.v772-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--v772-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v772-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.v772-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v772-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.v772-game-item:hover {
    transform: scale(1.05);
}

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

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

/* Category Label */
.v772-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: var(--v772-bg-light);
    border-radius: 20px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--v772-border);
}

.v772-category-label i {
    color: var(--v772-secondary);
}

/* Cards */
.v772-card {
    background: var(--v772-bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--v772-border);
}

.v772-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--v772-secondary);
}

.v772-card-text {
    font-size: 1.3rem;
    color: var(--v772-text-muted);
    line-height: 1.6;
}

/* Feature List */
.v772-feature-list {
    display: grid;
    gap: 1rem;
}

.v772-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--v772-bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--v772-primary);
}

.v772-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--v772-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v772-primary);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.v772-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.v772-feature-content p {
    font-size: 1.2rem;
    color: var(--v772-text-muted);
}

/* Promo Link */
.v772-promo-link {
    color: var(--v772-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.v772-promo-link:hover {
    color: var(--v772-secondary);
}

/* Footer */
.v772-footer {
    background: var(--v772-gradient);
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--v772-border);
}

.v772-footer-content {
    text-align: center;
    padding: 0 1.2rem;
}

.v772-footer-desc {
    font-size: 1.2rem;
    color: var(--v772-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.v772-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.v772-footer-link {
    padding: 0.5rem 1rem;
    background: var(--v772-dark);
    border-radius: 4px;
    font-size: 1.1rem;
    color: var(--v772-text);
    transition: all 0.2s ease;
    cursor: pointer;
}

.v772-footer-link:hover {
    background: var(--v772-primary);
    color: var(--v772-dark);
}

.v772-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v772-footer-nav a {
    font-size: 1.1rem;
    color: var(--v772-text-muted);
    transition: color 0.2s ease;
}

.v772-footer-nav a:hover {
    color: var(--v772-primary);
}

.v772-copyright {
    font-size: 1.1rem;
    color: var(--v772-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--v772-border);
}

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

.v772-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--v772-text-muted);
}

.v772-nav-item:hover {
    color: var(--v772-primary);
    transform: scale(1.1);
}

.v772-nav-item.active {
    color: var(--v772-primary);
}

.v772-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v772-nav-item span {
    font-size: 1rem;
}

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

.v772-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.v772-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Testimonials */
.v772-testimonial {
    background: var(--v772-bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--v772-secondary);
}

.v772-testimonial-text {
    font-size: 1.3rem;
    color: var(--v772-text);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.v772-testimonial-author {
    font-size: 1.2rem;
    color: var(--v772-primary);
    font-weight: 600;
}

/* Payment Methods */
.v772-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v772-payment-item {
    background: var(--v772-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--v772-border);
}

.v772-payment-item i {
    font-size: 2.4rem;
    color: var(--v772-secondary);
    margin-bottom: 0.4rem;
}

.v772-payment-item span {
    font-size: 1rem;
    color: var(--v772-text-muted);
}

/* Winners */
.v772-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--v772-bg-light);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.v772-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--v772-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.v772-winner-info {
    flex: 1;
}

.v772-winner-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.v772-winner-game {
    font-size: 1rem;
    color: var(--v772-text-muted);
}

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

/* FAQ */
.v772-faq-item {
    margin-bottom: 0.8rem;
}

.v772-faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v772-primary);
    margin-bottom: 0.4rem;
}

.v772-faq-answer {
    font-size: 1.2rem;
    color: var(--v772-text-muted);
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 2px solid var(--v772-border);
}

/* CTA Section */
.v772-cta {
    background: linear-gradient(135deg, var(--v772-primary), var(--v772-secondary));
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.v772-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--v772-dark);
}

.v772-cta-text {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--v772-dark);
}

.v772-cta .v772-btn {
    font-size: 1.4rem;
    padding: 1rem 2.5rem;
}

/* Responsive */
@media (min-width: 769px) {
    .v772-bottom-nav {
        display: none;
    }

    .v772-main {
        padding-bottom: 2rem;
    }

    .v772-container {
        max-width: 768px;
    }

    .v772-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 430px) {
    .v772-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .v772-game-name {
        font-size: 0.9rem;
    }
}
