/* PHLOVE Login CSS Styles */
/* All classes use wc490- prefix for namespace isolation */

/* CSS Variables */
:root {
    --wc490-primary: #006400;
    --wc490-secondary: #90EE90;
    --wc490-accent: #EEE8AA;
    --wc490-dark: #1C2833;
    --wc490-light: #FFFFFF;
    --wc490-bg: #1C2833;
    --wc490-text: #FFFFFF;
    --wc490-text-secondary: #EEE8AA;
    --wc490-border: #90EE90;
    --wc490-shadow: rgba(0, 100, 0, 0.3);
    --wc490-hover: rgba(144, 238, 144, 0.2);
    --wc490-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--wc490-bg);
    color: var(--wc490-text);
    line-height: 1.5;
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Layout Containers */
.wc490-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.wc490-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wc490-main {
    flex: 1;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.wc490-grid {
    display: grid;
    gap: 1.5rem;
}

.wc490-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wc490-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc490-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wc490-flex-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Header Styles */
.wc490-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--wc490-dark), var(--wc490-primary));
    border-bottom: 2px solid var(--wc490-border);
    box-shadow: 0 2px 10px var(--wc490-shadow);
    height: 6rem;
}

.wc490-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.wc490-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--wc490-text);
}

.wc490-logo img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
}

.wc490-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wc490-secondary);
}

.wc490-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wc490-menu-button {
    background: transparent;
    border: none;
    color: var(--wc490-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--wc490-transition);
}

.wc490-menu-button:hover {
    background: var(--wc490-hover);
}

/* Navigation Styles */
.wc490-nav {
    position: fixed;
    top: 6rem;
    left: 0;
    right: 0;
    background: var(--wc490-dark);
    border-bottom: 1px solid var(--wc490-border);
    transform: translateY(-100%);
    transition: var(--wc490-transition);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
}

.wc490-nav.wc490-menu-open {
    transform: translateY(0);
    max-height: 500px;
}

.wc490-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.wc490-nav-item {
    border-bottom: 1px solid rgba(144, 238, 144, 0.1);
}

.wc490-nav-link {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--wc490-text);
    text-decoration: none;
    transition: var(--wc490-transition);
    font-size: 1.4rem;
}

.wc490-nav-link:hover,
.wc490-nav-link.wc490-nav-active {
    background: var(--wc490-hover);
    color: var(--wc490-secondary);
}

/* Button Styles */
.wc490-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--wc490-transition);
    min-height: 4.4rem;
    text-align: center;
}

.wc490-btn-primary {
    background: linear-gradient(135deg, var(--wc490-primary), var(--wc490-secondary));
    color: var(--wc490-light);
    box-shadow: 0 4px 15px var(--wc490-shadow);
}

.wc490-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--wc490-shadow);
}

.wc490-btn-secondary {
    background: transparent;
    color: var(--wc490-secondary);
    border: 2px solid var(--wc490-secondary);
}

.wc490-btn-secondary:hover {
    background: var(--wc490-secondary);
    color: var(--wc490-dark);
}

.wc490-btn-accent {
    background: linear-gradient(135deg, var(--wc490-accent), #f0e68c);
    color: var(--wc490-dark);
    font-weight: 700;
}

.wc490-btn-accent:hover {
    transform: scale(1.05);
}

.wc490-btn-small {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    min-height: 3.6rem;
}

.wc490-btn-large {
    padding: 1.4rem 2.5rem;
    font-size: 1.6rem;
    min-height: 5.2rem;
}

/* Promotional Link Styles */
.wc490-promo-link {
    color: var(--wc490-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--wc490-transition);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.wc490-promo-link:hover {
    color: var(--wc490-accent);
    border-bottom-color: var(--wc490-accent);
}

.wc490-promo-text {
    color: var(--wc490-secondary);
    font-weight: 600;
    cursor: pointer;
}

/* Carousel Styles */
.wc490-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px var(--wc490-shadow);
}

.wc490-carousel-container {
    position: relative;
    height: 20rem;
}

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

.wc490-carousel-slide.wc490-slide-active {
    opacity: 1;
}

.wc490-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc490-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.wc490-carousel-indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--wc490-transition);
}

.wc490-carousel-indicator.wc490-indicator-active {
    background: var(--wc490-secondary);
}

