/* Academy UI Styles */

/* Level Select Screen */
.level-select-screen {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.level-select-header {
    text-align: center;
    margin-bottom: 30px;
}

.level-select-header h2 {
    color: #ff006e;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.progress-subtitle {
    color: #aaa;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.campaign-progress {
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar-container {
    width: 100%;
    height: 25px;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ff006e;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    transition: width 0.5s ease;
}

.progress-text {
    color: #e0e0e0;
    font-weight: bold;
    font-size: 1.1em;
}

/* Level Grid */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.level-button {
    position: relative;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.level-button:hover:not(:disabled) {
    border-color: #ff006e;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    transform: translateY(-2px);
}

.level-button.unlocked {
    border-color: #00ff88;
    background: linear-gradient(135deg, #2a2a2a, #1a3a2a);
}

.level-button.completed {
    border-color: #8338ec;
    background: linear-gradient(135deg, #2a2a2a, #2a1a3a);
}

.level-button.current {
    border-color: #ff006e;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    animation: pulse 2s infinite;
}

.level-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.level-number {
    font-size: 2em;
    font-weight: bold;
    color: #e0e0e0;
}

.level-icon {
    font-size: 1.5em;
}

.checkpoint-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ffb700;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 0, 110, 0.8);
    }
}

/* Level Info Panel */
.level-info-panel {
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
}

.info-hint {
    color: #888;
    text-align: center;
    font-style: italic;
    padding: 80px 0;
}

.level-details h3 {
    color: #ff006e;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.level-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.arc-badge, .checkpoint-badge-large, .completed-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: bold;
}

.arc-badge {
    background: rgba(131, 56, 236, 0.3);
    color: #8338ec;
    border: 1px solid #8338ec;
}

.checkpoint-badge-large {
    background: rgba(255, 183, 0, 0.3);
    color: #ffb700;
    border: 1px solid #ffb700;
}

.completed-badge {
    background: rgba(0, 255, 136, 0.3);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.level-description {
    color: #ccc;
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.6;
}

.checkpoint-notice {
    background: rgba(255, 183, 0, 0.1);
    border-left: 3px solid #ffb700;
    padding: 10px 15px;
    border-radius: 6px;
    color: #ffb700;
    margin-bottom: 15px;
}

.btn-start-level {
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-start-level:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
}

.level-select-footer {
    text-align: center;
    padding: 20px 0;
}

.btn-back {
    background: #444;
    color: white;
    border: 1px solid #666;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #555;
    border-color: #888;
}

/* Checkpoint Modal */
.checkpoint-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.checkpoint-modal {
    background: #1a1a1a;
    border: 2px solid #ff006e;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(255, 0, 110, 0.5);
}

.checkpoint-header {
    padding: 25px;
    border-bottom: 2px solid #333;
    text-align: center;
}

.checkpoint-header h2 {
    color: #ff006e;
    font-size: 2em;
    margin-bottom: 10px;
}

.checkpoint-header p {
    color: #aaa;
    font-size: 1.1em;
}

/* Tabs */
.checkpoint-tabs {
    display: flex;
    border-bottom: 2px solid #333;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: #ff006e;
    border-bottom-color: #ff006e;
}

/* Tab Panels */
.checkpoint-content {
    padding: 25px;
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Preferences Editor */
.pref-category {
    margin-bottom: 30px;
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
}

.pref-category h3 {
    color: #8338ec;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #1a1a1a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(255, 0, 110, 0.1);
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.slider-group {
    margin-bottom: 20px;
    background: #1a1a1a;
    padding: 15px;
    border-radius: 6px;
}

.slider-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: bold;
}

.slider-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #444;
    outline: none;
    cursor: pointer;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff006e;
    cursor: pointer;
}

.slider-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff006e;
    cursor: pointer;
    border: none;
}

/* Library Manager */
.library-stats {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
}

.library-stats h3 {
    color: #ff006e;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    display: block;
    color: #888;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: #00ff88;
    font-size: 1.5em;
    font-weight: bold;
}

.library-hint {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 15px;
    background: rgba(255, 183, 0, 0.05);
    border-radius: 6px;
}

/* Modal Footer */
.checkpoint-footer {
    padding: 20px 25px;
    border-top: 2px solid #333;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
}

.btn-secondary {
    background: #444;
    color: white;
    border: 1px solid #666;
}

.btn-secondary:hover {
    background: #555;
    border-color: #888;
}

/* ========================================
   ACADEMY TRAINING TASK STYLES
   ======================================== */

/* Edge Training Task */
.academy-edge-task {
    padding: 20px;
    text-align: center;
}

.academy-edge-task h3 {
    color: #ff006e;
    margin-bottom: 15px;
}

.academy-edge-task .instruction {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.edge-counter {
    margin: 30px auto;
    max-width: 300px;
}

.counter-display {
    font-size: 3em;
    font-weight: bold;
    color: #ff006e;
    margin-bottom: 15px;
}

.counter-display .separator {
    color: #666;
    margin: 0 10px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ff006e;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    transition: width 0.5s ease;
}

.btn-edge {
    padding: 15px 40px;
    font-size: 1.3em;
    margin-top: 20px;
}

/* Rhythm Pattern Task */
.academy-rhythm-task {
    padding: 20px;
    text-align: center;
}

.academy-rhythm-task h3 {
    color: #8338ec;
    margin-bottom: 20px;
}

.rhythm-display {
    margin: 30px auto;
    max-width: 400px;
}

.metronome-visual {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: #2a2a2a;
    border: 3px solid #8338ec;
    border-radius: 50%;
    transition: all 0.1s;
}

.metronome-visual.beat {
    background: #8338ec;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(131, 56, 236, 0.8);
}

.bpm-display {
    font-size: 2em;
    color: #8338ec;
    margin-bottom: 10px;
}

.phase-indicator {
    color: #aaa;
    font-size: 1.1em;
}

.timer-display {
    font-size: 1.5em;
    color: #e0e0e0;
    margin-top: 20px;
}

/* Library Tasks */
.academy-library-task, .academy-tag-task {
    padding: 20px;
}

.academy-library-task h3, .academy-tag-task h3 {
    color: #00ff88;
    margin-bottom: 15px;
}

.suggestion {
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}

.tag {
    display: inline-block;
    background: #00ff88;
    color: #000;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin: 2px;
}

.result-area, .status-area {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
}

.success {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.error {
    background: rgba(255, 0, 110, 0.2);
    color: #ff006e;
    border: 1px solid #ff006e;
}

.tag-progress {
    font-size: 1.5em;
    color: #00ff88;
    margin: 20px 0;
}

/* Webcam Task */
.academy-webcam-task {
    padding: 20px;
    text-align: center;
}

.academy-webcam-task h3 {
    color: #ffb700;
    margin-bottom: 15px;
}

.webcam-preview {
    margin-top: 20px;
    min-height: 60px;
}

/* Video Tasks */
.academy-dual-video-task, .academy-quad-video-task {
    padding: 20px;
    text-align: center;
}

.academy-dual-video-task h3 {
    color: #ff006e;
    margin-bottom: 15px;
}

.academy-quad-video-task h3 {
    color: #8338ec;
    margin-bottom: 15px;
}

/* TTS Task */
.academy-tts-task {
    padding: 20px;
    text-align: center;
}

.academy-tts-task h3 {
    color: #00d9ff;
    margin-bottom: 15px;
}

.tts-message {
    font-size: 1.3em;
    font-style: italic;
    color: #e0e0e0;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid #00d9ff;
    border-radius: 6px;
}

/* Hypno Spiral Task */
.academy-hypno-task {
    padding: 20px;
    text-align: center;
}

.academy-hypno-task h3 {
    color: #ff00ff;
    margin-bottom: 15px;
}

.hypno-container {
    margin: 30px auto;
    max-width: 400px;
}

.spiral-animation {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: radial-gradient(circle, #ff00ff 0%, #8338ec 25%, #000 50%);
    border-radius: 50%;
    border: 3px solid #ff00ff;
}

.spiral-animation.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.success-message {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 1.2em;
    border: 2px solid #00ff88;
}

/* Video Start Task */
.academy-video-start-task {
    padding: 20px;
    text-align: center;
}

.academy-video-start-task h3 {
    color: #ff006e;
    margin-bottom: 15px;
}

/* Update Preferences Task */
.academy-update-preferences-task {
    padding: 20px;
    text-align: center;
}

.academy-update-preferences-task h3 {
    color: #ffb700;
    margin-bottom: 15px;
}

/* Free Edge Session Task */
.academy-free-edge-task {
    padding: 20px;
    text-align: center;
}

.academy-free-edge-task h3 {
    color: #8338ec;
    margin-bottom: 15px;
}

.feature-list {
    margin: 20px 0;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin: 5px;
    font-size: 0.9em;
}

.session-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 3em;
    font-weight: bold;
    color: #8338ec;
}

.stat-label {
    font-size: 1.1em;
    color: #aaa;
    margin-top: 5px;
}

#log-edge-btn {
    margin: 10px;
    padding: 12px 30px;
    font-size: 1.2em;
}

/* ==========================================
   ADVANCED TRAINING ARC STYLES (L11-20)
   ========================================== */

/* Hypno Caption Combo */
.hypno-caption-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.hypno-spiral-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #8338ec, #000);
    animation: spiral-rotate 10s linear infinite;
}

@keyframes spiral-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.caption-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #ff006e, 0 0 40px #ff006e;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

/* Dynamic Captions */
.dynamic-captions-container {
    padding: 40px;
    text-align: center;
}

.dynamic-caption {
    font-size: 3em;
    font-weight: bold;
    color: #ff006e;
    text-shadow: 0 0 30px #ff006e;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.caption-info {
    color: #aaa;
    font-style: italic;
    margin-top: 20px;
}

/* TTS Hypno Sync */
.tts-hypno-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.tts-command {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 20px #00ff88;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    border-radius: 12px;
    border: 2px solid #00ff88;
    z-index: 10;
}

/* Sensory Overload */
.sensory-overload-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
}

.overload-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ff006e;
    font-size: 1.3em;
    z-index: 20;
}

