/* ============================================ */
/* DREAM SECTION — "Покажи мечтата"            */
/* Transformation Stories + Dream Visualizer    */
/* ============================================ */

.dream-section {
    position: relative;
    padding: 120px 20px 100px;
    background: linear-gradient(180deg, #E8E4E4 0%, #f0eeee 8%, #f5f3f3 50%, #f0eeee 92%, #E8E4E4 100%);
    overflow: hidden;
}

/* Background ambient effects */
.dream-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top center, rgba(180, 244, 97, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.dream-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at bottom center, rgba(102, 126, 234, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.dream-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.dream-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.dream-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 244, 97, 0.15) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: dreamFloat1 20s ease-in-out infinite;
}

.dream-shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 70%);
    bottom: 15%;
    left: -8%;
    animation: dreamFloat2 25s ease-in-out infinite;
}

.dream-shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: dreamFloat3 18s ease-in-out infinite;
}

@keyframes dreamFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes dreamFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -25px) scale(1.05); }
}

@keyframes dreamFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(0.95); }
}

.dream-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================= */
/* Section Header                */
/* ============================= */

.dream-header {
    text-align: center;
    margin-bottom: 80px;
}

.dream-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.15) 0%, rgba(102, 126, 234, 0.1) 100%);
    border: 1px solid rgba(180, 244, 97, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2c2c2c;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.dream-badge i {
    color: #6aaf1a;
    font-size: 14px;
}

.dream-main-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.dream-main-title .highlight-green {
    background: linear-gradient(135deg, #6aaf1a 0%, #8fd832 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dream-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================= */
/* Transformation Stories         */
/* ============================= */

.dream-stories-label {
    text-align: center;
    margin-bottom: 48px;
}

.stories-label-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #999;
}

.stories-label-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #B4F461, transparent);
    border-radius: 2px;
}

.dream-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 100px;
}

/* Individual Story Card */
.story-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 36px 30px 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.story-card.dream-visible {
    opacity: 1;
    transform: translateY(0);
}

.story-card:nth-child(1).dream-visible { transition-delay: 0s; }
.story-card:nth-child(2).dream-visible { transition-delay: 0.15s; }
.story-card:nth-child(3).dream-visible { transition-delay: 0.3s; }

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B4F461, #6aaf1a);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(180, 244, 97, 0.08);
    border-color: rgba(180, 244, 97, 0.2);
}

.story-card:hover::before {
    opacity: 1;
}

/* Card glow on hover */
.story-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(circle at 50% 0%, rgba(180, 244, 97, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.story-card:hover .story-card-glow {
    opacity: 1;
}

/* Person Header */
.story-person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.story-avatar {
    position: relative;
    flex-shrink: 0;
}

.story-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(180, 244, 97, 0.3);
    transition: border-color 0.3s ease;
}

.story-card:hover .story-avatar img {
    border-color: rgba(180, 244, 97, 0.6);
}

.story-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #B4F461, #6aaf1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: 10px;
    color: #1a1a1a;
}

.story-person-info {
    flex: 1;
}

.story-person-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.story-person-role {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

/* Before/After States */
.story-states {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.story-state {
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 10px;
}

.story-state-before {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(255, 107, 107, 0.02) 100%);
    border: 1px solid rgba(255, 107, 107, 0.12);
}

.story-state-after {
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.08) 0%, rgba(106, 175, 26, 0.04) 100%);
    border: 1px solid rgba(180, 244, 97, 0.2);
}

.story-state-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.story-state-before .story-state-label {
    color: #e05555;
}

.story-state-after .story-state-label {
    color: #5a9a10;
}

.story-state-label i {
    font-size: 12px;
}

.story-state-text {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    font-weight: 500;
}

.story-state-after .story-state-text {
    color: #2c2c2c;
    font-weight: 600;
}

/* Result Highlight */
.story-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.story-result::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 244, 97, 0.08));
    pointer-events: none;
}

.story-result-emoji {
    font-size: 28px;
    flex-shrink: 0;
}

.story-result-content {
    flex: 1;
}

.story-result-number {
    font-size: 22px;
    font-weight: 800;
    color: #B4F461;
    display: block;
    line-height: 1.2;
}

.story-result-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.4;
}

.story-result-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(180, 244, 97, 0.1);
    border: 1px solid rgba(180, 244, 97, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #B4F461;
    flex-shrink: 0;
}

/* ============================= */
/* Dream Visualizer              */
/* ============================= */

.dream-visualizer {
    position: relative;
}

.dream-viz-header {
    text-align: center;
    margin-bottom: 48px;
}

