/**
 * PHLBOSS CSS Stylesheet
 * All classes use wbd09- prefix for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --wbd09-primary-dark: #696969;
    --wbd09-primary-medium: #808080;
    --wbd09-primary-darkest: #3A3A3A;
    --wbd09-text-light: #F5F5F5;
    --wbd09-text-secondary: #E9ECEF;
    --wbd09-accent-red: #FF0000;
    --wbd09-bg-overlay: rgba(0, 0, 0, 0.7);
    --wbd09-shadow-dark: rgba(0, 0, 0, 0.3);
    --wbd09-shadow-light: rgba(255, 255, 255, 0.1);
    --wbd09-border-color: #555555;
    --wbd09-success-color: #28a745;
    --wbd09-warning-color: #ffc107;
    --wbd09-info-color: #17a2b8;
}

/* Base Styles */
* {
    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, Cantarell, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--wbd09-text-light);
    background: linear-gradient(135deg, var(--wbd09-primary-darkest) 0%, var(--wbd09-primary-dark) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.wbd09-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--wbd09-accent-red);
}

.wbd09-header-scrolled {
    background: rgba(58, 58, 58, 0.98);
    box-shadow: 0 4px 20px var(--wbd09-shadow-dark);
}

.wbd09-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.wbd09-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wbd09-logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.8rem;
    object-fit: cover;
    border: 2px solid var(--wbd09-accent-red);
}

.wbd09-site-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--wbd09-text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.wbd09-nav-buttons {
    display: flex;
    gap: 1rem;
}

.wbd09-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 2.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    min-height: 4.4rem;
}

.wbd09-btn-primary {
    background: linear-gradient(135deg, var(--wbd09-accent-red), #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.wbd09-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.wbd09-btn-secondary {
    background: transparent;
    color: var(--wbd09-text-light);
    border: 2px solid var(--wbd09-accent-red);
}

.wbd09-btn-secondary:hover {
    background: var(--wbd09-accent-red);
    transform: translateY(-2px);
}

.wbd09-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--wbd09-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.wbd09-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.wbd09-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--wbd09-primary-darkest);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px var(--wbd09-shadow-dark);
}

.wbd09-menu-open {
    left: 0;
}

.wbd09-menu-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--wbd09-border-color);
    background: rgba(255, 0, 0, 0.1);
}

.wbd09-menu-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--wbd09-text-light);
    margin-bottom: 0.5rem;
}

.wbd09-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--wbd09-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.wbd09-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wbd09-menu-nav {
    padding: 1rem 0;
}

.wbd09-menu-item {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--wbd09-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.wbd09-menu-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-left-color: var(--wbd09-accent-red);
    padding-left: 2rem;
}

.wbd09-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wbd09-menu-open ~ .wbd09-overlay {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.wbd09-main {
    margin-top: 8rem;
    padding-bottom: 8rem;
    min-height: 100vh;
}

/* Hero Section */
.wbd09-hero {
    padding: 2rem 0;
    text-align: center;
}

.wbd09-hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--wbd09-text-light);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wbd09-hero-subtitle {
    font-size: 1.8rem;
    color: var(--wbd09-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Carousel */
.wbd09-carousel {
    position: relative;
    width: 100%;
    height: 20rem;
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px var(--wbd09-shadow-dark);
}

.wbd09-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wbd09-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wbd09-slide.wbd09-active {
    opacity: 1;
}

.wbd09-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.wbd09-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.wbd09-dot:hover,
.wbd09-dot.wbd09-active {
    background: var(--wbd09-accent-red);
    transform: scale(1.2);
}

/* Game Grid */
.wbd09-game-section {
    margin-bottom: 3rem;
}

.wbd09-section-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--wbd09-text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--wbd09-accent-red);
}

.wbd09-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wbd09-game-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--wbd09-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.wbd09-game-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.wbd09-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--wbd09-shadow-dark);
}

.wbd09-game-item:hover .wbd09-game-icon {
    border-color: var(--wbd09-accent-red);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.wbd09-game-name {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    max-height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Content Cards */
.wbd09-card {
    background: rgba(128, 128, 128, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--wbd09-border-color);
    box-shadow: 0 8px 32px var(--wbd09-shadow-dark);
    transition: all 0.3s ease;
}

.wbd09-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--wbd09-shadow-dark);
    border-color: var(--wbd09-accent-red);
}

