.elementor-kit-382{--e-global-color-primary:#4fa29b;--e-global-color-secondary:#f98a6b;--e-global-color-text:#333333;--e-global-color-accent:#4fa29b;--e-global-color-background:#fefefe;--e-global-color-backgroundAccent:#f2e9db;--e-global-color-transparent:#00000000;--e-global-typography-primary-font-family:"Sintony";--e-global-typography-primary-font-size:24px;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Sintony";--e-global-typography-secondary-font-size:20px;--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.5em;--e-global-typography-accent-font-family:"Poppins";--e-global-typography-accent-font-size:16px;--e-global-typography-accent-font-weight:400;--e-global-typography-accent-line-height:1.5em;--e-global-typography-heading-xl-font-family:"Sintony";--e-global-typography-heading-xl-font-size:56px;--e-global-typography-heading-xl-font-weight:600;--e-global-typography-heading-xl-line-height:1.2em;--e-global-typography-heading-l-font-family:"Sintony";--e-global-typography-heading-l-font-size:48px;--e-global-typography-heading-l-font-weight:600;--e-global-typography-heading-l-line-height:1.2em;--e-global-typography-heading-m-font-family:"Sintony";--e-global-typography-heading-m-font-size:40px;--e-global-typography-heading-m-font-weight:600;--e-global-typography-heading-m-line-height:1.2em;--e-global-typography-heading-s-font-family:"Sintony";--e-global-typography-heading-s-font-size:18px;--e-global-typography-heading-s-font-weight:500;--e-global-typography-body-s-font-family:"Poppins";--e-global-typography-body-s-font-size:14px;--e-global-typography-body-s-font-weight:400;--e-global-typography-body-s-line-height:1.5em;background-color:var( --e-global-color-background );}.elementor-kit-382 e-page-transition{background-color:#FFBC7D;}.site-header{background-color:var( --e-global-color-background );padding-inline-end:15px;padding-inline-start:15px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding .site-logo img{width:40px;max-width:40px;}.site-header .site-navigation ul.menu li a{color:#F98A6B;}.site-header .site-navigation-toggle .site-navigation-toggle-icon{color:var( --e-global-color-primary );}.site-header .site-navigation-toggle{background-color:#F2E9DB;}.site-header .site-navigation .menu li{font-size:16px;font-weight:600;word-spacing:0px;}.site-footer .site-branding .site-logo img{width:100px;max-width:100px;}footer .footer-inner .site-navigation a{color:var( --e-global-color-secondary );font-size:16px;font-weight:600;}.site-footer .copyright p{color:var( --e-global-color-text );}@media(max-width:1024px){.elementor-kit-382{--e-global-typography-primary-font-size:22px;--e-global-typography-secondary-font-size:18px;--e-global-typography-heading-xl-font-size:48px;--e-global-typography-heading-l-font-size:40px;--e-global-typography-heading-m-font-size:32px;--e-global-typography-heading-s-font-size:18px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-382{--e-global-typography-primary-font-size:18px;--e-global-typography-secondary-font-size:16px;--e-global-typography-heading-xl-font-size:40px;--e-global-typography-heading-l-font-size:32px;--e-global-typography-heading-m-font-size:32px;--e-global-typography-heading-s-font-size:16px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}}/* Start custom CSS *//* ===== VANI FREE RESOURCES SYSTEM - COMPLETE CSS ===== */
/* Mobile-First Design with Top 1% UX */

/* ===== CSS VARIABLES & THEME SYSTEM ===== */
:root {
    --vani-primary: #667eea;
    --vani-secondary: #764ba2;
    --vani-accent: #4facfe;
    --vani-success: #00d4aa;
    --vani-warning: #ffb74d;
    --vani-error: #ff5252;
    
    /* Background Colors */
    --vani-bg: #ffffff;
    --vani-light-bg: #f8f9ff;
    --vani-card-bg: #ffffff;
    --vani-hover-bg: #f0f4ff;
    --vani-border: #e1e5e9;
    
    /* Text Colors */
    --vani-text-dark: #2d3748;
    --vani-text-light: #718096;
    --vani-text-muted: #a0aec0;
    
    /* Spacing */
    --vani-spacing-xs: 4px;
    --vani-spacing-sm: 8px;
    --vani-spacing-md: 16px;
    --vani-spacing-lg: 24px;
    --vani-spacing-xl: 32px;
    
    /* Border Radius */
    --vani-radius-sm: 6px;
    --vani-radius-md: 10px;
    --vani-radius-lg: 15px;
    --vani-radius-pill: 25px;
    
    /* Shadows */
    --vani-shadow: rgba(102, 126, 234, 0.1);
    --vani-shadow-hover: rgba(102, 126, 234, 0.2);
}

/* ===== BASE LAYOUT ===== */
.vani-resources-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--vani-spacing-md);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== HIDE SECONDARY FILTERS BAR (ALL DEVICES) ===== */
.secondary-filters-bar {
    display: none;
}

