/**
 * RIFT - Hub Features
 * Hero Carousel, Quote of the Day, Activity Feed, Session Countdown
 */

/* ========================================
   HUB LAYOUT - Unified Canvas Sections
   Consistent spacing & visual flow
   ======================================== */

/* Base section spacing - unified rhythm */
.hub-section {
    margin-top: 32px;
    position: relative;
}

.hub-section--cards {
    margin-top: 24px;
}

/* Dark section - seamless with page */
.hub-section--dark {
    position: relative;
    padding: 32px 24px;
    margin-top: 32px;
    margin-left: -24px;
    margin-right: -24px;
    background: transparent;
}

@media (min-width: 769px) {
    .hub-section--dark {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
    }
}

.hub-section--dark .hub-section__inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Quote section - less breathing room */
.hub-section--quote {
    margin-top: 32px;
    padding: 16px 0;
}

/* Features section */
.hub-section--features {
    margin-top: 32px;
}

/* Widgets section */
.hub-section--widgets {
    margin-top: 32px;
    margin-bottom: 48px;
}

/* ========================================
   1. HERO CAROUSEL
   D&D Beyond inspired fullwidth slider
   ======================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

/* Slides Container */
.hero-carousel__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-carousel__slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Background */
.hero-carousel__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.hero-carousel__slide.active .hero-carousel__bg {
    transform: scale(1.05);
}

/* Gradient Overlay - von links für linksbündigen Content */
.hero-carousel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
}

/* Carousel Wrapper - allows character overflow */
.hero-carousel-wrap {
    position: relative;
    overflow: visible;
}

/* Character Overlay - positioned in wrapper, OUTSIDE carousel overflow:hidden */
.hero-carousel__character {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    /* Parallax via CSS custom properties */
    translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s ease,
                filter 0.4s ease,
                translate 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --parallax-x: 0px;
    --parallax-y: 0px;
}

/* ── Entry animations (inactive → active) ── */

/* Fade (default) */
.hero-carousel__character--entry-fade {
    opacity: 0;
}
.hero-carousel__character--entry-fade.active {
    opacity: 1;
}

/* Slide Up */
.hero-carousel__character--entry-slide-up {
    opacity: 0;
    margin-bottom: -40px;
}
.hero-carousel__character--entry-slide-up.active {
    opacity: 1;
    margin-bottom: 0;
}

/* Slide Left (from right) */
.hero-carousel__character--entry-slide-left {
    opacity: 0;
    margin-left: 60px;
}
.hero-carousel__character--entry-slide-left.active {
    opacity: 1;
    margin-left: 0;
}

/* Zoom In */
.hero-carousel__character--entry-zoom {
    opacity: 0;
}
.hero-carousel__character--entry-zoom.active {
    opacity: 1;
}

/* Active state base */
.hero-carousel__character.active {
    pointer-events: auto;
}

/* Sequence mode: hidden layers */
.hero-carousel__character--seq-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Idle animations ── */

/* Gentle float (up/down) */
.hero-carousel__character--gentle {
    animation: charFloat 4s ease-in-out infinite;
}

/* Breathing (brightness pulse on image, not parent - avoids filter conflict) */
.hero-carousel__character--breathe img {
    animation: charBreathe 3.5s ease-in-out infinite;
}

@keyframes charFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -8px; }
}

@keyframes charBreathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

/* ── Glow element ── */
.hero-carousel__character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    animation: charGlowPulse 3s ease-in-out infinite;
}

@keyframes charGlowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Character image ── */
.hero-carousel__character img {
    display: block;
    height: auto;
    width: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    position: relative;
    z-index: 1;
}

/* Slide Content - linksbündig mit Abstand zu den Pfeilen */
.hero-carousel__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 100px 80px 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 650px;
    text-align: left;
    align-items: flex-start;
}

.hero-carousel__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    width: fit-content;
}

.hero-carousel__badge--live {
    background: #EF4444;
    animation: pulse-badge 2s infinite;
}

.hero-carousel__badge--new {
    background: #8B5CF6;
}

.hero-carousel__badge--event {
    background: #F59E0B;
}

.hero-carousel__badge--update {
    background: #22C55E;
}

.hero-carousel__badge--featured {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
}

.hero-carousel__badge--beta {
    background: #3B82F6;
}

.hero-carousel__badge--soon {
    background: #6B7280;
}

