/**
 * kkkllogin - Main Stylesheet
 * Version: 1.0.0
 * All classes use prefix: v88c-
 */

/* CSS Variables */
:root {
    --v88c-bg-dark: #1E1E1E;
    --v88c-bg-medium: #2A2A2A;
    --v88c-bg-light: #3A3A3A;
    --v88c-text-primary: #E6E6FA;
    --v88c-text-secondary: #F8F8FF;
    --v88c-accent: #FFCCCB;
    --v88c-accent-hover: #FFB6B6;
    --v88c-border: #495057;
    --v88c-shadow: rgba(0, 0, 0, 0.3);
    --v88c-gradient: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
    --v88c-radius: 8px;
    --v88c-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--v88c-bg-dark);
    color: var(--v88c-text-primary);
    line-height: 1.5rem;
    min-height: 100vh;
}

/* Container */
.v88c-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.v88c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--v88c-bg-dark);
    border-bottom: 1px solid var(--v88c-border);
    z-index: 1000;
    padding: 0.8rem 1rem;
}

.v88c-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.v88c-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v88c-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v88c-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v88c-text-primary);
}

.v88c-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.v88c-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--v88c-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v88c-transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.v88c-btn-primary {
    background: var(--v88c-accent);
    color: var(--v88c-bg-dark);
}

.v88c-btn-primary:hover {
    background: var(--v88c-accent-hover);
    transform: translateY(-1px);
}

.v88c-btn-outline {
    background: transparent;
    border: 1px solid var(--v88c-accent);
    color: var(--v88c-accent);
}

.v88c-btn-outline:hover {
    background: var(--v88c-accent);
    color: var(--v88c-bg-dark);
}

.v88c-menu-toggle {
    background: none;
    border: none;
    color: var(--v88c-text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.v88c-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v88c-bg-medium);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.v88c-menu-active {
    right: 0;
}

.v88c-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(--v88c-transition);
}

.v88c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v88c-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--v88c-text-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.v88c-menu-nav {
    margin-top: 3rem;
}

.v88c-menu-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--v88c-text-primary);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--v88c-border);
    transition: var(--v88c-transition);
}

.v88c-menu-link:hover {
    color: var(--v88c-accent);
    padding-left: 0.5rem;
}

/* Main Content */
.v88c-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Slider */
.v88c-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--v88c-radius);
    margin: 1rem 0;
}

.v88c-slide {
    display: none;
    cursor: pointer;
}

.v88c-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--v88c-radius);
}

.v88c-slide:first-child {
    display: block;
}

/* Section */
.v88c-section {
    padding: 1.5rem 0;
}

.v88c-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--v88c-text-primary);
    border-left: 3px solid var(--v88c-accent);
    padding-left: 1rem;
}

/* Game Grid */
.v88c-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v88c-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--v88c-transition);
}

.v88c-game-item:hover {
    transform: translateY(-3px);
}

.v88c-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--v88c-radius);
    object-fit: cover;
}

.v88c-game-name {
    font-size: 1rem;
    color: var(--v88c-text-secondary);
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.v88c-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v88c-accent);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Card */
.v88c-card {
    background: var(--v88c-bg-medium);
    border-radius: var(--v88c-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--v88c-border);
}

.v88c-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--v88c-text-primary);
}

.v88c-card-text {
    font-size: 1.3rem;
    color: var(--v88c-text-secondary);
    line-height: 1.8rem;
}

.v88c-card-text a {
    color: var(--v88c-accent);
    text-decoration: none;
}

.v88c-card-text a:hover {
    text-decoration: underline;
}

/* Promo Link */
.v88c-promo-link {
    color: var(--v88c-accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--v88c-transition);
}

.v88c-promo-link:hover {
    color: var(--v88c-accent-hover);
}

/* Footer */
.v88c-footer {
    background: var(--v88c-bg-medium);
    padding: 2rem 1rem;
    border-top: 1px solid var(--v88c-border);
}

.v88c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v88c-footer-link {
    color: var(--v88c-text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--v88c-transition);
}

.v88c-footer-link:hover {
    color: var(--v88c-accent);
}

.v88c-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v88c-partners img {
    height: 24px;
    opacity: 0.7;
    transition: var(--v88c-transition);
}

.v88c-partners img:hover {
    opacity: 1;
}

.v88c-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v88c-border);
}

/* Bottom Navigation */
.v88c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v88c-bg-dark);
    border-top: 1px solid var(--v88c-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
}

.v88c-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--v88c-text-secondary);
    cursor: pointer;
    transition: var(--v88c-transition);
    text-decoration: none;
}

.v88c-nav-btn:hover,
.v88c-nav-btn.active {
    color: var(--v88c-accent);
}

.v88c-nav-btn i,
.v88c-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.v88c-nav-btn span {
    font-size: 10px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .v88c-bottom-nav {
        display: none;
    }

    .v88c-main {
        padding-bottom: 2rem;
    }
}

/* Mobile specific padding */
@media (max-width: 768px) {
    .v88c-main {
        padding-bottom: 80px;
    }
}

/* Features List */
.v88c-features {
    display: grid;
    gap: 1rem;
}

.v88c-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--v88c-bg-light);
    border-radius: var(--v88c-radius);
}

.v88c-feature-icon {
    font-size: 2rem;
    color: var(--v88c-accent);
}

.v88c-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.v88c-feature-content p {
    font-size: 1.1rem;
    color: var(--v88c-text-secondary);
}

/* RTP Stats */
.v88c-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.v88c-rtp-item {
    background: var(--v88c-bg-light);
    padding: 1rem;
    border-radius: var(--v88c-radius);
    text-align: center;
}

.v88c-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v88c-accent);
}

.v88c-rtp-label {
    font-size: 1rem;
    color: var(--v88c-text-secondary);
}

/* FAQ */
.v88c-faq-item {
    border-bottom: 1px solid var(--v88c-border);
    padding: 1rem 0;
}

.v88c-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v88c-text-primary);
    margin-bottom: 0.5rem;
}

.v88c-faq-answer {
    font-size: 1.2rem;
    color: var(--v88c-text-secondary);
    line-height: 1.6rem;
}

/* Steps */
.v88c-steps {
    counter-reset: step;
}

.v88c-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--v88c-bg-light);
    border-radius: var(--v88c-radius);
}

.v88c-step-num {
    width: 28px;
    height: 28px;
    background: var(--v88c-accent);
    color: var(--v88c-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.v88c-step-content {
    flex: 1;
}

.v88c-step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.v88c-step-text {
    font-size: 1.1rem;
    color: var(--v88c-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .v88c-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v88c-rtp-grid {
        grid-template-columns: 1fr;
    }
}