/* ===== AGE GROUP TOGGLES (MOBILE ONLY) ===== */
.age-group-toggles {
    display: none;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--vani-card-bg);
    border-radius: var(--vani-radius-lg);
    border: 1px solid var(--vani-border);
    box-shadow: 0 4px 15px var(--vani-shadow);
}

@media (max-width: 767px) {
    .age-group-toggles {
        display:none;
    }
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--vani-spacing-sm);
}

.age-toggle-btn {
    display: flex;
    align-items: center;
    gap: var(--vani-spacing-sm);
    padding: var(--vani-spacing-sm);
    border-radius: var(--vani-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    min-height: 56px;
}

.age-toggle-btn:hover {
    background: var(--vani-hover-bg);
    transform: translateX(2px);
}

.age-toggle-btn:hover .age-circle {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.age-toggle-btn.active {
    background: var(--vani-hover-bg);
    border-color: var(--vani-primary);
    box-shadow: 0 2px 8px var(--vani-shadow-hover);
    transform: translateX(2px);
}

.age-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
    font-size: 16px;
}

.age-toggle-btn.active .age-circle {
    background: linear-gradient(135deg, var(--vani-primary), var(--vani-secondary)) !important;
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 0 0 2px var(--vani-primary);
}

.age-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--vani-text-dark);
    transition: all 0.3s ease;
    flex: 1;
}

.age-toggle-btn.active .age-text {
    color: var(--vani-primary) !important;
    font-weight: 600;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.main-content {
    display: flex;
    gap: var(--vani-spacing-md);
    min-height: 500px;
    -webkit-overflow-scrolling: touch;
}

/* ===== CHARACTER PANEL ===== */
.character-panel {
    background: var(--vani-card-bg);
    border-radius: var(--vani-radius-lg);
    padding: var(--vani-spacing-md);
    box-shadow: 0 4px 15px var(--vani-shadow);
    height: fit-content;
    position: sticky;
    top: 80px;
    border: 1px solid var(--vani-border);
    transition: all 0.3s ease;
}

.character-panel-header {
    margin-bottom: var(--vani-spacing-md);
    text-align: center;
}

.character-panel-header h3 {
    margin: 0 0 8px 0;
    color: var(--vani-text-dark);
    font-size: 18px;
    font-weight: 700;
}

.selected-count {
    background: linear-gradient(135deg, var(--vani-primary), var(--vani-secondary));
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.character-avatars {
    display: flex;
    flex-direction: column;
    gap: var(--vani-spacing-sm);
}

.character-avatar {
    display: flex;
    align-items: center;
    gap: var(--vani-spacing-sm);
    padding: var(--vani-spacing-sm);
    border-radius: var(--vani-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    min-height: 56px;
}

.character-avatar:hover {
    background: var(--vani-hover-bg);
    transform: translateX(2px);
}

.character-avatar:hover .avatar-circle {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.character-avatar.active {
    background: var(--vani-hover-bg);
    border-color: var(--vani-primary);
    box-shadow: 0 2px 8px var(--vani-shadow-hover);
    transform: translateX(2px);
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.character-avatar.active .avatar-circle {
    background: linear-gradient(135deg, var(--vani-primary), var(--vani-secondary)) !important;
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 0 0 2px var(--vani-primary);
}

.avatar-placeholder {
    font-weight: bold;
    font-size: 14px;
    color: var(--vani-text-dark);
    line-height: 1;
}

.character-avatar.active .avatar-placeholder {
    color: white !important;
}

.character-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--vani-text-dark);
    transition: all 0.3s ease;
    flex: 1;
}

.character-avatar.active .character-name {
    color: var(--vani-primary) !important;
    font-weight: 600;
}

/* ===== RESOURCES CONTENT AREA ===== */
.resources-content {
    flex: 1;
}

/* ===== RESOURCE CARDS (DESKTOP - LIMITED WIDTH) ===== */
.vani-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 320px));
    gap: 15px;
    justify-content: start;
}

