/* Critical CSS for above-the-fold content */
/* Game detail pages - California Daily Derby, Georgia Fantasy 5, etc. */

/* Critical layout styles */
.lottery-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.game-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.how-to-play-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

/* Critical button styles */
.btn-primary {
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Critical grid layout */
.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Critical loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Critical responsive design */
@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }
    
    .game-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .lottery-lab-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Critical font loading */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-semibold.woff2') format('woff2');
}

/* Apply critical fonts */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
