:root {
    --bg-main: #0B0F19;
    --bg-card: #131B2E;
    --bg-card-hover: #1A243D;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(244, 107, 158, 0.4);
    --primary: #F46B9E;
    --primary-hover: #E05388;
    --accent: #38BDF8;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(244, 107, 158, 0.2);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    direction: rtl;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background: rgba(19, 27, 46, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge {
    background: linear-gradient(135deg, rgba(244, 107, 158, 0.2), rgba(56, 189, 248, 0.2));
    border: 1px solid rgba(244, 107, 158, 0.4);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.highlight-link {
    background: linear-gradient(135deg, var(--primary), #EC4899);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(244, 107, 158, 0.35);
}

.nav-item.highlight-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 107, 158, 0.5);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 60px 24px 36px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 65%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.gradient-text {
    background: linear-gradient(135deg, #F46B9E, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    background: var(--bg-card-hover);
}

.filter-pill.active {
    background: #FFFFFF;
    color: #0B0F19;
    border-color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   CATALOG GRID & CARDS
   ========================================================================== */
.catalog-section {
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 28px;
    width: 100%;
}

/* Catalog Card */
.catalog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    width: 100%;
    min-height: 480px;
}

.catalog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 36px -5px rgba(0, 0, 0, 0.6);
}

.featured-card {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    background: linear-gradient(180deg, rgba(244, 107, 158, 0.05) 0%, var(--bg-card) 40%);
}

.featured-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(244, 107, 158, 0.35), var(--shadow-card);
}

/* Badges */
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.soon-badge {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Image Box */
.card-image-box {
    height: 220px;
    background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.card-img {
    max-height: 180px;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease;
}

.catalog-card:hover .card-img {
    transform: scale(1.06) rotate(1deg);
}

/* Placeholders for Unreleased Cards */
.card-image-placeholder {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.placeholder-gradient-1 { background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%); }
.placeholder-gradient-2 { background: radial-gradient(circle at center, #1E2435 0%, #0F172A 100%); }
.placeholder-gradient-3 { background: radial-gradient(circle at center, #1A2838 0%, #0F172A 100%); }
.placeholder-gradient-4 { background: radial-gradient(circle at center, #262136 0%, #0F172A 100%); }
.placeholder-gradient-5 { background: radial-gradient(circle at center, #1F2826 0%, #0F172A 100%); }

.placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.catalog-card:hover .placeholder-icon {
    transform: scale(1.1);
}

.placeholder-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* Card Body */
.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.tag {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Action Buttons */
.card-footer {
    margin-top: auto;
}

.card-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), #EC4899);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(244, 107, 158, 0.35);
    border: none;
}

.primary-btn:hover {
    box-shadow: 0 6px 24px rgba(244, 107, 158, 0.55);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.primary-btn:hover .btn-arrow {
    transform: translateX(-4px);
}

.disabled-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    cursor: not-allowed;
    font-size: 0.92rem;
}

/* ==========================================================================
   FEATURES BANNER & FOOTER
   ========================================================================== */
.features-banner {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 36px 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.f-icon {
    font-size: 2rem;
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.feature-item small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.site-footer {
    text-align: center;
    color: #64748b;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    background: #080B13;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .features-banner {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 12px 16px;
    }
    .hero-section {
        padding: 40px 16px 24px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .catalog-section {
        padding: 16px 16px 40px;
    }
}