.hero-carousel__badge--hot {
    background: linear-gradient(135deg, #EF4444, #F97316);
    animation: pulse-badge 2s infinite;
}

.hero-carousel__badge--community {
    background: #14B8A6;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Video Background */
.hero-carousel__video {
    position: absolute;
    object-fit: cover;
    pointer-events: none;
}

/* Default size if no inline style */
.hero-carousel__video:not([style*="width"]) {
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Countdown Timer */
.hero-carousel__countdown {
    margin: 16px 0;
}

.hero-carousel__countdown-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.hero-carousel__countdown-timer {
    display: flex;
    gap: 12px;
}

.hero-carousel__countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 60px;
}

.hero-carousel__countdown-unit span {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.hero-carousel__countdown-unit small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-carousel__title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-carousel__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 480px;
}

.hero-carousel__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #0d0d0d;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}

.hero-carousel__cta:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.hero-carousel__cta svg {
    width: 16px;
    height: 16px;
}

/* Navigation Arrows */
.hero-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.hero-carousel__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-carousel__nav--prev {
    left: 24px;
}

.hero-carousel__nav--next {
    right: 24px;
}

.hero-carousel__nav svg {
    width: 20px;
    height: 20px;
}

/* Tab Navigation - unten rechts */
.hero-carousel__tabs {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel__tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.hero-carousel__tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-carousel__tab.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Progress Bar unter aktivem Tab */
.hero-carousel__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.1s linear;
}

.hero-carousel__tab.active::after {
    animation: tab-progress 6s linear forwards;
}

@keyframes tab-progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Dots (Mobile Alternative) */
.hero-carousel__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 10;
}

.hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-carousel__dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   2. QUOTE OF THE DAY
   Cinematic centered design
   ======================================== */

.quote-of-day {
    position: relative;
    padding: 32px 24px;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Decorative top/bottom lines */
.quote-of-day::before,
.quote-of-day::after {
    content: '';
    width: 60px;
    height: 1px;
    background: rgba(255, 70, 85, 0.4);
}

.quote-of-day::before {
    margin-bottom: 16px;
}

.quote-of-day::after {
    margin-top: 16px;
}

/* Hide the old marks */
.quote-of-day__marks {
    display: none;
}

/* Label */
.quote-of-day__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 24px;
}

.quote-of-day__label svg {
    width: 14px;
    height: 14px;
}

/* Quote Text - larger, centered */
.quote-of-day__text {
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 800px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Footer with author */
.quote-of-day__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Author Info */
.quote-of-day__author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.quote-of-day__author::before {
    content: '—';
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.quote-of-day__name {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.quote-of-day__source {
    color: rgba(255, 255, 255, 0.4);
}

.quote-of-day__source::before {
    content: ' | ';
    margin-right: 0;
}

.quote-of-day__year {
    color: rgba(255, 255, 255, 0.4);
}

.quote-of-day__year::before {
    content: ' | ';
    margin-right: 0;
}

/* Action Button - verstecken (nicht nötig bei zentriertem Design) */
.quote-of-day__btn {
    display: none;
}

/* ========================================
   3. SESSION COUNTDOWN
   Animated timer with visual impact
   ======================================== */

.session-countdown {
    position: relative;
    padding: 32px;
    background: #1a1a1a;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

/* Left accent border */
.session-countdown::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 3px;
    background: #4ADE80;
    border-radius: 0 2px 2px 0;
}

.session-countdown__inner {
    position: relative;
    z-index: 1;
}

.session-countdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.session-countdown__label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.session-countdown__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 10px;
    color: #4ADE80;
}

.session-countdown__icon svg {
    width: 20px;
    height: 20px;
}

.session-countdown__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.session-countdown__subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.session-countdown__date {
    text-align: right;
}

.session-countdown__day {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.session-countdown__time {
    font-size: 12px;
    color: #4ADE80;
}

/* Timer Display */
.session-countdown__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.session-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.session-countdown__value {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    font-size: 36px;
    font-weight: 800;
    color: white;
    font-variant-numeric: tabular-nums;
    position: relative;
    overflow: hidden;
}

.session-countdown__value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.session-countdown__unit-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.session-countdown__separator {
    font-size: 32px;
    font-weight: 300;
    color: rgba(74, 222, 128, 0.5);
    margin-top: -24px;
}

/* Session Info */
.session-countdown__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.session-countdown__session {
    display: flex;
    align-items: center;
    gap: 12px;
}

.session-countdown__session-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    overflow: hidden;
}

.session-countdown__session-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.session-countdown__session-img svg {
    width: 24px;
    height: 24px;
}

.session-countdown__session-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.session-countdown__session-system {
    font-size: 12px;
    color: var(--text-muted);
}

.session-countdown__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4ADE80;
    color: #0d0d0d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.session-countdown__cta:hover {
    background: #22C55E;
    transform: translateY(-2px);
}

/* ========================================
   4. ACTIVITY FEED
   Live updates stream
   ======================================== */

.activity-feed {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.activity-feed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.activity-feed__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.activity-feed__live {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #EF4444;
}

.activity-feed__live-dot {
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.activity-feed__filter {
    display: flex;
    gap: 4px;
}

.activity-feed__filter-btn {
    padding: 6px 12px;
    background: none;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.activity-feed__filter-btn:hover {
    color: var(--text);
}

.activity-feed__filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

/* Activity List */
.activity-feed__list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-feed__item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease;
    animation: slide-in 0.3s ease;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-feed__item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.activity-feed__item:last-child {
    border-bottom: none;
}

/* Activity Avatar */
.activity-feed__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.activity-feed__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Activity Content */
.activity-feed__content {
    flex: 1;
    min-width: 0;
}

.activity-feed__text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.activity-feed__text strong {
    font-weight: 600;
    color: var(--text);
}

.activity-feed__text .highlight {
    color: var(--accent);
    font-weight: 500;
}

.activity-feed__text .highlight--gold {
    color: #F59E0B;
}

.activity-feed__text .highlight--purple {
    color: #8B5CF6;
}

.activity-feed__text .highlight--red {
    color: #EF4444;
}

.activity-feed__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.activity-feed__meta-dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}

/* Activity Type Icons */
.activity-feed__type {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    flex-shrink: 0;
}

.activity-feed__type svg {
    width: 14px;
    height: 14px;
}

.activity-feed__type--dice {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}

.activity-feed__type--character {
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
}

.activity-feed__type--session {
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.1);
}

.activity-feed__type--achievement {
    color: #EC4899;
    background: rgba(236, 72, 153, 0.1);
}

.activity-feed__type--chat {
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.1);
}

/* Empty State */
.activity-feed__empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-muted);
}

