/* SuperKing PH Mobile-First Design System */
/* Prefix: vc8f- for all classes to avoid conflicts */
/* Color Palette: #00FF7F | #228B22 | #EEEEEE | #262626 | #FF7F50 | #ADFF2F */

/* CSS Custom Properties */
:root {
    --vc8f-primary: #00FF7F;
    --vc8f-secondary: #228B22;
    --vc8f-light: #EEEEEE;
    --vc8f-dark: #262626;
    --vc8f-accent: #FF7F50;
    --vc8f-highlight: #ADFF2F;
    --vc8f-bg-main: #1a1a1a;
    --vc8f-text-primary: #EEEEEE;
    --vc8f-text-secondary: #ADFF2F;
    --vc8f-shadow: rgba(0, 255, 127, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--vc8f-text-primary);
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Header Styles */
.vc8f-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: linear-gradient(135deg, var(--vc8f-dark) 0%, #1a1a1a 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--vc8f-shadow);
    border-bottom: 2px solid var(--vc8f-primary);
}

.vc8f-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc8f-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vc8f-site-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vc8f-primary);
    text-shadow: 0 0 10px var(--vc8f-shadow);
}

.vc8f-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Button Styles */
.vc8f-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 44px;
    min-height: 44px;
}

.vc8f-btn-register {
    background: linear-gradient(135deg, var(--vc8f-primary) 0%, var(--vc8f-highlight) 100%);
    color: var(--vc8f-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

.vc8f-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.5);
}

.vc8f-btn-login {
    background: transparent;
    border: 2px solid var(--vc8f-primary);
    color: var(--vc8f-primary);
}

.vc8f-btn-login:hover {
    background: var(--vc8f-primary);
    color: var(--vc8f-dark);
}

.vc8f-btn-primary {
    background: linear-gradient(135deg, var(--vc8f-accent) 0%, #ff6b3d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
}

.vc8f-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.5);
}

/* Menu Toggle */
.vc8f-menu-toggle {
    background: transparent;
    border: none;
    color: var(--vc8f-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation */
.vc8f-mobile-nav {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    width: 100%;
    max-width: 430px;
    background: var(--vc8f-dark);
    z-index: 999;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.vc8f-mobile-nav.vc8f-active {
    transform: translateX(-50%) translateY(0);
}

.vc8f-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.vc8f-nav-list li {
    border-bottom: 1px solid rgba(0, 255, 127, 0.1);
}

.vc8f-nav-list li:last-child {
    border-bottom: none;
}

.vc8f-nav-list a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--vc8f-light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.vc8f-nav-list a:hover,
.vc8f-nav-list a.vc8f-active {
    background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 127, 0.2) 50%, transparent 100%);
    color: var(--vc8f-primary);
    padding-left: 3rem;
}

/* Main Content */
.vc8f-main {
    margin-top: 60px;
    margin-bottom: 64px;
    padding: 1.5rem;
    min-height: calc(100vh - 124px);
}

/* Carousel Styles */
.vc8f-carousel-container {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--vc8f-shadow);
}

.vc8f-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}

.vc8f-carousel-slide.vc8f-active {
    opacity: 1;
}

.vc8f-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc8f-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.vc8f-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vc8f-carousel-dot.vc8f-active {
    background: var(--vc8f-primary);
    transform: scale(1.2);
}

/* Section Styles */
.vc8f-section {
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    background: rgba(38, 38, 38, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.vc8f-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--vc8f-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px var(--vc8f-shadow);
}

.vc8f-section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vc8f-highlight);
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--vc8f-accent);
    padding-left: 1rem;
}

/* Game Grid */
.vc8f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.vc8f-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: rgba(34, 139, 34, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vc8f-game-item:hover {
    transform: translateY(-5px);
    background: rgba(34, 139, 34, 0.2);
    box-shadow: 0 8px 20px rgba(0, 255, 127, 0.3);
    border-color: var(--vc8f-primary);
}

.vc8f-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vc8f-game-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--vc8f-light);
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Content Blocks */
.vc8f-content-block {
    margin-top: 1.5rem;
    line-height: 1.8;
}

.vc8f-content-text {
    color: var(--vc8f-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.vc8f-text-center {
    text-align: center;
}

.vc8f-text-highlight {
    color: var(--vc8f-highlight);
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* List Styles */
.vc8f-list {
    list-style: none;
    margin: 1rem 0;
}

.vc8f-list-item {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: rgba(173, 255, 47, 0.05);
    border-left: 3px solid var(--vc8f-highlight);
    border-radius: 5px;
    color: var(--vc8f-light);
    font-size: 1.3rem;
    line-height: 1.6;
}

.vc8f-list-item strong {
    color: var(--vc8f-primary);
}

/* Promo Link */
.vc8f-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--vc8f-secondary) 0%, var(--vc8f-primary) 100%);
    color: var(--vc8f-dark);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.vc8f-promo-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.5);
}

/* FAQ Styles */
.vc8f-faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 127, 80, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 127, 80, 0.2);
}

.vc8f-faq-question {
    font-weight: 600;
    color: var(--vc8f-accent);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.vc8f-faq-answer {
    color: var(--vc8f-light);
    font-size: 1.3rem;
    line-height: 1.7;
}

/* Footer Styles */
.vc8f-footer {
    background: var(--vc8f-dark);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
    border-top: 2px solid var(--vc8f-primary);
}

.vc8f-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vc8f-footer-link {
    color: var(--vc8f-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.vc8f-footer-link:hover {
    color: var(--vc8f-primary);
}

.vc8f-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.vc8f-partner-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vc8f-partner-icon:hover {
    opacity: 1;
}

.vc8f-copyright {
    text-align: center;
    color: rgba(238, 238, 238, 0.6);
    font-size: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 127, 0.1);
}

/* Bottom Navigation Bar */
.vc8f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--vc8f-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 2px solid var(--vc8f-primary);
    box-shadow: 0 -2px 10px var(--vc8f-shadow);
    z-index: 1000;
}

.vc8f-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: rgba(238, 238, 238, 0.6);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    min-width: 60px;
    transition: all 0.3s ease;
}

.vc8f-bottom-nav-item:hover,
.vc8f-bottom-nav-item.vc8f-active {
    color: var(--vc8f-primary);
    transform: translateY(-2px);
}

.vc8f-nav-icon {
    font-size: 2.2rem;
}

.vc8f-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Animation Classes */
.vc8f-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.vc8f-animate.vc8f-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.vc8f-mt-1 { margin-top: 1rem; }
.vc8f-mt-2 { margin-top: 2rem; }
.vc8f-mb-1 { margin-bottom: 1rem; }
.vc8f-mb-2 { margin-bottom: 2rem; }

/* Responsive Adjustments */
@media (max-width: 375px) {
    html { font-size: 58%; }
    .vc8f-game-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 320px) {
    html { font-size: 55%; }
    .vc8f-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
}
