/**
 * okibet Layout Stylesheet
 * Prefix: waee2-
 * Color Palette: #273746 (dark) | #BC8F8F (light)
 */

/* CSS Variables */
:root {
    --waee2-primary: #BC8F8F;
    --waee2-secondary: #D4A9A9;
    --waee2-bg-dark: #273746;
    --waee2-bg-darker: #1E2B37;
    --waee2-bg-light: #34495E;
    --waee2-text-light: #BC8F8F;
    --waee2-text-white: #F5E6E6;
    --waee2-accent: #E8B4B4;
    --waee2-gold: #D4AF37;
    --waee2-success: #4CAF50;
    --waee2-danger: #E74C3C;
    --waee2-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base */
* {
    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-color: var(--waee2-bg-dark);
    color: var(--waee2-text-white);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

/* Container */
.waee2-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.waee2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--waee2-bg-darker), var(--waee2-bg-dark));
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--waee2-shadow);
    border-bottom: 1px solid var(--waee2-bg-light);
}

.waee2-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.waee2-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.waee2-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.waee2-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--waee2-text-light);
    letter-spacing: 0.5px;
}

.waee2-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.waee2-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.waee2-btn-primary {
    background: linear-gradient(135deg, var(--waee2-primary), var(--waee2-secondary));
    color: var(--waee2-bg-darker);
}

.waee2-btn-primary:hover {
    background: linear-gradient(135deg, var(--waee2-secondary), var(--waee2-accent));
    transform: translateY(-1px);
}

.waee2-btn-secondary {
    background: transparent;
    border: 1px solid var(--waee2-primary);
    color: var(--waee2-primary);
}

.waee2-btn-secondary:hover {
    background: var(--waee2-primary);
    color: var(--waee2-bg-darker);
}

.waee2-menu-toggle {
    background: none;
    border: none;
    color: var(--waee2-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.waee2-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--waee2-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.waee2-menu-active {
    right: 0;
}

.waee2-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: all 0.3s ease;
}

.waee2-overlay-active {
    opacity: 1;
    visibility: visible;
}

.waee2-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--waee2-bg-light);
}

.waee2-menu-close {
    background: none;
    border: none;
    color: var(--waee2-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.waee2-menu-nav {
    list-style: none;
}

.waee2-menu-item {
    margin-bottom: 0.5rem;
}

.waee2-menu-link {
    display: block;
    padding: 1rem;
    color: var(--waee2-text-white);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.waee2-menu-link:hover {
    background: var(--waee2-bg-light);
    color: var(--waee2-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.waee2-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.waee2-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.waee2-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.waee2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.waee2-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.waee2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.waee2-dot-active {
    background: var(--waee2-primary);
    transform: scale(1.2);
}

/* Section Titles */
.waee2-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--waee2-text-light);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--waee2-primary);
}

/* Game Grid */
.waee2-game-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--waee2-bg-darker);
    border-radius: 10px;
}

.waee2-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.waee2-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.waee2-game-card:hover {
    transform: scale(1.05);
}

.waee2-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.4rem;
    border: 2px solid var(--waee2-bg-light);
    transition: border-color 0.3s ease;
}

.waee2-game-card:hover .waee2-game-icon {
    border-color: var(--waee2-primary);
}

.waee2-game-name {
    font-size: 1rem;
    color: var(--waee2-text-white);
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Content Sections */
.waee2-content-section {
    background: var(--waee2-bg-darker);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.waee2-content-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.waee2-content-section ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.waee2-content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Promo Links */
.waee2-promo-link {
    color: var(--waee2-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.waee2-promo-link:hover {
    color: var(--waee2-accent);
    text-decoration: underline;
}

.waee2-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--waee2-primary), var(--waee2-secondary));
    color: var(--waee2-bg-darker);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 1rem 0;
}

.waee2-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(188, 143, 143, 0.4);
}

/* Features Grid */
.waee2-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.waee2-feature-card {
    background: var(--waee2-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.waee2-feature-icon {
    font-size: 2.4rem;
    color: var(--waee2-primary);
    margin-bottom: 0.5rem;
}

.waee2-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--waee2-text-light);
    margin-bottom: 0.3rem;
}

.waee2-feature-desc {
    font-size: 1rem;
    color: var(--waee2-text-white);
    opacity: 0.8;
}

/* Footer */
.waee2-footer {
    background: var(--waee2-bg-darker);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--waee2-bg-light);
}

.waee2-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.waee2-footer-desc {
    font-size: 1.2rem;
    color: var(--waee2-text-white);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.waee2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.waee2-footer-link {
    padding: 0.6rem 1rem;
    background: var(--waee2-bg-light);
    color: var(--waee2-text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.waee2-footer-link:hover {
    background: var(--waee2-primary);
    color: var(--waee2-bg-darker);
}

.waee2-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--waee2-text-white);
    opacity: 0.6;
    padding-top: 1rem;
    border-top: 1px solid var(--waee2-bg-light);
}

/* Bottom Navigation - Mobile Only */
.waee2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--waee2-bg-darker), #151E28);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--waee2-bg-light);
    box-shadow: 0 -4px 10px var(--waee2-shadow);
}

.waee2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.waee2-nav-item:hover {
    transform: scale(1.1);
}

.waee2-nav-item.active {
    transform: scale(1.05);
}

.waee2-nav-icon {
    font-size: 22px;
    color: var(--waee2-text-white);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.waee2-nav-item:hover .waee2-nav-icon,
.waee2-nav-item.active .waee2-nav-icon {
    color: var(--waee2-primary);
}

.waee2-nav-text {
    font-size: 10px;
    color: var(--waee2-text-white);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.waee2-nav-item:hover .waee2-nav-text,
.waee2-nav-item.active .waee2-nav-text {
    color: var(--waee2-primary);
    opacity: 1;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .waee2-bottom-nav {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .waee2-header-content {
        padding: 0 0.5rem;
    }

    .waee2-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }

    .waee2-carousel {
        height: 160px;
    }

    .waee2-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .waee2-game-icon {
        width: 55px;
        height: 55px;
    }

    .waee2-game-name {
        font-size: 0.9rem;
    }
}

/* Utilities */
.waee2-text-center {
    text-align: center;
}

.waee2-mt-1 { margin-top: 1rem; }
.waee2-mt-2 { margin-top: 2rem; }
.waee2-mb-1 { margin-bottom: 1rem; }
.waee2-mb-2 { margin-bottom: 2rem; }

/* Animation */
@keyframes waee2-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.waee2-animate {
    animation: waee2-fadeIn 0.5s ease forwards;
}

/* Internal Link Styles */
.waee2-internal-link {
    color: var(--waee2-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.waee2-internal-link:hover {
    color: var(--waee2-accent);
}
