/* VVJL Website Styles */
/* File: css/vvjl.css */
/* Purpose: Core styling for VVJL gaming platform */

/* CSS Custom Properties */
:root {
    --gf17-primary: #DDA0DD;
    --gf17-secondary: #CD5C5C;
    --gf17-accent: #00FA9A;
    --gf17-accent2: #CC99FF;
    --gf17-dark: #1B263B;
    --gf17-light: #FFFFFF;
    --gf17-text: #FFFFFF;
    --gf17-text-dark: #1B263B;
    --gf17-gradient: linear-gradient(135deg, var(--gf17-primary), var(--gf17-secondary));
    --gf17-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --gf17-radius: 8px;
    --gf17-border: 2px solid var(--gf17-accent);
}

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

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--gf17-text);
    background: var(--gf17-dark);
    overflow-x: hidden;
}

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

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

.gf17-grid {
    display: grid;
    gap: 1rem;
}

.gf17-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gf17-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gf17-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Header and Navigation */
.gf17-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gf17-gradient);
    box-shadow: var(--gf17-shadow);
    padding: 1rem 0;
}

.gf17-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.gf17-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--gf17-text);
    font-weight: bold;
    font-size: 1.8rem;
}

.gf17-logo-img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: var(--gf17-radius);
}

.gf17-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.gf17-nav-toggle span {
    width: 2.4rem;
    height: 0.3rem;
    background: var(--gf17-text);
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

.gf17-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--gf17-dark);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 1001;
}

.gf17-nav-menu.gf17-nav-open {
    left: 0;
}

.gf17-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.gf17-nav-overlay.gf17-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gf17-nav-list {
    list-style: none;
    margin-top: 4rem;
}

.gf17-nav-item {
    margin-bottom: 1rem;
}

.gf17-nav-link {
    color: var(--gf17-text);
    text-decoration: none;
    font-size: 1.6rem;
    padding: 1rem;
    display: block;
    border-radius: var(--gf17-radius);
    transition: background 0.3s ease;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
}

.gf17-nav-link:hover {
    background: var(--gf17-primary);
}

/* Buttons */
.gf17-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border: none;
    border-radius: var(--gf17-radius);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
    min-width: 4.4rem;
    line-height: 1;
}

.gf17-btn-primary {
    background: var(--gf17-gradient);
    color: var(--gf17-text);
    box-shadow: var(--gf17-shadow);
}

.gf17-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.gf17-btn-secondary {
    background: var(--gf17-accent);
    color: var(--gf17-text-dark);
}

.gf17-btn-secondary:hover {
    background: var(--gf17-accent2);
}

.gf17-btn-outline {
    background: transparent;
    border: var(--gf17-border);
    color: var(--gf17-accent);
}

.gf17-btn-outline:hover {
    background: var(--gf17-accent);
    color: var(--gf17-text-dark);
}

.gf17-promo-btn,
.gf17-play-btn {
    background: var(--gf17-accent);
    color: var(--gf17-text-dark);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.gf17-main {
    padding-top: 7rem;
    flex: 1;
}

.gf17-section {
    padding: 2rem 0;
}

.gf17-section-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gf17-primary);
}

.gf17-content {
    margin-bottom: 2rem;
}

/* Carousel */
.gf17-carousel {
    position: relative;
    margin-bottom: 2rem;
    border-radius: var(--gf17-radius);
    overflow: hidden;
}

.gf17-carousel-slide {
    position: relative;
    cursor: pointer;
}

.gf17-carousel-img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
}

/* Game Grid */
.gf17-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.gf17-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gf17-text);
    padding: 1rem 0.5rem;
    border-radius: var(--gf17-radius);
    transition: all 0.3s ease;
    min-height: 4.4rem;
    cursor: pointer;
}

.gf17-game-item:hover {
    background: rgba(221, 160, 221, 0.2);
    transform: translateY(-2px);
}

.gf17-game-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--gf17-radius);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.gf17-game-name {
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

/* Cards */
.gf17-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--gf17-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gf17-card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--gf17-primary);
}

.gf17-card-content {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Features */
.gf17-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gf17-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--gf17-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gf17-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gf17-accent);
}

.gf17-feature-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--gf17-primary);
}

/* Footer */
.gf17-footer {
    background: var(--gf17-dark);
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gf17-footer-content {
    text-align: center;
}

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

.gf17-footer-link {
    color: var(--gf17-accent);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--gf17-radius);
    transition: background 0.3s ease;
}

.gf17-footer-link:hover {
    background: rgba(0, 250, 154, 0.2);
}

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

.gf17-partner-logo {
    width: 4rem;
    height: 3rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gf17-partner-logo:hover {
    opacity: 1;
}

.gf17-copyright {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.gf17-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gf17-gradient);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6rem;
}

.gf17-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gf17-text);
    padding: 0.5rem;
    min-width: 4.4rem;
    transition: all 0.3s ease;
}

.gf17-mobile-nav-item:hover,
.gf17-mobile-nav-item.gf17-active {
    color: var(--gf17-accent);
    transform: translateY(-2px);
}

.gf17-mobile-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.2rem;
}

.gf17-mobile-nav-text {
    font-size: 1rem;
    line-height: 1;
}

/* Utility Classes */
.gf17-text-center {
    text-align: center;
}

.gf17-text-left {
    text-align: left;
}

.gf17-text-right {
    text-align: right;
}

.gf17-mb-1 {
    margin-bottom: 1rem;
}

.gf17-mb-2 {
    margin-bottom: 2rem;
}

.gf17-mt-1 {
    margin-top: 1rem;
}

.gf17-mt-2 {
    margin-top: 2rem;
}

.gf17-hidden {
    display: none;
}

.gf17-visible {
    display: block;
}

/* Responsive Design */
@media (max-width: 430px) {
    .gf17-container {
        padding: 0 0.5rem;
    }
    
    .gf17-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .gf17-game-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .gf17-game-name {
        font-size: 0.9rem;
    }
    
    .gf17-features {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gf17-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.gf17-pulse {
    animation: pulse 2s infinite;
}

/* Loading States */
.gf17-loading {
    opacity: 0.6;
    pointer-events: none;
}

.gf17-spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid var(--gf17-accent);
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}