/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #141922;
    --bg-tertiary: #1e2633;
    --bg-hover: #252d3d;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --accent-primary: #ff962a;
    --accent-hover: #ff7b00;
    --accent-glow: rgba(255, 150, 42, 0.3);
    --success: #3dd68c;
    --success-bg: rgba(61, 214, 140, 0.12);
    --success-glow: rgba(61, 214, 140, 0.15);
    --error: #ff5370;
    --error-bg: rgba(255, 83, 112, 0.12);
    --error-glow: rgba(255, 83, 112, 0.15);
    --warning: #ffc107;
    --border: #2d3748;
    --border-light: rgba(255, 255, 255, 0.05);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-light: rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --radius-small: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(ellipse at top, #1f1a15 0%, #0a0e17 50%, #1a0f05 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 150, 42, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 123, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 var(--radius-small) 0;
    z-index: 100;
    font-weight: 600;
    transition: top 0.2s;
    opacity: 0;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.main-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 150, 42, 0.3));
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.main-logo:hover {
    filter: drop-shadow(0 6px 16px rgba(255, 150, 42, 0.5));
    transform: translateY(-2px);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff962a 0%, #ff7b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.main-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.container {
    width: 75%;
    margin: 0 auto;
    padding: 1rem;
}

/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.screen.active {
    display: block;
}

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


/* Section Styling */
.quick-start-section,
.tests-section,
.about-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
}

/* Quick Start Buttons */
.quick-start-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.random-test-btn,
.massive-test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.random-test-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    box-shadow: 0 4px 16px rgba(255, 150, 42, 0.3);
}

.random-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 150, 42, 0.5);
}

.massive-test-btn {
    background: linear-gradient(135deg, var(--success), #2ec77a);
    box-shadow: 0 4px 16px rgba(61, 214, 140, 0.3);
}

.massive-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(61, 214, 140, 0.4);
}

.random-test-btn:active,
.massive-test-btn:active {
    transform: translateY(-1px);
}

.random-icon,
.massive-icon {
    width: 32px;
    height: 32px;
    color: white;
    flex-shrink: 0;
}

.random-icon {
    animation: rotate 2s linear infinite;
}

.random-test-btn:hover .random-icon {
    animation: rotate 1s linear infinite;
}

.btn-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.btn-subtitle {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* About Section */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.about-card {
    background: rgba(20, 25, 34, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow);
    display: flex;
    flex-direction: column;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.about-card strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    height: 100%;
}

.stat-box-compact {
    background: rgba(30, 38, 51, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    padding: 1rem 0.75rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.stat-box-compact:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--accent-glow);
}

.stat-value-compact {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.stat-label-compact {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Info Card */
.info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* Test Selection */
.test-selection {
    margin-top: 2rem;
}

.test-selection h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.random-test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255, 150, 42, 0.3);
    margin-bottom: 2.5rem;
}

.random-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 150, 42, 0.5);
}

.random-test-btn:active {
    transform: translateY(-1px);
}

.random-icon {
    width: 24px;
    height: 24px;
    animation: rotate 2s linear infinite;
}

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

.random-test-btn:hover .random-icon {
    animation: rotate 1s linear infinite;
}

.massive-test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--success), #2ec77a);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(61, 214, 140, 0.3);
    margin-bottom: 2.5rem;
}

.massive-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(61, 214, 140, 0.4);
}

.massive-test-btn:active {
    transform: translateY(-1px);
}

.massive-icon {
    width: 24px;
    height: 24px;
}

.royal-history-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    margin-bottom: 2.5rem;
}

.royal-history-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.royal-history-btn:active {
    transform: translateY(-1px);
}

.crown-icon {
    width: 24px;
    height: 24px;
    animation: pulse 2s ease-in-out infinite;
}

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

.royal-history-btn:hover .crown-icon {
    animation: pulse 1s ease-in-out infinite;
}

.revision-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    margin-bottom: 2.5rem;
}

.revision-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.revision-btn:active {
    transform: translateY(-1px);
}

.book-icon {
    width: 24px;
    height: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.revision-btn:hover .book-icon {
    animation: bounce 1s ease-in-out infinite;
}

.revision-test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    margin-bottom: 2.5rem;
}

.revision-test-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.revision-test-btn:active {
    transform: translateY(-1px);
}

.test-icon {
    width: 24px;
    height: 24px;
    animation: checkmark 2s ease-in-out infinite;
}

