/* Structure and Typography */
.ch-8c081747-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
}

.ch-8c081747-header {
    text-align: center;
    margin-bottom: 60px;
}

.ch-8c081747-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.ch-8c081747-header-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.ch-8c081747-hubs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Sibling Blur Effect - unchanged as requested */
.ch-8c081747-hubs-grid:hover .ch-8c081747-hub-wrapper:not(:hover) {
    filter: blur(4px);
    opacity: 0.75;
    transform: scale(0.98);
}

.ch-8c081747-hub-wrapper {
    position: relative;
    width: 260px;
    height: 180px; /* slightly less tall for elegance */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Library Wrapper - 10% larger */
.ch-8c081747-library-wrapper {
    width: 286px;
    height: 198px;
}


/* Soft floating shadow underneath - Reduced heaviness, diffused light */
.ch-8c081747-hub-shadow {
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(6px);
    transition: all 0.4s ease;
    z-index: 0;
}

.ch-8c081747-hub-wrapper:hover .ch-8c081747-hub-shadow {
    transform: scale(1.05) translateY(8px);
    opacity: 0.5;
}

/* Base Hub Styling */
.ch-8c081747-hub {
    position: absolute;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: #fff;
    
    /* Elegant gradient */
    background: linear-gradient(135deg, var(--hub-color-1), var(--hub-color-2));
    
    /* Inner depth/highlight for premium ceramic/enamel feel */
    box-shadow: inset 0 3px 6px rgba(255,255,255,0.4), inset 0 -3px 6px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.03); 
    
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    z-index: 1;
}

/* ----------------------------------------------------
   Unique Organic Shapes (Silhouettes)
   ---------------------------------------------------- */
/* Neurodivergence: Slightly asymmetrical and curious */
.ch-8c081747-shape-neuro { border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; }

/* Grief & Loss: Softest, gentlest curves */
.ch-8c081747-shape-grief { border-radius: 48% 52% 49% 51% / 51% 49% 52% 48%; }

/* Trauma Recovery: Slightly taller with stronger posture */
.ch-8c081747-shape-trauma { border-radius: 45% 55% 50% 50% / 40% 40% 60% 60%; }

/* Relationships: Wider and more open */
.ch-8c081747-shape-relations { border-radius: 55% 45% 45% 55% / 50% 50% 50% 50%; }

/* Identity: Most organic and flowing */
.ch-8c081747-shape-identity { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }

/* Mental Health: Smoothest and most balanced */
.ch-8c081747-shape-mental { border-radius: 50% 50% 50% 50% / 48% 52% 48% 52%; }

/* Resource Library: Most grounded and stable */
.ch-8c081747-shape-library { border-radius: 45% 45% 55% 55% / 45% 45% 55% 55%; }

/* Default fallback */
.ch-8c081747-shape-default { border-radius: 50%; }


/* Premium Texture Overlay (Soft watercolor/paper) */
.ch-8c081747-texture-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Soft noise pattern for watercolor/matte texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    mix-blend-mode: multiply; /* Better for watercolor feel */
    pointer-events: none;
    z-index: 1;
}

/* Delicate Edge Highlight (Premium finish) */
.ch-8c081747-edge-highlight {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
    pointer-events: none;
    z-index: 2;
}

/* Shimmer Layer */
.ch-8c081747-shimmer-layer {
    position: absolute;
    top: -100%; left: -100%; right: -100%; bottom: -100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateX(-100%);
}


/* Inner Content Layout */
.ch-8c081747-hub-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Premium Minimalist Line Icons */
.ch-8c081747-icon {
    margin-bottom: 8px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #ffffff; 
    opacity: 1;
}

