/* Citta Games - Home Page Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('/public/images/hero-pattern.webp') repeat; */
    opacity: 0.1;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: 0 var(--spacing-xl);
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-200);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-300);
    line-height: 1.6;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-features {
    font-size: 1rem;
    margin-bottom: var(--spacing-2xl);
    color: var(--gray-300);
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: nowrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons .btn {
    min-width: 140px;
    font-size: 1rem;
    padding: var(--spacing-md) var(--spacing-xl);
    white-space: nowrap;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* Registration Steps Section */
.registration-steps {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-100);
}

.registration-steps h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: 2.5rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.step {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.step p {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.features-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.feature-emoji {
    font-size: 3rem;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover .feature-emoji {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray-700);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

.cta-section p {
    color: var(--gray-200);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 250px;
    font-size: 1.1rem;
    padding: var(--spacing-lg) var(--spacing-2xl);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        min-width: 120px;
        font-size: 0.9rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .step,
    .feature-card {
        padding: var(--spacing-xl);
    }
    
    .registration-steps h2,
    .features-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        min-width: 100px;
        font-size: 0.9rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .registration-steps,
    .features-section,
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .step,
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-emoji {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
}

/* Game Details Section */
.game-details-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.game-details-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Games Row */
.games-row {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    padding: var(--spacing-lg) 0;
    scroll-behavior: smooth;
    margin-bottom: var(--spacing-xl);
}

.games-row::-webkit-scrollbar {
    height: 8px;
}

.games-row::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
}

.games-row::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.games-row::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.game-item {
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.game-img {
    width: 196px;
    height: 348px;
    object-fit: cover;
    display: block;
}

/* Image Navigation */
.image-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.nav-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

.dot:hover {
    background: var(--secondary-color);
}

/* Full Screen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: var(--spacing-lg);
}

.fullscreen-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--white);
    color: var(--black);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1001;
}

.close-btn:hover {
    background: var(--gray-200);
}

.modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bold;
    transition: var(--transition);
    pointer-events: auto;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive adjustments for game details */
@media (max-width: 768px) {
    .games-row {
        gap: var(--spacing-md);
    }
    
    .game-img {
        width: 150px;
        height: 266px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    .hero-image {
        animation: none;
    }
    
    .step:hover,
    .feature-card:hover,
    .hero-img:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .step::before {
        background: var(--black);
    }
    
    .step-number {
        background: var(--black);
        border: 2px solid var(--white);
    }
} 