/* Game Grid Styles */
.wc490-games-section {
    margin: 3rem 0;
}

.wc490-games-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wc490-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wc490-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wc490-game-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(144, 238, 144, 0.2);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--wc490-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.wc490-game-item:hover {
    transform: translateY(-2px);
    background: rgba(144, 238, 144, 0.1);
    border-color: var(--wc490-secondary);
}

.wc490-game-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.wc490-game-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--wc490-text);
    line-height: 1.2;
}

/* Content Sections */
.wc490-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid rgba(144, 238, 144, 0.1);
}

.wc490-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wc490-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wc490-section-content {
    color: var(--wc490-text);
    line-height: 1.6;
    font-size: 1.4rem;
}

.wc490-section-content p {
    margin-bottom: 1rem;
}

.wc490-section-content ul {
    list-style: none;
    padding-left: 1rem;
}

.wc490-section-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.wc490-section-content li:before {
    content: "●";
    color: var(--wc490-secondary);
    position: absolute;
    left: -1rem;
}

/* Footer Styles */
.wc490-footer {
    background: linear-gradient(135deg, var(--wc490-dark), #0d1117);
    border-top: 2px solid var(--wc490-border);
    padding: 3rem 0 8rem;
    margin-top: 4rem;
}

.wc490-footer-content {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.wc490-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wc490-footer-link {
    color: var(--wc490-text-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--wc490-transition);
}

.wc490-footer-link:hover {
    color: var(--wc490-secondary);
}

.wc490-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.wc490-partner-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    opacity: 0.7;
    transition: var(--wc490-transition);
}

.wc490-partner-icon:hover {
    opacity: 1;
}

.wc490-copyright {
    font-size: 1.2rem;
    color: var(--wc490-text-secondary);
    text-align: center;
    margin-top: 2rem;
}

/* Bottom Navigation */
.wc490-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--wc490-dark), var(--wc490-primary));
    border-top: 2px solid var(--wc490-border);
    height: 6rem;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
}

.wc490-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--wc490-text);
    transition: var(--wc490-transition);
    min-width: 4.4rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.wc490-bottom-nav-item:hover,
.wc490-bottom-nav-item.wc490-nav-active {
    background: var(--wc490-hover);
    color: var(--wc490-secondary);
}

.wc490-bottom-nav-icon {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.wc490-bottom-nav-text {
    font-size: 1rem;
    line-height: 1.1;
}

/* Typography */
.wc490-h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--wc490-secondary);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.2;
}

.wc490-h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--wc490-secondary);
    margin-bottom: 1.5rem;
}

.wc490-h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wc490-text);
    margin-bottom: 1rem;
}

.wc490-text-center {
    text-align: center;
}

.wc490-text-primary {
    color: var(--wc490-primary);
}

.wc490-text-secondary {
    color: var(--wc490-secondary);
}

.wc490-text-accent {
    color: var(--wc490-accent);
}

/* Utility Classes */
.wc490-mb-1 { margin-bottom: 1rem; }
.wc490-mb-2 { margin-bottom: 2rem; }
.wc490-mb-3 { margin-bottom: 3rem; }
.wc490-mt-1 { margin-top: 1rem; }
.wc490-mt-2 { margin-top: 2rem; }
.wc490-mt-3 { margin-top: 3rem; }
.wc490-p-1 { padding: 1rem; }
.wc490-p-2 { padding: 2rem; }
.wc490-hidden { display: none; }
.wc490-visible { display: block; }

/* Responsive Design */
@media (max-width: 375px) {
    .wc490-games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wc490-game-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .wc490-game-name {
        font-size: 1rem;
    }
}

@media (min-width: 376px) and (max-width: 430px) {
    .wc490-games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animation Classes */
.wc490-fade-in {
    animation: wc490FadeIn 0.5s ease-in-out;
}

@keyframes wc490FadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wc490-bounce {
    animation: wc490Bounce 0.5s ease-in-out;
}

@keyframes wc490Bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Loading States */
.wc490-loading {
    position: relative;
    overflow: hidden;
}

.wc490-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 238, 144, 0.3), transparent);
    animation: wc490Loading 1.5s infinite;
}

@keyframes wc490Loading {
    0% { left: -100%; }
    100% { left: 100%; }
} 