/**
 * Apps Store Styles
 * Enhanced UI Design with Blue Theme
 * @version 2.1.0
 */

:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #fda4af;
    --secondary: #9f1239;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --dark: #1a202c;
    --light: #ffffff;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    
    /* Enhanced gradient theme */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(96.44deg, #ffe4e6, #fff1f2 51.56%, #fecdd3);
    --gradient-navbar: linear-gradient(135deg, rgba(255, 228, 230, 0.95) 0%, rgba(255, 241, 242, 0.95) 50%, rgba(254, 205, 211, 0.95) 100%);
    
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    overflow-x: hidden;
}

.showcase-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* ============ ENHANCED NAVIGATION BAR ============ */
.navbar {
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.15);
    transition: var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.navbar-container {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.navbar-logo {
    max-width: 220px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(103, 126, 234, 0.3));
}

.navbar-logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(225, 29, 72, 0.4));
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.navbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.navbar-btn:hover::before {
    left: 100%;
}

.navbar-btn.zalo {
background: rgba(0, 0, 0, 0.15);
  color: #000;
  border-color: #fff;
}

.navbar-btn.zalo:hover {
    background: rgba(70, 130, 255, 0.9);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(70, 130, 255, 0.4);
}

.navbar-btn.purchase {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.navbar-btn.purchase:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}
/* Free Badge cho navbar */
.navbar-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.navbar-free-badge {
    background: #fff;
    color:#000;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: freeBadgePulse 2s ease-in-out infinite;
}

.navbar-free-badge svg {
    font-size: 10px;
}

/* Animation cho free badge */
@keyframes freeBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Sửa button free-app */
.navbar-btn.free-app {
    background: linear-gradient(135deg, #e11d48 0% , #be123c 100%);
    color: white !important;
    position: relative;
    overflow: hidden;border: 2px solid #fff;
}

.navbar-btn.free-app:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px); /* Giảm từ -2px xuống -1px */
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

@keyframes freeBtnGlow {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .navbar-free-badge {
        font-size: 9px;
        padding: 3px 6px;
        gap: 3px;
    }
    
    .navbar-free-badge svg {
        font-size: 8px;
    }
}
/* ============ ENHANCED HERO SECTION ============ */
.hero {
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: var(--dark);
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: hue-rotate(0deg);
    }
    33% { 
        background-position: 100% 50%; 
        filter: hue-rotate(5deg);
    }
    66% { 
        background-position: 50% 100%; 
        filter: hue-rotate(-5deg);
    }
}

/* ============ ENHANCED ANIMATED SHAPES ============ */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: floatShape 25s infinite linear;
    backdrop-filter: blur(10px);
}

.hero-shape.app-icon {
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(225, 29, 72, 0.7);
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.hero-shape.shape1 {
    width: 90px;
    height: 90px;
    top: 15%;
    left: 8%;
    background: rgba(249, 115, 22, 0.2);
    animation-duration: 28s;
    animation-delay: 0s;
}

.hero-shape.shape2 {
    width: 70px;
    height: 70px;
    top: 25%;
    right: 12%;
    background: rgba(16, 185, 129, 0.2);
    animation-duration: 32s;
    animation-delay: -5s;
}

.hero-shape.shape3 {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 20%;
    background: rgba(16, 185, 129, 0.2);
    animation-duration: 36s;
    animation-delay: -10s;
}

.hero-shape.shape4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    background: rgba(245, 158, 11, 0.2);
    animation-duration: 30s;
    animation-delay: -15s;
}

.hero-shape.shape5 {
    width: 75px;
    height: 75px;
    top: 35%;
    left: 45%;
    background: rgba(239, 68, 68, 0.2);
    animation-duration: 34s;
    animation-delay: -8s;
}

.hero-shape.shape6 {
    width: 85px;
    height: 85px;
    bottom: 20%;
    right: 35%;
    background: rgba(249, 115, 22, 0.2);
    animation-duration: 29s;
    animation-delay: -12s;
}

.hero-shape.shape7 {
    width: 95px;
    height: 95px;
    top: 60%;
    left: 25%;
    background: rgba(239, 68, 68, 0.15);
    animation-duration: 26s;
    animation-delay: -18s;
}

.hero-shape.shape8 {
    width: 65px;
    height: 65px;
    top: 20%;
    left: 70%;
    background: rgba(245, 158, 11, 0.15);
    animation-duration: 40s;
    animation-delay: -3s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(-15px) translateX(30px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-40px) translateX(8px) rotate(270deg) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.2);
    color: #000;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-12px) scale(1.02); 
    }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    min-height: 1.15em;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    opacity: 0.85;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #4a5568;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: #000;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid rgba(225, 29, 72, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.hero-btn:hover::before {
    left: 0;
}

.hero-btn:hover {
    transform: translateY(-4px);
    color: white;
    border-color: var(--primary);
}

/* ============ FILTERS SECTION ============ */
.filters-section {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(103, 126, 234, 0.1);
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filters-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 24px 18px 60px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 126, 234, 0.1), 0 4px 20px rgba(103, 126, 234, 0.15);
    transform: scale(1.02);
}

