:root {
    --bg-color: #fdfbfb;
    --coffee-color: #d4a373;
    --text-main: #4a4a4a;
    --text-accent: #e5989b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    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;
}

/* Coffee Cup Animation */
.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(212, 163, 115, 0.4);
    border-radius: 50%;
    animation: steaming 2s infinite ease-in-out;
    filter: blur(2px);
}

.s1 { left: 0; animation-delay: 0s !important; }
.s2 { left: 15px; animation-delay: 0.5s !important; }
.s3 { left: 30px; animation-delay: 1s !important; }

@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 Section */
.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,223,186,0.4) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: expand 4s infinite alternate;
}

.morning-title {
    font-size: 2.5rem;
    color: #fca311;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.message-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.5);
}

.message-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.message-card .highlight {
    font-weight: 600;
    color: var(--text-accent);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.breathe-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--text-accent);
    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(229, 152, 155, 0.4);
}

.breathe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 152, 155, 0.6);
}

.breathe-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(161,140,209,0.3) 0%, rgba(255,255,255,0) 70%);
    margin: 2rem auto;
    border: 2px solid var(--text-accent);
}

.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(229, 152, 155, 0.4); }
    40% { transform: scale(1.5); box-shadow: 0 0 20px 10px rgba(229, 152, 155, 0.2); }
    50% { transform: scale(1.5); box-shadow: 0 0 20px 10px rgba(229, 152, 155, 0.2); }
    90% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 152, 155, 0); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .morning-title { font-size: 2rem; }
    .message-card { padding: 1.5rem; }
    .message-card p { font-size: 1rem; }
}
