/* p898h CSS Module with vc7a- prefix */
/* Seaglass green theme: #00FA9A, #0E1621, #008000, #2E8B57 */

:root {
    --vc7a-primary: #00FA9A;
    --vc7a-primary-dark: #008000;
    --vc7a-secondary: #2E8B57;
    --vc7a-bg-dark: #0E1621;
    --vc7a-bg-light: #1a2332;
    --vc7a-text: #ffffff;
    --vc7a-text-muted: #a0aec0;
    --vc7a-border: #2d3748;
    --vc7a-shadow: rgba(0, 250, 154, 0.3);
    --vc7a-gradient: linear-gradient(135deg, #00FA9A 0%, #008000 100%);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vc7a-base {
    font-size: 62.5%;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--vc7a-bg-dark);
    color: var(--vc7a-text);
    overflow-x: hidden;
}

/* Container and layout */
.vc7a-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.vc7a-wrapper {
    min-height: 100vh;
    padding-bottom: 80px; /* Space for bottom nav */
}

@media (min-width: 769px) {
    .vc7a-wrapper {
        padding-bottom: 0;
    }
}

/* Header */
.vc7a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--vc7a-bg-light);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vc7a-border);
    z-index: 1000;
    height: 60px;
}

.vc7a-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
}

.vc7a-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--vc7a-primary);
    text-decoration: none;
}

.vc7a-logo-icon {
    width: 28px;
    height: 28px;
    background: var(--vc7a-gradient);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

/* Header buttons */
.vc7a-header-buttons {
    display: flex;
    gap: 0.5rem;
}

.vc7a-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    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-height: 44px;
    touch-action: manipulation;
}

.vc7a-btn-primary {
    background: var(--vc7a-gradient);
    color: white;
    box-shadow: 0 2px 8px var(--vc7a-shadow);
}

.vc7a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--vc7a-shadow);
}

.vc7a-btn-secondary {
    background: transparent;
    color: var(--vc7a-primary);
    border: 2px solid var(--vc7a-primary);
}

.vc7a-btn-secondary:hover {
    background: var(--vc7a-primary);
    color: var(--vc7a-bg-dark);
}

/* Mobile menu button */
.vc7a-menu-button {
    background: none;
    border: none;
    color: var(--vc7a-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.vc7a-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu */
.vc7a-mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: var(--vc7a-bg-light);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--vc7a-border);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.vc7a-mobile-menu.active {
    left: 0;
}

.vc7a-menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.vc7a-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vc7a-menu-list {
    list-style: none;
    padding: 1rem 0;
}

.vc7a-menu-item {
    border-bottom: 1px solid var(--vc7a-border);
}

.vc7a-menu-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--vc7a-text);
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    position: relative;
}

.vc7a-menu-link:hover {
    background: rgba(0, 250, 154, 0.1);
    color: var(--vc7a-primary);
    padding-left: 2rem;
}

.vc7a-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--vc7a-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.vc7a-menu-link:hover::before {
    transform: scaleY(1);
}

/* Main content */
.vc7a-main {
    padding-top: 60px;
    min-height: 100vh;
}

/* Hero carousel */
.vc7a-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vc7a-carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.vc7a-carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.vc7a-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Game grid */
.vc7a-games-section {
    margin: 2rem 0;
}

.vc7a-section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--vc7a-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vc7a-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vc7a-game-card {
    background: var(--vc7a-bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--vc7a-border);
}

.vc7a-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--vc7a-shadow);
    border-color: var(--vc7a-primary);
}

.vc7a-game-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.vc7a-game-name {
    padding: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--vc7a-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content sections */
.vc7a-content-section {
    background: var(--vc7a-bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--vc7a-border);
}

.vc7a-content-title {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--vc7a-primary);
}

.vc7a-content-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--vc7a-text-muted);
    margin-bottom: 1rem;
}

.vc7a-content-list {
    list-style: none;
    margin: 1rem 0;
}

.vc7a-content-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--vc7a-text-muted);
}

.vc7a-content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--vc7a-primary);
    font-weight: bold;
}

/* Links */
.vc7a-link {
    color: var(--vc7a-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.vc7a-link:hover {
    color: var(--vc7a-text);
    text-decoration: underline;
}

/* Footer */
.vc7a-footer {
    background: var(--vc7a-bg-light);
    border-top: 1px solid var(--vc7a-border);
    padding: 2rem 0;
    margin-top: 3rem;
}

.vc7a-footer-content {
    text-align: center;
}

.vc7a-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.vc7a-partner-img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vc7a-partner-img:hover {
    opacity: 1;
}

.vc7a-footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.vc7a-footer-link {
    color: var(--vc7a-text-muted);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.vc7a-footer-link:hover {
    color: var(--vc7a-primary);
}

.vc7a-copyright {
    color: var(--vc7a-text-muted);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Bottom navigation */
.vc7a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vc7a-bg-light);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--vc7a-border);
    z-index: 1000;
    height: 64px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
}

@media (min-width: 769px) {
    .vc7a-bottom-nav {
        display: none;
    }
}

.vc7a-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--vc7a-text-muted);
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}

.vc7a-bottom-nav-item:hover,
.vc7a-bottom-nav-item.active {
    color: var(--vc7a-primary);
    transform: scale(1.1);
}

.vc7a-bottom-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.2rem;
}

.vc7a-bottom-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Utility classes */
.vc7a-text-center {
    text-align: center;
}

.vc7a-mb-1 {
    margin-bottom: 1rem;
}

.vc7a-mb-2 {
    margin-bottom: 2rem;
}

.vc7a-mt-1 {
    margin-top: 1rem;
}

.vc7a-mt-2 {
    margin-top: 2rem;
}

.vc7a-hidden {
    display: none;
}

.vc7a-flex {
    display: flex;
}

.vc7a-grid {
    display: grid;
}

.vc7a-gap-1 {
    gap: 1rem;
}

.vc7a-gap-2 {
    gap: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vc7a-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .vc7a-game-img {
        height: 70px;
    }

    .vc7a-game-name {
        font-size: 1rem;
    }

    .vc7a-content-section {
        padding: 1.5rem;
    }

    .vc7a-section-title {
        font-size: 1.8rem;
    }

    .vc7a-content-title {
        font-size: 2rem;
    }

    .vc7a-carousel {
        height: 180px;
    }

    .vc7a-partners {
        gap: 0.5rem;
    }

    .vc7a-partner-img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .vc7a-container {
        padding: 0 0.8rem;
    }

    .vc7a-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .vc7a-game-img {
        height: 60px;
    }

    .vc7a-game-name {
        font-size: 0.9rem;
    }

    .vc7a-btn {
        padding: 0.5rem 1rem;
        font-size: 1.3rem;
    }
}

/* Animation keyframes */
@keyframes vc7a-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vc7a-fade-in {
    animation: vc7a-fadeIn 0.5s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--vc7a-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--vc7a-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vc7a-primary-dark);
}