/* JPH Website Stylesheet */
/* Class prefix: v2e6- */
/* Color Palette: #FFB347 | #48D1CC | #FFD700 | #4169E1 | #2D2D2D */

/* CSS Variables */
:root {
    --v2e6-primary: #FFB347;
    --v2e6-secondary: #48D1CC;
    --v2e6-accent: #FFD700;
    --v2e6-blue: #4169E1;
    --v2e6-dark: #2D2D2D;
    --v2e6-dark-bg: #1a1a1a;
    --v2e6-light: #f8f9fa;
    --v2e6-success: #28a745;
    --v2e6-warning: #ffc107;
    --v2e6-danger: #dc3545;

    /* Font sizes */
    --v2e6-font-size-xs: 0.75rem;
    --v2e6-font-size-sm: 0.875rem;
    --v2e6-font-size-base: 1rem;
    --v2e6-font-size-lg: 1.125rem;
    --v2e6-font-size-xl: 1.25rem;
    --v2e6-font-size-xxl: 1.5rem;

    /* Spacing */
    --v2e6-spacing-xs: 0.5rem;
    --v2e6-spacing-sm: 1rem;
    --v2e6-spacing-md: 1.5rem;
    --v2e6-spacing-lg: 2rem;
    --v2e6-spacing-xl: 3rem;

    /* Border radius */
    --v2e6-radius-sm: 0.25rem;
    --v2e6-radius-md: 0.5rem;
    --v2e6-radius-lg: 1rem;
    --v2e6-radius-xl: 1.5rem;

    /* Box shadows */
    --v2e6-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --v2e6-shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --v2e6-shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --v2e6-shadow-xl: 0 16px 32px rgba(0,0,0,0.25);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
    background-color: var(--v2e6-dark-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--v2e6-spacing-md);
    color: var(--v2e6-primary);
}

h1 {
    font-size: 2rem;
    font-size: var(--v2e6-font-size-xxl);
}

h2 {
    font-size: 1.5rem;
    font-size: var(--v2e6-font-size-xl);
}

h3 {
    font-size: 1.25rem;
    font-size: var(--v2e6-font-size-lg);
}

h4 {
    font-size: 1rem;
    font-size: var(--v2e6-font-size-base);
}

p {
    margin-bottom: var(--v2e6-spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

a {
    color: var(--v2e6-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v2e6-blue);
    text-decoration: none;
}

a:visited {
    color: var(--v2e6-primary);
}

/* Header Styles */
.v2e6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--v2e6-dark);
    color: white;
    z-index: 1000;
    box-shadow: var(--v2e6-shadow-md);
    padding: var(--v2e6-spacing-sm) var(--v2e6-spacing-md);
}

.v2e6-header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v2e6-logo {
    display: flex;
    align-items: center;
    gap: var(--v2e6-spacing-sm);
}

.v2e6-logo img {
    width: 32px;
    height: 32px;
    border-radius: var(--v2e6-radius-sm);
}

.v2e6-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v2e6-primary);
}

.v2e6-header-actions {
    display: flex;
    gap: var(--v2e6-spacing-sm);
}

.v2e6-btn {
    padding: var(--v2e6-spacing-xs) var(--v2e6-spacing-md);
    border: none;
    border-radius: var(--v2e6-radius-md);
    font-size: var(--v2e6-font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2e6-btn-primary {
    background: var(--v2e6-primary);
    color: var(--v2e6-dark);
}

.v2e6-btn-primary:hover {
    background: var(--v2e6-accent);
    transform: translateY(-2px);
    box-shadow: var(--v2e6-shadow-md);
}

.v2e6-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--v2e6-primary);
}

.v2e6-btn-secondary:hover {
    background: var(--v2e6-primary);
    color: var(--v2e6-dark);
}

.v2e6-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--v2e6-spacing-xs);
}

/* Mobile Menu */
.v2e6-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--v2e6-dark);
    z-index: 999;
    display: none;
    padding: var(--v2e6-spacing-md);
    box-shadow: var(--v2e6-shadow-lg);
}

.v2e6-mobile-menu ul {
    list-style: none;
}

.v2e6-mobile-menu li {
    margin-bottom: var(--v2e6-spacing-sm);
}

.v2e6-mobile-menu a {
    color: white;
    text-decoration: none;
    padding: var(--v2e6-spacing-sm) var(--v2e6-spacing-md);
    display: block;
    border-radius: var(--v2e6-radius-md);
    transition: background 0.3s ease;
}

.v2e6-mobile-menu a:hover {
    background: var(--v2e6-primary);
}

/* Main Content */
.v2e6-main {
    padding-top: 80px;
    padding-bottom: 120px;
    min-height: 100vh;
}

.v2e6-container {
    max-width: 430px;
    margin: 0 auto;
    padding: var(--v2e6-spacing-md);
}

.v2e6-section {
    margin-bottom: var(--v2e6-spacing-xl);
}

.v2e6-section-title {
    text-align: center;
    margin-bottom: var(--v2e6-spacing-lg);
    position: relative;
    padding-bottom: var(--v2e6-spacing-sm);
}

.v2e6-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--v2e6-primary);
}

