/* CSS fixes and improvements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e40af;
    --secondary: #dc2626;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --hygiene-primary: #10b981;
    --hygiene-secondary: #059669;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--light);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.back-btn i {
    margin-right: 8px;
}

.module-header {
    text-align: center;
    margin-bottom: 50px;
}

.module-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--hygiene-primary), var(--hygiene-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.module-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--hygiene-primary);
}

.section-title i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.content-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content-section ul, .content-section ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-section li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    font-size: 1.1rem;
}

.content-section li:before {
    content: "•";
    color: var(--hygiene-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.tip-box {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid var(--hygiene-primary);
}

.tip-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--hygiene-primary);
    font-size: 1.2rem;
}

.password-checker {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.password-input-container {
    display: flex;
    margin: 20px auto;
    max-width: 500px;
}

.password-input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px 0 0 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1rem;
    outline: none;
}

.password-input:focus {
    border-color: var(--hygiene-primary);
}

.check-btn {
    padding: 0 25px;
    background: var(--hygiene-primary);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.check-btn:hover {
    background: var(--hygiene-secondary);
}

.strength-meter {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 30px auto;
    overflow: hidden;
    max-width: 500px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.strength-text {
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.1rem;
}

.criteria-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.criterion {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.criterion i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.criterion.valid i {
    color: var(--hygiene-primary);
}

.criterion.invalid i {
    color: var(--secondary);
}

.progress-container {
    margin: 30px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 5px;
    width: 90%;
    background: linear-gradient(90deg, var(--hygiene-primary), var(--hygiene-secondary));
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: var(--hygiene-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: var(--hygiene-secondary);
}

.btn i {
    margin-right: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-full {
    flex: 1;
    justify-content: center;
}

.update-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.device-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--hygiene-primary);
}

.device-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.update-status {
    color: var(--gray);
    font-size: 0.9rem;
}

.update-status.up-to-date {
    color: var(--hygiene-primary);
}

/* Advanced Tracking System Styles */
.tracking-dashboard {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid var(--hygiene-primary);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.activity-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.activity-card:hover {
    transform: translateY(-3px);
    border-color: var(--hygiene-primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.activity-card.completed {
    border-color: var(--hygiene-primary);
    background: rgba(16, 185, 129, 0.1);
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
}

.activity-status {
    margin-left: auto;
    font-size: 1.2rem;
}

.activity-status.completed {
    color: var(--hygiene-primary);
}

.activity-status.pending {
    color: var(--warning);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--hygiene-primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--hygiene-primary);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.review-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--hygiene-primary);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* Navigation Cards for Hub */
.navigation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.nav-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.nav-card:hover {
    border-color: var(--hygiene-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
}

.nav-card.completed {
    border-color: var(--hygiene-primary);
    background: rgba(16, 185, 129, 0.1);
}

.nav-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.nav-card-icon {
    width: 60px;
    height: 60px;
    background: var(--hygiene-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-right: 20px;
}

.nav-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--hygiene-primary);
    margin: 0;
}

.nav-card-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.nav-card-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-card-progress {
    color: var(--gray);
    font-size: 0.9rem;
}

.nav-card-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hygiene-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-card.completed .nav-card-checkmark {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 70px;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced animations and transitions */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--hygiene-primary);
    }
    50% {
        box-shadow: 0 0 20px var(--hygiene-primary), 0 0 30px var(--hygiene-primary);
    }
}

/* Enhanced password checker styles */
.password-input-container { position: relative; }
.toggle-visibility {
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--gray); cursor: pointer;
    padding: 8px; border-radius: 4px; transition: all 0.3s ease;
}
.toggle-visibility:hover { background: rgba(255, 255, 255, 0.1); color: var(--hygiene-primary); }
.password-suggestions {
    background: rgba(255, 193, 7, 0.1); border-radius: 8px; padding: 15px;
    margin: 20px 0; border-left: 4px solid var(--warning); display: none;
}
.password-examples { margin-top: 20px; }
.example-btn {
    padding: 8px 16px; background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--hygiene-primary); border-radius: 6px;
    color: var(--hygiene-primary); cursor: pointer; transition: all 0.3s ease;
    margin: 5px; font-size: 0.9rem;
}
.example-btn:hover { background: var(--hygiene-primary); color: white; }

