/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --apple-blue: #007AFF;
    --apple-green: #34C759;
    --apple-indigo: #5856D6;
    --apple-orange: #FF9500;
    --apple-pink: #FF2D55;
    --apple-purple: #AF52DE;
    --apple-red: #FF3B30;
    --apple-teal: #5AC8FA;
    --apple-yellow: #FFCC00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

/* Custom Styles */
.game-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-description {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Game Details Page */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.back-button:hover {
    color: #0056b3;
}

.game-title {
    color: var(--apple-indigo);
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #555;
}

/* Control the size of SVG icons in game metadata */
.game-meta-item svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

/* Control the size of all SVG icons */
svg.h-5, 
svg.w-5,
svg.h-6,
svg.w-6 {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-iframe-container {
        padding-top: 75%; /* 4:3 Aspect Ratio for mobile */
    }
    
    .game-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Navigation */
header nav a {
    color: white !important;
} 