.overload-stats div {
    margin: 10px 0;
    color: #fff;
}

.edge-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 60px;
    font-size: 1.8em;
    font-weight: bold;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    border: 3px solid #fff;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.edge-button:hover:not(:disabled) {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.8);
}

.edge-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.overload-warning {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    font-weight: bold;
    color: #ff006e;
    text-shadow: 0 0 20px #ff006e;
    animation: warning-pulse 1.5s infinite;
    z-index: 20;
}

@keyframes warning-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Enable Interruptions / Popups */
.enable-interruptions-container,
.enable-popups-container {
    padding: 40px;
    text-align: center;
}

.feature-unlock {
    background: linear-gradient(135deg, #2a2a2a, #1a1a3a);
    border: 3px solid #ff006e;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.feature-unlock h3 {
    color: #ff006e;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #ff006e;
}

.feature-unlock p {
    font-size: 1.2em;
    margin: 15px 0;
    color: #e0e0e0;
}

.feature-unlock ul {
    list-style: none;
    padding: 20px 0;
}

.feature-unlock ul li {
    font-size: 1.3em;
    color: #00ff88;
    margin: 10px 0;
    padding: 10px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
}

.feature-unlock .warning {
    color: #ff006e;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
}

.accept-btn {
    padding: 20px 60px;
    font-size: 1.5em;
    font-weight: bold;
    background: linear-gradient(135deg, #00ff88, #00aa55);
    border: 3px solid #fff;
    border-radius: 15px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

/* Denial Training */
.denial-training-container {
    padding: 60px;
    text-align: center;
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.denial-training-container.stroking-period {
    background: linear-gradient(135deg, #1a3a1a, #0a2a0a);
    border: 4px solid #00ff88;
}

.denial-training-container.denial-period {
    background: linear-gradient(135deg, #3a1a1a, #2a0a0a);
    border: 4px solid #ff006e;
}

.denial-training-container h3 {
    font-size: 3em;
    margin-bottom: 30px;
}

.denial-instruction {
    font-size: 1.8em;
    margin: 20px 0;
    font-weight: bold;
}

.denial-timer {
    font-size: 5em;
    font-weight: bold;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
}

.denial-progress {
    font-size: 1.3em;
    color: #aaa;
    margin-top: 20px;
}

.denial-complete {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, #1a2a3a, #0a1a2a);
    border: 4px solid #8338ec;
    border-radius: 20px;
}

.denial-complete h3 {
    font-size: 2.5em;
    color: #8338ec;
    margin-bottom: 20px;
}

/* Stop Stroking */
.stop-stroking-container {
    padding: 60px;
    text-align: center;
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stop-stroking-container h2 {
    font-size: 3.5em;
    color: #ff006e;
    text-shadow: 0 0 30px #ff006e;
    margin-bottom: 30px;
    animation: warning-pulse 1s infinite;
}

.stop-instruction {
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0;
}

.stop-timer {
    font-size: 6em;
    font-weight: bold;
    margin: 40px 0;
    font-family: 'Courier New', monospace;
    color: #ff006e;
    text-shadow: 0 0 40px #ff006e;
}

.stop-warning {
    font-size: 1.3em;
    color: #aaa;
    margin-top: 20px;
}

.stop-complete {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, #1a3a1a, #0a2a0a);
    border: 4px solid #00ff88;
    border-radius: 20px;
}

.stop-complete h3 {
    font-size: 2.5em;
    color: #00ff88;
    margin-bottom: 20px;
}

/* Popup Image */
.popup-image-container {
    padding: 40px;
    text-align: center;
}

.popup-content {
    background: #1a1a1a;
    border: 3px solid #ff006e;
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.5);
}

.popup-img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.popup-message {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
}

.popup-timer {
    font-size: 1.2em;
    color: #aaa;
    margin-top: 15px;
}

.acknowledge-btn {
    padding: 15px 50px;
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    border: 3px solid #fff;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acknowledge-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.6);
}

/* Timer Display (reusable) */
.timer-display {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 25px;
    border-radius: 10px;
    border: 2px solid #8338ec;
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    z-index: 20;
}

/* Success Messages */
.success-message {
    background: linear-gradient(135deg, #1a3a1a, #0a2a0a);
    border: 3px solid #00ff88;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    font-size: 1.5em;
    font-weight: bold;
    color: #00ff88;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

