:root {
    --bg-color: #fff5f5;
    --coffee-color: #c8495a;
    --text-main: #4a2030;
    --text-accent: #e5989b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.navigation {
    padding: 2rem;
    position: absolute;
    top: 0; left: 0; z-index: 10;
}

.back-button {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
}
.back-button:hover { opacity: 1; background: rgba(0,0,0,0.1); }

.morning-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.envelope-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.instruction {
    font-size: 1.2rem;
    color: var(--coffee-color);
    animation: pulse 2s infinite;
}

.coffee-cup {
    position: relative;
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease;
}
.coffee-cup:hover { transform: scale(1.05); }

.cup-body {
    position: absolute;
    bottom: 0; left: 10px;
    width: 100px; height: 80px;
    background: linear-gradient(to right, #f4f4f4, #fff);
    border-radius: 5px 5px 40px 40px;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.1);
}
.cup-handle {
    position: absolute;
    right: -10px; top: 50px;
    width: 30px; height: 40px;
    border: 8px solid #fff;
    border-radius: 0 20px 20px 0;
    box-shadow: 5px 0 10px rgba(0,0,0,0.05);
}
.steam { position: absolute; top: -20px; left: 40px; width: 40px; height: 40px; }
.steam span {
    position: absolute; bottom: 0;
    width: 6px; height: 20px;
    background: rgba(200,73,90,0.35);
    border-radius: 50%;
    animation: steaming 2s infinite ease-in-out;
    filter: blur(2px);
}
.s1 { left: 0; animation-delay: 0s; }
.s2 { left: 15px; animation-delay: 0.5s; }
.s3 { left: 30px; animation-delay: 1s; }

@keyframes steaming {
    0%   { transform: translateY(0) scaleX(1); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(-40px) scaleX(2); opacity: 0; }
}
@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1; transform: scale(1.05); }
}

.message-wrapper {
    text-align: center;
    max-width: 600px;
    animation: slideUp 0.8s ease forwards;
}
.hidden { display: none !important; }

.sun-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,154,158,0.35) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: expand 4s infinite alternate;
}

.morning-title {
    font-size: 2.5rem;
    color: var(--coffee-color);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.message-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(200,73,90,0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,154,158,0.2);
}
.message-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.message-card .highlight {
    font-weight: 600;
    color: var(--coffee-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.breathe-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--coffee-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 5px 15px rgba(200,73,90,0.4);
}
.breathe-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,73,90,0.6); }

.breathe-circle {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,73,90,0.2) 0%, rgba(255,255,255,0) 70%);
    margin: 2rem auto;
    border: 2px solid var(--coffee-color);
}
.breathe-animation { animation: breathe 8s infinite ease-in-out; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes expand {
    from { transform: translate(-50%,-50%) scale(1); }
    to   { transform: translate(-50%,-50%) scale(1.2); }
}
@keyframes breathe {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,73,90,0.4); }
    40%  { transform: scale(1.5); box-shadow: 0 0 20px 10px rgba(200,73,90,0.2); }
    50%  { transform: scale(1.5); }
    90%  { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,73,90,0); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .morning-title { font-size: 2rem; }
    .message-card { padding: 1.5rem; }
    .message-card p { font-size: 1rem; }
}