.search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
}

.category-select {
    padding: 18px 28px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 16px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    min-width: 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.clear-btn {
    padding: 18px 28px;
    background: var(--light);
    color: var(--gray);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);    max-width: 170px;
    justify-content: center;
}

.clear-btn:hover {
    background: var(--gray-light);
    border-color: var(--gray);
    transform: translateY(-2px);
}


/* ========================================
   FREE APPS SECTION - CSS HOÀN CHỈNH
   ======================================== */

/* Free Apps Section Container */
.free-apps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    position: relative;
    overflow: hidden;
}

.free-apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain-red" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23fee2e2" opacity="0.4"/><circle cx="75" cy="75" r="1" fill="%23fecaca" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%23f87171" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grain-red)"/></svg>');
    pointer-events: none;
}

.free-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Free Header */
.free-header {
    text-align: center;
    margin-bottom: 60px;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.free-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.free-title .highlight-text-red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Free Apps Grid */
.free-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Free App Card - Không có hình ảnh */
.free-app-card {
background: white;
    border-radius: 16px;
    border: 1px solid #fecaca;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(30px);
    position: relative;
    padding: 25px;
    justify-content: center;
    display: flex;
    flex-flow: column;
    align-items: center;}

.free-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.free-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.free-app-card:hover::before {
    transform: scaleX(1);
}

/* Free App Icon Header */
.free-app-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 16px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.free-app-icon-header svg {
    font-size: 1.8rem;
    color: white;
}

/* Free App Content */
.free-app-category {
display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #242424;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid #848484;   width: fit-content;
}
.free-app-category svg {
    font-size: 11px;
}

.free-app-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.free-app-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Free App Action */
.free-app-action {
    text-align: center;
}

.free-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.free-app-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
    color: white;
}

.free-app-btn.disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    box-shadow: none;
}

.free-app-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.free-app-btn svg {
    font-size: 12px;
}

/* Free CTA */
.free-cta {
    text-align: center;
}

.free-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e11d48, #be185d);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
}

.free-btn:hover {
    background: linear-gradient(135deg, #be185d, #9d174d);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(225, 29, 72, 0.4);
    color: white;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .free-apps-section {
        padding: 60px 0;
    }
    
    .free-title {
        font-size: 2.2rem;
    }
    
    .free-subtitle {
        font-size: 1.1rem;
    }
    
    .free-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .free-apps-section {
        padding: 40px 0;
    }
    
    .free-content {
        padding: 0 15px;
    }
    
    .free-header {
        margin-bottom: 40px;
    }
    
    .free-title {
        font-size: 1.8rem;
    }
    
    .free-subtitle {
        font-size: 1rem;
    }
    
    .free-apps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .free-app-card {
        padding: 20px;
    }
    
    .free-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

/* ========================================
   FEATURED APPS SECTION - CSS HOÀN CHỈNH
   ======================================== */

/* Featured Apps Section Container */
.featured-apps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.featured-apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.4"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.3"/><circle cx="50" cy="10" r="0.5" fill="%2394a3b8" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.featured-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Featured Header */
.featured-header {
    text-align: center;
    margin-bottom: 60px;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.featured-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-title .highlight-text {
    background: linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Apps Grid */
.featured-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Featured App Card - Giao diện đơn giản */
.featured-app-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(30px);
    position: relative;
}

.featured-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #10b981, #059669);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.featured-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #10b981;
}

.featured-app-card:hover::before {
    transform: scaleX(1);
}

/* Featured App Image */
.featured-app-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.featured-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-app-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%);
}

.featured-app-icon-fallback svg {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

/* Featured App Content */
.featured-app-content {
    padding: 20px;
}

.featured-app-category {
display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #242424;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid #848484;
}

.featured-app-category svg {
    font-size: 11px;
}

.featured-app-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-app-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured App Action */
.featured-app-action {
    margin-top: auto;
}

.featured-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.featured-app-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: white;
}

.featured-app-btn.disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    box-shadow: none;
}

.featured-app-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.featured-app-btn svg {
    font-size: 13px;
}

/* Featured CTA */
.featured-cta {
    text-align: center;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(225, 29, 72, 0.4);
    color: white;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .featured-apps-section {
        padding: 60px 0;
    }
    
    .featured-title {
        font-size: 2.2rem;
    }
    
    .featured-subtitle {
        font-size: 1.1rem;
    }
    
    .featured-apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-app-image {
        height: 160px;
    }
    
    .featured-app-content {
        padding: 16px;
    }
    
    .featured-app-name {
        font-size: 1.1rem;
    }
    
    .featured-app-description {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .featured-apps-section {
        padding: 40px 0;
    }
    
    .featured-content {
        padding: 0 15px;
    }
    
    .featured-header {
        margin-bottom: 40px;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .featured-subtitle {
        font-size: 1rem;
    }
    
    .featured-app-image {
        height: 140px;
    }
    
    .featured-app-icon-fallback svg {
        font-size: 2.5rem;
    }
    
    .featured-apps-grid {
        gap: 15px;
    }
    
    .featured-app-content {
        padding: 14px;
    }
    
    .featured-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

/* ============ CATEGORY TABS ============ */
.category-tabs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 5px;padding-top:20px;
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.category-tab {
    padding: 14px 28px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    white-space: nowrap;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.2);
}

.category-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(103, 126, 234, 0.3); }
    70% { box-shadow: 0 4px 30px rgba(103, 126, 234, 0.5); }
    100% { box-shadow: 0 4px 20px rgba(103, 126, 234, 0.3); }
}