.dream-viz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(240, 147, 251, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2c2c2c;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.dream-viz-badge i {
    color: #667eea;
    font-size: 14px;
}

.dream-viz-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.dream-viz-subtitle {
    font-size: 16px;
    color: #777;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Visualizer Card */
.dream-viz-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    padding: 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dream-viz-card.dream-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Goal Selection */
.dream-goals-label {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
}

.dream-goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.dream-goal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.dream-goal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.08) 0%, rgba(102, 126, 234, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dream-goal-btn:hover {
    border-color: rgba(180, 244, 97, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.dream-goal-btn:hover::before {
    opacity: 1;
}

.dream-goal-btn.active {
    border-color: #B4F461;
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.1) 0%, rgba(180, 244, 97, 0.04) 100%);
    box-shadow: 0 4px 20px rgba(180, 244, 97, 0.15);
}

.dream-goal-btn.active::before {
    opacity: 1;
}

.dream-goal-icon {
    font-size: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.dream-goal-btn:hover .dream-goal-icon,
.dream-goal-btn.active .dream-goal-icon {
    transform: scale(1.15);
}

.dream-goal-name {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    position: relative;
    z-index: 1;
    text-align: center;
}

.dream-goal-btn.active .dream-goal-name {
    color: #1a1a1a;
}

/* Savings Slider */
.dream-slider-section {
    margin-bottom: 36px;
}

.dream-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dream-slider-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.dream-slider-value {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.dream-slider-value span {
    color: #6aaf1a;
}

.dream-slider-wrapper {
    position: relative;
    padding: 10px 0;
}

.dream-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #B4F461 0%, #e0e0e0 0%);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: background 0.1s ease;
}

.dream-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #B4F461, #6aaf1a);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(180, 244, 97, 0.4), 0 0 0 4px rgba(180, 244, 97, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dream-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 4px 16px rgba(180, 244, 97, 0.5), 0 0 0 6px rgba(180, 244, 97, 0.2);
    transform: scale(1.1);
}

.dream-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.dream-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #B4F461, #6aaf1a);
    border-radius: 50%;
    cursor: grab;
    border: none;
    box-shadow: 0 2px 10px rgba(180, 244, 97, 0.4), 0 0 0 4px rgba(180, 244, 97, 0.15);
}

.dream-slider-marks {
    display: flex;
    justify-content: space-between;
    padding: 8px 4px 0;
}

.dream-slider-marks span {
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
}

/* Result Display */
.dream-result-display {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 22px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}

.dream-result-display::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180, 244, 97, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.dream-result-display::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.dream-result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.dream-result-goal-display {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dream-result-goal-icon {
    font-size: 36px;
}

.dream-result-goal-info {
    display: flex;
    flex-direction: column;
}

.dream-result-goal-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dream-result-goal-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.dream-result-check {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.15), rgba(180, 244, 97, 0.05));
    border: 1px solid rgba(180, 244, 97, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #B4F461;
}

/* Main Timeline Result */
.dream-result-main {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.dream-result-months {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #B4F461 0%, #d4ff8e 50%, #B4F461 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: dreamShimmer 3s ease-in-out infinite;
}

@keyframes dreamShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.dream-result-months-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.dream-result-phrase {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: 12px;
    line-height: 1.4;
}

.dream-result-phrase .phrase-highlight {
    color: #B4F461;
}

/* Bottom Stats */
.dream-result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.dream-stat-item {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dream-stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #B4F461;
    display: block;
    margin-bottom: 4px;
}

.dream-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* CTA below visualizer */
.dream-cta-wrapper {
    text-align: center;
    margin-top: 48px;
}

.dream-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(180, 244, 97, 0.15);
}

.dream-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(180, 244, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dream-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(180, 244, 97, 0.1);
    border-color: rgba(180, 244, 97, 0.3);
}

.dream-cta-button:hover::before {
    opacity: 1;
}

.dream-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #B4F461, #6aaf1a);
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dream-cta-button:hover .dream-cta-icon {
    transform: translateX(4px);
}

.dream-cta-sub {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

/* ============================= */
/* Progress Bar Animation        */
/* ============================= */

.dream-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.dream-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B4F461, #6aaf1a);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dream-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 12px;
    height: 12px;
    background: #B4F461;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(180, 244, 97, 0.5);
}

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

@media (max-width: 1024px) {
    .dream-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .dream-stories-grid .story-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .dream-viz-card {
        padding: 36px 30px;
    }
}

@media (max-width: 768px) {
    .dream-section {
        padding: 80px 16px 60px;
    }

    .dream-header {
        margin-bottom: 50px;
    }

    .dream-stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 70px;
    }

    .dream-stories-grid .story-card:nth-child(3) {
        max-width: none;
    }

    .dream-goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dream-goal-btn {
        padding: 18px 12px;
    }

    .dream-goal-icon {
        font-size: 26px;
    }

    .dream-goal-name {
        font-size: 12px;
    }

    .dream-viz-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .dream-result-display {
        padding: 28px 20px;
    }

    .dream-result-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dream-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .dream-result-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .dream-result-goal-display {
        justify-content: center;
    }

    .dream-cta-button {
        padding: 16px 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dream-main-title {
        font-size: 28px;
    }

    .dream-subtitle {
        font-size: 15px;
    }

    .story-card {
        padding: 28px 22px 24px;
    }

    .story-avatar img {
        width: 52px;
        height: 52px;
    }

    .story-person-name {
        font-size: 15px;
    }

    .story-state {
        padding: 14px 14px;
    }

    .story-result {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .dream-result-months {
        font-size: 48px;
    }

    .dream-viz-title {
        font-size: 24px;
    }

    .dream-goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