@keyframes checkmark {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.revision-test-btn:hover .test-icon {
    animation: checkmark 1s ease-in-out infinite;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 0.75rem;
}

.test-card {
    background: rgba(20, 25, 34, 0.6);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.test-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow), 0 0 20px var(--accent-glow);
}

.test-card:active {
    transform: translateY(-2px) scale(0.98);
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-primary), var(--success));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.test-card {
    position: relative;
    overflow: hidden;
}

.test-card:hover::before {
    opacity: 0.05;
}

/* Quiz Screen */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(20, 25, 34, 0.8);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px var(--shadow-light);
    backdrop-filter: blur(10px);
}

.quiz-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.test-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.timer.warning {
    color: var(--warning);
    animation: pulse 1s infinite;
}

.timer.critical {
    color: var(--error);
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.timer-icon {
    width: 20px;
    height: 20px;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Color Legend */
.color-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(20, 25, 34, 0.6);
    border-radius: var(--radius-small);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.correct {
    background: var(--success);
}

.legend-color.incorrect {
    background: var(--error);
}

.legend-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Progress Tracker */
.progress-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(20, 25, 34, 0.6);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.progress-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle-fill {
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 0.5s ease;
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.progress-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-small);
    min-width: 60px;
}

.correct-mini {
    background: var(--success-bg);
    border: 2px solid var(--success);
}

.incorrect-mini {
    background: var(--error-bg);
    border: 2px solid var(--error);
}

.stat-mini-icon {
    font-size: 1.25rem;
}

.correct-mini .stat-mini-icon {
    color: var(--success);
}

.incorrect-mini .stat-mini-icon {
    color: var(--error);
}

.stat-mini span:last-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Question Number Grid */
.question-grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(20, 25, 34, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(45, 55, 72, 0.5);
    backdrop-filter: blur(10px);
}

/* Massive Test Progress Container */
.massive-progress-container {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(20, 25, 34, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(45, 55, 72, 0.5);
    backdrop-filter: blur(10px);
}

.massive-progress-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.massive-progress-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.massive-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.massive-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.massive-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.massive-stat-value.correct-text {
    color: var(--success);
}

.massive-stat-value.incorrect-text {
    color: var(--error);
}

.massive-progress-bar {
    width: 100%;
    height: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.massive-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-hover));
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.question-number-btn {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    padding: 0.2rem;
    min-height: 28px;
    min-width: 28px;
}

.question-number-btn:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.question-number-btn.active {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

.question-number-btn.answered-correct {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.question-number-btn.answered-incorrect {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

/* Question Card */
.quiz-content {
    margin: 0 auto;
}

.question-card {
    background: rgba(20, 25, 34, 0.8);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 16px var(--shadow);
    backdrop-filter: blur(10px);
}

.question-card.compact {
    padding: 1.5rem;
}

.question-header {
    margin-bottom: 0.75rem;
}

.question-number {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option {
    background: rgba(30, 38, 51, 0.6);
    border: 2px solid var(--border);
    border-radius: var(--radius-small);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    backdrop-filter: blur(5px);
}

.option:hover:not(.selected):not(.correct):not(.incorrect):not(.disabled) {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.option.selected {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

.option.correct {
    background: var(--success-bg);
    border-color: var(--success);
    color: var(--success);
    animation: pop 0.4s ease-out;
    box-shadow: 0 0 20px var(--success-glow);
}

.option.incorrect {
    background: var(--error-bg);
    border-color: var(--error);
    color: var(--error);
    animation: shake 0.5s ease-out;
    box-shadow: 0 0 20px var(--error-glow);
}

.option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Checkbox styling for multiple choice */
.option-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.option-checkbox:hover {
    border-color: var(--accent-primary);
}

.option-checkbox:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.option-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Explanation Card */
.explanation-card {
    background: rgba(30, 38, 51, 0.8);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-small);
    padding: 1rem;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 12px rgba(64, 0, 255, 0.1);
    backdrop-filter: blur(10px);
}

.explanation-card.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0 1rem;
    }
    to {
        opacity: 1;
        max-height: 300px;
        padding: 1rem;
    }
}

.explanation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent-primary);
}

.explanation-header .icon {
    width: 18px;
    height: 18px;
}

.explanation-text {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 150, 42, 0.5);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(255, 150, 42, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Results Screen */
.results-container {
    margin: 0 auto;
}

.results-actions-top {
    position: sticky;
    top: 1rem;
    z-index: 100;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(20, 25, 34, 0.95);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 12px var(--shadow);
}

.results-card {
    background: rgba(20, 25, 34, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow);
}

.results-header-compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.result-icon-small {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

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

.result-icon-small.pass {
    background: var(--success-bg);
    color: var(--success);
    box-shadow: 0 0 30px var(--success-glow);
}

.result-icon-small.fail {
    background: var(--error-bg);
    color: var(--error);
    box-shadow: 0 0 30px var(--error-glow);
}

.result-text {
    flex: 1;
}

#resultTitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.result-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.results-stats-compact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.results-breakdown {
    background: rgba(20, 25, 34, 0.6);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    max-height: 400px;
    overflow-y: auto;
}

.results-breakdown h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(30, 38, 51, 0.5);
    border-radius: var(--radius-small);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.breakdown-item:hover {
    background: rgba(30, 38, 51, 0.8);
}

.breakdown-item.correct {
    border-left-color: var(--success);
}

.breakdown-item.incorrect {
    border-left-color: var(--error);
}

.breakdown-question {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
    padding-right: 1rem;
    line-height: 1.4;
}

.breakdown-status {
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.breakdown-status.correct {
    background: var(--success-bg);
    color: var(--success);
}

.breakdown-status.incorrect {
    background: var(--error-bg);
    color: var(--error);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Motivational Message */
.motivational-message {
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(64, 0, 255, 0.08), rgba(61, 214, 140, 0.08));
    border-radius: var(--radius-small);
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #f0f;
    animation: confetti-fall 3s linear forwards;
    z-index: 9999;
    pointer-events: none;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Progress Dashboard */
.progress-dashboard {
    background: rgba(20, 25, 34, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(30, 38, 51, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.stat-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--accent-glow);
}

.stat-icon {
    font-size: 2.5rem;
    min-width: 50px;
    text-align: center;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-bar-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar-outer {
    width: 100%;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--success));
    border-radius: 12px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

.progress-bar-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0.5rem;
        padding-top: 1rem;
    }

    /* Header mobile */
    .header-section {
        margin-bottom: 2rem;
        padding-top: 1.5rem;
    }

    .main-logo {
        width: 140px;
        margin-bottom: 1rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .main-subtitle {
        font-size: 0.9rem;
    }

    .description-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .description-card h2 {
        font-size: 1.25rem;
    }

    .description-card p {
        font-size: 0.925rem;
        line-height: 1.6;
    }

    .description-card .highlight {
        font-size: 1rem;
    }

    .info-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .info-item {
        padding: 0.5rem;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 1.5rem;
    }

    .random-test-btn,
    .massive-test-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .random-icon,
    .massive-icon {
        width: 20px;
        height: 20px;
    }

    .test-selection {
        margin-top: 1.5rem;
    }

    .test-selection h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* Quick start buttons mobile - changed to single column for 5 buttons */
    .quick-start-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .random-test-btn,
    .massive-test-btn,
    .royal-history-btn,
    .revision-btn,
    .revision-test-btn {
        padding: 1rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }

    .random-icon,
    .massive-icon,
    .crown-icon,
    .book-icon,
    .test-icon {
        width: 28px;
        height: 28px;
    }

    .btn-title {
        font-size: 0.95rem;
    }

    .btn-subtitle {
        font-size: 0.75rem;
    }

    .test-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .test-card {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        min-height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .test-card:hover {
        transform: translateY(-2px);
    }

    /* About section mobile */
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.25rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }

    .stats-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .stat-box-compact {
        padding: 0.85rem 0.6rem;
    }

    .stat-value-compact {
        font-size: 1.25rem;
    }

    .stat-label-compact {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    /* Quiz screen mobile optimization */
    .quiz-header {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .quiz-info {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .test-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .timer {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .timer-icon {
        width: 16px;
        height: 16px;
    }

    .btn-small {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }

    #backBtn, #exitQuiz {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }

    #backBtn {
        margin-right: 0.5rem !important;
    }

    #backBtn svg {
        width: 14px !important;
        height: 14px !important;
        margin-right: 0.15rem !important;
    }

    /* Color legend - more compact */
    .color-legend {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        gap: 1rem;
    }

    .legend-color {
        width: 14px;
        height: 14px;
    }

    .legend-text {
        font-size: 0.75rem;
    }

    /* Progress tracker - mobile */
    .progress-tracker {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.75rem;
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .progress-circle {
        order: 1;
    }

    .progress-ring {
        width: 60px;
        height: 60px;
    }

    .progress-text {
        font-size: 0.85rem;
    }

    .progress-stats {
        order: 2;
        gap: 0.75rem;
    }

    .stat-mini {
        padding: 0.5rem 0.65rem;
        min-width: 55px;
    }

    .stat-mini-icon {
        font-size: 0.9rem;
    }

    .stat-mini span:last-child {
        font-size: 1.1rem;
    }

    /* Question grid - much more compact */
    .question-grid {
        grid-template-columns: repeat(12, 1fr);
        padding: 0.35rem;
        margin-bottom: 0.5rem;
        gap: 0.2rem;
    }

    .question-number-btn {
        font-size: 0.6rem;
        min-height: 22px;
        min-width: 22px;
        padding: 0.15rem;
        border-width: 1px;
    }

    /* Massive test progress - mobile */
    .massive-progress-container {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .massive-progress-stats {
        gap: 1rem;
    }

    .massive-stat-label {
        font-size: 0.7rem;
    }

    .massive-stat-value {
        font-size: 1.1rem;
    }

    .massive-progress-bar {
        height: 16px;
    }

    /* Question card - compact */
    .question-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .question-header {
        margin-bottom: 0.5rem;
    }

    .question-number {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    .question-text {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    /* Options - compact */
    .options {
        gap: 0.5rem;
    }

    .option {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }

    .option-checkbox {
        width: 16px;
        height: 16px;
    }

    .option-checkbox:checked::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    /* Explanation - compact */
    .explanation-card {
        padding: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .explanation-header {
        font-size: 0.75rem;
        margin-bottom: 0.35rem;
    }

    .explanation-header .icon {
        width: 14px;
        height: 14px;
    }

    .explanation-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Buttons - compact */
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .navigation-buttons {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    /* Results - Mobile */
    .results-actions-top {
        position: sticky;
        top: 0.5rem;
        padding: 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .results-actions-top .btn-primary,
    .results-actions-top .btn-secondary {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }

    .results-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .results-header-compact {
        gap: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .result-icon-small {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.75rem;
    }

    #resultTitle {
        font-size: 1.5rem;
    }

    .result-subtitle {
        font-size: 0.875rem;
    }

    .results-stats-compact {
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem;
        background: rgba(30, 38, 51, 0.4);
        border-radius: var(--radius-small);
    }

    .stat-divider {
        display: none;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .motivational-message {
        padding: 0.85rem 1rem;
        font-size: 0.875rem;
    }

    .results-breakdown {
        padding: 1rem;
        margin-bottom: 1rem;
        max-height: 300px;
    }

    .results-breakdown h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .breakdown-item {
        padding: 0.65rem 0.75rem;
        margin-bottom: 0.4rem;
    }

    .breakdown-question {
        font-size: 0.825rem;
        padding-right: 0.5rem;
    }

    .breakdown-status {
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
        min-width: 65px;
    }

    .results-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .results-actions button {
        width: 100%;
    }

    /* Progress dashboard mobile */
    .progress-dashboard {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .dashboard-header h2 {
        font-size: 1.35rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
        min-width: 40px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-subtext {
        font-size: 0.75rem;
    }

    .progress-bar-outer {
        height: 20px;
    }

    /* Cookie consent mobile */
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-text h3 {
        font-size: 1.1rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }

    /* Footer mobile */
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-disclaimer {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 25, 34, 0.98);
    border-top: 2px solid var(--accent-primary);
    padding: 1.5rem;
    z-index: 10000;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

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

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: var(--accent-hover);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    min-width: 250px;
}

.cookie-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: rgba(20, 25, 34, 0.95);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Support Section */
.support-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 150, 42, 0.08), rgba(255, 123, 0, 0.08));
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.support-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.support-section p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #0070ba, #003087);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 112, 186, 0.5);
    background: linear-gradient(135deg, #003087, #001C64);
}

.donate-btn:active {
    transform: translateY(0);
}

.footer-disclaimer {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 150, 42, 0.05);
    border: 1px solid rgba(255, 150, 42, 0.2);
    border-radius: var(--radius-small);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-disclaimer strong {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.footer-separator {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-copyright {
    margin-top: 1rem;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}