.wbd09-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--wbd09-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wbd09-card-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--wbd09-text-secondary);
}

.wbd09-card-content p {
    margin-bottom: 1rem;
}

.wbd09-card-content p:last-child {
    margin-bottom: 0;
}

.wbd09-list {
    list-style: none;
    padding: 0;
}

.wbd09-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
}

.wbd09-list li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--wbd09-accent-red);
    font-size: 1rem;
}

.wbd09-list li:last-child {
    border-bottom: none;
}

/* Bottom Navigation */
.wbd09-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, var(--wbd09-primary-darkest), #2a2a2a);
    border-top: 2px solid var(--wbd09-border-color);
    z-index: 1000;
    box-shadow: 0 -4px 20px var(--wbd09-shadow-dark);
}

.wbd09-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6.4rem;
    max-width: 430px;
    margin: 0 auto;
}

.wbd09-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 6rem;
    text-decoration: none;
    color: var(--wbd09-text-secondary);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border-radius: 1rem;
    padding: 0.5rem;
}

.wbd09-nav-item:hover {
    color: var(--wbd09-accent-red);
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.wbd09-nav-item.wbd09-nav-active {
    color: var(--wbd09-accent-red);
    background: rgba(255, 0, 0, 0.15);
}

.wbd09-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.8rem;
}

.wbd09-nav-text {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.wbd09-nav-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--wbd09-accent-red);
    color: white;
    border-radius: 50%;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

/* Footer */
.wbd09-footer {
    background: var(--wbd09-primary-darkest);
    border-top: 2px solid var(--wbd09-border-color);
    padding: 3rem 0 8rem 0;
    margin-top: 4rem;
}

.wbd09-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wbd09-footer-section {
    margin-bottom: 2rem;
}

.wbd09-footer-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--wbd09-text-light);
    border-left: 3px solid var(--wbd09-accent-red);
    padding-left: 1rem;
}

.wbd09-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wbd09-footer-link {
    color: var(--wbd09-text-secondary);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--wbd09-border-color);
}

.wbd09-footer-link:hover {
    background: var(--wbd09-accent-red);
    color: white;
    transform: translateY(-2px);
}

.wbd09-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.wbd09-partner-logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.wbd09-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.wbd09-copyright {
    text-align: center;
    color: var(--wbd09-text-secondary);
    font-size: 1.3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wbd09-border-color);
}

/* Utility Classes */
.wbd09-text-center {
    text-align: center;
}

.wbd09-mt-1 { margin-top: 1rem; }
.wbd09-mt-2 { margin-top: 2rem; }
.wbd09-mt-3 { margin-top: 3rem; }

.wbd09-mb-1 { margin-bottom: 1rem; }
.wbd09-mb-2 { margin-bottom: 2rem; }
.wbd09-mb-3 { margin-bottom: 3rem; }

.wbd09-p-1 { padding: 1rem; }
.wbd09-p-2 { padding: 2rem; }
.wbd09-p-3 { padding: 3rem; }

.wbd09-highlight {
    color: var(--wbd09-accent-red);
    font-weight: bold;
}

.wbd09-gradient-text {
    background: linear-gradient(135deg, var(--wbd09-accent-red), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (min-width: 769px) {
    .wbd09-bottom-nav {
        display: none;
    }

    .wbd09-main {
        padding-bottom: 2rem;
    }

    .wbd09-mobile-menu {
        display: none;
    }

    .wbd09-menu-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .wbd09-nav-buttons {
        gap: 0.5rem;
    }

    .wbd09-btn {
        min-width: 6rem;
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }

    .wbd09-menu-button {
        display: block;
    }

    .wbd09-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .wbd09-game-icon {
        border-radius: 0.8rem;
    }

    .wbd09-game-name {
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes wbd09-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wbd09-slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes wbd09-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wbd09-animate-fadeIn {
    animation: wbd09-fadeIn 0.6s ease-out;
}

.wbd09-animate-slideIn {
    animation: wbd09-slideInLeft 0.6s ease-out;
}

.wbd09-animate-pulse {
    animation: wbd09-pulse 2s infinite;
}

/* Loading State */
.wbd09-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
}

.wbd09-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--wbd09-accent-red);
    border-radius: 50%;
    animation: wbd09-spin 1s linear infinite;
}

@keyframes wbd09-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}