/* Device update styles */
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.device-card {
    background: rgba(0, 0, 0, 0.2); border-radius: 12px; padding: 20px;
    text-align: center; transition: all 0.3s ease; border: 2px solid transparent;
}
.device-card:hover { transform: translateY(-5px); border-color: var(--hygiene-primary); }
.device-actions { display: flex; flex-direction: column; gap: 8px; }
.update-btn, .schedule-btn {
    padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer;
    transition: all 0.3s ease; font-size: 0.9rem;
}
.update-btn { background: var(--hygiene-primary); color: white; }
.schedule-btn { background: rgba(255, 255, 255, 0.1); color: var(--gray); }
.update-status.checking { animation: pulse 1s infinite; }

/* Browser checklist styles */
.checklist-item {
    background: rgba(0, 0, 0, 0.2); border-radius: 10px; padding: 20px;
    margin-bottom: 15px; transition: all 0.3s ease; border: 2px solid transparent;
}
.checklist-item.completed { border-color: var(--hygiene-primary); background: rgba(16, 185, 129, 0.1); }
.checklist-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.test-btn {
    padding: 6px 12px; background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--hygiene-primary); border-radius: 6px;
    color: var(--hygiene-primary); cursor: pointer; font-size: 0.8rem;
}

/* Enhanced tip styles */
.tip-item {
    display: flex; align-items: flex-start; gap: 15px; padding: 15px;
    background: rgba(0, 0, 0, 0.2); border-radius: 8px; margin-bottom: 10px;
}
.tip-item.learned { background: rgba(16, 185, 129, 0.1); border-left: 4px solid var(--hygiene-primary); }
.tip-action {
    padding: 6px 12px; background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--hygiene-primary); border-radius: 6px;
    color: var(--hygiene-primary); cursor: pointer; font-size: 0.8rem;
}

/* Advanced Review Overlay Enhancements */
.review-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: overlayGlow 3s ease-in-out infinite alternate;
    overflow: hidden;
}

.review-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Floating particles background */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    animation: floatParticle 8s infinite linear;
    opacity: 0.6;
}

.particle-0 { background: #10b981; animation-duration: 8s; }
.particle-1 { background: #34d399; animation-duration: 10s; }
.particle-2 { background: #6ee7b7; animation-duration: 12s; }
.particle-3 { background: #a7f3d0; animation-duration: 9s; }

.review-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.review-overlay.show .review-container {
    transform: scale(1) translateY(0);
}

/* Holographic border effect */
.holographic-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--hygiene-primary), 
        #34d399, 
        var(--hygiene-secondary), 
        #10b981,
        #6ee7b7,
        var(--hygiene-primary));
    border-radius: 23px;
    z-index: -1;
    animation: holographicShift 4s linear infinite;
    opacity: 0.8;
    filter: blur(1px);
}

.review-header {
    padding: 25px 35px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.15) 0%, 
        rgba(52, 211, 153, 0.1) 50%, 
        rgba(16, 185, 129, 0.15) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridFlow 10s linear infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s ease-in-out infinite;
}

.glitch-text {
    position: relative;
    animation: glitchEffect 3s infinite;
}

.gradient-text {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 2s ease-in-out infinite;
}

.security-level-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.level-bar {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hygiene-primary), #34d399);
    transition: width 1s ease;
    position: relative;
}

.level-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: levelScan 2s infinite;
}

.level-text {
    font-size: 0.8rem;
    color: var(--hygiene-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cyber-icon {
    font-size: 1.8rem;
    animation: iconSpin 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.close-review {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.close-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.close-review:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: scale(1.1) rotate(90deg);
}

.close-review:hover .close-ripple {
    width: 100px;
    height: 100px;
}

.review-content {
    padding: 0;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--hygiene-primary) rgba(255, 255, 255, 0.1);
}

.review-content::-webkit-scrollbar {
    width: 8px;
}

.review-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.review-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hygiene-primary), var(--hygiene-secondary));
    border-radius: 4px;
}

.review-section {
    margin: 0;
    padding: 30px 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.review-section:hover {
    background: rgba(16, 185, 129, 0.03);
}

.review-section:last-child {
    border-bottom: none;
}

/* Quantum sections with advanced effects */
.quantum-section {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.05) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(16, 185, 129, 0.05) 100%);
    border-left: 3px solid var(--hygiene-primary);
    position: relative;
    overflow: hidden;
}

.quantum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="quantumGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2310b981" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23quantumGrid)"/></svg>') repeat;
    opacity: 0.1;
    animation: quantumFlow 15s linear infinite;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin: 0;
}

.neon-text {
    color: var(--hygiene-primary);
    text-shadow: 
        0 0 5px rgba(16, 185, 129, 0.5),
        0 0 10px rgba(16, 185, 129, 0.3),
        0 0 15px rgba(16, 185, 129, 0.2);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.trophy-spin {
    animation: trophySpin 3s ease-in-out infinite;
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.data-stream {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--hygiene-primary) 50%, 
        transparent 100%);
    border-radius: 2px;
    animation: dataFlow 2s ease-in-out infinite;
}

