/**
 * Megaperya Layout Stylesheet
 * @description Main CSS file for megaperya.sbs website
 * @version 1.0.0
 * @prefix wccee-
 */

/* CSS Variables */
:root {
    --wccee-primary: #FFB347;
    --wccee-secondary: #00E5FF;
    --wccee-bg-dark: #34495E;
    --wccee-bg-light: #FFEBCD;
    --wccee-accent: #CD853F;
    --wccee-text-light: #FFFFFF;
    --wccee-text-dark: #34495E;
    --wccee-gradient: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
    --wccee-gradient-accent: linear-gradient(135deg, #FFB347 0%, #CD853F 100%);
    --wccee-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --wccee-radius: 12px;
}

/* Base Reset */
* {
    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;
    background: var(--wccee-bg-dark);
    color: var(--wccee-text-light);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.wccee-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wccee-wrapper {
    padding: 1rem;
}

/* Header */
.wccee-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--wccee-gradient);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.wccee-header-scrolled {
    background: rgba(52, 73, 94, 0.98);
    box-shadow: var(--wccee-shadow);
}

.wccee-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.wccee-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wccee-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.wccee-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wccee-primary);
    letter-spacing: 0.5px;
}

.wccee-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wccee-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 32px;
}

.wccee-btn-primary {
    background: var(--wccee-gradient-accent);
    color: var(--wccee-text-dark);
}

.wccee-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.4);
}

.wccee-btn-outline {
    background: transparent;
    border: 2px solid var(--wccee-primary);
    color: var(--wccee-primary);
}

.wccee-btn-outline:hover {
    background: var(--wccee-primary);
    color: var(--wccee-text-dark);
}

.wccee-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    color: var(--wccee-text-light);
    font-size: 2rem;
}

/* Mobile Menu */
.wccee-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wccee-gradient);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.wccee-menu-active {
    right: 0;
}

.wccee-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wccee-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wccee-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wccee-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--wccee-text-light);
}

.wccee-nav-list {
    list-style: none;
}

.wccee-nav-item {
    margin-bottom: 0.5rem;
}

.wccee-nav-link {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--wccee-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wccee-nav-link:hover {
    background: rgba(255, 179, 71, 0.2);
    color: var(--wccee-primary);
}

/* Main Content */
.wccee-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.wccee-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--wccee-radius);
    margin-bottom: 1.5rem;
}

.wccee-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wccee-slide-active {
    opacity: 1;
}

.wccee-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section */
.wccee-section {
    padding: 1.5rem 0;
}

.wccee-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wccee-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wccee-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.wccee-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wccee-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wccee-game-item:hover {
    transform: scale(1.05);
}

.wccee-game-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.4rem;
    border: 2px solid rgba(255, 179, 71, 0.3);
}

.wccee-game-name {
    font-size: 1rem;
    color: var(--wccee-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70px;
}

/* Category Title */
.wccee-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wccee-secondary);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--wccee-secondary);
}

/* Content Card */
.wccee-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wccee-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 179, 71, 0.2);
}

.wccee-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wccee-primary);
    margin-bottom: 1rem;
}

.wccee-card-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--wccee-bg-light);
}

/* Feature List */
.wccee-feature-list {
    list-style: none;
}

.wccee-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    font-size: 1.3rem;
    color: var(--wccee-bg-light);
}

.wccee-feature-item i {
    color: var(--wccee-primary);
    font-size: 1.6rem;
    margin-top: 0.2rem;
}

/* Promo Link */
.wccee-promo-link {
    color: var(--wccee-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wccee-promo-link:hover {
    color: var(--wccee-secondary);
    text-decoration: underline;
}

/* Footer */
.wccee-footer {
    background: linear-gradient(180deg, #2C3E50 0%, #1a252f 100%);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.wccee-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wccee-footer-link {
    color: var(--wccee-bg-light);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.wccee-footer-link:hover {
    background: var(--wccee-primary);
    color: var(--wccee-text-dark);
}

.wccee-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wccee-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wccee-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.wccee-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Bottom Navigation */
.wccee-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(52, 73, 94, 0.98) 0%, #2C3E50 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 179, 71, 0.3);
}

.wccee-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--wccee-bg-light);
}

.wccee-nav-btn:hover {
    transform: scale(1.1);
}

.wccee-nav-btn.active {
    color: var(--wccee-primary);
}

.wccee-nav-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.wccee-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Hide Bottom Nav */
@media (min-width: 769px) {
    .wccee-bottom-nav {
        display: none;
    }
    .wccee-main {
        padding-bottom: 20px;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wccee-main {
        padding-bottom: 80px;
    }
}

/* Typography */
.wccee-text-accent {
    color: var(--wccee-primary);
}

.wccee-text-secondary {
    color: var(--wccee-secondary);
}

.wccee-text-center {
    text-align: center;
}

/* RTP Badge */
.wccee-rtp-badge {
    display: inline-block;
    background: var(--wccee-gradient-accent);
    color: var(--wccee-text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Highlight Box */
.wccee-highlight-box {
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.15) 0%, rgba(205, 133, 63, 0.1) 100%);
    border-left: 4px solid var(--wccee-primary);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--wccee-radius) var(--wccee-radius) 0;
    margin: 1rem 0;
}

/* FAQ Section */
.wccee-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.wccee-faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--wccee-primary);
    margin-bottom: 0.5rem;
}

.wccee-faq-answer {
    font-size: 1.2rem;
    color: var(--wccee-bg-light);
    line-height: 1.5;
}

/* Badge */
.wccee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 229, 255, 0.15);
    color: var(--wccee-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.3rem;
}

.wccee-badge i {
    font-size: 1.4rem;
}
