
        :root {
            --primary: #f59e0b;
            --primary-dark: #d97706;
            --bg-gradient: linear-gradient(90deg, #a6ddff 0%, #4c8fff 100%);
            --card-bg: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --accent-red: #ef4444;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            --ruler-color: #e2e8f0;
            --event-bg: rgba(255, 255, 255, 0.95);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }header {
            text-align: center;
            padding: 20px 0;
            color: white;
            position: relative;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5px;
        }

        .logo {
            font-size: 2.5rem;
            font-weight: 800;
            letter-spacing: -1px;
            margin-bottom: 4px;
        }

        .logo span {
            color: var(--primary);
        }

        .menu-btn {
            background: none;
            border: none;
            color: white;
            font-size: 2.2rem;
            cursor: pointer;
            line-height: 1;
            transition: transform 0.2s;
        }

        .menu-btn:hover {
            transform: scale(1.1);
        }

        .side-menu {
            position: fixed;
            top: 0;
            right: -280px;
            width: 280px;
            height: 100%;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
            z-index: 2000;
            transition: right 0.3s ease-out;
            padding: 20px;
            color: #0f172a;
            text-align: left;
        }

        .side-menu.active {
            right: 0;
        }

        .menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .menu-header h2 {
            font-size: 1.5rem;
            font-weight: 800;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #64748b;
        }

        .menu-nav ul {
            list-style: none;
        }

        .menu-nav li {
            margin-bottom: 10px;
        }

        .menu-nav a {
            text-decoration: none;
            color: #0f172a;
            font-size: 1.1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 12px;
            transition: all 0.2s;
        }

        .menu-nav a:hover {
            background: #f1f5f9;
            transform: translateX(5px);
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            display: none;
            backdrop-filter: blur(4px);
        }

        .menu-overlay.active {
            display: block;
        }

        .card {
            background: var(--card-bg);
            border-radius: 28px;
            padding: 24px;
            box-shadow: var(--shadow);
            margin-bottom: 20px;
        }

        .card h2 {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .sub {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        /* Timeline / Ruler Styles */
        .timeline-container {
            position: relative;
            padding: 20px 0 40px;
            margin-top: 20px;
            display: flex;
            justify-content: flex-start;
            padding-left: 60px;
        }

        .ruler {
            position: relative;
            width: 60px;
            background: rgba(255, 255, 255, 0.05);
            border-left: 2px solid var(--ruler-color);
            min-height: 2000px;
            /* 100 years * 20px per year */
        }

        .ruler-tick {
            position: absolute;
            left: 0;
            width: 15px;
            height: 1px;
            background: var(--ruler-color);
        }

        .ruler-tick.major {
            width: 30px;
            height: 2px;
            background: #cbd5e1;
        }

        .ruler-tick.half {
            width: 20px;
        }

        .age-label {
            position: absolute;
            left: -45px;
            transform: translateY(-50%);
            font-size: 0.85rem;
            font-weight: 700;
            color: #94a3b8;
            width: 35px;
            text-align: right;
        }

        .age-label.major {
            color: #475569;
            font-size: 1rem;
        }

        /* Addition Button */
        .add-event-btn {
            position: absolute;
            left: 20px;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            border-radius: 4px;
            color: #64748b;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.2s;
            opacity: 0;
        }

        .timeline-container:hover .add-event-btn {
            opacity: 1;
        }

        .add-event-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Custom Event */
        .event-custom .event-dot {
            background: #ec4899;
            box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
        }

        .event-custom .age {
            color: #f472b6 !important;
        }

        .event-custom .title {
            color: #db2777;
        }

        .delete-event {
            margin-left: 8px;
            color: #ef4444;
            cursor: pointer;
            font-size: 0.7rem;
            opacity: 0.5;
        }

        .delete-event:hover {
            opacity: 1;
        }

        .drag-handle {
            margin-left: 8px;
            color: #94a3b8;
            cursor: grab;
            font-size: 0.9rem;
            user-select: none;
            padding: 4px;
        }

        .drag-handle:active {
            cursor: grabbing;
        }

        .event-node.dragging {
            z-index: 1000;
            opacity: 0.8;
            pointer-events: none;
        }

        .event-node.dragging .event-item {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Modal / Prompt placeholder */
        .input-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 3000;
            display: none;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }

        .input-card {
            background: white;
            padding: 24px;
            border-radius: 20px;
            width: 90%;
            max-width: 320px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .input-card h3 {
            font-size: 1.1rem;
            font-weight: 800;
        }

        .input-card input {
            padding: 10px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            outline: none;
        }

        .input-card .btns {
            display: flex;
            gap: 10px;
        }

        .input-card button {
            flex: 1;
            padding: 10px;
            border-radius: 10px;
            border: none;
            font-weight: 700;
            cursor: pointer;
        }

        .btn-save {
            background: var(--primary);
            color: white;
        }

        .btn-cancel {
            background: #f1f5f9;
            color: #64748b;
        }

        /* Simplified Event Style */
        .event-node {
            position: absolute;
            left: 0;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            width: calc(100vw - 120px);
            max-width: 450px;
            pointer-events: none;
        }

        .event-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 4px 0;
            pointer-events: auto;
        }

        .event-dot {
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            margin-left: -5px;
            z-index: 10;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

        .event-content {
            display: flex;
            align-items: baseline;
            gap: 8px;
            color: white;
        }

        .event-content .age {
            width: 45px;
            flex-shrink: 0;
            font-size: 0.8rem;
            font-weight: 800;
            color: var(--primary);
            opacity: 0.9;
            text-align: right;
        }

        .event-content .title {
            font-weight: 800;
            font-size: 1.05rem;
            letter-spacing: -0.5px;
            flex-shrink: 0;
            color: var(--text-main);
        }

        .event-content .desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 400;
            margin-left: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .event-content .desc {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 400;
            margin-left: 4px;
        }

        /* Current Age Highlight */
        .current-age-marker {
            position: absolute;
            left: -2px;
            width: calc(100% + 40px);
            height: 4px;
            background: var(--accent-red);
            z-index: 5;
            border-radius: 2px;
            box-shadow: 0 0 10px var(--accent-red);
            display: none;
        }

        .current-age-marker::after {
            content: '현재';
            position: absolute;
            right: -50px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--accent-red);
            color: white;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 800;
            white-space: nowrap;
        }

        /* Category Colors for Dots */
        .event-edu .event-dot {
            background: #3b82f6;
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
        }

        .event-edu .age {
            color: #60a5fa !important;
        }

        .event-mil .event-dot {
            background: #10b981;
            box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
        }

        .event-mil .age {
            color: #34d399 !important;
        }

        .event-life .event-dot {
            background: #f59e0b;
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
        }

        .event-life .age {
            color: #fbbf24 !important;
        }

        .event-work .event-dot {
            background: #8b5cf6;
            box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
        }

        .event-work .age {
            color: #a78bfa !important;
        }

        @media (max-width: 480px) {
            .event-node {
                max-width: 210px;
            }
        }

        /* Action Buttons (from Home) */
        .share-section {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 10px 0 30px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            color: #0f172a;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: all 0.2s;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            background: #ffffff;
        }

        .action-btn span {
            font-size: 1.1rem;
        }

        .action-btn.primary {
            background: var(--primary);
            color: white;
        }
    :root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-red: #ef4444;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}header {
    text-align: center;
    padding: 20px 0;
    color: white;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.menu-btn:hover {
    transform: scale(1.1);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: right 0.3s ease-out;
    padding: 20px;
    color: #1e293b;
    text-align: left;
}

.side-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.menu-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
}

.menu-nav ul {
    list-style: none;
}

.menu-nav li {
    margin-bottom: 10px;
}

.menu-nav a {
    text-decoration: none;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.menu-nav a:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    display: block;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* Quote Box Style Override */
/* Quote Box Style Override */
.quote-box {
    text-align: center;
    margin: 0;
    padding: 10px;
    border-bottom: none;
}

.quote-box p {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.2rem;
    color: #451d19;
    /* Dark brown for grandfather clock vibe */
    line-height: 1.4;
    margin-bottom: 8px;
    /* font-style: italic; */
    font-weight: 700;
    word-break: keep-all;
}

.quote-box span {
    display: block;
    font-size: 0.9rem;
    color: #8d6e63;
    font-weight: 400;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.logo span {
    color: var(--primary);
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 300;
    text-align: left;
    width: 100%;
    padding: 0 5px;
}

.card {
    background: var(--card-bg);
    border-radius: 32px;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* Input Section */
.setup-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 4px;
}

.birth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#birth-date {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

#birth-date:focus {
    border-color: var(--primary);
}

.calendar-btn {
    position: absolute;
    right: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: none;
}

.hidden-picker {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    opacity: 0;
    cursor: pointer;
}

/* Gender Toggle */
.gender-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
}

.gender-toggle input {
    display: none;
}

.gender-toggle label {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    margin: 0;
}

.gender-toggle input:checked+label {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Clock Display */
.clock-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Sprite-based Grandfather Clock Styling */
.grandfather-clock {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: -20px;
    margin-bottom: 40px;
}

/* Mobile Scale Adjustment */
@media (max-width: 450px) {
    .sprite-clock {
        transform: scale(0.85);
        margin-top: -20px;
        /* Adjusted from -50px */
        /* Pull up to reduce gap */
        margin-bottom: -100px;
    }
}

/* V2 Image-based Grandfather Clock */
.sprite-clock {
    position: relative;
    width: 340px;
    aspect-ratio: 539 / 1151;
    height: auto;
    margin: 30px auto 0;
    /* Added 30px top margin */
    /* Scale down slightly for mobile if needed, but width 380 is fine for most */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* 1. Body: Full clock image */
.clock-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    z-index: 10;
}

/* 2. Container for Hands */
.clock-hands-container {
    position: absolute;
    /* Visual Tweak: top aligned to face center */
    top: 11%;
    left: 50%;
    transform: translateX(-50%);
    width: 63.2%;
    aspect-ratio: 1 / 1;
    height: auto;
    z-index: 30;
    /* Increased to be safely above body */
    pointer-events: none;
}

.center-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 40;
}

.hand-hour {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 10px;
    height: 50px;
    background: #1e293b;
    /* Navy */
    border-radius: 5px;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    z-index: 31;
}

.hand-minute {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 6px;
    height: 78px;
    background: #d4af37;
    /* Gold */
    border-radius: 3px;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    z-index: 32;
}


/* 3. Pendulum: Using the new full pendulum image */
.pendulum-container {
    position: absolute;
    top: 53.3%;
    left: 50%;
    width: 31.6%;
    /* Slight wider to fit full bob swing */
    height: 38.9%;
    z-index: 15;
    /* Above body(10) but below hands(30) */
    transform-origin: top center;
    animation: swing 2s infinite ease-in-out;
    transform: translateX(-50%);
}

@keyframes swing {
    0% {
        transform: translateX(-50%) rotate(4deg);
    }

    50% {
        transform: translateX(-50%) rotate(-4deg);
    }

    100% {
        transform: translateX(-50%) rotate(4deg);
    }
}

.pendulum-bob {
    width: 100%;
    height: 100%;
    background-image: url('img/clock_pendulum_v2.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Old stuff hidden */
.clock-face {
    display: none;
}


/* 4. Hands: CSS Designed */

/* 5. Age Display Overlay */
/* 5. Age Display Overlay */
.age-display-overlay {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 25;
    pointer-events: none;
}

#center-age-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 42px;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);

    color: #1e293b;
    line-height: 1;
}

/* 5. Clock Markers (JS Generated) */
.clock-marker {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    text-align: center;
    width: 30px;
    height: 20px;
    line-height: 20px;
    margin-left: -15px;
    /* Center horizontally */
    margin-top: -10px;
    /* Center vertically */
    z-index: 24;
    /* Below hands */
    pointer-events: none;
}

.age-unit {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    color: #64748b;
}

/* Hide SVG and Old Canvas */
#lifeClockSvg,
canvas.lifeClock {
    display: none;
}


#lifeClock {
    width: 100%;
    height: 100%;
}

.clock-center-info {
    display: none;
}

.time-readout {
    text-align: center;
}

.digital-time {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.ms {
    font-size: 1.2rem;
    opacity: 0.6;
    margin-left: 2px;
}

#life-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.divider {
    height: 1px;
    background: #f1f5f9;
    margin: 30px 0;
}

/* Stats */
.stats-section {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Quote Section */
.quote-section {
    text-align: center;
    padding: 10px 20px 20px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    transition: opacity 0.5s ease;
    word-break: keep-all;
}

#quote-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: opacity 0.5s ease;
}

/* Footer */
footer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    text-align: center;
    padding: 30px 20px;
}

.footer-msg {
    margin-bottom: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Share Section */
.share-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn span {
    font-size: 1.2rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.digital-time {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .card {
        padding: 20px;
    }

    .logo {
        font-size: 2rem;
    }

    .digital-time {
        font-size: 2rem;
    }
}
