.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.activity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.activity-card h4 {
    margin: 0 0 8px;
    font-weight: 500;
}

.activity-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 12px;
}

.activity-cta {
    color: var(--event-primary, #e1ab47);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Quiz */
.quiz-question-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    text-align: left;
    width: 100%;
}

.quiz-option:hover {
    border-color: var(--event-primary, #e1ab47);
}

.quiz-option.selected {
    border-color: var(--event-primary, #e1ab47);
    background: color-mix(in srgb, var(--event-primary, #e1ab47) 10%, white);
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.quiz-option.selected .option-letter {
    background: var(--event-primary, #e1ab47);
    color: #fff;
}

.result-score {
    font-size: 3rem;
    font-weight: 300;
    margin: 10px 0;
}

.score-number {
    font-weight: 700;
}

.score-divider {
    color: #ccc;
    margin: 0 4px;
}

.ranking-list {
    max-width: 400px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.ranking-item.ranking-me {
    background: color-mix(in srgb, var(--event-primary, #e1ab47) 10%, white);
    border-radius: 8px;
    font-weight: 500;
}

.ranking-pos {
    width: 30px;
    text-align: center;
}

.ranking-name {
    flex: 1;
    text-align: left;
}

.ranking-score {
    font-weight: 600;
    color: var(--event-primary, #e1ab47);
}

/* Photo Challenges */
.challenge-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 12px;
    overflow: hidden;
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.challenge-header:hover {
    background: #fafafa;
}

.challenge-body {
    padding: 0 16px 16px;
}

.challenge-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.challenge-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.challenge-photo a {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-author {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    padding: 16px 6px 4px;
    font-size: 0.75rem;
}

/* Time Capsule */
.sent-animation {
    font-size: 2.5rem;
    margin: 10px 0;
    letter-spacing: 8px;
}

.capsule-message-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.capsule-message-card p {
    font-size: 0.95rem;
    color: #444;
}

@keyframes progress-indeterminate {
    0% { margin-left: 0; width: 30%; }
    50% { margin-left: 35%; width: 30%; }
    100% { margin-left: 70%; width: 30%; }
}

/* Setup page */
.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.activity-form {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed #ddd;
}