/* ============ APPS SECTION ============ */
.apps-section {
    margin-bottom: 100px;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
}

.apps-count {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(103, 126, 234, 0.2);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    transition: var(--transition);
    width: 100%;
}

.app-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    opacity: 0;
    transform: translateY(30px);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.app-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.app-card:hover::before {
    transform: scaleX(1);
}

/* Category-specific colors for card borders */
.app-card[data-category="health"]:hover::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.app-card[data-category="education"]:hover::before {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.app-card[data-category="finance"]:hover::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.app-card[data-category="culture"]:hover::before {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
}
.app-card[data-category="business"]:hover::before {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}
.app-card[data-category="tool"]:hover::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.app-card[data-category="game"]:hover::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.app-card[data-category="knowledge"]:hover::before {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.app-card[data-category="other"]:hover::before {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

/* ============ APP STATUS ============ */
.app-status {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-width: 90px;
    text-align: center;
}

.app-status.active {
    background: rgba(220, 252, 231, 0.95);
    color: #166534;
    border: 1px solid #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.app-status.development {
    background: rgba(243, 232, 255, 0.95);
    color: #6b21a8;
    border: 1px solid #8b5cf6;
}

.app-status.inactive {
    background: rgba(254, 243, 199, 0.95);
    color: #92400e;
    border: 1px solid #f59e0b;
}

@keyframes glow {
    from { box-shadow: 0 0 25px rgba(16, 185, 129, 0.3); }
    to { box-shadow: 0 0 35px rgba(16, 185, 129, 0.6); }
}

.app-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
    margin-top: 40px;
}

.app-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.3);
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.app-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(103, 126, 234, 0.15);
}

