/**
 * lucky taya - Main Stylesheet
 * Prefix: v755-
 * Version: 1.0.0
 * Colors: #80CBC4 (primary) | #141414 (background)
 */

/* CSS Variables */
:root {
    --v755-primary: #80CBC4;
    --v755-primary-light: #a7e0db;
    --v755-primary-dark: #4f9a94;
    --v755-bg: #141414;
    --v755-bg-light: #1e1e1e;
    --v755-bg-card: #252525;
    --v755-text: #ffffff;
    --v755-text-muted: #b0b0b0;
    --v755-accent: #80CBC4;
    --v755-success: #4ade80;
    --v755-warning: #fbbf24;
    --v755-danger: #f87171;
    --v755-border: #333333;
    --v755-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--v755-bg);
    color: var(--v755-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--v755-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v755-primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.v755-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.v755-wrapper {
    width: 100%;
    padding: 1.6rem;
}

/* Header */
.v755-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v755-bg) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--v755-border);
    transition: box-shadow 0.3s ease;
}

.v755-header-scrolled {
    box-shadow: 0 4px 20px var(--v755-shadow);
}

.v755-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.v755-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v755-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.v755-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v755-primary);
    letter-spacing: 0.5px;
}

.v755-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v755-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.v755-btn-primary {
    background: linear-gradient(135deg, var(--v755-primary) 0%, var(--v755-primary-dark) 100%);
    color: var(--v755-bg);
}

.v755-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 203, 196, 0.4);
}

.v755-btn-outline {
    background: transparent;
    border: 2px solid var(--v755-primary);
    color: var(--v755-primary);
}

.v755-btn-outline:hover {
    background: var(--v755-primary);
    color: var(--v755-bg);
}

.v755-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.v755-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--v755-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.v755-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v755-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.v755-menu-active {
    right: 0;
}

.v755-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;
}

.v755-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v755-nav-list {
    list-style: none;
}

.v755-nav-item {
    border-bottom: 1px solid var(--v755-border);
}

.v755-nav-link {
    display: block;
    padding: 1.4rem 1rem;
    color: var(--v755-text);
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.v755-nav-link:hover {
    color: var(--v755-primary);
    padding-left: 1.5rem;
}

/* Carousel */
.v755-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 6rem;
    border-radius: 0 0 20px 20px;
}

.v755-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.v755-slide:first-child {
    display: block;
}

.v755-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v755-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v755-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v755-dot-active {
    background: var(--v755-primary);
    transform: scale(1.2);
}

/* Main Content */
.v755-main {
    padding-top: 7rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .v755-main {
        padding-bottom: 8rem;
    }
}

/* Section Titles */
.v755-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v755-primary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--v755-primary);
}

.v755-section-subtitle {
    font-size: 1.6rem;
    color: var(--v755-text-muted);
    margin-bottom: 2rem;
}

/* Game Grid */
.v755-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0.5rem;
}

.v755-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--v755-bg-card);
    border-radius: 12px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.v755-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--v755-primary);
    box-shadow: 0 8px 25px rgba(128, 203, 196, 0.2);
}

.v755-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.6rem;
}

.v755-game-name {
    font-size: 1.1rem;
    color: var(--v755-text);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.v755-category-section {
    margin-bottom: 2.5rem;
}

.v755-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding: 0 0.5rem;
}

.v755-category-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--v755-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v755-category-title i {
    font-size: 2rem;
}

/* Content Sections */
.v755-content-section {
    background: var(--v755-bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--v755-border);
}

.v755-content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v755-primary);
    margin-bottom: 1.2rem;
}

.v755-content-text {
    font-size: 1.4rem;
    color: var(--v755-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.v755-content-text:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.v755-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.v755-feature-item {
    background: var(--v755-bg-light);
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
    border: 1px solid var(--v755-border);
    transition: all 0.3s ease;
}

.v755-feature-item:hover {
    border-color: var(--v755-primary);
}

.v755-feature-icon {
    font-size: 2.8rem;
    color: var(--v755-primary);
    margin-bottom: 0.8rem;
}

.v755-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v755-text);
    margin-bottom: 0.4rem;
}

.v755-feature-desc {
    font-size: 1.2rem;
    color: var(--v755-text-muted);
}

/* RTP Table */
.v755-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.v755-rtp-table th,
.v755-rtp-table td {
    padding: 1rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--v755-border);
}

.v755-rtp-table th {
    color: var(--v755-primary);
    font-weight: 600;
}

.v755-rtp-table td {
    color: var(--v755-text-muted);
}

.v755-rtp-high {
    color: var(--v755-success);
    font-weight: 600;
}

/* Promo Banner */
.v755-promo-banner {
    background: linear-gradient(135deg, var(--v755-primary-dark) 0%, var(--v755-primary) 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.v755-promo-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v755-bg);
    margin-bottom: 0.8rem;
}

.v755-promo-desc {
    font-size: 1.4rem;
    color: var(--v755-bg);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.v755-promo-btn {
    display: inline-block;
    background: var(--v755-bg);
    color: var(--v755-primary);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.v755-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.v755-footer {
    background: var(--v755-bg-light);
    border-top: 1px solid var(--v755-border);
    padding: 2.5rem 1.6rem;
    margin-top: 2rem;
}

.v755-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.v755-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v755-footer-link {
    font-size: 1.3rem;
    color: var(--v755-text-muted);
    transition: color 0.3s ease;
}

.v755-footer-link:hover {
    color: var(--v755-primary);
}

.v755-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.v755-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--v755-bg-card);
    padding: 4px;
}

.v755-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--v755-text-muted);
}

/* Bottom Navigation */
.v755-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.98) 0%, var(--v755-bg-light) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--v755-border);
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.v755-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.v755-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.v755-nav-btn:hover {
    background: rgba(128, 203, 196, 0.1);
}

.v755-nav-btn:active {
    transform: scale(0.95);
}

.v755-nav-btn-icon {
    font-size: 24px;
    color: var(--v755-text-muted);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.v755-nav-btn-text {
    font-size: 11px;
    color: var(--v755-text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.v755-nav-btn:hover .v755-nav-btn-icon,
.v755-nav-btn:hover .v755-nav-btn-text,
.v755-nav-btn-active .v755-nav-btn-icon,
.v755-nav-btn-active .v755-nav-btn-text {
    color: var(--v755-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .v755-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.v755-text-center { text-align: center; }
.v755-text-primary { color: var(--v755-primary); }
.v755-mb-1 { margin-bottom: 1rem; }
.v755-mb-2 { margin-bottom: 2rem; }
.v755-mb-3 { margin-bottom: 3rem; }
.v755-py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Responsive adjustments */
@media (max-width: 380px) {
    .v755-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v755-game-icon {
        width: 50px;
        height: 50px;
    }

    .v755-game-name {
        font-size: 1rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--v755-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--v755-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--v755-primary);
}
