* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff4757;
    --primary-dark: #ee5a6f;
    --primary-light: #ff6b81;
    --secondary: #2f3542;
    --background: #f1f2f6;
    --card-bg: #ffffff;
    --text: #2f3542;
    --text-light: #57606f;
    --border: #dfe4ea;
    --success: #26de81;
    --warning: #fed330;
    --purple: #5f27cd;
    --blue: #00d2d3;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.dark-mode {
    --primary: #ff6b81;
    --primary-dark: #ff4757;
    --primary-light: #ff8fa3;
    --secondary: #f1f2f6;
    --background: #1a1a2e;
    --card-bg: #16213e;
    --text: #eaeaea;
    --text-light: #a8b2d1;
    --border: #2a2a4e;
    --purple: #a29bfe;
    --blue: #74b9ff;
    --gradient-1: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --gradient-2: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--gradient-1);
    min-height: 100vh;
    padding: 20px;
    color: var(--text);
    position: relative;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

/* Hintergrund-Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    z-index: -1;
    transition: background 0.5s ease;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.background-animation::before {
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.background-animation::after {
    bottom: -100px;
    right: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Hamburger Menu */
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.hamburger {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: var(--card-bg);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: left 0.4s ease;
    overflow-y: auto;
}

.side-menu.active {
    left: 0;
}

.menu-header {
    padding: 30px 20px 20px 20px;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin: 0;
}

.menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.menu-close:hover {
    color: var(--primary);
}

.menu-items {
    padding: 20px 0;
}

