:root {
    --primary-color: #ff5722;
    --secondary-color: #4caf50;
    --accent-color: #ffeb3b;
    --bg-sky-top: #4facfe;
    --bg-sky-bottom: #00f2fe;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --card-glass-bg: rgba(255, 255, 255, 0.85);
    --card-glass-border: rgba(255, 255, 255, 0.5);
    --font-heading: 'Fredoka', 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-btn: 0 6px 0px #c73e10, 0 12px 18px rgba(0, 0, 0, 0.2);
    --shadow-btn-green: 0 6px 0px #2e7d32, 0 12px 18px rgba(0, 0, 0, 0.2);
    --radius-large: 24px;
    --radius-full: 999px;
}

.dyslexic-mode {
    --font-heading: 'Open Dyslexic', 'Nunito', sans-serif;
    --font-body: 'Open Dyslexic', sans-serif;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
}

.high-contrast-mode {
    --text-dark: #000000;
    filter: contrast(125%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    background-color: #1a1a2e;
    color: var(--text-dark);
}

#app {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* --- HUD LAYER --- */
.hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    pointer-events: none;
}

.hud-left, .hud-center, .hud-right {
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
}

/* Subject Selector Menu Button in HUD */
.subject-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 3px solid #8b5cf6;
    border-radius: var(--radius-full);
    padding: 6px 18px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #4c1d95;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.subject-menu-btn:hover {
    transform: scale(1.06);
    background: #ffffff;
    border-color: #7c3aed;
}

.subj-menu-icon {
    font-size: 1.3rem;
}

.subj-menu-arrow {
    font-size: 0.75rem;
    color: #6d28d9;
    margin-left: 2px;
}

/* CBC Subject Selection Modal Grid */
.subject-picker-card {
    max-width: 680px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    border: 4px solid #8b5cf6;
}

.subject-picker-header {
    text-align: center;
    margin-bottom: 20px;
}

.subject-picker-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #4c1d95;
}

.subject-picker-header p {
    font-size: 0.95rem;
    color: #6b21a8;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 4px;
}

.subject-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e9d5ff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    position: relative;
}

.subject-card.active-subject {
    cursor: pointer;
}

.subject-card.active-subject:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #8b5cf6;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.subject-card.disabled-subject {
    opacity: 0.65;
    background: #f1f5f9;
}

.subj-card-icon {
    font-size: 2.4rem;
    background: #f3e8ff;
    padding: 10px;
    border-radius: 16px;
    flex-shrink: 0;
}

.subj-card-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #1e1b4b;
}

.subj-card-info p {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.subj-status-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    margin-left: auto;
    white-space: nowrap;
}

.subj-status-tag.ready {
    background: #dcfce7;
    color: #15803d;
}

.subj-status-tag.coming-soon {
    background: #f1f5f9;
    color: #94a3b8;
}

.icon-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
    color: #475569;
    flex-shrink: 0;
}

.icon-btn svg {
    width: 26px;
    height: 26px;
}

.icon-btn:hover {
    transform: scale(1.1);
    background: #f8fafc;
}

.icon-btn:active {
    transform: scale(0.95);
}

.icon-btn.highlight {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-color: #ff85a2;
    color: #d81b60;
}

.grade-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
}

.stars-counter, .streak-counter {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border: 2px solid #fef08a;
    white-space: nowrap;
}

.star-icon, .fire-icon {
    font-size: 1.4rem;
}

.ai-avatar-btn {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    border: 3px solid #64b5f6;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #1565c0;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    flex-shrink: 0;
}

.ai-avatar-btn:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* --- WORLD CANVAS & SVG CONTAINER --- */
#world-container {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#scene-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

#game-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.interactive-item {
    pointer-events: auto;
}

/* --- SPEECH BUBBLE / PROMPT --- */
.speech-bubble {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 4px solid #3b82f6;
    padding: 12px 24px;
    border-radius: var(--radius-large);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 90%;
    width: max-content;
    pointer-events: auto;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 16px 14px 0;
    border-style: solid;
    border-color: #3b82f6 transparent;
    display: block;
    width: 0;
}

.speech-text {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: #1e293b;
    font-weight: 700;
    text-align: center;
}

.mini-sound-btn {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mini-sound-btn:hover {
    transform: scale(1.15);
}

/* --- MODULE NAVIGATION CAROUSEL --- */
#module-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    height: 80px;
    z-index: 40;
    border-radius: 24px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border: 3px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.nav-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    height: 100%;
    align-items: center;
    padding: 0 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.nav-scroll::-webkit-scrollbar {
    height: 4px;
}

.nav-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.mod-card {
    flex: 0 0 auto;
    height: 58px;
    padding: 0 14px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.mod-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #93c5fd;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.2);
}

.mod-card.active {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    border-color: #ff6b4a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.35);
}

.mod-icon {
    font-size: 1.5rem;
}

.mod-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    white-space: nowrap;
}

.mod-card.active .mod-title {
    color: #ffffff;
}

.mod-badge {
    font-size: 0.68rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 8px;
}