.vani-resource-card {
    background: var(--vani-card-bg);
    border-radius: var(--vani-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--vani-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--vani-border);
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.vani-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--vani-shadow-hover);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: translateZ(0);
}

.vani-resource-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--vani-text-dark);
    margin: 0 0 var(--vani-spacing-sm) 0;
    line-height: 1.3;
}

.card-excerpt {
    color: var(--vani-text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 var(--vani-spacing-md) 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vani-spacing-xs);
    margin-bottom: var(--vani-spacing-md);
}

.tag {
    background: var(--vani-light-bg);
    color: var(--vani-text-dark);
    padding: 4px var(--vani-spacing-sm);
    border-radius: var(--vani-radius-pill);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid var(--vani-border);
}

.difficulty-tag {
    background: var(--vani-warning);
    color: white;
    border: none;
}

.age-tag {
    background: var(--vani-accent);
    color: white;
    border: none;
}

/* Character Display Tags */
.character-display-tag {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.character-display-tag.js-ready {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, var(--vani-primary), var(--vani-secondary)) !important;
    color: white !important;
    padding: 4px var(--vani-spacing-sm) !important;
    border-radius: var(--vani-radius-pill) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    align-items: center !important;
    gap: 4px !important;
    margin-right: 5px !important;
    animation: fadeInUp 0.3s ease-out !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.character-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;
    margin-left: 4px;
}

/* ===== DOWNLOAD BUTTON ===== */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--vani-primary), var(--vani-secondary));
    color: white;
    text-decoration: none;
    border-radius: var(--vani-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.download-btn.downloading {
    background: var(--vani-warning);
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.success {
    background: var(--vani-success);
    transform: scale(1.02);
}

/* ===== NO RESULTS MESSAGE ===== */
#no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--vani-text-light);
    background: var(--vani-light-bg);
    border-radius: var(--vani-radius-lg);
    border: 2px dashed var(--vani-border);
}

#no-results h3 {
    color: var(--vani-text-dark);
    margin-bottom: var(--vani-spacing-sm);
}

#reset-filters {
    background: none;
    border: none;
    color: var(--vani-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#reset-filters:hover {
    color: var(--vani-secondary);
    background: var(--vani-light-bg);
}