.menu-item {
    width: 100%;
    padding: 18px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    background: var(--background);
    border-left-color: var(--primary);
    padding-left: 30px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px;
    animation: fadeInUp 0.6s ease;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.theme-toggle {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: rgba(255, 255, 255, 0.3);
}

.theme-icon {
    transition: transform 0.5s ease;
}

body.dark-mode .theme-icon {
    content: '☀️';
}

body.dark-mode .theme-icon::after {
    content: '☀️';
}

.logo-animation {
    font-size: 5rem;
    animation: pulse 2s infinite ease-in-out, rotate3d 10s infinite ease-in-out;
    display: inline-block;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-animation:hover {
    transform: scale(1.2) rotate(180deg);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate3d {
    0%, 100% {
        transform: perspective(1000px) rotateY(0deg);
    }
    50% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.info-toggle {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(95, 39, 205, 0.3);
}

.info-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(95, 39, 205, 0.4);
}

/* Info Panel */
.info-panel {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0 30px;
    }
    to {
        opacity: 1;
        max-height: 1000px;
        padding: 30px;
    }
}

.info-content h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.info-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.fun-facts {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.fun-facts h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.fun-facts ul {
    list-style: none;
    padding: 0;
}

.fun-facts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.fun-facts li:last-child {
    border-bottom: none;
}

/* Input Section */
.input-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.activity-group {
    margin-bottom: 20px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

input[type="number"],
select {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.05rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1);
    transform: translateY(-2px);
}

select {
    cursor: pointer;
}

.calculate-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.calculate-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;
}

.calculate-btn:hover::before {
    width: 300px;
    height: 300px;
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
}

.calculate-btn:active {
    transform: translateY(-1px);
}

.calculate-btn:disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Partikel-Canvas */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Results Section */
.results-section {
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.risk-display {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.3);
}

.risk-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.risk-icon-animation {
    font-size: 4rem;
    animation: bounce 1s infinite;
    margin-bottom: 15px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.risk-display h2 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.risk-display p {
    font-size: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.risk-comparison {
    margin-top: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.comparison-title {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-list {
    display: grid;
    gap: 15px;
}

.result-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: slideInLeft 0.4s ease forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-item:nth-child(1) { animation-delay: 0.1s; }
.result-item:nth-child(2) { animation-delay: 0.15s; }
.result-item:nth-child(3) { animation-delay: 0.2s; }
.result-item:nth-child(4) { animation-delay: 0.25s; }
.result-item:nth-child(5) { animation-delay: 0.3s; }

.result-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-width: 8px;
}

.result-description {
    font-size: 1.15rem;
    color: var(--text);
    flex: 1;
    font-weight: 500;
}

.result-micromort {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.3rem;
    margin-left: 20px;
    padding: 8px 16px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 10px;
}

.no-results {
    text-align: center;
    padding: 50px;
    color: var(--text-light);
    font-size: 1.2rem;
    animation: fadeIn 0.3s ease;
}

/* Stats Footer */
.stats-footer {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-note {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 20px;
}

.footer-note p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .logo-animation {
        font-size: 3.5rem;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .risk-display h2 {
        font-size: 3.5rem;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .result-micromort {
        margin-left: 0;
    }

    .stats-footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .side-menu {
        width: 280px;
        left: -280px;
    }

    .all-activities-view h2 {
        font-size: 1.6rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .modal-content {
        padding: 25px 20px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .quiz-option {
        padding: 15px;
        font-size: 1rem;
    }
}

/* Fun Fact Toast */
.fun-fact-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 90%;
    text-align: center;
    transition: bottom 0.3s ease;
}

.fun-fact-toast.show {
    bottom: 30px;
}

/* All Activities View */
.all-activities-view {
    animation: fadeIn 0.5s ease;
}

.all-activities-view h2 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.subtitle-small {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    border-color: transparent;
}

.activities-list {
    display: grid;
    gap: 12px;
}

.activity-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--background);
    border-radius: 12px;
    border-left: 4px solid var(--border);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .activity-item {
        grid-template-columns: 50px 1fr auto auto;
        gap: 15px;
        padding: 20px;
    }
}

.activity-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-rank {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-light);
    text-align: center;
}

@media (min-width: 768px) {
    .activity-rank {
        font-size: 1.5rem;
    }
}

.activity-name-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .activity-name-col {
        gap: 10px;
    }
}

.activity-icon-large {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .activity-icon-large {
        font-size: 2rem;
    }
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

@media (min-width: 768px) {
    .activity-title {
        font-size: 1.1rem;
    }
}

.activity-type-badge {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(95, 39, 205, 0.1);
    border-radius: 10px;
    font-size: 0.65rem;
    color: var(--purple);
    margin-top: 3px;
}

@media (min-width: 768px) {
    .activity-type-badge {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
}

.activity-risk {
    text-align: right;
    grid-column: span 2;
}

@media (min-width: 768px) {
    .activity-risk {
        grid-column: auto;
    }
}

.activity-micromort {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

@media (min-width: 768px) {
    .activity-micromort {
        font-size: 1.3rem;
    }
}

.activity-per-unit {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

@media (min-width: 768px) {
    .activity-per-unit {
        font-size: 0.85rem;
        margin-top: 3px;
    }
}

.activity-danger-badge {
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .activity-danger-badge {
        display: block;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
    }
}

.danger-very-low {
    background: rgba(38, 222, 129, 0.2);
    color: var(--success);
}

.danger-low {
    background: rgba(254, 211, 48, 0.2);
    color: #f39c12;
}

.danger-medium {
    background: rgba(255, 107, 129, 0.2);
    color: var(--primary);
}

.danger-high {
    background: rgba(255, 71, 87, 0.3);
    color: #c0392b;
}

.danger-extreme {
    background: rgba(139, 0, 0, 0.3);
    color: darkred;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 25px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.quiz-question {
    margin: 30px 0;
}

.quiz-options {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.quiz-option {
    padding: 20px;
    background: var(--background);
    border: 3px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.quiz-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.quiz-option.correct {
    border-color: var(--success);
    background: rgba(38, 222, 129, 0.1);
}

.quiz-option.wrong {
    border-color: var(--primary);
    background: rgba(255, 71, 87, 0.1);
}

.quiz-explanation {
    margin-top: 20px;
    padding: 20px;
    background: var(--gradient-2);
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--text);
}

.random-risk-result {
    text-align: center;
    padding: 30px;
}

.random-risk-result h3 {
    font-size: 3rem;
    color: var(--primary);
    margin: 20px 0;
}

.random-risk-result .activity-name {
    font-size: 2rem;
    margin: 15px 0;
}

.random-risk-result .micromort-value {
    font-size: 1.5rem;
    color: var(--purple);
    font-weight: 700;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
