/* Fabric Data Days Exam Prep Styles - Modern Design */
:root {
    --datadays-yellow: #FFD60A;
    --datadays-teal: #00B4D8;
    --datadays-orange: #FF9500;
    --datadays-text: #1A2332;
    --datadays-bg: #F8F9FA;
    --card-bg: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--datadays-bg);
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--datadays-text);
    line-height: 1.6;
}

.datadays-hero {
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 50%, #0096C7 100%);
    padding: 20px 30px;
    color: white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.datadays-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.datadays-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.datadays-logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.datadays-logo .year {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 8px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
}

.datadays-header-center {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.datadays-subtitle {
    font-size: 0.95rem;
    margin: 0;
}

.datadays-countdown {
    margin: 0;
    font-size: 0.85rem;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.cta-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--datadays-teal) 0%, #00A896 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0,139,139,0.3);
    border: none;
}

.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,139,139,0.5);
}

.cta-btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.cta-btn-secondary {
    background: white;
    color: var(--datadays-text);
    border: 3px solid var(--datadays-text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-btn-secondary:hover {
    background: var(--datadays-text);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(31,78,78,0.3);
}

.cta-btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Pulse Animation for Primary Button */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0,139,139,0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(0,139,139,0.6);
    }
}

.cta-btn-primary {
    animation: pulse 2s infinite;
}

.exam-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--datadays-teal);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--datadays-teal);
}

.streak-fire {
    font-size: 2rem;
    margin-right: 10px;
}

.exam-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.exam-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--datadays-teal), var(--datadays-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.exam-card:hover::before {
    transform: scaleX(1);
}

.exam-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0,139,139,0.25);
    border-color: var(--datadays-teal);
}

.exam-card:active {
    transform: translateY(-4px) scale(1.01);
}

.exam-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--datadays-teal), var(--datadays-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    transition: all 0.3s ease;
}

.exam-card:hover h2 {
    transform: scale(1.05);
}
    box-shadow: 0 8px 30px rgba(0,139,139,0.2);
    border-color: var(--datadays-teal);
}

.exam-card h2 {
    font-size: 2.5rem;
    color: var(--datadays-teal);
    margin: 0 0 10px 0;
}

.cert-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--datadays-text);
    margin-bottom: 15px;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.exam-areas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.area-badge {
    background: linear-gradient(135deg, var(--datadays-yellow), var(--datadays-orange));
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--datadays-text);
}

.quiz-interface {
    display: none;
}

.back-btn {
    background: transparent;
    border: 2px solid var(--datadays-teal);
    color: var(--datadays-teal);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--datadays-teal);
    color: white;
}

.quiz-header {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.progress-bar {
    flex: 1;
    min-width: 200px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--datadays-teal), var(--datadays-yellow));
    transition: width 0.5s ease;
}

#examTitle {
    color: var(--datadays-text);
    margin: 0;
    font-size: 1.8rem;
}

.question-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.question-text {
    font-size: 1.2rem;
    color: var(--datadays-text);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.instruction {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.mini-periodic-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.element-item {
    background: white;
    padding: 12px 8px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.element-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,139,139,0.15);
    border-color: var(--datadays-teal);
    background: #f8fffe;
}

.element-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--datadays-text);
    margin-bottom: 4px;
}

.element-name {
    font-size: 0.75rem;
    color: #666;
}

.feedback-panel {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
    scroll-margin-top: 20px;
}

.feedback-panel.show {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.feedback-icon {
    font-size: 2.5rem;
}

.feedback-panel h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.feedback-panel p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

#feedbackTopics h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-tag {
    display: inline-block;
    background: #F0F4F8;
    border: 1.5px solid #D1DBE5;
    padding: 6px 14px;
    border-radius: 12px;
    margin: 4px;
    font-size: 0.85rem;
    color: #2D3748;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s ease;
}

.next-btn {
    background: var(--datadays-teal);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,139,139,0.3);
}

.next-btn:hover {
    background: #006666;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,139,139,0.4);
}

.element-item.correct {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-color: #2e7d32;
    color: white;
}

.element-item.correct .element-symbol,
.element-item.correct .element-name {
    color: white;
}

