/**
 * Badges & Tags - Modern 2026 Design
 * Glassmorphism, gradients, animations
 */

/* ==================== FEATURES BLOCK ==================== */
.features-block {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8ff 100%);
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.features-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(156,39,176,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.features-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.features-title i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%);
    border-radius: 14px;
    color: #7b1fa2;
    font-size: 18px;
}

.features-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* Feature Badge - Gradient Pills */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.feature-badge:hover::before {
    left: 100%;
}

.feature-badge:hover {
    transform: translateY(-4px) scale(1.02);
}

.feature-badge i {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Badge Colors - Bold Gradients */
.feature-badge.green {
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    box-shadow: 0 6px 20px rgba(0,200,83,0.4);
}

.feature-badge.blue {
    background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
    box-shadow: 0 6px 20px rgba(22,163,74,0.4);
}

.feature-badge.purple {
    background: linear-gradient(135deg, #aa00ff 0%, #d500f9 100%);
    box-shadow: 0 6px 20px rgba(170,0,255,0.4);
}

.feature-badge.orange {
    background: linear-gradient(135deg, #ff6d00 0%, #ff9100 100%);
    box-shadow: 0 6px 20px rgba(255,109,0,0.4);
}

.feature-badge.cyan {
    background: linear-gradient(135deg, #00b8d4 0%, #00e5ff 100%);
    box-shadow: 0 6px 20px rgba(0,184,212,0.4);
}

.feature-badge.pink {
    background: linear-gradient(135deg, #f50057 0%, #ff4081 100%);
    box-shadow: 0 6px 20px rgba(245,0,87,0.4);
}

/* ==================== TAGS BLOCK ==================== */
.tags-block {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 24px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
}

.tags-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.tags-title i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
    border-radius: 12px;
    color: #607d8b;
    font-size: 16px;
}

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

/* Tag Badge - Soft Pills */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border: 2px solid #e8e8e8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-badge:hover {
    background: linear-gradient(135deg, #f7fef9 0%, #f0fdf4 100%);
    border-color: #4ade80;
    color: #15803d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22,163,74,0.2);
}

.tag-badge i {
    font-size: 10px;
    color: #aaa;
    transition: color 0.25s ease;
}

.tag-badge:hover i {
    color: #16a34a;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .features-block,
    .tags-block {
        padding: 20px;
        border-radius: 20px;
    }
    
    .features-title,
    .tags-title {
        font-size: 16px;
    }
    
    .features-title i,
    .tags-title i {
        width: 38px;
        height: 38px;
    }
    
    .feature-badge {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 14px;
    }
    
    .tag-badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .features-badges,
    .tags-badges {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .feature-badge {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .feature-badge i {
        font-size: 14px;
    }
}

/* ==================== BUTTON COLOR OVERRIDES ==================== */
/* Override global link colors for button elements */

.download-card__btn,
.download-card__btn:hover,
.download-card__btn:focus,
.download-card__btn:visited {
    color: white !important;
}

.install-app-link,
.install-app-link:hover,
.install-app-link:focus,
.install-app-link:visited {
    color: white !important;
}

.btn-download-main,
.btn-download-main:hover,
.btn-download-main:focus {
    color: white !important;
}

.btn-gplay,
.btn-gplay:hover,
.btn-gplay:focus {
    color: white !important;
}

/* Section titles - restore proper styling */
/* Override content.css h2 styles for these specific blocks */
.game-content .gallery-block__title,
.game-content .video-block__title,
.game-content .download-block__title,
.game-content .section-title,
h2.gallery-block__title,
h2.video-block__title,
h2.download-block__title,
.gallery-block__title,
.video-block__title,
.download-block__title,
.section-title {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px 0 !important;
    margin-top: 0 !important;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Features block title (h2 inside div) */
.features-block__title h2,
.game-content .features-block__title h2 {
    margin: 0 0 4px 0 !important;
    margin-top: 0 !important;
    font-size: 18px !important;
    font-weight: 700;
    color: #92400e;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    display: block !important;
}

/* Tags title styling */
.tags-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.tags-title i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7fef9 0%, #f0fdf4 100%);
    border-radius: 10px;
    color: #16a34a;
    font-size: 14px;
}