.mod-card.active .mod-badge {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* --- LITERACY SPECIFIC UI CARDS & TRACING CANVAS --- */
.letter-tile {
    width: clamp(70px, 13vw, 95px);
    height: clamp(70px, 13vw, 95px);
    background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
    border: 4px solid #f472b6;
    border-radius: 24px;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #db2777;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.2);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    touch-action: none;
}

.letter-tile:active {
    cursor: grabbing;
}

.word-slot {
    width: clamp(70px, 13vw, 95px);
    height: clamp(70px, 13vw, 95px);
    background: rgba(255, 255, 255, 0.85);
    border: 4px dashed #a855f7;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #7e22ce;
    backdrop-filter: blur(8px);
}

.tracing-container {
    position: relative;
    width: clamp(260px, 50vw, 360px);
    height: clamp(260px, 50vw, 360px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    border: 6px solid #3b82f6;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracing-guide-text {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(10rem, 25vw, 16rem);
    font-weight: 700;
    color: #e2e8f0;
    pointer-events: none;
}

#tracing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}

.sentence-card {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #8b5cf6;
    padding: 12px 24px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #5b21b6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.sentence-card:hover {
    transform: scale(1.04);
}

.highlight-word {
    color: #ec4899;
    text-decoration: underline;
}

/* --- MODALS & OVERLAYS --- */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    padding: 16px;
    transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.ai-tutor-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ai-avatar {
    font-size: 2.5rem;
    background: #dbeafe;
    padding: 8px;
    border-radius: 18px;
}

.ai-subtitle {
    font-size: 0.85rem;
    color: #64748b;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.stat-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}

.ai-insight-box {
    background: #eff6ff;
    border: 2px dashed #93c5fd;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
}

.sparkle-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #1d4ed8;
    display: block;
    margin-bottom: 4px;
}

.custom-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 6px;
    background: #ffffff;
}

/* Celebration Card */
.celebration-card {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #fbbf24;
}

.trophy-bounce {
    font-size: 4rem;
    animation: bounce 1s infinite alternate;
}

.earned-stars {
    font-size: 2.2rem;
    margin: 12px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star-pop {
    animation: popIn 0.5s ease cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.action-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 6px 0 #047857, 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: transform 0.15s ease;
}

.action-btn:hover {
    transform: scale(1.05);
}

.action-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #047857;
}

.game-workspace {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-top: 140px;
    padding-bottom: 100px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.draggable-items-pool {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100px;
    max-width: 100%;
}

.game-object {
    width: clamp(65px, 12vw, 90px);
    height: clamp(65px, 12vw, 90px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    cursor: grab;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #e2e8f0;
    touch-action: none;
}

.game-object:active {
    cursor: grabbing;
}

.drop-basket {
    width: clamp(180px, 35vw, 240px);
    height: clamp(120px, 20vh, 160px);
    background: rgba(255, 255, 255, 0.85);
    border: 4px dashed #3b82f6;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.drop-basket.highlight-target {
    background: rgba(219, 234, 254, 0.9);
    border-color: #2563eb;
    transform: scale(1.05);
}

.basket-count {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1e40af;
}

.answers-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.answer-card {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 3px solid #cbd5e1;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    touch-action: manipulation;
}

.answer-card:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: #3b82f6;
    color: #2563eb;
}

.clock-container {
    position: relative;
    width: clamp(200px, 40vw, 280px);
    height: clamp(200px, 40vw, 280px);
    background: #ffffff;
    border: 6px solid #f59e0b;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 10px;
}

.hour-hand {
    width: 6px;
    height: clamp(50px, 10vw, 75px);
    background: #dc2626;
    z-index: 3;
}

.minute-hand {
    width: 4px;
    height: clamp(70px, 14vw, 105px);
    background: #2563eb;
    z-index: 2;
}

.clock-center-pin {
    width: 16px;
    height: 16px;
    background: #1e293b;
    border-radius: 50%;
    z-index: 4;
}

@media screen and (max-width: 640px) {
    .hud {
        height: 60px;
        padding: 8px 12px;
    }

    .hud-left {
        gap: 8px;
    }

    .hud-right {
        gap: 8px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
    }

    .icon-btn svg {
        width: 22px;
        height: 22px;
    }

    .grade-badge {
        display: none;
    }

    .stars-counter, .streak-counter {
        padding: 4px 12px;
        font-size: 1rem;
    }

    .star-icon, .fire-icon {
        font-size: 1.1rem;
    }

    .ai-avatar-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .ai-text {
        display: none;
    }

    .speech-bubble {
        top: 68px;
        padding: 10px 16px;
        max-width: 92%;
    }

    .speech-text {
        font-size: 1rem;
    }

    .mini-sound-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    #module-nav {
        bottom: 8px;
        height: 70px;
        padding: 6px 8px;
        width: calc(100% - 16px);
        border-radius: 18px;
    }

    .mod-card {
        height: 50px;
        padding: 0 10px;
        border-radius: 14px;
    }

    .mod-icon {
        font-size: 1.3rem;
    }

    .mod-title {
        font-size: 0.85rem;
    }

    .game-workspace {
        padding-top: 130px;
        padding-bottom: 85px;
    }
}

@media screen and (min-width: 641px) and (max-width: 1024px) {
    .speech-bubble {
        top: 80px;
    }

    .game-workspace {
        padding-top: 145px;
        padding-bottom: 95px;
    }
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-16px); }
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse-slow {
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

.hidden {
    display: none !important;
}
