﻿/* ========================================
   CATEGORIES PAGE - ATTRACTIVE DESIGN
   ======================================== */

/* ===== COLOR VARIABLES ===== */
:root {
    /* Primary Soft Pastels */
    --soft-lavender: #E6D5E8;
    --powder-pink: #F7D5E0;
    --mint-cream: #E8F5E9;
    --peach-blossom: #FFDAB9;
    --baby-blue: #E3F2FD;
    /* Cultural Colors */
    --saffron-gold: #FFB347;
    --lotus-pink: #F4C2C2;
    --peacock-teal: #A5D6D6;
    /* Emotional Colors */
    --joy-apricot: #FFE5B4;
    --trust-periwinkle: #B8D4E8;
    --hope-sage: #C8E6C9;
    --love-pink: #F8BBD0;
    /* Neutrals */
    --white: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-light: #8B98A5;
    --border-light: #E8ECEF;
}

/* ===== HERO SECTION ===== */
.categories-hero {
    position: relative;
    background: linear-gradient(135deg, #FFE5E5 0%, #E6D5E8 50%, #E3F2FD 100%);
    padding: 80px 20px 60px;
    overflow: hidden;
}

    .categories-hero .container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 18px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 50%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: float-circle 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* ===== QUICK SEARCH SECTION ===== */
.quick-search-section {
    padding: 40px 20px;
    background: white;
}

.quick-search-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-light);
    position: relative;
}

.search-icon {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.5;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 75px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

    .search-input:focus {
        outline: none;
        border-color: #9C27B0;
        box-shadow: 0 4px 12px rgba(156, 39, 176, 0.15);
    }

.search-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
    padding-left: 20px;
}

    .search-hint span {
        font-style: italic;
    }

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 60px 20px;
    background: #FAFBFC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Category Card */
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

    .category-card.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: var(--accent-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .category-card:hover::before {
        transform: scaleX(1);
    }

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: var(--accent-color);
    }

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

.card-badge {
    background: var(--card-color);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid var(--accent-color);
}