.app-description {
    color: var(--gray);
    line-height: 1.7;
    margin: 24px 0;
    overflow: hidden;
    font-size: 1.05rem;
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.app-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.app-btn {
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
    flex: 1;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.app-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.app-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.app-btn.secondary {
    background: var(--light);
    color: var(--gray);
    border: 2px solid var(--gray-light);
}

.app-btn.secondary:hover {
    background: var(--gray-light);
    color: var(--dark);
}

.app-btn.warning {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: var(--white);
}

.app-btn.info {
    background: linear-gradient(135deg, var(--info) 0%, #0891b2 100%);
    color: var(--white);
}

.app-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============ LOADING & STATES ============ */
.loading {
    text-align: center;
    padding: 100px 20px;
    color: var(--gray);
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 70px;
    height: 70px;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    border-radius: 50%;
    mask: radial-gradient(circle at center, transparent 60%, black 60%);
    animation: spin 1s linear infinite;
    margin: 0 auto 28px;
}

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

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 100px 20px;
    color: var(--gray);
    grid-column: 1 / -1;
}

.no-results-icon {
    font-size: 4.5rem;
    margin-bottom: 28px;
    opacity: 0.5;
    color: var(--primary);
}

.no-results-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.no-results-text {
    font-size: 1.15rem;
    max-width: 450px;
    margin: 0 auto;
}

.error {
    text-align: center;
    padding: 100px 20px;
    color: var(--danger);
    grid-column: 1 / -1;
    background: #fef2f2;
    border-radius: var(--radius-lg);
    border: 1px solid #fecaca;
}

.error-icon {
    font-size: 3.5rem;
    margin-bottom: 28px;
}

.error-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.error-text {
    font-size: 1.15rem;
    margin-bottom: 28px;
}

.retry-btn {
    background: var(--danger);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.retry-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* ============ FLOATING ACTION BUTTON ============ */
.fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    animation: fabPulse 3s ease-in-out infinite;
}

.fab:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

@keyframes fabPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 25px rgba(225, 29, 72, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(225, 29, 72, 0.5);
    }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.25s ease;
}

/* ============ CATEGORY SPECIFIC COLORS ============ */
.app-card[data-category="health"] .app-image,
.app-card[data-category="health"] .app-btn.primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.app-card[data-category="health"] .app-category {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.app-card[data-category="education"] .app-image,
.app-card[data-category="education"] .app-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.app-card[data-category="education"] .app-category {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.app-card[data-category="finance"] .app-image,
.app-card[data-category="finance"] .app-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.app-card[data-category="finance"] .app-category {
    background: #d1fae5;
    color: #059669;
    border-color: #6ee7b7;
}

.app-card[data-category="culture"] .app-image,
.app-card[data-category="culture"] .app-btn.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.app-card[data-category="culture"] .app-category {
    background: #f3e8ff;
    color: #7c3aed;
    border-color: #c4b5fd;
}

.app-card[data-category="business"] .app-image,
.app-card[data-category="business"] .app-btn.primary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.app-card[data-category="business"] .app-category {
    background: #f3f4f6;
    color: #4b5563;
    border-color: #d1d5db;
}

.app-card[data-category="tool"] .app-image,
.app-card[data-category="tool"] .app-btn.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.app-card[data-category="tool"] .app-category {
    background: #fef3c7;
    color: #d97706;
    border-color: #fcd34d;
}

.app-card[data-category="game"] .app-image,
.app-card[data-category="game"] .app-btn.primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.app-card[data-category="game"] .app-category {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.app-card[data-category="knowledge"] .app-image,
.app-card[data-category="knowledge"] .app-btn.primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.app-card[data-category="knowledge"] .app-category {
    background: #cffafe;
    color: #0891b2;
    border-color: #67e8f9;
}

.app-card[data-category="other"] .app-image,
.app-card[data-category="other"] .app-btn.primary {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.app-card[data-category="other"] .app-category {
    background: #ecfccb;
    color: #65a30d;
    border-color: #bef264;
}

/* Hover effects with category colors */
.app-card[data-category="health"]:hover {
    border-color: #fca5a5;
}
.app-card[data-category="education"]:hover {
    border-color: #93c5fd;
}
.app-card[data-category="finance"]:hover {
    border-color: #6ee7b7;
}
.app-card[data-category="culture"]:hover {
    border-color: #c4b5fd;
}
.app-card[data-category="business"]:hover {
    border-color: #d1d5db;
}
.app-card[data-category="tool"]:hover {
    border-color: #fcd34d;
}
.app-card[data-category="game"]:hover {
    border-color: #fca5a5;
}
.app-card[data-category="knowledge"]:hover {
    border-color: #67e8f9;
}
.app-card[data-category="other"]:hover {
    border-color: #bef264;
}

/* Category tab colors */
.category-tab.active[data-category="health"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.category-tab.active[data-category="education"] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.category-tab.active[data-category="finance"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.category-tab.active[data-category="culture"] {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.category-tab.active[data-category="business"] {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}
.category-tab.active[data-category="tool"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.category-tab.active[data-category="game"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.category-tab.active[data-category="knowledge"] {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.category-tab.active[data-category="other"] {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

/* ============ NOTIFICATION ANIMATIONS ============ */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1200px) {
    .content-container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .filters-section {
        margin-left: 16px;
        margin-right: 16px;
        padding: 32px 24px;
    }
    
    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .navbar-container {
        padding: 0 16px;
    }
    
    .navbar-logo {
        max-width: 160px;
    }
    
    .navbar-actions {
        gap: 12px;
    }
    
    .navbar-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero {
        padding: 80px 0 60px 0;
    }
    
    .category-tabs {
        gap: 12px;
    }
    
    .category-tab {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 60px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
                
    .navbar-btn span {
        display: none;
    }
    
    .navbar-btn {
        padding: 10px 14px;
        min-width: auto;
    }
    
    .filters-section {
        padding: 24px 16px;
        margin: 0 12px 40px 12px;
    }
    
    .filters-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .category-tab {
        flex-shrink: 0;
        min-width: 110px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .app-card {
        padding: 24px;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .app-btn {
        flex: none;
    }
    
    .fab {
        bottom: 24px;
        right: 24px;
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .app-image {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-container {
        padding: 0 8px;
    }
    
    .navbar-actions {
        gap: 6px;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
        margin-top: 50px;
        align-items: center;
    }
    
    .app-image {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }
    
    .app-info {
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .app-meta {
        justify-content: center;
    }
    
    .filters-section {
        padding: 20px 12px;
        margin: 0 8px 30px 8px;
    }
    
    .content-container {
        padding: 0 8px;
    }
    
    .category-tabs {
        margin: 20px -8px;
        padding: 0 8px 10px 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .category-tab {
        min-width: 100px;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .hero-content {
        padding: 0 12px;
    }
}

/* Landing Pages Section Styles */
.landing-pages-section {
    background: linear-gradient(96.44deg, #c5d5ff 0%, #e2f0ff 51.56%, #d7d4ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.landing-pages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="landing-grid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M 30 0 L 0 0 0 30" fill="none" stroke="rgba(103,126,234,0.06)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23landing-grid)"/></svg>');
    opacity: 0.7;
    pointer-events: none;
}

/* Floating decorative shapes */
.landing-pages-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(225, 29, 72, 0.05);
    border-radius: 50%;
    animation: floatShape 15s infinite ease-in-out;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.landing-pages-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.landing-pages-header {
    text-align: center;
    margin-bottom: 80px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgb(0 0 0 / 30%);
    backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #4c51bf;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.2);
    animation: float 4s ease-in-out infinite;
}

.landing-badge svg {
    color: #fff;
    font-size: 1.1rem;
}

.landing-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: #2d3748;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(103, 126, 234, 0.1);
}

.highlight-text {
    background: linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    border-radius: 2px;
    opacity: 0.3;
}

.landing-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #4a5568;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

.landing-intro {
    margin-bottom: 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.intro-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.intro-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--icon-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intro-item:hover::before {
    transform: scaleX(1);
}

.intro-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(103, 126, 234, 0.25);
}

.intro-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.intro-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--icon-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.intro-item:hover .intro-icon::after {
    opacity: 0.3;
}

.intro-icon.birthday { 
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --icon-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.intro-icon.love { 
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --icon-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.intro-icon.award { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --icon-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.intro-icon.vip { 
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --icon-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.intro-icon.wedding { 
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    --icon-gradient: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}
.intro-icon.business { 
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    --icon-gradient: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.intro-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.intro-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.landing-features {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 24px;
    margin-bottom: 80px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.1);
}

.features-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.features-title svg {
    color: #667eea;
    font-size: 1.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(103, 126, 234, 0.05);
    transform: translateY(-2px);
}

.feature-highlight svg {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-highlight div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-highlight strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.feature-highlight span {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Landing Pages Grid */
.landing-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* Landing Page Cards */
.landing-page-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.landing-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.landing-page-card:hover::before {
    transform: scaleX(1);
}

.landing-page-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(103, 126, 234, 0.25);
}

.landing-page-card[data-category="birthday"] {
    --card-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.landing-page-card[data-category="love"] {
    --card-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.landing-page-card[data-category="award"] {
    --card-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.landing-page-card[data-category="vip"] {
    --card-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.landing-page-card[data-category="wedding"] {
    --card-gradient: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.landing-page-card[data-category="birthday"] .landing-name a:hover::after {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.landing-page-card[data-category="love"] .landing-name a:hover::after {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.landing-page-card[data-category="award"] .landing-name a:hover::after {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.landing-page-card[data-category="vip"] .landing-name a:hover::after {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.landing-page-card[data-category="wedding"] .landing-name a:hover::after {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

/* Preview Container */
.landing-preview {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    height: 240px;
}

.preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.landing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.landing-page-card:hover .landing-image {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Preview Overlay */
.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.landing-page-card:hover .preview-overlay {
    opacity: 1;
}

.preview-actions {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page-card:hover .preview-actions {
    transform: translateY(0);
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.preview-btn:hover {
    background: white;
    color: #4c51bf;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.preview-btn svg {
    font-size: 0.9rem;
}

/* Landing Info */
.landing-info {
    padding: 30px;
    text-align: center;
    position: relative;
}

.landing-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transform: translateY(-15px);
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.landing-badge.birthday { 
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.landing-badge.love { 
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.landing-badge.award { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.landing-badge.vip { 
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.landing-badge.wedding { 
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.landing-page-card:hover .landing-badge {
    transform: translateY(-15px) scale(1.1) rotate(10deg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.landing-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    margin-top: -5px;
    line-height: 1.3;
}

.landing-name a {
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.landing-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--card-gradient);
    transition: width 0.3s ease;
}

.landing-name a:hover {
    color: #667eea;
    transform: translateY(-1px);
}

.landing-name a:hover::after {
    width: 100%;
}

.landing-page-card:hover .landing-name a {
    color: #667eea;
}

.landing-desc {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design for Landing Cards */
@media (max-width: 768px) {
    .landing-pages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .landing-preview {
        height: 200px;
    }
    
    .landing-info {
        padding: 25px 20px;
    }
    
    .landing-badge {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .landing-name {
        font-size: 1.2rem;
    }
    
    .landing-name a {
        padding: 4px 0;
        margin: -4px 0;
    }
    
    .landing-desc {
        font-size: 0.95rem;
    }
    
    .preview-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .landing-pages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .landing-preview {
        height: 180px;
    }
    
    .landing-info {
        padding: 20px 15px;
    }
    
    .landing-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        transform: translateY(-10px);
    }
    
    .landing-page-card:hover .landing-badge {
        transform: translateY(-10px) scale(1.05) rotate(5deg);
    }
    
    .landing-name {
        font-size: 1.1rem;
    }
    
    .landing-name a {
        padding: 6px 0;
        margin: -6px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .landing-desc {
        font-size: 0.9rem;
    }
}

/* Animation for landing cards */
.landing-page-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.landing-page-card:nth-child(1) { animation-delay: 0.1s; }
.landing-page-card:nth-child(2) { animation-delay: 0.2s; }
.landing-page-card:nth-child(3) { animation-delay: 0.3s; }
.landing-page-card:nth-child(4) { animation-delay: 0.4s; }
.landing-page-card:nth-child(5) { animation-delay: 0.5s; }

/* CTA Section */
.landing-cta {
    text-align: center;
}

.cta-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.cta-box p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.landing-btn:hover::before {
    left: 100%;
}

.landing-btn.primary {
    background:linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.3);
}

.landing-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(103, 126, 234, 0.4);
}

.landing-btn.secondary {
    background: rgba(103, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid rgba(103, 126, 234, 0.3);
}

.landing-btn.secondary:hover {
    background: rgba(103, 126, 234, 0.2);
    border-color: rgba(103, 126, 234, 0.5);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-pages-section {
        padding: 80px 0;
    }
    
    .landing-pages-content {
        padding: 0 16px;
    }
    
    .landing-title {
        font-size: 2.2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .intro-item {
        padding: 25px;
    }
    
    .landing-features {
        padding: 35px 25px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .landing-pages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-box {
        padding: 35px 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .landing-pages-section {
        padding: 60px 0;
    }
    
    .landing-pages-content {
        padding: 0 12px;
    }
    
    .landing-title {
        font-size: 1.8rem;
    }
    
    .landing-subtitle {
        font-size: 1rem;
    }
    
    .intro-item {
        padding: 20px;
    }
    
    .intro-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .landing-features {
        padding: 25px 20px;
    }
    
    .cta-box {
        padding: 25px 20px;
    }
    
    .placeholder-card {
        padding: 40px 20px;
        min-height: 220px;
    }
}

/* Animation delays for staggered entrance */
.intro-item:nth-child(1) { animation-delay: 0.1s; }
.intro-item:nth-child(2) { animation-delay: 0.2s; }
.intro-item:nth-child(3) { animation-delay: 0.3s; }
.intro-item:nth-child(4) { animation-delay: 0.4s; }
.intro-item:nth-child(5) { animation-delay: 0.5s; }
.intro-item:nth-child(6) { animation-delay: 0.6s; }

.feature-highlight:nth-child(1) { animation-delay: 0.1s; }
.feature-highlight:nth-child(2) { animation-delay: 0.2s; }
.feature-highlight:nth-child(3) { animation-delay: 0.3s; }
.feature-highlight:nth-child(4) { animation-delay: 0.4s; }


/* SEO Introduction Section Styles - Updated Colors */
.seo-intro-section {
    background: linear-gradient(96.44deg, #c5d5ff 0%, #e2f0ff 51.56%, #d7d4ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    padding: 80px 0 0px 0;
    border-top: 1px solid rgba(103, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: hue-rotate(0deg);
    }
    33% { 
        background-position: 100% 50%; 
        filter: hue-rotate(3deg);
    }
    66% { 
        background-position: 50% 100%; 
        filter: hue-rotate(-3deg);
    }
}

.seo-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="seo-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(103,126,234,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23seo-grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.seo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.seo-header {
    text-align: center;
    margin-bottom: 60px;
}

.seo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(103, 126, 234, 0.1);
}

.seo-title svg {
    color: #667eea;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(103, 126, 234, 0.3));
}

.seo-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.seo-intro {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.15);
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 5px solid #667eea;
}

.seo-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin: 0;
}

.highlight-number {
    background: linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(103, 126, 234, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(103, 126, 234, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(103, 126, 234, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.feature-icon.health { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.feature-icon.education { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.feature-icon.finance { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.feature-icon.business { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.feature-icon.culture { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.feature-icon.tools { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.seo-benefits {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0;
}

.seo-benefits h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-benefits h3 svg {
    color: #10b981;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.benefit-item:hover {
    background: rgba(16, 185, 129, 0.05);
}

.benefit-item svg {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item span {
    color: #2d3748;
    line-height: 1.6;
}

/* CTA Section - Updated Colors & Positioning */
.cta-section {
    background:linear-gradient(135deg, #8b5cf6 0% , #42297b 100%);
    padding: 80px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
    opacity: 0.6;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-icon svg {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn.primary {
    background: rgba(255, 255, 255, 0.95);
    color: #42297b;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    color: #4c51bf;
    background: white;
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* ===== MODERN FOOTER DESIGN ===== */
.modern-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.modern-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.modern-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.modern-footer-column {
    display: flex;
    flex-direction: column;
}

.modern-footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.modern-footer-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    margin-left: 15px;
}

.modern-footer-title svg {
    color: #60a5fa;
    font-size: 1rem;
}

.modern-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-footer-link:hover {
    color: white;
    border-left-color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    padding-left: 16px;
    transform: translateX(4px);
}

.modern-footer-link svg {
    color: #eaeaea;
    font-size: 12px;
    margin-right: 8px;
}

.modern-footer-link:hover svg {
    color: #60a5fa;
}

.footer-link-count {
    font-size: 12px;
    color: #e3e3e3;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.modern-footer-link:hover .footer-link-count {
    background: rgba(96, 165, 250, 0.3);
    color: white;
}

/* Featured Apps Styling */
.modern-footer-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.modern-footer-featured-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-footer-featured-item:hover {
    color: white;
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

.modern-footer-featured-item svg {
    color: #60a5fa;
    font-size: 12px;
}

/* Info Links */
.modern-footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-footer-info-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-footer-info-item:hover {
    color: white;
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(4px);
}

.modern-footer-info-item svg {
    color: #60a5fa;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Demo Section */
.modern-footer-demo {
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff6b;
}

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

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.modern-footer-demo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.modern-footer-demo-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.5;
}

.modern-footer-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.modern-footer-demo-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.modern-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.modern-footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.modern-footer-copyright strong {
    color: white;
    font-weight: 700;
}

.modern-footer-social {
    display: flex;
    gap: 12px;
}

.modern-footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-footer-social-link:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
    border-color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .modern-footer-featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-footer-container {
        padding: 40px 20px 20px;
    }
    
    .modern-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modern-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .modern-footer-title::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .modern-footer-featured {
        grid-template-columns: 1fr;
    }
    
    .modern-footer-demo {
        padding: 20px;
    }
    
    .modern-footer-link,
    .modern-footer-info-item {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Loading state */
.footer-loading {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* Category specific colors for detail pages */
.modern-footer.category-themed {
    background: linear-gradient(135deg, var(--category-color) 0%, var(--category-color-dark) 100%);
}

.modern-footer.category-themed .modern-footer-title svg,
.modern-footer.category-themed .modern-footer-link:hover svg,
.modern-footer.category-themed .modern-footer-featured-item svg,
.modern-footer.category-themed .modern-footer-info-item svg {
    color: rgba(255, 255, 255, 0.9);
}

.modern-footer.category-themed .modern-footer-link:hover {
    border-left-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.modern-footer.category-themed .modern-footer-featured-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.modern-footer.category-themed .modern-footer-info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
/* Responsive Design */
@media (max-width: 768px) {
    .seo-intro-section {
        padding: 60px 0 0 0;
    }
    
    .seo-content {
        padding: 0 16px;
    }
    
    .seo-title {
        font-size: 2rem;
    }
    
    .seo-subtitle {
        font-size: 1.1rem;
    }
    
    .seo-intro, .seo-benefits {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .main-footer {
        padding: 50px 0 30px 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
        padding: 0 16px;
    }
    
    .footer-left {
        order: 1;
    }
    
    .footer-right {
        order: 2;
        text-align: center;
    }
    
    .footer-demo {
        max-width: none;
    }
    
    .footer-demo-title {
        justify-content: center;
        font-size: 1.4rem;
    }
    
    .footer-demo-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .footer-right::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .seo-intro-section {
        padding: 50px 0 0 0;
    }
    
    .seo-content {
        padding: 0 12px;
    }
    
    .seo-title {
        font-size: 1.7rem;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .cta-content {
        padding: 0 12px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .main-footer {
        padding: 40px 0 25px 0;
    }
    
    .footer-container {
        padding: 0 12px;
        gap: 30px;
    }
    
    .footer-demo-title {
        font-size: 1.3rem;
    }
    
    .footer-demo-desc {
        font-size: 1rem;
    }
    
    .footer-demo-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .copyright-text {
        font-size: 1.05rem;
    }
    
    .copyright-sub {
        font-size: 0.9rem;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-header, .feature-item, .seo-benefits, .cta-content, .footer-demo, .footer-copyright {
    animation: fadeInUp 0.8s ease-out;
}

.feature-item:nth-child(2) { animation-delay: 0.1s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.3s; }
.feature-item:nth-child(5) { animation-delay: 0.4s; }
.feature-item:nth-child(6) { animation-delay: 0.5s; }

.cta-content { animation-delay: 0.2s; }
.footer-copyright { animation-delay: 0.3s; }
/* CSS bổ sung cho category tabs và games section */

/* Enhanced Category Tabs */
.category-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
margin-top: 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px 15px 0 15px;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #374151;
    min-height: 130px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    position: relative;
    overflow: hidden;
}

.category-tab.active {
border-color: #fff;
  background: #000;
  color: white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.category-tab svg {
    font-size: 2.2rem;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.category-tab.active svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
}

.category-tab span {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.sort-label {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.sort-buttons {
    display: flex;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #e5e7eb;
    box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.sort-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.sort-btn.active {
    background: #000;
    color: white;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 0.1);
    transform: translateY(-1px);
}

.sort-btn:hover:not(.active) {
    color: #eee;
    background: #000;
}

/* Games Section */
.games-section {
    background: linear-gradient(135deg, #000 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.games-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.games-header {
    text-align: center;
    margin-bottom: 48px;
}

.games-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.games-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.games-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.game-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.game-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 24px;
    color: white;
    transition: all 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.35);
}

.game-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.game-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.6;
}

.game-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #764ba2;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
}

.game-btn.disabled {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
}

.games-cta {
    text-align: center;
}

.games-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.games-cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .category-tabs {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    
    .category-tab {
        padding: 24px 16px;
        min-height: 110px;
    }
    
    .category-tab svg {
        font-size: 1.8rem;
    }
    
    .category-tab span {
        font-size: 13px;
    }
    
    .sort-controls {
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-buttons {
        width: 100%;
    }
    
    .sort-btn {
        flex: 1;
        min-width: auto;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .games-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-card {
        padding: 28px;
    }
}
/* Enhanced Category Sections CSS */
.category-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.category-section:nth-child(odd) {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.category-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.category-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.category-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.category-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.category-card-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-card-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: #94a3b8;
}

.category-app-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 15px;
}

.category-app-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.category-app-description {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.category-app-action {
    margin-top: auto;
}

.category-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.category-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.category-app-btn.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.category-cta {
    text-align: center;
}

.category-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.category-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Specific category colors - Mỗi danh mục màu riêng biệt */
.health .category-badge { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.health .category-cta-btn { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.health .category-app-btn { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.health .category-title span { color: #ef4444; }
.health .category-card::before { background: none!important}

.education .category-badge { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.education .category-cta-btn { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.education .category-app-btn { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.education .category-title span { color: #3b82f6; }
education .category-card::before { background: none!important}

.finance .category-badge { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.finance .category-cta-btn { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.finance .category-app-btn { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.finance .category-title span { color: #10b981; }
.finance .category-card::before { background: none!important}

.culture .category-badge { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.culture .category-cta-btn { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.culture .category-app-btn { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.culture .category-title span { color: #8b5cf6; }
.culture .category-card::before { background: none!important}

.business .category-badge { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.business .category-cta-btn { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.business .category-app-btn { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.business .category-title span { color: #f59e0b; }
.business .category-card::before { background: none!important}

.tool .category-badge { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.tool .category-cta-btn { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.tool .category-app-btn { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.tool .category-title span { color: #6b7280; }
.tool .category-card::before { background: none!important}

.knowledge .category-badge { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.knowledge .category-cta-btn { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.knowledge .category-app-btn { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.knowledge .category-title span { color: #ec4899; }
.knowledge .category-card::before { background: none!important}

.other .category-badge{ background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.other .category-cta-btn { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.other .category-app-btn { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.other .category-title span { color: #64748b; }
.other .category-card::before { background: none!important}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination-btn.active {
    background: #000;
    color: white;
    border-color: #667eea;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    margin: 0 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Enhanced Apps Section */
.main-apps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.main-apps-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-apps-header {
    text-align: center;
    margin-bottom: 60px;
}

.main-apps-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Hero Search Styles */
.hero-search-container {
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-search-input-wrapper {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-search-input-wrapper:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-search-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(102, 126, 234, 0.1);
}

.hero-search-icon {
    color: #000;
    font-size: 20px;
    margin-right: 16px;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    background: transparent;
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
}

.hero-search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.hero-search-clear {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.hero-search-clear:hover {
    background: #f3f4f6;
    color: #ef4444;
}

.hero-search-btn {
    background: linear-gradient(135deg, #e11d48 0% , #be123c 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
}

.hero-search-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    max-width: 100%;
}

.hero-search-suggestion {
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    min-height: 32px;
    flex-shrink: 0;
}

.hero-search-suggestion:hover {
    background: white;
    border-color: #e11d48;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
    color: #e11d48;
}

.hero-search-suggestion svg {
    font-size: 12px;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-search-box {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-search-input-wrapper {
        padding: 0 20px;
    }
    
    .hero-search-input {
        padding: 18px 0;
        font-size: 15px;
    }
    
    .hero-search-btn {
        padding: 18px 28px;
        justify-content: center;
    }
        .hero-search-suggestions {
    .hero-search-suggestions {
        gap: 6px;
        margin-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-search-suggestion {
        font-size: 12px;
        padding: 6px 12px;
        min-height: 28px;
        gap: 5px;
    }
    
    .hero-search-suggestion svg {
        font-size: 11px;
    }
    
    .hero-search-suggestion span {
        /* VẪN HIỂN THỊ - KHÔNG ẨN */
        display: inline;
    }
 
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-search-container {
        margin: 30px 0;
    }
    
    .hero-search-input::placeholder {
        font-size: 14px;
    }
        
    .hero-search-btn {
        padding: 18px 20px;
    }
    .hero-search-suggestions {
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap; /* ĐẢM BẢO WRAP */
    }
    
    .hero-search-suggestion {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 14px;
        min-height: 24px;
        gap: 4px;
        margin-bottom: 2px; /* THÊM KHOẢNG CÁCH GIỮA CÁC DÒNG */
    }
    
    .hero-search-suggestion span {
        /* VẪN HIỂN THỊ TEXT TRÊN MOBILE */
        display: inline;
        font-size: 10px;
    }
    
    .hero-search-suggestion svg {
        font-size: 10px;
    }

}
@media (max-width: 360px) {
    .hero-search-suggestions {
        gap: 3px;
        padding: 0 5px;
    }
    
    .hero-search-suggestion {
        font-size: 10px;
        padding: 3px 6px;
        min-height: 22px;
    }
    
    .hero-search-suggestion span {
        font-size: 9px;
    }
    
    .hero-search-suggestion svg {
        font-size: 9px;
    }
}
