/* v079 funph.click Theme Styles */
/* Site-specific prefix: v079- */
/* Color palette: #95A5A6 | #2F2F2F | #0E1621 | #808080 | #CCCCCC | #26A69A */

/* CSS Variables */
:root {
    --v079-primary: #26A69A;
    --v079-primary-dark: #1E8F7A;
    --v079-secondary: #95A5A6;
    --v079-bg-dark: #0E1621;
    --v079-bg-light: #2F2F2F;
    --v079-text-light: #CCCCCC;
    --v079-text-dark: #808080;
    --v079-accent: #95A5A6;
    --v079-gradient: linear-gradient(135deg, var(--v079-bg-dark) 0%, var(--v079-bg-light) 100%);
}

/* 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;
    line-height: 1.5;
    color: var(--v079-text-light);
    background-color: var(--v079-bg-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--v079-primary);
}

h2 {
    font-size: 2rem;
    color: var(--v079-secondary);
}

h3 {
    font-size: 1.5rem;
    color: var(--v079-text-light);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Container and Layout */
.v079-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.v079-wrapper {
    position: relative;
    z-index: 1;
}

.v079-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Header Styles */
.v079-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(14, 22, 33, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--v079-primary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.v079-header.scrolled {
    background: rgba(14, 22, 33, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.v079-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.v079-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--v079-primary);
    text-decoration: none;
}

.v079-logo-icon {
    width: 24px;
    height: 24px;
}

.v079-nav-buttons {
    display: flex;
    gap: 0.5rem;
}

.v079-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.v079-btn-primary {
    background: var(--v079-primary);
    color: white;
}

.v079-btn-primary:hover {
    background: var(--v079-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}

.v079-btn-secondary {
    background: transparent;
    color: var(--v079-primary);
    border: 2px solid var(--v079-primary);
}

.v079-btn-secondary:hover {
    background: var(--v079-primary);
    color: white;
}

/* Mobile Menu */
.v079-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--v079-bg-light);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}

.v079-menu-open {
    transform: translateX(0);
}

.v079-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.v079-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--v079-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.v079-menu-toggle.v079-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.v079-menu-toggle.v079-active span:nth-child(2) {
    opacity: 0;
}

.v079-menu-toggle.v079-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.v079-menu-links {
    list-style: none;
    padding: 1rem;
}

.v079-menu-links li {
    margin-bottom: 0.5rem;
}

.v079-menu-links a {
    color: var(--v079-text-light);
    text-decoration: none;
    padding: 0.75rem;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.v079-menu-links a:hover {
    background: var(--v079-bg-dark);
    color: var(--v079-primary);
    padding-left: 1.5rem;
}

/* Main Content */
main {
    padding-top: 64px;
    padding-bottom: 100px;
    background: var(--v079-gradient);
}

.v079-hero {
    text-align: center;
    padding: 3rem 0;
}

.v079-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.v079-hero p {
    font-size: 1.1rem;
    color: var(--v079-secondary);
    max-width: 350px;
    margin: 0 auto;
}

/* Game Cards */
.v079-game-card {
    background: var(--v079-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.v079-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--v079-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.v079-game-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.v079-game-name {
    font-size: 0.9rem;
    color: var(--v079-text-light);
    font-weight: 600;
}

/* Game Categories */
.v079-category {
    margin-bottom: 2rem;
}

.v079-category-title {
    color: var(--v079-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v079-primary);
}

/* Bottom Navigation */
.v079-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--v079-bg-light);
    border-top: 2px solid var(--v079-primary);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
}

.v079-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;
    position: relative;
}

.v079-nav-item:hover {
    transform: scale(1.1);
    color: var(--v079-primary);
}

.v079-nav-item.active {
    color: var(--v079-primary);
}

.v079-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.v079-nav-text {
    font-size: 10px;
    font-weight: 600;
}

/* Footer */
.v079-footer {
    background: var(--v079-bg-light);
    padding: 2rem 0;
    margin-top: 2rem;
}

.v079-footer-content {
    text-align: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.v079-partners {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.v079-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0.8);
}

.v079-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v079-footer-links a {
    color: var(--v079-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.v079-footer-links a:hover {
    color: var(--v079-primary);
}

.v079-copyright {
    color: var(--v079-text-dark);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (min-width: 769px) {
    .v079-bottom-nav {
        display: none;
    }

    .v079-header {
        padding: 1rem 2rem;
    }

    main {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }

    .v079-container {
        padding: 0 0.5rem;
    }
}

/* Utility Classes */
.v079-text-center {
    text-align: center;
}

.v079-text-primary {
    color: var(--v079-primary);
}

.v079-text-secondary {
    color: var(--v079-secondary);
}

.v079-bg-primary {
    background-color: var(--v079-primary);
}

.v079-border-primary {
    border-color: var(--v079-primary);
}

.v079-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v079-animate-fade {
    animation: fadeIn 0.6s ease-out;
}

/* Carrousel Styles */
.v079-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    height: 200px;
}

.v079-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.v079-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v079-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.v079-indicator.active {
    background: var(--v079-primary);
}