.ch-8c081747-icon svg {
    display: block;
    /* Soft shadow to lift off the background slightly */
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

/* Titles */
.ch-8c081747-title {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin: 0;
    color: inherit;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ch-8c081747-subtitle {
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(6px);
    margin-top: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* General Hover States */
.ch-8c081747-hub-wrapper:hover .ch-8c081747-hub {
    transform: translateY(-4px) scale(1.02);
    /* Soft, elegant glow on hover */
    box-shadow: 0 8px 24px var(--hub-glow), inset 0 3px 6px rgba(255,255,255,0.5), inset 0 -3px 6px rgba(0,0,0,0.1);
}

.ch-8c081747-hub-wrapper:hover .ch-8c081747-icon {
    transform: scale(1.08) translateY(-2px);
}

.ch-8c081747-hub-wrapper:hover .ch-8c081747-title {
    transform: translateY(-2px);
}

.ch-8c081747-hub-wrapper:hover .ch-8c081747-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Base floating animation - unchanged */
@keyframes ch-8c081747-base-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}
.ch-8c081747-hub-wrapper {
    animation: ch-8c081747-base-float 8s ease-in-out infinite alternate;
}
.ch-8c081747-hubs-grid .ch-8c081747-hub-wrapper:nth-child(2n) { animation-delay: -2s; animation-duration: 9s; }
.ch-8c081747-hubs-grid .ch-8c081747-hub-wrapper:nth-child(3n) { animation-delay: -4s; animation-duration: 7s; }

/* ----------------------------------------------------
   Specific Hover / Idle Animations (Maintained)
   ---------------------------------------------------- */
@keyframes ch-8c081747-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}
.ch-8c081747-anim-pulse { animation: ch-8c081747-pulse 4s ease-in-out infinite; }
.ch-8c081747-hub-wrapper:hover .ch-8c081747-anim-pulse { animation: ch-8c081747-pulse 2s ease-in-out infinite; }

@keyframes ch-8c081747-softglow {
    0% { box-shadow: inset 0 3px 6px rgba(255,255,255,0.4), 0 0 5px var(--hub-glow); }
    50% { box-shadow: inset 0 3px 6px rgba(255,255,255,0.4), 0 0 15px var(--hub-glow); }
    100% { box-shadow: inset 0 3px 6px rgba(255,255,255,0.4), 0 0 5px var(--hub-glow); }
}
.ch-8c081747-anim-glow { animation: ch-8c081747-softglow 5s ease-in-out infinite; }

@keyframes ch-8c081747-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.ch-8c081747-anim-shimmer .ch-8c081747-shimmer-layer {
    opacity: 0.2;
    animation: ch-8c081747-shimmer 6s linear infinite;
}
.ch-8c081747-hub-wrapper:hover .ch-8c081747-anim-shimmer .ch-8c081747-shimmer-layer {
    opacity: 0.5;
    animation: ch-8c081747-shimmer 2s linear infinite;
}

@keyframes ch-8c081747-heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.015); }
    20% { transform: scale(1); }
    30% { transform: scale(1.015); }
    40% { transform: scale(1); }
    100% { transform: scale(1); }
}
.ch-8c081747-anim-heartbeat { animation: ch-8c081747-heartbeat 4s ease-in-out infinite; }
.ch-8c081747-hub-wrapper:hover .ch-8c081747-anim-heartbeat { animation: ch-8c081747-heartbeat 2s ease-in-out infinite; }

@keyframes ch-8c081747-colorshift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(8deg); }
    100% { filter: hue-rotate(0deg); }
}
.ch-8c081747-anim-colorshift { animation: ch-8c081747-colorshift 8s ease-in-out infinite; }

@keyframes ch-8c081747-breathe {
    0% { transform: scale(0.995); }
    50% { transform: scale(1.005); }
    100% { transform: scale(0.995); }
}
.ch-8c081747-anim-breathe { animation: ch-8c081747-breathe 6s ease-in-out infinite; }

@keyframes ch-8c081747-pageflip {
    0% { border-bottom-right-radius: 55%; }
    50% { border-bottom-right-radius: 40%; }
    100% { border-bottom-right-radius: 55%; }
}
.ch-8c081747-anim-pageflip { animation: ch-8c081747-pageflip 6s ease-in-out infinite; }


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ch-8c081747-hubs-grid {
        gap: 30px;
    }
    
    .ch-8c081747-hub-wrapper {
        width: 100%;
        max-width: 280px;
        height: 180px;
    }
    
    .ch-8c081747-library-wrapper {
        max-width: 308px;
        height: 198px;
    }
    
    .ch-8c081747-header-title {
        font-size: 2rem;
    }
    
    .ch-8c081747-hubs-grid:hover .ch-8c081747-hub-wrapper:not(:hover) {
        filter: none;
        opacity: 0.9;
    }
}