/* Card Content */
.card-content {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.card-title-sinhala {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    font-family: 'Noto Sans Sinhala', 'FM Abhaya', 'Iskoola Pota', sans-serif;
    line-height: 1.4;
}

.card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Card Examples */
.card-examples {
    background: var(--card-color);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.examples-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.examples-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.example-name {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .arrow-icon {
    transform: translateX(5px);
}

/* Card Overlay Effects */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover .card-overlay {
    opacity: 0.05;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 45deg, transparent, rgba(255, 255, 255, 0.3), transparent );
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
}

.category-card:hover .card-shine {
    transform: translateX(100%) translateY(100%);
}

/* Search Match Animation */
.category-card.search-match {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* ===== COMBINATIONS SECTION ===== */
.combinations-section {
    padding: 60px 20px;
    background: white;
}

.combinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.combination-card {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

    .combination-card:hover {
        border-color: #9C27B0;
        box-shadow: 0 8px 24px rgba(156, 39, 176, 0.15);
        transform: translateY(-4px);
    }

.combo-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.combo-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.combo-plus {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.combo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.combo-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.combo-button {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .combo-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(156, 39, 176, 0.3);
    }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-badge-icon {
    font-size: 16px;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 16px 0;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .cta-button.primary {
        background: white;
        color: #667eea;
    }

        .cta-button.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
        }

    .cta-button.secondary {
        background: transparent;
        color: white;
        border-color: white;
    }

        .cta-button.secondary:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
        }

.button-icon {
    font-size: 20px;
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(4px);
}

/* CTA Decoration */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float-shape 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation: float-shape 8s ease-in-out infinite 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation: float-shape 7s ease-in-out infinite 4s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .card-icon {
        font-size: 40px;
    }

    .card-title {
        font-size: 20px;
    }

    .combinations-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .quick-search-card {
        padding: 20px;
    }

    .search-icon {
        left: 30px;
    }

    .search-input {
        padding-left: 60px;
    }
}

@media (max-width: 480px) {
    .categories-hero {
        padding: 60px 16px 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .category-card {
        padding: 24px;
    }
}

/* ========================================
   CATEGORIES PAGE - ATTRACTIVE DESIGN
   ======================================== */

/* ===== COLOR VARIABLES ===== */
:root {
    /* Primary Soft Pastels */
    --soft-lavender: #E6D5E8;
    --powder-pink: #F7D5E0;
    --mint-cream: #E8F5E9;
    --peach-blossom: #FFDAB9;
    --baby-blue: #E3F2FD;
    /* Cultural Colors */
    --saffron-gold: #FFB347;
    --lotus-pink: #F4C2C2;
    --peacock-teal: #A5D6D6;
    /* Emotional Colors */
    --joy-apricot: #FFE5B4;
    --trust-periwinkle: #B8D4E8;
    --hope-sage: #C8E6C9;
    --love-pink: #F8BBD0;
    /* Neutrals */
    --white: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-light: #8B98A5;
    --border-light: #E8ECEF;
}

/* ===== HERO SECTION ===== */
.categories-hero {
    position: relative;
    background: linear-gradient(135deg, #FFE5E5 0%, #E6D5E8 50%, #E3F2FD 100%);
    padding: 80px 20px 60px;
    overflow: hidden;
}

    .categories-hero .container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 18px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 50%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: float-circle 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* ===== QUICK SEARCH SECTION ===== */
.quick-search-section {
    padding: 40px 20px;
    background: white;
}

.quick-search-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-light);
    position: relative;
}

.search-icon {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.5;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 75px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

    .search-input:focus {
        outline: none;
        border-color: #9C27B0;
        box-shadow: 0 4px 12px rgba(156, 39, 176, 0.15);
    }

.search-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
    padding-left: 20px;
}

    .search-hint span {
        font-style: italic;
    }

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 60px 20px;
    background: #FAFBFC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Category Card */
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

    .category-card.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: var(--accent-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .category-card:hover::before {
        transform: scaleX(1);
    }

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: var(--accent-color);
    }

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

.card-badge {
    background: var(--card-color);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid var(--accent-color);
}

/* Card Content */
.card-content {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Card Examples */
.card-examples {
    background: var(--card-color);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.examples-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.examples-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.example-name {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .arrow-icon {
    transform: translateX(5px);
}

/* Card Overlay Effects */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover .card-overlay {
    opacity: 0.05;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 45deg, transparent, rgba(255, 255, 255, 0.3), transparent );
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s ease;
}

.category-card:hover .card-shine {
    transform: translateX(100%) translateY(100%);
}

/* Search Match Animation */
.category-card.search-match {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* ===== COMBINATIONS SECTION ===== */
.combinations-section {
    padding: 60px 20px;
    background: white;
}

.combinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.combination-card {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

    .combination-card:hover {
        border-color: #9C27B0;
        box-shadow: 0 8px 24px rgba(156, 39, 176, 0.15);
        transform: translateY(-4px);
    }

.combo-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.combo-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.combo-plus {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.combo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.combo-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.combo-button {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .combo-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(156, 39, 176, 0.3);
    }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-badge-icon {
    font-size: 16px;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 16px 0;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .cta-button.primary {
        background: white;
        color: #667eea;
    }

        .cta-button.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
        }

    .cta-button.secondary {
        background: transparent;
        color: white;
        border-color: white;
    }

        .cta-button.secondary:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
        }

.button-icon {
    font-size: 20px;
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(4px);
}

/* CTA Decoration */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float-shape 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation: float-shape 8s ease-in-out infinite 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation: float-shape 7s ease-in-out infinite 4s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .card-icon {
        font-size: 40px;
    }

    .card-title {
        font-size: 20px;
    }

    .combinations-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .quick-search-card {
        padding: 20px;
    }

    .search-icon {
        left: 30px;
    }

    .search-input {
        padding-left: 60px;
    }
}

@media (max-width: 480px) {
    .categories-hero {
        padding: 60px 16px 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .category-card {
        padding: 24px;
    }
}

/* ========================================
   CATEGORY DETAIL PAGE STYLES
   ======================================== */

/* Category Detail Hero */
.category-detail-hero {
    padding: 40px 20px 60px;
}

.category-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0; /* Reduced bottom margin */
}

/* NEW: Sinhala category name in hero */
.category-hero-title-sinhala {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    font-family: 'Noto Sans Sinhala', 'FM Abhaya', 'Iskoola Pota', sans-serif;
    line-height: 1.3;
}

.category-hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 40px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

    .breadcrumb a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: var(--text-primary);
        }

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.category-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.category-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.category-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.category-hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 40px 0;
}

.category-stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Filters Section */
.category-filters-section {
    padding: 30px 20px;
    background: white;
}

.filters-card {
    max-width: 900px;
    margin: 0 auto;
    background: #F8F9FA;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-light);
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-icon {
    font-size: 24px;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.filters-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .filter-btn:hover {
        border-color: #9C27B0;
        color: #9C27B0;
    }

    .filter-btn.active {
        background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
        color: white;
        border-color: transparent;
    }

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-select:focus {
        outline: none;
        border-color: #9C27B0;
    }

/* Names Grid */
.names-grid-section {
    padding: 40px 20px 80px;
    background: #FAFBFC;
}

.names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.name-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

    .name-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-color: #9C27B0;
    }

.name-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.name-gender-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
}

    .favorite-btn:hover {
        color: #E91E63;
        transform: scale(1.1);
    }

    .favorite-btn.favorited {
        color: #E91E63;
    }

        .favorite-btn.favorited .heart-icon path {
            fill: #E91E63;
        }

.name-main {
    margin-bottom: 16px;
}

.name-sinhala {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.name-english {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.name-meaning {
    background: #F8F9FA;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.meaning-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.meaning-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.name-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9C27B0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .name-card-link:hover {
        gap: 8px;
    }

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.no-results-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
}

.back-to-categories-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .back-to-categories-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
    }

/* Related Categories */
.related-categories-section {
    padding: 60px 20px;
    background: white;
}

.related-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.related-category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .related-category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-color: #9C27B0;
    }

.related-icon {
    font-size: 32px;
    flex-shrink: 0;
}

/* NEW: Container for bilingual names */
.related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* NEW: English name styling */
.related-name {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    line-height: 1.2;
}

/* NEW: Sinhala name styling */
.related-name-si {
    font-size: 14px;
    font-weight: 500;
    color: #718096;
    line-height: 1.2;
    font-family: 'Noto Sans Sinhala', 'FM Abhaya', 'Iskoola Pota', sans-serif;
}

/* NEW: No related categories message */
.no-related-message {
    text-align: center;
    color: #718096;
    padding: 40px 20px;
    font-size: 16px;
}

/* Category Detail Page - Responsive */
@media (max-width: 768px) {
    .category-icon-large {
        font-size: 60px;
    }

    .category-hero-title {
        font-size: 32px;
    }

    .category-hero-description {
        font-size: 16px;
    }

    .category-stats-bar {
        gap: 24px;
    }

    .stat-value {
        font-size: 24px;
    }

    .names-grid {
        grid-template-columns: 1fr;
    }

    .filters-content {
        flex-direction: column;
    }

    .category-detail-hero {
        padding: 30px 16px 40px;
    }
}
/* Nish new */
/* Related categories mobile adjustments */
@media (max-width: 768px) {
    .related-categories-grid {
        grid-template-columns: 1fr;
    }

    .related-category-card {
        padding: 12px 16px;
    }

    .related-icon {
        font-size: 28px;
    }

    .related-name {
        font-size: 14px;
    }

    .related-name-si {
        font-size: 12px;
    }
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 75px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    appearance: none;
    cursor: pointer;
}

.theme-dropdown {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    padding-right: 55px;
}

.search-input:focus {
    outline: none;
    border-color: #9C27B0;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.15);
}


/* ===== INDEX HERO STAT VISIBILITY FIX ===== */
.categories-hero .stat-number,
.categories-hero .stat-label,
.categories-hero .stat-item i {
    color: rgba(50, 50, 50, 0.9); /* darker text */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); /* subtle glow for light bg */
}

.categories-hero .stat-number {
    font-weight: 900;
    font-size: 40px; /* slightly larger for emphasis */
}

.categories-hero .stat-item i {
    font-size: 32px;
    margin-bottom: 6px;
    display: block;
}

/* =============================================
   FAVORITE BUTTON STYLES
   Add these to your CategoriesStyles.css
   ============================================= */

/* =============================================
   FAVORITE BUTTON STYLES
   Add these to your CategoriesStyles.css
   ============================================= */

/* Basic favorite button styling */
.favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .favorite-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .favorite-btn:active {
        transform: scale(0.95);
    }

    .favorite-btn:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

/* Heart icon styling */
.heart-icon {
    transition: all 0.3s ease;
}

.favorite-btn .heart-icon {
    color: #9CA3AF;
}

.favorite-btn:hover .heart-icon {
    color: #EF4444;
}

/* Favorited state */
.favorite-btn.favorited .heart-icon {
    color: #EF4444;
    animation: heartBeat 0.4s ease;
}

.favorite-btn.favorited:hover .heart-icon {
    color: #DC2626;
}

/* Heart beat animation */
@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    10%, 30% {
        transform: scale(0.9);
    }

    20%, 40% {
        transform: scale(1.1);
    }

    50%, 70% {
        transform: scale(1.15);
    }

    60%, 80% {
        transform: scale(1.1);
    }
}

/* Pulse animation for initial load of favorited items */
.favorite-btn.favorited .heart-icon path {
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Name card specific adjustments */
.name-card .favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.name-card:hover .favorite-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .favorite-btn {
        padding: 6px;
    }

    .heart-icon {
        width: 18px;
        height: 18px;
    }
}

/* =============================================
   NOTIFICATION TOAST (if not already in CSS)
   These are included in the JavaScript but
   can be moved here for better organization
   ============================================= */

.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 400px;
    border-left: 4px solid #3B82F6;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
}

    .notification-toast.show {
        transform: translateX(0);
        opacity: 1;
    }

