/* ================= ROOT VARIABLES ================= */
:root {
    --primary-color: #00ffcc;
    --primary-dark: #00e6b8;
    --secondary-color: #38bdf8;
    --accent-color: #ff6b6b;
    --bg-primary: #0b1220;
    --bg-secondary: #1a2332;
    --bg-tertiary: #242d3d;
    --text-primary: #ffffff;
    --text-secondary: #a1aeb6;
    --text-tertiary: #6b7884;
    --border-color: #1e293b;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0f172a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
header {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(10, 20, 35, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.logo img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

.logo h1 {
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 204, 0.1);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(11, 18, 32, 0.6) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: slideInDown 0.8s ease;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= HOT TAGS ================= */
.hot-tags {
    padding: 20px 0 0;
}

.hot-tags .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-tags p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    color: var(--text-primary);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.2);
}

/* ================= FEATURED GAMES ================= */
.featured-section {
    padding: 50px 20px 60px;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 8px;
}

.section-heading p {
    color: var(--text-secondary);
    max-width: 560px;
    font-size: 15px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.featured-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(20, 30, 50, 0.95) 100%);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed) ease;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 255, 204, 0.15);
    border-color: var(--primary-color);
}

.featured-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

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

.featured-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-card-body .badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.featured-card-body h3 {
    font-size: 20px;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.featured-card-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
    min-height: 70px;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 13px;
}

.featured-card-body .btn {
    margin-top: auto;
    width: fit-content;
}

/* ================= FOOTER ================= */
footer {
    background: linear-gradient(135deg, #020617 0%, #0f1420 100%);
    padding: 35px 20px;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

footer p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ================= PLATFORMS ================= */
.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Platform Card */
.platform-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.2);
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
}

.platform-card a {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    padding: 20px;
}

.platform-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.platform-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.platform-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ================= SLIDER ================= */
.slider {
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 255, 204, 0.1);
}

.slider-wrapper {
    position: relative;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(1.1);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 40px 30px 30px;
    color: white;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.95;
    color: var(--text-secondary);
}

.slide-content .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.slide-content .btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #38bdf8;
}

/* ================= LOADING ================= */
.loading {
    text-align: center;
    padding: 50px;
    color: #94a3b8;
}

.loading p {
    font-size: 18px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    .hero h2 {
        font-size: 30px;
    }
}

/* ================= LOADING SPINNER ================= */
.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* ================= BACK TO TOP BUTTON ================= */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #38bdf8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}

/* ================= DOWNLOAD MODAL ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.download-modal {
    animation: fadeIn 0.3s ease-out;
}

.download-modal-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid #334155;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(148, 163, 184, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.5);
    transform: scale(1.1);
}

.modal-header {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #334155;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.modal-game-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-info h2 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #f1f5f9;
}

.modal-platform {
    color: #94a3b8;
    font-size: 14px;
}

.modal-body {
    padding: 24px;
}

.game-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.game-stats span {
    background: rgba(51, 65, 85, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.game-description {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.modal-body h3 {
    color: #f1f5f9;
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.download-option-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-option-btn:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.download-option-btn:active {
    transform: scale(0.98);
}

.option-name {
    font-size: 15px;
}

.option-arrow {
    font-size: 18px;
}

.safety-note {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 12px;
    border-radius: 6px;
    color: #fca5a5;
    font-size: 13px;
    margin-top: 16px;
}

/* Notifications */
.notification {
    animation: slideIn 0.3s ease-out;
}

.notification-success {
    background: #10b981;
}

.notification-error {
    background: #ef4444;
}

.notification-info {
    background: #3b82f6;
}

/* Advanced Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Smooth transitions for cards */
.game-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
    animation: pulseGlow 2s ease-in-out;
}

.featured-card {
    animation: slideUp 0.5s ease-out;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Button interactions */
button,
.btn,
.tag {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:active,
.btn:active {
    transform: scale(0.96);
}

/* Input focus states */
input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    transition: box-shadow 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .download-modal-content {
        max-width: 95%;
    }

    .modal-header {
        flex-direction: column;
        gap: 16px;
    }

    .modal-game-image {
        width: 100%;
        height: 150px;
    }
}

/* ================= CAROUSEL SLIDER STYLES ================= */
.slider-section {
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.carousel-slider {
    margin-top: 30px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-nav {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: 1px solid var(--primary-color);
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-out;
}

.carousel-card {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 50, 0.9) 100%);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.2);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.carousel-card:hover .game-thumbnail img {
    transform: scale(1.08);
}

.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--accent-color), #ff8866);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.game-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.game-genre {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.game-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 255, 204, 0.1);
}

.stars {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.size {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-small {
    width: 100%;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

/* ================= GAMES GRID STYLING ================= */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    animation: fadeIn 0.5s ease;
}

.game-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 30, 50, 0.9) 100%);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.6s ease backwards;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(0, 255, 204, 0.2);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.game-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition-speed) ease;
}

.game-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.game-card:hover .card-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.trending-badge-small {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.game-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-badges {
    display: flex;
    gap: 6px;
    font-size: 11px;
}

.badge-small {
    background: rgba(0, 255, 204, 0.2);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-rating {
    background: rgba(56, 189, 248, 0.2);
    color: var(--secondary-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.card-title-sm {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-meta {
    font-size: 11px;
    color: var(--text-tertiary);
    margin: 0;
}

.btn-sm {
    width: 100%;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 255, 204, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}