#activity-content { padding: 88px 0 48px; background: #f5f7fb; min-height: 70vh; }
.activity-page { max-width: 1200px; margin: 0 auto; padding: 0 27px; }
.activity-eyebrow { color: #7890b5; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.activity-page h1 { font-size: 34px; line-height: 1.4; letter-spacing: -.04em; margin: 0 0 22px; }
.activity-card { padding: 26px 24px 24px; border: 1px solid #dfe6f4; border-radius: 23px; background: #fff; box-shadow: 0 14px 32px rgba(33,56,100,.04); }
.activity-card h2 { font-size: 30px; line-height: 1.5; letter-spacing: -.03em; margin: 0 0 16px; }
.activity-reward { font-size: 20px; color: #416595; margin-bottom: 20px; }
.activity-reward strong { color: #315ff0; font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.activity-rewards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.activity-reward-card { padding: 18px 17px 20px; background: linear-gradient(110deg,#f5f8ff,#f8f4ff); border: 1px solid #dce5fc; border-radius: 16px; }
.activity-reward-card h3 { font-size: 14px; margin-bottom: 8px; }
.activity-reward-card p { font-size: 24px; line-height: 1.6; color: #315ff0; font-weight: 800; }
.activity-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.activity-actions a,.activity-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 12px 17px; border: 1px solid #d2dcf0; border-radius: 12px; background: #fff; color: #193450; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.activity-actions .activity-primary { background: #3962ee; color: #fff; border-color: #3962ee; font-weight: 600; box-shadow: 0 8px 20px #3962ee26; }
.activity-actions a:hover { background: #284ed1; }
.activity-actions button:hover { background: #f3f6ff; }
.activity-actions :focus-visible { outline: 2px solid #315ff0; outline-offset: 3px; }
.nav-links a[aria-current] { color: var(--blue); }
/* Keep participation beside the introduction and rules in the page flow. */
.activity-card-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.activity-intro { min-width: 0; }
.activity-card-header .activity-reward { margin-bottom: 0; }
.activity-card-header .activity-actions { flex-shrink: 0; padding: 0 32px; }
.activity-actions .activity-primary { min-height: 52px; padding: 14px 26px; gap: 18px; border-radius: 14px; }
.activity-actions .activity-primary:hover { background: #284ed1; transform: translateY(-1px); }
.activity-rules { margin-top: 28px; padding-top: 28px; border-top: 1px solid #e5eaf3; }
.activity-rules > h2 { font-size: 23px; margin-bottom: 20px; }
.activity-rules-body { font-size: 14px; line-height: 1.95; color: #4b586d; }
.activity-rules-body h3 { font-size: 17px; color: #182b49; margin: 26px 0 10px; }
.activity-rules-body h3:first-child { margin-top: 0; }
.activity-rules-body h4 { font-size: 14px; color: #315ee7; margin: 14px 0 8px; }
.activity-rules-body p { margin: 0 0 12px; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 1100px) and (min-width: 769px) { .nav-links { gap: 18px; } .nav-container { padding: 0 24px; } }
@media (max-width: 768px) { .nav-links li.activity-nav { display: list-item; } .nav-links { gap: 16px; } .activity-page { padding: 0 16px; } .activity-page h1 { font-size: 28px; } .activity-card { padding: 22px 18px; } .activity-card h2 { font-size: 24px; } .activity-reward { font-size: 16px; } .activity-reward strong { font-size: 30px; } .activity-card-header { align-items: flex-start; flex-direction: column; gap: 20px; } .activity-card-header .activity-actions { padding: 0; } .activity-rules { margin-top: 24px; padding-top: 24px; } .activity-rules > h2 { font-size: 22px; } }
@media (max-width: 480px) { .activity-rewards { grid-template-columns: 1fr; } .activity-card h2 { font-size: 22px; } }