/* Carousel Styles */
.v2e6-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--v2e6-radius-lg);
    box-shadow: var(--v2e6-shadow-xl);
    margin-bottom: var(--v2e6-spacing-lg);
}

.v2e6-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.v2e6-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2e6-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: var(--v2e6-spacing-md);
    text-align: center;
}

/* Game Grid */
.v2e6-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--v2e6-spacing-sm);
    margin-bottom: var(--v2e6-spacing-lg);
}

.v2e6-game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: var(--v2e6-radius-md);
    padding: var(--v2e6-spacing-xs);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--v2e6-shadow-sm);
}

.v2e6-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--v2e6-shadow-lg);
}

.v2e6-game-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--v2e6-radius-sm);
    margin-bottom: var(--v2e6-spacing-xs);
}

.v2e6-game-card h5 {
    font-size: var(--v2e6-font-size-xs);
    margin: 0;
    color: #FFFFFF;
    line-height: 1.2;
}

/* Feature Cards */
.v2e6-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--v2e6-spacing-md);
    margin-bottom: var(--v2e6-spacing-lg);
}

.v2e6-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: var(--v2e6-radius-lg);
    padding: var(--v2e6-spacing-md);
    text-align: center;
    box-shadow: var(--v2e6-shadow-sm);
    transition: all 0.3s ease;
}

.v2e6-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v2e6-shadow-md);
}

.v2e6-feature-icon {
    font-size: 3rem;
    margin-bottom: var(--v2e6-spacing-sm);
    color: var(--v2e6-primary);
}

/* Bottom Navigation */
.v2e6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v2e6-dark);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: var(--v2e6-spacing-xs);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.v2e6-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    padding: var(--v2e6-spacing-xs);
    min-width: 60px;
    min-height: 60px;
    transition: all 0.3s ease;
    border-radius: var(--v2e6-radius-md);
    margin: 0 2px;
}

.v2e6-bottom-nav-item:hover {
    background: rgba(255, 179, 71, 0.2);
    transform: scale(1.05);
}

.v2e6-bottom-nav-item.active {
    color: var(--v2e6-primary);
    background: rgba(255, 179, 71, 0.3);
}

.v2e6-bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.v2e6-bottom-nav-item span {
    font-size: 10px;
}

/* Footer */
.v2e6-footer {
    background: var(--v2e6-dark);
    color: white;
    padding: var(--v2e6-spacing-lg) 0;
    margin-top: var(--v2e6-spacing-xl);
}

.v2e6-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: var(--v2e6-spacing-md);
}

.v2e6-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--v2e6-spacing-md);
    margin-bottom: var(--v2e6-spacing-md);
}

.v2e6-footer-links a {
    color: white;
    text-decoration: none;
    font-size: var(--v2e6-font-size-sm);
    transition: color 0.3s ease;
}

.v2e6-footer-links a:hover {
    color: var(--v2e6-primary);
}

.v2e6-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--v2e6-spacing-md);
    margin: var(--v2e6-spacing-lg) 0;
}

.v2e6-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--v2e6-radius-md);
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.v2e6-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.v2e6-footer-bottom {
    text-align: center;
    padding-top: var(--v2e6-spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--v2e6-font-size-sm);
    color: rgba(255,255,255,0.6);
}

/* Utility Classes */
.v2e6-text-center {
    text-align: center;
}

.v2e6-text-primary {
    color: var(--v2e6-primary);
}

.v2e6-bg-primary {
    background: var(--v2e6-primary);
}

.v2e6-bg-secondary {
    background: var(--v2e6-secondary);
}

.v2e6-bg-accent {
    background: var(--v2e6-accent);
}

.v2e6-border-primary {
    border-color: var(--v2e6-primary);
}

.v2e6-shadow-primary {
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.3);
}

/* Responsive Design */
@media (min-width: 769px) {
    .v2e6-menu-button {
        display: none;
    }

    .v2e6-bottom-nav {
        display: none;
    }

    .v2e6-main {
        padding-bottom: 0;
    }

    .v2e6-container {
        max-width: 1200px;
        padding: var(--v2e6-spacing-lg);
    }

    .v2e6-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .v2e6-feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .v2e6-header {
        padding: var(--v2e6-spacing-xs) var(--v2e6-spacing-md);
    }

    .v2e6-menu-button {
        display: block;
    }

    .v2e6-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .v2e6-game-card img {
        width: 50px;
        height: 50px;
    }

    .v2e6-section-title::after {
        width: 30px;
        height: 2px;
    }

    h1 {
        font-size: 1.5rem;
        font-size: var(--v2e6-font-size-xl);
    }

    h2 {
        font-size: 1.25rem;
        font-size: var(--v2e6-font-size-lg);
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v2e6-animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.v2e6-animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.v2e6-animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.v2e6-animate-slideInRight {
    animation: slideInRight 0.5s ease-out;
}

/* Loading State */
.v2e6-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--v2e6-light);
}

::-webkit-scrollbar-thumb {
    background: var(--v2e6-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--v2e6-blue);
}

/* Print styles */
@media print {
    .v2e6-header,
    .v2e6-bottom-nav,
    .v2e6-footer-partners {
        display: none;
    }

    .v2e6-main {
        padding-top: 0;
    }
}