.element-item.incorrect {
    background: linear-gradient(135deg, #f44336, #e57373);
    border-color: #c62828;
    color: white;
}

.element-item.incorrect .element-symbol,
.element-item.incorrect .element-name {
    color: white;
}

.element-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .datadays-logo h1 {
        font-size: 1.8rem;
    }
    .datadays-subtitle {
        font-size: 1rem;
    }
    .exam-selection {
        grid-template-columns: 1fr;
    }
    .mini-periodic-table {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    .element-symbol {
        font-size: 1.4rem;
    }
    .question-text {
        font-size: 1.1rem;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    /* Stack header vertically on mobile */
    .datadays-hero {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .datadays-header-left {
        justify-content: center;
    }
    .cta-buttons {
        justify-content: center;
    }
}

/* Feedback Element Cards */
.feedback-element-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD60A 0%, #FFE44D 100%);
    padding: 10px 16px;
    border-radius: 12px;
    margin: 5px;
    transition: all 0.3s ease;
    border: 2px solid #FFD60A;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    cursor: pointer;
}

.feedback-element-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 214, 10, 0.3);
    border-color: #FF9500;
}

.feedback-element-card strong {
    font-size: 1.1rem;
    color: #1A2332;
    background: rgba(255,255,255,0.4);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.feedback-element-card span {
    font-size: 0.9rem;
    color: #1A2332;
    font-weight: 600;
}

/* Learn Links */
.learn-link {
    display: inline-block;
    color: var(--datadays-teal);
    text-decoration: none;
    font-weight: 600;
    margin: 5px 0;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.learn-link:hover {
    background: var(--datadays-teal);
    color: white;
    transform: translateX(5px);
}

/* Element item color override for correct/incorrect states */
.element-item.correct .element-symbol,
.element-item.correct .element-name,
.element-item.incorrect .element-symbol,
.element-item.incorrect .element-name {
    color: white !important;
}

/* Multi-Select Styles */
.element-item.selected {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px var(--datadays-teal), 0 6px 20px rgba(0, 139, 139, 0.4);
    position: relative;
}

.element-item.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--datadays-teal);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.submit-answer-btn {
    width: 100%;
    padding: 16px 24px;
    margin-top: 20px;
    background: var(--datadays-teal);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 139, 139, 0.3);
}

.submit-answer-btn:hover:not(:disabled) {
    background: #006666;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 139, 139, 0.4);
}

.submit-answer-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.instruction strong {
    color: var(--datadays-teal);
    font-weight: 700;
}

/* Feedback Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    margin: 0;
    color: var(--datadays-text);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--datadays-text);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--datadays-teal);
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--datadays-teal);
    color: white;
}

.btn-primary:hover {
    background: #006666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 139, 139, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

#feedbackStatus {
    text-align: center;
    font-weight: 600;
}

#feedbackStatus.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#feedbackStatus.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ========================================
   RESULTS MODAL STYLES
   ======================================== */

.results-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.results-modal-overlay.show {
    opacity: 1;
}

.results-modal {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.results-modal-overlay.show .results-modal {
    transform: scale(1);
}

.results-modal.success {
    border-top: 6px solid #4caf50;
}

.results-modal.needs-improvement {
    border-top: 6px solid #FF9500;
}

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

.results-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.results-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--datadays-text);
}

.results-score {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from { transform: scale(0) rotate(-180deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.score-circle.high-score {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}

.score-circle.low-score {
    background: linear-gradient(135deg, #FF9500 0%, #FFB74D 100%);
}

.score-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.score-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-weight: 600;
}

.results-message {
    text-align: center;
    margin: 30px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.results-message p {
    margin: 0;
    color: #555;
}

.weak-areas {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin: 30px 0;
}

.weak-areas h3 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    color: var(--datadays-text);
}

.weak-areas-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.weak-areas-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 8px;
    border-left: 4px solid #FF9500;
}

.area-name {
    font-weight: 600;
    color: var(--datadays-text);
}

.area-count {
    font-size: 0.9rem;
    color: #666;
    background: #FFE8CC;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.weak-areas .tip {
    margin: 16px 0 0 0;
    padding: 12px;
    background: #E3F2FD;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0277BD;
}

.weak-areas .tip a {
    color: #01579B;
    text-decoration: underline;
    font-weight: 600;
}

.results-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.results-actions button {
    flex: 1;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-try-again {
    background: linear-gradient(135deg, #008B8B 0%, #00B4D8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 139, 139, 0.3);
}

.btn-try-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 139, 139, 0.4);
}

.btn-back {
    background: #f8f9fa;
    color: var(--datadays-text);
    border: 2px solid #e0e0e0;
}

.btn-back:hover {
    background: #e9ecef;
    border-color: #ccc;
}

/* ========================================
   CONFETTI ANIMATION
   ======================================== */

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 10001;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

/* Mobile Responsive for Results Modal */
@media (max-width: 768px) {
    .results-modal {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .results-icon {
        font-size: 3rem;
    }
    
    .results-title {
        font-size: 1.5rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions button {
        width: 100%;
    }
}
