/* SuperKing PH Layout CSS - All classes use ve77- prefix */
/* Color Palette: #6A5ACD (primary), #BF360C (accent), #FF8000 (highlight), #3A3A3A (dark), #FFAA00 (gold) */

:root {
    --ve77-primary: #6A5ACD;
    --ve77-accent: #BF360C;
    --ve77-highlight: #FF8000;
    --ve77-dark: #3A3A3A;
    --ve77-gold: #FFAA00;
    --ve77-bg: #1a1a1a;
    --ve77-text: #ffffff;
    --ve77-text-muted: #cccccc;
    --ve77-border: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--ve77-text);
    background: var(--ve77-bg);
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Header Styles */
.ve77-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--ve77-primary), var(--ve77-accent));
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ve77-logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ve77-logo {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.ve77-site-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ve77-text);
    text-transform: uppercase;
}

.ve77-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ve77-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ve77-btn-register {
    background: var(--ve77-gold);
    color: var(--ve77-dark);
}

.ve77-btn-login {
    background: transparent;
    color: var(--ve77-text);
    border: 1px solid var(--ve77-text);
}

.ve77-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.ve77-menu-toggle {
    background: transparent;
    border: none;
    color: var(--ve77-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Navigation */
.ve77-mobile-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 250px;
    max-width: 80%;
    height: calc(100vh - 60px);
    background: var(--ve77-dark);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
}

.ve77-mobile-nav.ve77-active {
    right: 0;
}

.ve77-nav-list {
    list-style: none;
    padding: 2rem 0;
}

.ve77-nav-list li {
    border-bottom: 1px solid var(--ve77-border);
}

.ve77-nav-list a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--ve77-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.ve77-nav-list a:hover {
    background: var(--ve77-primary);
    padding-left: 2.5rem;
}

/* Main Content */
.ve77-main {
    margin-top: 60px;
    margin-bottom: 70px;
    padding: 0;
}

/* Carousel */
.ve77-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 200px;
}

.ve77-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.ve77-slide.ve77-active {
    opacity: 1;
}

.ve77-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ve77-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ve77-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ve77-dot.ve77-active {
    background: var(--ve77-gold);
    width: 24px;
    border-radius: 5px;
}

/* Section Styles */
.ve77-section {
    padding: 2rem 1.5rem;
}

.ve77-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ve77-gold);
    border-left: 4px solid var(--ve77-primary);
    padding-left: 1rem;
}

.ve77-section-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--ve77-highlight);
}

/* Game Grid */
.ve77-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.ve77-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ve77-game-item:hover {
    transform: scale(1.05);
}

.ve77-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ve77-game-name {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: var(--ve77-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Blocks */
.ve77-content-block {
    background: linear-gradient(135deg, rgba(106,90,205,0.1), rgba(191,54,12,0.1));
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--ve77-border);
}

.ve77-content-text {
    line-height: 1.8;
    color: var(--ve77-text-muted);
    margin-bottom: 1rem;
}

.ve77-promo-link {
    display: inline-block;
    color: var(--ve77-gold);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ve77-promo-link:hover {
    color: var(--ve77-highlight);
}

/* Buttons */
.ve77-btn-primary {
    background: linear-gradient(135deg, var(--ve77-primary), var(--ve77-accent));
    color: var(--ve77-text);
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
    border-radius: 25px;
    display: block;
    width: fit-content;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(106,90,205,0.4);
}

.ve77-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(106,90,205,0.6);
}

/* Lists */
.ve77-list {
    list-style: none;
    padding-left: 0;
}

.ve77-list-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--ve77-border);
    line-height: 1.6;
}

.ve77-list-item:before {
    content: "★";
    color: var(--ve77-gold);
    margin-right: 0.8rem;
    font-size: 1.6rem;
}

/* FAQ Styles */
.ve77-faq-item {
    background: rgba(106,90,205,0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--ve77-primary);
}

.ve77-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ve77-gold);
    margin-bottom: 0.8rem;
}

.ve77-faq-answer {
    color: var(--ve77-text-muted);
    line-height: 1.7;
}

/* Footer */
.ve77-footer {
    background: var(--ve77-dark);
    padding: 2rem 1.5rem;
    margin-bottom: 64px;
}

.ve77-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.ve77-footer-link {
    color: var(--ve77-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.ve77-footer-link:hover {
    color: var(--ve77-gold);
}

.ve77-partners {
    margin: 2rem 0;
}

.ve77-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.ve77-partner-logo {
    width: 100%;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ve77-partner-logo:hover {
    opacity: 1;
}

.ve77-copyright {
    text-align: center;
    color: var(--ve77-text-muted);
    font-size: 1.2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ve77-border);
}

/* Bottom Navigation */
.ve77-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--ve77-dark), #2a2a2a);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.ve77-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--ve77-text-muted);
    font-size: 1.2rem;
    min-width: 60px;
    transition: all 0.3s ease;
}

.ve77-nav-item:hover,
.ve77-nav-item.ve77-active {
    color: var(--ve77-gold);
}

.ve77-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.ve77-nav-label {
    font-size: 1rem;
}

/* Animations */
.ve77-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ve77-animate.ve77-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.ve77-text-center {
    text-align: center;
}

.ve77-text-highlight {
    color: var(--ve77-gold);
    font-weight: 600;
}

.ve77-mt-1 { margin-top: 1rem; }
.ve77-mt-2 { margin-top: 2rem; }
.ve77-mb-1 { margin-bottom: 1rem; }
.ve77-mb-2 { margin-bottom: 2rem; }

/* Responsive adjustments */
@media (max-width: 375px) {
    .ve77-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ve77-site-name {
        font-size: 1.4rem;
    }
}