.notification-success {
    border-left-color: #10B981;
}

.notification-error {
    border-left-color: #EF4444;
}

.notification-info {
    border-left-color: #3B82F6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: #10B981;
    color: white;
}

.notification-error .notification-icon {
    background: #EF4444;
    color: white;
}

.notification-info .notification-icon {
    background: #3B82F6;
    color: white;
}

.notification-message {
    color: #1F2937;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsive notifications */
@media (max-width: 640px) {
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 12px 16px;
    }

    .notification-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .notification-message {
        font-size: 13px;
    }
}

/* Loading state for favorite button */
.favorite-btn.loading {
    pointer-events: none;
}

    .favorite-btn.loading .heart-icon {
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tooltip for favorite button */
.favorite-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}

.favorite-btn[title]:hover::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 1000;
}

/* Accessibility improvements */
.favorite-btn:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

    .favorite-btn:focus:not(:focus-visible) {
        outline: none;
    }

/* Name detail badges */
.name-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    transition: all 0.2s ease;
}

    .detail-badge:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: translateY(-1px);
    }

.stat-number-bold {
    color: #2D2D2D !important;
    font-weight: 900 !important;
}

/* =============================================
   ATTRACTIVE VIEW DETAILS BUTTON
   Add these styles to CategoriesStyles.css
   ============================================= */

