/* ============================================
   CARDS - Game Cards & General Cards
   ============================================ */

/* Game Cards - Enhanced Glassmorphism */
.game-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-bounce);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: flex-end;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.game-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.game-card h3 {
    position: relative;
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #ffffff;
    padding: var(--spacing-xl);
    z-index: 2;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-bounce);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.game-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 255, 136, 0.2);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover h3 {
    opacity: 1;
    transform: translateY(0);
}

.game-card:hover img {
    transform: scale(1.05);
}

/* Card fade-in animation */
.game-card.fade-in {
    animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Inspiration Cards */
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.inspiration-item {
    text-align: center;
}

.inspiration-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-base);
}

.inspiration-logo:hover {
    transform: scale(1.1);
}