.activity-feed__empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.activity-feed__empty p {
    font-size: 14px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .hero-carousel {
        height: 280px;
    }
    
    .hero-carousel__title {
        font-size: 28px;
    }
    
    .hero-carousel__content {
        padding: 40px 100px;
    }
}

@media (max-width: 900px) {
    .hero-carousel {
        height: 260px;
        border-radius: 12px;
    }
    
    .hero-carousel__content {
        padding: 32px 80px;
    }
    
    .hero-carousel__title {
        font-size: 24px;
    }
    
    .hero-carousel__desc {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-carousel__tabs {
        display: none;
    }
    
    .hero-carousel__dots {
        display: flex;
    }
    
    .hero-carousel__nav {
        width: 40px;
        height: 40px;
    }
    
    .session-countdown__timer {
        gap: 8px;
    }
    
    .session-countdown__value {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .quote-of-day {
        padding: 32px 0;
        margin: 32px 0;
    }
    
    .quote-of-day__text {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .hero-carousel {
        height: 220px;
        border-radius: 10px;
        margin-bottom: 24px;
    }
    
    .hero-carousel__character {
        display: none;
    }
    
    .hero-carousel__content {
        padding: 24px 60px;
        gap: 12px;
    }
    
    .hero-carousel__badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .hero-carousel__title {
        font-size: 20px;
    }
    
    .hero-carousel__desc {
        display: none;
    }
    
    .hero-carousel__cta {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-carousel__nav {
        width: 36px;
        height: 36px;
    }
    
    .hero-carousel__nav--prev {
        left: 12px;
    }
    
    .hero-carousel__nav--next {
        right: 12px;
    }
    
    .session-countdown {
        padding: 24px;
    }
    
    .session-countdown__value {
        width: 50px;
        height: 50px;
        font-size: 22px;
        border-radius: 8px;
    }
    
    .session-countdown__separator {
        font-size: 24px;
    }
    
    .session-countdown__info {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .session-countdown__cta {
        justify-content: center;
    }
    
    .quote-of-day {
        padding: 24px 0;
        margin: 24px 0;
    }
    
    .quote-of-day__marks {
        font-size: 36px;
    }
    
    .quote-of-day__text {
        font-size: 16px;
    }
    
    .quote-of-day__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .quote-of-day__btn {
        align-self: flex-end;
    }
    
    .activity-feed__item {
        padding: 12px 16px;
    }
}