.knowledge-stats-mini {
    display: flex;
    gap: 15px;
}

.mini-stat {
    text-align: center;
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.mini-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hygiene-primary);
}

.mini-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Enhanced progress ring */
.progress-ring-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.enhanced-ring {
    position: relative;
}

.pulse-ring-svg {
    animation: svgPulse 2s ease-in-out infinite;
}

.center-pulse {
    animation: centerPulse 1.5s ease-in-out infinite;
}

.enhanced-text {
    position: relative;
}

.hologram-number {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.8rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: hologramFlicker 3s ease-in-out infinite;
}

.completion-spark {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 8px;
    height: 8px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

/* Orbital elements */
.orbital-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: orbitalRotation 10s linear infinite;
}

.orbit-1 {
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    animation-duration: 8s;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-duration: 15s;
}

.satellite {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    animation: satellitePulse 2s ease-in-out infinite;
}

/* Enhanced stats with cyber themes */
.enhanced-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.cyber-stat {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(16, 185, 129, 0.1) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cyber-stat:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--hygiene-primary);
    box-shadow: 
        0 15px 40px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

.stat-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.1;
}

.neural-network {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
    animation: neuralPulse 4s ease-in-out infinite;
}

.time-waves {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(16, 185, 129, 0.1) 10px,
        rgba(16, 185, 129, 0.1) 20px
    );
    animation: timeFlow 3s linear infinite;
}

.security-matrix {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.2) 0%, transparent 50%);
    animation: matrixShift 5s ease-in-out infinite;
}

.knowledge-particles {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.3) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: particleFloat 6s ease-in-out infinite;
}

.pulsing-icon {
    font-size: 2rem;
    color: var(--hygiene-primary);
    animation: iconGlow 2s ease-in-out infinite;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.stat-content {
    position: relative;
    z-index: 2;
}

.matrix-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    display: block;
    animation: numberMatrix 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.stat-total, .stat-unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    display: block;
}

.progress-bar-mini {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, var(--hygiene-primary), #34d399);
    transition: width 1s ease;
    position: relative;
}

.progress-fill-mini::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressScan 2s infinite;
}

.time-efficiency-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    animation: indicatorPulse 2s ease-in-out infinite;
}

.time-efficiency-indicator.high {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.time-efficiency-indicator.medium {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.time-efficiency-indicator.low {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.score-rank {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: inline-block;
}

.score-rank.expert {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.score-rank.advanced {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.score-rank.intermediate {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.score-rank.beginner {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    box-shadow: 0 2px 10px rgba(107, 114, 128, 0.3);
}

.knowledge-level {
    margin-top: 8px;
}

.knowledge-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.knowledge-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    transition: width 1.5s ease;
    position: relative;
}

.knowledge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: knowledgeScan 3s infinite;
}

.stat-sparkle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    animation: sparkleEffect 2s ease-in-out infinite;
}

/* Neural Network Visualization */
.brain-network {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.neural-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    animation: neuralPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.neural-connection {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--hygiene-primary), transparent);
    transform-origin: bottom center;
    animation: connectionPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.neural-connection.connection-0 { top: 20px; left: 50%; transform: translateX(-50%) rotate(0deg); }
.neural-connection.connection-1 { top: 20px; left: 50%; transform: translateX(-50%) rotate(45deg); }
.neural-connection.connection-2 { top: 20px; left: 50%; transform: translateX(-50%) rotate(90deg); }
.neural-connection.connection-3 { top: 20px; left: 50%; transform: translateX(-50%) rotate(135deg); }
.neural-connection.connection-4 { top: 20px; left: 50%; transform: translateX(-50%) rotate(180deg); }
.neural-connection.connection-5 { top: 20px; left: 50%; transform: translateX(-50%) rotate(225deg); }
.neural-connection.connection-6 { top: 20px; left: 50%; transform: translateX(-50%) rotate(270deg); }
.neural-connection.connection-7 { top: 20px; left: 50%; transform: translateX(-50%) rotate(315deg); }

.connection-pulse {
    width: 4px;
    height: 4px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: pulseDot 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Crystal Stats */
.knowledge-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.crystal-stat {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(16, 185, 129, 0.1) 100%);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crystal-background {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: crystalRotate 4s linear infinite;
}

.quantum-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 5px;
    animation: quantumFlicker 2s ease-in-out infinite;
}

.energy-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hygiene-primary), transparent);
    animation: energyFlow 2s ease-in-out infinite;
}