/* ===== MOBILE OPTIMIZATION (PHONE) ===== */
@media (max-width: 480px) {
    .vani-resources-container {
        padding: var(--vani-spacing-sm);
    }
    
    .main-content {
        gap: 8px;
    }
    
    .character-panel {
        width: 25%;
        min-width: 90px;
        padding: 8px;
        position: static;
    }
    
    .resources-content {
        width: 75%;
    }
    
    .character-avatar {
        flex-direction: column;
        text-align: center;
        padding: 4px;
        min-height: 60px;
        border-radius: 10px;
    }
    
    .character-name {
        font-size: 12px;
        font-weight: 600;
        margin-top: 4px;
    }
    
    .avatar-circle {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }
    
    .avatar-placeholder {
        font-size: 10px;
    }
    
    .vani-resources-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 5px;
    }
    
    .vani-resource-card {
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .card-image {
        height: 140px !important;
    }
    
    .card-content {
        padding: 10px !important;
    }
    
    .card-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    .card-excerpt {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .download-btn {
        min-height: 48px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
    }
    
    .character-panel-header h3 {
        font-size: 14px;
    }
    
    .selected-count {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    /* Touch interactions */
    .character-avatar:active {
        transform: scale(0.95);
    }
    
    .download-btn:active {
        transform: scale(0.98);
    }
}

/* ===== TABLET OPTIMIZATION ===== */
@media (min-width: 481px) and (max-width: 767px) {
    .character-panel {
        width: 30%;
        min-width: 120px;
        margin-right: var(--vani-spacing-sm);
        padding: var(--vani-spacing-sm);
        position: static;
    }
    
    .resources-content {
        width: 70%;
    }
    
    .vani-resources-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    .character-avatar {
        padding: 6px;
    }
    
    .avatar-circle {
        width: 35px;
        height: 35px;
    }
    
    .character-name {
        font-size: 12px;
    }
    
    .avatar-placeholder {
        font-size: 12px;
    }
    
    .card-content {
        padding: var(--vani-spacing-sm);
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-excerpt {
        font-size: 13px;
    }
    
    .card-image {
        height: 150px !important;
    }
}

/* ===== LARGE TABLET/SMALL DESKTOP ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .main-content {
        display: block;
    }
    
    .character-panel {
        position: static;
        margin-bottom: var(--vani-spacing-lg);
        width: 100%;
    }
    
    .character-avatars {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: var(--vani-spacing-md);
    }
    
    .character-avatar {
        flex-direction: column;
        text-align: center;
        padding: var(--vani-spacing-sm);
    }
    
    .avatar-circle {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
    }
    
    .vani-resources-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

/* ===== DESKTOP OPTIMIZATION ===== */
@media (min-width: 1024px) {
    .main-content {
        display: block;
    }
    
    .character-panel {
        position: static;
        margin-bottom: var(--vani-spacing-lg);
        width: 100%;
    }
    
    .character-avatars {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: var(--vani-spacing-md);
    }
    
    .character-avatar {
        flex-direction: column;
        text-align: center;
        padding: var(--vani-spacing-md);
    }
    
    .avatar-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }
    
    .avatar-placeholder {
        font-size: 16px;
    }
    
    .vani-resources-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
.character-avatar:focus-visible,
.age-toggle-btn:focus-visible,
.download-btn:focus-visible {
    outline: 2px solid var(--vani-primary);
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .age-toggle-btn,
    .character-avatar,
    .vani-resource-card {
        transition: none !important;
        animation: none !important;
    }
    
    .age-toggle-btn::before {
        display: none;
    }
}

/* ===== LOADING STATES ===== */
.vani-resource-card.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.vani-resource-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--vani-border);
    border-top-color: var(--vani-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== THEME VARIATIONS ===== */
.vani-theme-warm {
    --vani-primary: #ff6b6b;
    --vani-secondary: #ffa726;
    --vani-accent: #ffcc02;
}

.vani-theme-nature {
    --vani-primary: #4caf50;
    --vani-secondary: #8bc34a;
    --vani-accent: #00bcd4;
}

.vani-theme-professional {
    --vani-primary: #2196f3;
    --vani-secondary: #3f51b5;
    --vani-accent: #00bcd4;
}

.vani-theme-playful {
    --vani-primary: #e91e63;
    --vani-secondary: #9c27b0;
    --vani-accent: #ff9800;
}/* End custom CSS */