/**
 * SuperPH Login Gaming Platform - Theme Styles
 * Website: superphlogin.club
 * CSS Class Prefix: w7ebe-
 * Colors: #ADD8E6 | #E9ECEF | #87CEEB | #FAF0E6 | #1B263B | #DEB887
 */

/* CSS Variables */
:root {
    --w7ebe-primary: #87CEEB;
    --w7ebe-secondary: #DEB887;
    --w7ebe-accent: #ADD8E6;
    --w7ebe-bg: #1B263B;
    --w7ebe-text: #E9ECEF;
    --w7ebe-light: #FAF0E6;
    --w7ebe-dark: #1B263B;
    --w7ebe-header-height: 60px;
    --w7ebe-nav-height: 64px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--w7ebe-bg);
    color: var(--w7ebe-light);
    line-height: 1.5;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.w7ebe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--w7ebe-dark) 0%, #2a3f5f 100%);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.w7ebe-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: var(--w7ebe-header-height);
}

.w7ebe-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.w7ebe-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.w7ebe-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w7ebe-primary);
}

.w7ebe-logo-text span {
    color: var(--w7ebe-secondary);
}

.w7ebe-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.w7ebe-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w7ebe-btn-login {
    background: transparent;
    border: 2px solid var(--w7ebe-primary);
    color: var(--w7ebe-primary);
}

.w7ebe-btn-login:hover {
    background: var(--w7ebe-primary);
    color: var(--w7ebe-dark);
}

.w7ebe-btn-register {
    background: linear-gradient(135deg, var(--w7ebe-primary) 0%, var(--w7ebe-secondary) 100%);
    color: var(--w7ebe-dark);
}

.w7ebe-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.4);
}

.w7ebe-menu-toggle {
    background: transparent;
    border: none;
    color: var(--w7ebe-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.w7ebe-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--w7ebe-dark) 0%, #0d1b2a 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.w7ebe-menu-active {
    right: 0;
}

.w7ebe-mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--w7ebe-light);
    font-size: 2.4rem;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.w7ebe-mobile-nav-list {
    list-style: none;
    margin-top: 50px;
}

.w7ebe-mobile-nav-item {
    margin-bottom: 5px;
}

.w7ebe-mobile-nav-link {
    display: block;
    padding: 12px 15px;
    color: var(--w7ebe-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.w7ebe-mobile-nav-link:hover {
    background: rgba(135, 206, 235, 0.2);
    color: var(--w7ebe-primary);
}

.w7ebe-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.w7ebe-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.w7ebe-main {
    padding-top: calc(var(--w7ebe-header-height) + 10px);
    padding-bottom: calc(var(--w7ebe-nav-height) + 20px);
    min-height: 100vh;
}

@media (min-width: 769px) {
    .w7ebe-main {
        padding-bottom: 20px;
    }
}

/* Page Header */
.w7ebe-page-header {
    background: linear-gradient(135deg, var(--w7ebe-dark) 0%, #2a3f5f 100%);
    padding: 20px 15px;
    text-align: center;
}

.w7ebe-page-title {
    font-size: 2rem;
    color: var(--w7ebe-primary);
    margin-bottom: 8px;
}

.w7ebe-page-breadcrumb {
    font-size: 1.2rem;
    color: var(--w7ebe-accent);
}

.w7ebe-breadcrumb-link {
    color: var(--w7ebe-secondary);
    text-decoration: none;
}

/* Slider */
.w7ebe-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.w7ebe-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.w7ebe-slide-active {
    opacity: 1;
}

.w7ebe-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Section Styles */
.w7ebe-section {
    padding: 20px 15px;
}

.w7ebe-section-title {
    font-size: 1.8rem;
    color: var(--w7ebe-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w7ebe-section-title i {
    color: var(--w7ebe-secondary);
}

/* Game Grid */
.w7ebe-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.w7ebe-game-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w7ebe-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.2);
}

.w7ebe-game-img-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
}

.w7ebe-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w7ebe-game-info {
    padding: 8px;
    text-align: center;
}

.w7ebe-game-name {
    font-size: 1.1rem;
    color: var(--w7ebe-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features */
.w7ebe-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.w7ebe-feature-card {
    background: linear-gradient(135deg, rgba(135,206,235,0.1) 0%, rgba(222,184,135,0.1) 100%);
    border: 1px solid rgba(135,206,235,0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w7ebe-feature-card:hover {
    background: linear-gradient(135deg, rgba(135,206,235,0.2) 0%, rgba(222,184,135,0.2) 100%);
    transform: scale(1.02);
}

.w7ebe-feature-icon {
    font-size: 2.4rem;
    color: var(--w7ebe-primary);
    margin-bottom: 8px;
}

.w7ebe-feature-title {
    font-size: 1.4rem;
    color: var(--w7ebe-light);
    margin-bottom: 4px;
}

.w7ebe-feature-desc {
    font-size: 1.2rem;
    color: var(--w7ebe-accent);
}

/* Help Section */
.w7ebe-help-section {
    padding: 15px;
    background: rgba(0,0,0,0.2);
    margin: 10px 15px;
    border-radius: 12px;
}

.w7ebe-help-title {
    font-size: 1.6rem;
    color: var(--w7ebe-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w7ebe-help-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--w7ebe-light);
}

.w7ebe-help-link {
    color: var(--w7ebe-secondary);
    text-decoration: none;
    font-weight: 600;
}

.w7ebe-help-link:hover {
    text-decoration: underline;
}

/* Promo Banner */
.w7ebe-promo-banner {
    background: linear-gradient(135deg, var(--w7ebe-primary) 0%, var(--w7ebe-secondary) 100%);
    padding: 20px 15px;
    margin: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
}

.w7ebe-promo-title {
    font-size: 1.8rem;
    color: var(--w7ebe-dark);
    margin-bottom: 8px;
}

.w7ebe-promo-desc {
    font-size: 1.3rem;
    color: #2a3f5f;
    margin-bottom: 12px;
}

/* Footer */
.w7ebe-footer {
    background: var(--w7ebe-dark);
    padding: 20px 15px;
    border-top: 1px solid rgba(135,206,235,0.2);
}

.w7ebe-footer-inner {
    text-align: center;
}

.w7ebe-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.w7ebe-footer-link {
    color: var(--w7ebe-accent);
    text-decoration: none;
    font-size: 1.3rem;
}

.w7ebe-footer-link:hover {
    color: var(--w7ebe-primary);
}

.w7ebe-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.w7ebe-partner-img {
    height: 24px;
    opacity: 0.7;
}

.w7ebe-copyright {
    font-size: 1.2rem;
    color: var(--w7ebe-text);
}

/* Bottom Navigation */
.w7ebe-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--w7ebe-nav-height);
    background: linear-gradient(180deg, #2a3f5f 0%, var(--w7ebe-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .w7ebe-bottom-nav {
        display: none;
    }
}

.w7ebe-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--w7ebe-accent);
    transition: all 0.3s ease;
}

.w7ebe-nav-item i,
.w7ebe-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.w7ebe-nav-item span {
    font-size: 1.1rem;
}

.w7ebe-nav-item:hover,
.w7ebe-nav-item-active {
    color: var(--w7ebe-primary);
}

.w7ebe-nav-item-active i,
.w7ebe-nav-item-active .material-icons {
    transform: scale(1.1);
}

/* Category Title */
.w7ebe-category-title {
    font-size: 1.5rem;
    color: var(--w7ebe-secondary);
    padding: 10px 15px 5px;
    border-bottom: 2px solid var(--w7ebe-primary);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 350px) {
    .w7ebe-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