/* Enhanced Tips Grid */
.enhanced-tips {
    margin-top: 30px;
}

.cyber-filter {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(16, 185, 129, 0.1) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.filter-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.digital-pattern {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(16, 185, 129, 0.3) 5px,
        rgba(16, 185, 129, 0.3) 6px
    );
    animation: digitalFlow 5s linear infinite;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hygiene-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--hygiene-primary);
    transform: translateY(-2px);
}

.filter-btn:hover .btn-ripple {
    width: 100px;
    height: 100px;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399);
    border-color: var(--hygiene-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.filter-btn.active .btn-indicator {
    transform: scaleX(1);
}

.search-field {
    position: relative;
    margin-left: auto;
    width: 250px;
}

.tip-search {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tip-search:focus {
    outline: none;
    border-color: var(--hygiene-primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
}

.tip-search.no-results {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.enhanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.enhanced-grid.reorganizing {
    animation: gridPulse 0.5s ease;
}

/* Cyber Cards */
.cyber-card {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(16, 185, 129, 0.1) 50%, 
        rgba(0, 0, 0, 0.4) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.cyber-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--hygiene-primary);
    box-shadow: 
        0 15px 35px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(16, 185, 129, 0.3);
}

.card-hologram {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(16, 185, 129, 0.3), 
        transparent, 
        rgba(52, 211, 153, 0.3), 
        transparent);
    border-radius: 14px;
    z-index: -1;
    animation: hologramShift 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-card:hover .card-hologram {
    opacity: 1;
}

.card-scanning-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hygiene-primary), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

.hologram-label {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--hygiene-primary);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.2;
    animation: badgeGlow 2s ease-in-out infinite;
}

.badge-text {
    margin-left: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-particle {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 6px;
    height: 6px;
    background: var(--hygiene-primary);
    border-radius: 50%;
    animation: particleOrbit 2s linear infinite;
}

.cyber-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 15px 0;
}

.tip-difficulty-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-1 {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.difficulty-2 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.difficulty-3 {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

/* Quantum Buttons */
.quantum-btn {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(16, 185, 129, 0.1) 50%, 
        rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-right: 8px;
    margin-bottom: 8px;
}

.quantum-btn.success {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.2) 0%, 
        rgba(34, 197, 94, 0.1) 50%, 
        rgba(34, 197, 94, 0.2) 100%);
}

.btn-energy {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(16, 185, 129, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.quantum-btn:hover {
    transform: translateY(-3px);
    border-color: var(--hygiene-primary);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.quantum-btn:hover .btn-energy {
    left: 100%;
}

.quantum-btn:hover .btn-wave {
    width: 200px;
    height: 200px;
}

/* Enhanced Actions Panel */
.enhanced-actions-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 35px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(16, 185, 129, 0.05) 50%, 
        rgba(0, 0, 0, 0.4) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.action-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.quantum-btn.primary {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399);
    border-color: var(--hygiene-primary);
    font-weight: 600;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.quantum-btn.secondary {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3), 
        rgba(147, 197, 253, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
}

.quantum-btn.tertiary {
    background: linear-gradient(135deg, 
        rgba(107, 114, 128, 0.3), 
        rgba(156, 163, 175, 0.2));
    border-color: rgba(107, 114, 128, 0.5);
}

.quantum-btn.close-btn {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.3), 
        rgba(248, 113, 113, 0.2));
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-hologram {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    border-radius: 8px;
    z-index: -1;
    animation: hologramShift 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-btn:hover .btn-hologram {
    opacity: 1;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: particleMove 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quantum-btn:hover .btn-particles {
    opacity: 1;
}

/* Search Highlights */
.search-highlight {
    background: linear-gradient(135deg, var(--hygiene-primary), #34d399);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    animation: highlightPulse 1s ease-in-out infinite;
}

.review-actions {
    gap: 12px;
    padding: 25px 35px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(16, 185, 129, 0.05) 50%, 
        rgba(0, 0, 0, 0.3) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    justify-content: center;
}

.review-actions .btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.review-actions .btn:hover::before {
    width: 300%;
    height: 300%;
}

/* Advanced Animations */
@keyframes overlayGlow {
    0% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.1); }
    100% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.2); }
}

@keyframes holographicShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) translateX(50px) rotate(360deg); opacity: 0; }
}

@keyframes gridFlow {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

@keyframes pulseRing {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.7; }
}

@keyframes glitchEffect {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

@keyframes levelScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes quantumFlow {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 5px rgba(16, 185, 129, 0.5), 0 0 10px rgba(16, 185, 129, 0.3), 0 0 15px rgba(16, 185, 129, 0.2); }
    50% { text-shadow: 0 0 10px rgba(16, 185, 129, 0.8), 0 0 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.4); }
}

