/* Buttons */
.icon-btn {
    background: var(--card-bg); color: var(--text-color);
    border: 1px solid var(--border-color); border-radius: 50%;
    width: 40px; height: 40px; font-size: 1.2em; cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.icon-btn:hover { transform: scale(1.1); border-color: var(--primary-color); }

.btn {
    padding: 10px 20px; border-radius: 8px; font-weight: bold; cursor: pointer;
    border: none; font-size: 1em; transition: all 0.2s ease;
    background: var(--primary-color); color: #fff !important; /* Force legibility */
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 102, 153, 0.3); }

.back-btn { display: inline-block; margin-bottom: 20px; color: var(--text-muted); text-decoration: none; font-weight: bold; transition: color 0.2s; }
.back-btn:hover { color: var(--primary-color); }

/* Navigation Tiles */
.nav-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.nav-card {
    background: var(--card-bg); padding: 30px 20px; border-radius: 12px; text-align: center;
    text-decoration: none; color: var(--text-color); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease; border: 2px solid transparent;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-card:hover { transform: translateY(-5px); border-color: var(--primary-color); background: var(--hover-bg); }
.nav-card-icon { font-size: 3em; margin-bottom: 15px; }
.nav-card-title { font-size: 1.3em; font-weight: bold; margin-bottom: 10px; }
.nav-card-desc { font-size: 0.9em; color: var(--text-muted); }

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); z-index: 100;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal-content {
    background: var(--card-bg); padding: 40px; border-radius: 16px;
    text-align: center; color: var(--text-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 90%; width: 380px; border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    position: relative; z-index: 101;
}
.modal-content h2 { color: var(--primary-color); margin-top: 0; }
.modal-content p { color: var(--text-color); }

.center-blur-mask {
    position: absolute; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; justify-content: center; align-items: center; pointer-events: none;
}
.blur-effect-core {
    width: 1300px; height: 900px; background-color: var(--blur-core-bg); border-radius: 50%;
    -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    box-shadow: 0 0 100px var(--blur-core-shadow);
}