/* Name Footer Container */
.name-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* View Details Button - Main Styles */
.view-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF9EBA 0%, #FF8B94 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 158, 186, 0.3);
    width: 100%;
}

    /* Shimmer Effect */
    .view-details-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        transition: left 0.5s ease;
    }

    .view-details-btn:hover::before {
        left: 100%;
    }

    /* Hover Effects */
    .view-details-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 158, 186, 0.45);
        background: linear-gradient(135deg, #FF8B94 0%, #FF9EBA 100%);
    }

    .view-details-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(255, 158, 186, 0.3);
    }

    /* Arrow Animation */
    .view-details-btn svg {
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .view-details-btn:hover svg {
        transform: translateX(4px);
        animation: arrowBounce 0.6s ease infinite;
    }

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(4px);
    }

    50% {
        transform: translateX(8px);
    }
}

/* Text Styling */
.view-details-btn span {
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* Pulse Animation on Load */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 158, 186, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 158, 186, 0.5);
    }
}

.name-card .view-details-btn {
    animation: buttonPulse 2s ease-in-out infinite;
}

.name-card:hover .view-details-btn {
    animation: none;
}

/* Focus State for Accessibility */
.view-details-btn:focus {
    outline: 3px solid rgba(255, 158, 186, 0.4);
    outline-offset: 2px;
}

    .view-details-btn:focus:not(:focus-visible) {
        outline: none;
    }