@keyframes trophySpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}

@keyframes dataFlow {
    0%, 100% { transform: translateX(-30px); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
}

@keyframes svgPulse {
    0%, 100% { r: 60; opacity: 0.3; }
    50% { r: 65; opacity: 0.1; }
}

@keyframes centerPulse {
    0%, 100% { r: 4; fill: var(--hygiene-primary); }
    50% { r: 6; fill: #34d399; }
}

@keyframes hologramFlicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.8; filter: brightness(1.2); }
}

@keyframes sparkle {
    0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 1; }
}

@keyframes orbitalRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes satellitePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

@keyframes neuralPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) rotate(var(--rotation, 0deg)) scaleY(1); }
    50% { opacity: 1; transform: translateX(-50%) rotate(var(--rotation, 0deg)) scaleY(1.2); }
}

@keyframes pulseDot {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(-60px); opacity: 0; }
}

@keyframes crystalRotate {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes quantumFlicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    25% { opacity: 0.8; filter: brightness(1.3); }
    75% { opacity: 0.9; filter: brightness(0.9); }
}

@keyframes energyFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes digitalFlow {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes scanLine {
    0%, 100% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 1; }
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

@keyframes particleOrbit {
    0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

@keyframes particleMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

@keyframes highlightPulse {
    0%, 100% { background-size: 100% 100%; }
    50% { background-size: 110% 110%; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes searchFadeIn {
    0% { opacity: 0; transform: translateY(10px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes searchFadeOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

@keyframes gridPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes timeFlow {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes matrixShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
    0%, 100% { background-position: 0 0, 0 0, 0 0; }
    33% { background-position: 30px 20px, 20px 30px, 40px 10px; }
    66% { background-position: 50px 50px, 30px 20px, 20px 40px; }
}

@keyframes iconGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8)); }
}

@keyframes numberMatrix {
    0%, 100% { transform: scale(1); text-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.05); text-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }
}

@keyframes progressScan {
    0% { left: -50%; }
    100% { left: 150%; }
}

@keyframes indicatorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes knowledgeScan {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes sparkleEffect {
    0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 1; }
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes numberGlow {
    0% { text-shadow: 0 0 5px rgba(16, 185, 129, 0.5); }
    100% { text-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 30px rgba(16, 185, 129, 0.4); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.2); filter: brightness(1.3); }
}

/* Completion celebration */
.trophy-icon { font-size: 4rem; color: #ffd700; animation: bounce 2s infinite; }
.confetti {
    position: absolute; width: 10px; height: 10px;
    animation: confetti-fall 3s infinite linear;
}

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } }
@keyframes confetti-fall { 0% { transform: translateY(-100px) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }

@media (max-width: 768px) {
    .content-section {
        padding: 25px;
    }
    
    .module-header h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .password-input-container {
        flex-direction: column;
    }
    
    .password-input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .check-btn {
        border-radius: 8px;
        padding: 12px;
    }
    
    /* Mobile navigation adjustments */
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px !important;
        width: 100%;
    }
    
    .quick-actions {
        margin-left: 0 !important;
        justify-content: center;
    }
    
    .action-btn {
        padding: 12px !important;
        font-size: 1.2rem;
    }
    
    /* Stack user info and back button */
    header > div:last-child {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Hide progress bar text on very small screens */
    @media (max-width: 480px) {
        .nav-menu > div {
            display: none;
        }
    }

    .navigation-cards {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced mobile review overlay */
    .review-container {
        max-width: 95%;
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .review-header {
        padding: 20px 25px;
    }
    
    .review-header h2 {
        font-size: 1.3rem;
    }
    
    .enhanced-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cyber-stat {
        padding: 20px 15px;
    }
    
    .enhanced-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cyber-filter {
        padding: 15px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        margin-right: 5px;
        margin-bottom: 8px;
    }
    
    .search-field {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .enhanced-actions-panel {
        padding: 20px 25px;
    }
    
    .action-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantum-btn {
        margin-right: 0;
        margin-bottom: 10px;
        padding: 12px 20px;
    }
    
    /* Orbital elements adjustment for mobile */
    .orbital-elements {
        display: none;
    }
    
    /* Neural network mobile optimization */
    .brain-network {
        width: 120px;
        height: 120px;
    }
    
    .neural-node {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .knowledge-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Floating particles reduced for mobile performance */
    .floating-particles .particle:nth-child(n+11) {
        display: none;
    }
}