/* =============================================
   ALTERNATIVE STYLE 1: Outlined Button
   Replace the gradient if you prefer outlined style
   ============================================= */
.view-details-btn.outlined {
    background: white;
    color: #FF9EBA;
    border: 2px solid #FF9EBA;
    box-shadow: none;
}

    .view-details-btn.outlined:hover {
        background: linear-gradient(135deg, #FF9EBA 0%, #FF8B94 100%);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(255, 158, 186, 0.35);
    }

/* =============================================
   ALTERNATIVE STYLE 2: Minimal Style
   ============================================= */
.view-details-btn.minimal {
    background: rgba(255, 158, 186, 0.1);
    color: #FF9EBA;
    box-shadow: none;
    font-weight: 600;
}

    .view-details-btn.minimal:hover {
        background: rgba(255, 158, 186, 0.2);
        transform: translateX(4px);
    }

/* =============================================
   ALTERNATIVE STYLE 3: Glass Morphism
   ============================================= */
.view-details-btn.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #2D2D2D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .view-details-btn.glass:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */
@media (max-width: 768px) {
    .view-details-btn {
        padding: 10px 20px;
        font-size: 13px;
        gap: 6px;
    }

        .view-details-btn svg {
            width: 14px;
            height: 14px;
        }
}

@media (max-width: 480px) {
    .view-details-btn {
        padding: 9px 18px;
        font-size: 12px;
    }
}

/* =============================================
   ENHANCED VERSION: With Icon Background
   ============================================= */
.view-details-btn.enhanced {
    padding-right: 20px;
}

    .view-details-btn.enhanced svg {
        background: rgba(255, 255, 255, 0.2);
        padding: 4px;
        border-radius: 50%;
        width: 24px;
        height: 24px;
    }

    .view-details-btn.enhanced:hover svg {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(4px) rotate(0deg);
    }

/* =============================================
   LOADING STATE (Optional)
   ============================================= */
.view-details-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

    .view-details-btn.loading svg {
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   DISABLED STATE (Optional)
   ============================================= */
.view-details-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================
   PREMIUM/SPECIAL VARIANT (Optional)
   For premium names or featured items
   ============================================= */
.view-details-btn.premium {
    background: linear-gradient(135deg, #FFD56F 0%, #FFB84D 100%);
    box-shadow: 0 4px 12px rgba(255, 213, 111, 0.4);
}

    .view-details-btn.premium:hover {
        box-shadow: 0 8px 20px rgba(255, 213, 111, 0.6);
    }

/* Boy Names Variant */
.view-details-btn.boy {
    background: linear-gradient(135deg, #A8DAFF 0%, #B8C5FF 100%);
    box-shadow: 0 4px 12px rgba(168, 218, 255, 0.3);
}

    .view-details-btn.boy:hover {
        box-shadow: 0 8px 20px rgba(168, 218, 255, 0.45);
    }

/* Girl Names Variant */
.view-details-btn.girl {
    background: linear-gradient(135deg, #FFB3D9 0%, #FFC4E8 100%);
    box-shadow: 0 4px 12px rgba(255, 179, 217, 0.3);
}

    .view-details-btn.girl:hover {
        box-shadow: 0 8px 20px rgba(255, 179, 217, 0.45);
    }






