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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5e6e8 0%, #d5c6e0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Floating particles animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 192, 203, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Landing Page Styles */
#landingPage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 2;
}

.passcode-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 380px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.passcode-box {
    background: #f9f0f5;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.image-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.passcode-display {
    background: white;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 22px;
    letter-spacing: 8px;
    min-height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d5a6bd;
}

.passcode-label {
    color: #b8a8b8;
    margin-bottom: 8px;
    font-size: 13px;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.key {
    background: #f5ead8;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    color: #9d8d8d;
    font-weight: bold;
}

.key:hover {
    background: #f0e0c8;
    transform: scale(1.05);
}

.key:active {
    transform: scale(0.95);
}

.key.zero {
    grid-column: 2;
}

.key.action-key {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #fff;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px;
}

.key.action-key:hover {
    background: linear-gradient(135deg, #ff8a8e 0%, #febfdf 100%);
}

.key.back-key {
    grid-column: 1;
}

.key.enter-key {
    grid-column: 3;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.key.enter-key:hover {
    background: linear-gradient(135deg, #98ddd0 0%, #fec6d3 100%);
}

.key-icon {
    font-size: 20px;
    line-height: 1;
}

.key-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-message {
    color: #d88;
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
}

/* Birthday Page Styles */
#birthdayPage {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.birthday-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.birthday-header {
    background: #e8d5e0;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.birthday-header h1 {
    color: #d5a6bd;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 2px;
}

.birthday-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: white;
    border-radius: 15px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.birthday-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vintage Envelope Styles */
.envelope-wrapper {
    margin: 40px auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.envelope-wrapper:hover {
    transform: translateY(-5px);
}

.envelope-label {
    color: #8b7d8b;
    font-size: 16px;
    font-style: italic;
    margin-top: 20px;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.envelope {
    position: relative;
    width: 280px;
    height: 180px;
    margin: 0 auto;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.envelope-back {
    position: absolute;
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, #e8d5c4 0%, #d4c4a8 100%);
    border-radius: 8px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.envelope-back::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 85%;
    border: 2px solid rgba(139, 125, 107, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.envelope-flap {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-top: 110px solid #d4c4a8;
    top: 0;
    left: 0;
    transform-origin: top center;
    z-index: 3;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.envelope-flap::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 135px solid transparent;
    border-right: 135px solid transparent;
    border-top: 105px solid #e8d5c4;
    top: -110px;
    left: -135px;
}

.envelope-flap::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 125, 107, 0.3), transparent);
    top: -5px;
    left: -130px;
}

.envelope-seal {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    z-index: 4;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

/* Opened envelope state */
.envelope.opened .envelope-flap {
    transform: rotateX(-180deg);
}

.envelope.opened .envelope-seal {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.5);
}

/* Mini Popup Styles */
.mini-popup {
    position: absolute;
    transform: translate(-50%, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mini-popup.show {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    animation: float-mini 2s ease-in-out infinite;
}

.mini-popup.hide {
    opacity: 0;
    transform: translate(-50%, -20px) scale(0.8);
    pointer-events: none;
}

@keyframes float-mini {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -10px);
    }
}

.mini-popup-content {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8cc 100%);
    border: 3px solid #d4a574;
    border-radius: 15px;
    padding: 15px 25px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 165, 116, 0.4);
    position: relative;
}

.mini-popup-content::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d4a574;
}

.mini-popup-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #ffe8cc;
}

.mini-popup-content p {
    margin: 0;
    color: #8b6f47;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.mini-popup:hover .mini-popup-content {
    transform: scale(1.05);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 165, 116, 0.6);
}

/* Letter Modal Styles */
.letter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    padding: 20px;
}

.letter-modal.show {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.75);
}

.letter-modal-content {
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.letter-modal.show .letter-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.vintage-letter-modal {
    background: #f9f5e8;
    padding: 50px 45px;
    border-radius: 15px;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: left;
    position: relative;
    border: 3px solid #d4c4a8;
}

.vintage-letter-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            transparent,
            transparent 30px,
            rgba(210, 180, 140, 0.1) 30px,
            rgba(210, 180, 140, 0.1) 31px
        );
    pointer-events: none;
    border-radius: 15px;
}

.done-btn-modal {
    background: #d5a6bd;
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.done-btn-modal:hover {
    background: #c595ad;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.done-btn-modal:active {
    transform: translateY(-1px);
}

/* Custom scrollbar for modal */
.letter-modal-content::-webkit-scrollbar {
    width: 10px;
}

.letter-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.letter-modal-content::-webkit-scrollbar-thumb {
    background: #d4c4a8;
    border-radius: 10px;
}

.letter-modal-content::-webkit-scrollbar-thumb:hover {
    background: #c4b498;
}

/* Vintage Letter Styles */
.letter-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
    margin-top: 30px;
}

.letter-container.show {
    max-height: 2000px;
}

.vintage-letter {
    background: #f9f5e8;
    padding: 40px;
    border-radius: 10px;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
    border: 2px solid #d4c4a8;
    animation: unfold 1s ease-out;
}

@keyframes unfold {
    from {
        opacity: 0;
        transform: rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: rotateX(0);
    }
}

.vintage-letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            transparent,
            transparent 30px,
            rgba(210, 180, 140, 0.1) 30px,
            rgba(210, 180, 140, 0.1) 31px
        );
    pointer-events: none;
    border-radius: 10px;
}

.letter-header {
    text-align: right;
    color: #8b7d6b;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 16px;
}

.letter-greeting {
    color: #5d4e37;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
}

.letter-content {
    color: #5d4e37;
    line-height: 2;
    font-size: 18px;
    margin-bottom: 30px;
    white-space: pre-line;
}

.letter-signature {
    text-align: right;
    color: #5d4e37;
    font-size: 20px;
    font-style: italic;
    margin-top: 40px;
}

.hide {
    display: none !important;
}

/* Done Button Styles */
.letter-done-btn-container {
    text-align: center;
    margin-top: 30px;
}

.done-btn {
    background: #d5a6bd;
    color: white;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.done-btn:hover {
    background: #c595ad;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

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

/* Start Page Styles */
#startPage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.start-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 700px;
    animation: slideIn 0.8s ease-out;
}

.start-header h1 {
    color: #d5a6bd;
    font-size: 38px;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 1px;
}

.start-content {
    margin-top: 20px;
}

.start-intro {
    color: #8b7d8b;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.start-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d5a6bd, transparent);
    margin: 30px auto;
}

.start-description {
    color: #6b5b6b;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mystery-box {
    background: #f9f5e8;
    border: 2px dashed #d5a6bd;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(213, 166, 189, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(213, 166, 189, 0);
    }
}

.mystery-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mystery-text {
    color: #5d4e37;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.start-hint {
    color: #8b7d8b;
    font-size: 16px;
    font-style: italic;
    margin: 25px 0;
}

.start-game-btn {
    background: linear-gradient(135deg, #d5a6bd 0%, #c595ad 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(213, 166, 189, 0.4);
    margin: 20px 0;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.start-game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(213, 166, 189, 0.6);
}

.start-game-btn:active {
    transform: translateY(-1px);
}

.start-note {
    margin-top: 25px;
    color: #999;
    font-style: italic;
}

.start-note small {
    font-size: 14px;
}

/* Makan Page Styles */
#makanPage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.makan-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 50px;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 650px;
    animation: slideIn 0.8s ease-out;
}

.makan-header {
    margin-bottom: 35px;
}

.plate-emoji {
    font-size: 80px;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
    margin-bottom: 20px;
}

.makan-header h1 {
    color: #d5a6bd;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 2px;
    margin: 0;
}

.makan-content {
    margin-top: 30px;
}

.food-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.food-icon {
    font-size: 50px;
    display: inline-block;
    animation: floatFood 3s ease-in-out infinite;
}

@keyframes floatFood {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.makan-message {
    color: #6b5b6b;
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0;
    line-height: 1.6;
}

.makan-divider {
    font-size: 28px;
    margin: 30px 0;
    color: #d5a6bd;
}

.makan-subtitle {
    color: #8b7d8b;
    font-size: 19px;
    font-style: italic;
    line-height: 1.8;
    margin: 25px 0;
}

.bon-appetit {
    background: linear-gradient(135deg, #f9f5e8 0%, #f5e6e8 100%);
    border: 3px solid #d5a6bd;
    border-radius: 20px;
    padding: 25px 40px;
    margin: 40px 0;
    font-size: 32px;
    font-weight: bold;
    color: #d5a6bd;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(213, 166, 189, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(213, 166, 189, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(213, 166, 189, 0.6);
    }
}

.bon-appetit .sparkle {
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.continue-hint {
    margin-top: 40px;
    color: #999;
    font-style: italic;
}

.continue-hint p {
    font-size: 16px;
    margin: 0;
}

.closing-message {
    margin-top: 50px;
    padding: 30px;
    background: rgba(245, 230, 232, 0.4);
    border-radius: 15px;
    border: 2px dashed #d5a6bd;
}

.camera-icon {
    font-size: 45px;
    margin-bottom: 15px;
    animation: flash 2s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

.photo-reminder {
    color: #6b5b6b;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    line-height: 1.6;
}

.close-text {
    color: #8b7d8b;
    font-size: 15px;
    font-style: italic;
    margin: 10px 0 0 0;
}

/* Gift Box Styles */
.gift-box-container {
    margin: 40px auto;
    text-align: center;
}

.gift-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.1) rotate(5deg);
}

.gift-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff1493 100%);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
    transition: all 0.6s ease;
}

.gift-ribbon-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 100%;
    background: linear-gradient(to bottom, #ffd700, #ffb700);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.gift-lid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 25px;
    background: linear-gradient(135deg, #ff1493 0%, #c71585 100%);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.5);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.gift-bow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

.gift-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff69b4;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    animation: pulse-gift 1.5s ease-in-out infinite;
}

@keyframes pulse-gift {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

/* Gift box opened state */
.gift-box.opened .gift-lid {
    transform: translateX(-50%) translateY(-50px) rotateX(-45deg);
    opacity: 0.8;
}

.gift-box.opened .gift-body {
    transform: translateX(-50%) scale(0.95);
}

/* Bouquet Modal Styles */
.bouquet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.bouquet-modal.show {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.8);
}

.bouquet-modal-content {
    transform: scale(0.5) translateY(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bouquet-modal.show .bouquet-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.bouquet-animation {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.5);
    border: 4px solid #ffb6d9;
}

/* Bouquet Image Container */
.bouquet-image-wrapper {
    position: relative;
    margin: 0 auto 20px;
    animation: bouquet-appear 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
}

.bouquet-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
    display: block;
    margin: 0 auto;
}

@keyframes bouquet-appear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px) rotate(-5deg);
    }
    60% {
        transform: scale(1.05) translateY(-10px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.bouquet-message {
    color: #ff1493;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    animation: fade-in-up 0.8s ease-out 1.2s forwards;
    opacity: 0;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouquet on Page Styles */
.bouquet-on-page {
    margin: 40px auto;
    text-align: center;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bouquet-on-page.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    max-height: 500px;
}

.page-bouquet {
    background: linear-gradient(135deg, #fff9fc 0%, #fff0f5 100%);
    padding: 40px 50px;
    border-radius: 25px;
    border: 3px solid #ffb6d9;
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
    display: inline-block;
    position: relative;
}

/* Page Bouquet Image */
.page-bouquet .bouquet-image-wrapper {
    margin: 0;
}

.page-bouquet-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.25);
    display: block;
    margin: 0 auto;
    animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.page-bouquet-text {
    color: #ff1493;
    font-size: 24px;
    font-weight: bold;
    margin-top: 25px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 600px) {
    .passcode-container {
        padding: 30px 20px;
        margin: 20px;
    }

    .birthday-container {
        padding: 30px 20px;
    }

    .birthday-header h1 {
        font-size: 24px;
    }

    .envelope {
        width: 220px;
        height: 140px;
    }

    .envelope-back {
        width: 220px;
        height: 140px;
    }

    .envelope-flap {
        border-left: 110px solid transparent;
        border-right: 110px solid transparent;
        border-top: 85px solid #d4c4a8;
    }

    .envelope-flap::before {
        border-left: 106px solid transparent;
        border-right: 106px solid transparent;
        border-top: 82px solid #e8d5c4;
        top: -85px;
        left: -106px;
    }

    .envelope-flap::after {
        width: 200px;
        left: -100px;
    }

    .envelope-seal {
        top: 25px;
        font-size: 32px;
    }

    .envelope-label {
        font-size: 14px;
        margin-top: 15px;
    }

    .mini-popup-content {
        padding: 12px 20px;
    }

    .mini-popup-content p {
        font-size: 16px;
    }

    .letter-modal {
        padding: 15px;
    }

    .letter-modal-content {
        width: 90%;
    }

    .vintage-letter-modal {
        padding: 30px 25px;
    }

    .done-btn-modal {
        padding: 12px 30px;
        font-size: 16px;
    }

    .vintage-letter {
        padding: 25px;
    }

    .letter-content {
        font-size: 16px;
    }

    .makan-container {
        padding: 40px 30px;
    }

    .makan-header h1 {
        font-size: 32px;
    }

    .plate-emoji {
        font-size: 60px;
    }

    .makan-message {
        font-size: 22px;
    }

    .bon-appetit {
        font-size: 24px;
        padding: 20px 30px;
    }

    .closing-message {
        padding: 25px 20px;
    }

    .photo-reminder {
        font-size: 16px;
    }

    .camera-icon {
        font-size: 35px;
    }

    .gift-box {
        width: 100px;
        height: 100px;
    }

    .gift-body {
        width: 85px;
        height: 60px;
    }

    .gift-lid {
        width: 95px;
        height: 22px;
    }

    .gift-bow {
        font-size: 40px;
        top: -18px;
    }

    .gift-label {
        font-size: 14px;
    }

    .bouquet-animation {
        padding: 25px;
    }

    /* Mobile bouquet image styles */
    .bouquet-image {
        max-width: 280px;
    }

    .bouquet-message {
        font-size: 22px;
    }

    /* Page bouquet mobile */
    .page-bouquet {
        padding: 30px 25px;
    }

    .page-bouquet-image {
        max-width: 220px;
    }

    .page-bouquet-text {
        font-size: 20px;
        margin-top: 20px;
    }
}

/* Photo Upload Section Styles */
.photo-upload-section {
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff9fc 0%, #fff5f8 100%);
    border-radius: 25px;
    border: 3px solid #f0d5e0;
    box-shadow: 0 15px 40px rgba(213, 166, 189, 0.2);
}

.camera-icon-big {
    font-size: 70px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.upload-title {
    color: #d5a6bd;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.upload-subtitle {
    color: #8b7d8b;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.upload-container {
    margin: 30px 0;
}

.upload-area {
    border: 3px dashed #d5a6bd;
    border-radius: 20px;
    padding: 60px 40px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.upload-area:hover {
    border-color: #c595ad;
    background: #fffbfd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(213, 166, 189, 0.2);
}

.upload-area.drag-over {
    border-color: #d5a6bd;
    background: #fff5f8;
    border-style: solid;
    box-shadow: 0 0 30px rgba(213, 166, 189, 0.4);
}

.upload-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: floatUpload 3s ease-in-out infinite;
}

@keyframes floatUpload {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.upload-text {
    color: #6b5b6b;
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.upload-hint {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* Preview Container */
.preview-container {
    margin: 30px 0;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.preview-container.show {
    opacity: 1;
    transform: scale(1);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-header h3 {
    color: #d5a6bd;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

.btn-remove {
    background: #f5c6d6;
    color: #8b5b6b;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #f0b0c6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 166, 189, 0.3);
}

.preview-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    background: white;
}

.preview-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.photo-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 5px solid transparent;
    border-image: linear-gradient(135deg, #d5a6bd, #f5c6d6, #d5a6bd) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: frameGlow 2s ease-in-out infinite;
}

@keyframes frameGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.btn-upload {
    width: 100%;
    background: linear-gradient(135deg, #d5a6bd 0%, #c595ad 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(213, 166, 189, 0.4);
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.btn-upload:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(213, 166, 189, 0.6);
}

.btn-upload:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-upload:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.upload-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #e8f8e8 0%, #f0fff0 100%);
    border: 3px solid #a8d5a8;
    border-radius: 20px;
    margin: 30px 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.show {
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    font-size: 70px;
    margin-bottom: 20px;
    animation: celebrateBounce 0.6s ease-in-out infinite;
}

@keyframes celebrateBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.success-text {
    color: #4a8a4a;
    font-size: 26px;
    font-weight: bold;
    margin: 15px 0;
}

.success-subtext {
    color: #6b9b6b;
    font-size: 18px;
    font-style: italic;
    margin: 10px 0;
}

/* Photo Gallery */
.photo-gallery {
    margin-top: 50px;
}

.gallery-title {
    color: #d5a6bd;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(213, 166, 189, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(213, 166, 189, 0.8), rgba(197, 149, 173, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.heart-icon {
    font-size: 50px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

/* Delete Photo Button */
.btn-delete-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.gallery-item:hover .btn-delete-photo {
    opacity: 1;
    transform: scale(1);
}

.btn-delete-photo:hover {
    background: #ff6b6b;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.delete-icon {
    font-size: 20px;
    transition: all 0.2s ease;
}

.btn-delete-photo:hover .delete-icon {
    filter: brightness(0) invert(1);
}

/* Responsive Design for Upload Section */
@media (max-width: 600px) {
    .photo-upload-section {
        padding: 30px 20px;
    }

    .camera-icon-big {
        font-size: 50px;
    }

    .upload-title {
        font-size: 26px;
    }

    .upload-subtitle {
        font-size: 16px;
    }

    .upload-area {
        padding: 40px 20px;
        min-height: 160px;
    }

    .upload-icon {
        font-size: 45px;
    }

    .upload-text {
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .preview-header h3 {
        font-size: 20px;
    }

    .btn-upload {
        font-size: 18px;
        padding: 15px 30px;
    }

    .success-icon {
        font-size: 50px;
    }

    .success-text {
        font-size: 22px;
    }

    .gallery-title {
        font-size: 24px;
    }
}

/* Riddle Section Styles */
.riddle-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
    border-radius: 30px;
    border: 4px solid #f0d580;
    box-shadow: 0 20px 50px rgba(240, 213, 128, 0.3);
    text-align: center;
}

/* Locked State */
.riddle-locked {
    padding: 40px 30px;
}

.lock-emoji {
    font-size: 100px;
    margin-bottom: 20px;
    animation: lockShake 2s ease-in-out infinite;
}

@keyframes lockShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.lock-title {
    color: #999;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.lock-subtitle {
    color: #777;
    font-size: 18px;
    font-style: italic;
    margin-top: 10px;
}

/* Unlocked State */
.riddle-unlocked {
    opacity: 1;
}

.riddle-header {
    margin-bottom: 30px;
}

.unlock-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: unlockBounce 1s ease-in-out;
}

@keyframes unlockBounce {
    0% {
        transform: scale(0.5) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.riddle-title {
    color: #d4a017;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(212, 160, 23, 0.2);
}

.riddle-subtitle {
    color: #8b7355;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.riddle-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0d580;
}

.riddle-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: thinking 2s ease-in-out infinite;
}

@keyframes thinking {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.riddle-text {
    color: #4a4a4a;
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.riddle-hint {
    color: #d4a017;
    font-size: 16px;
    font-style: italic;
    margin-top: 15px;
}

.riddle-input-container {
    margin: 30px auto;
    max-width: 500px;
}

.riddle-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 18px;
    border: 3px solid #f0d580;
    border-radius: 15px;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.riddle-input:focus {
    outline: none;
    border-color: #d4a017;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.3);
}

.riddle-input.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.btn-submit-answer {
    width: 100%;
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 20px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
    font-weight: bold;
}

.btn-submit-answer:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 160, 23, 0.6);
}

.btn-submit-answer:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Correct Answer Message */
.correct-message {
    margin-top: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #e8f8e8 0%, #f0fff0 100%);
    border: 4px solid #a8d5a8;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.correct-message.show {
    opacity: 1;
    transform: scale(1);
}

.correct-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: celebrateBounce 0.6s ease-in-out infinite;
}

.correct-text {
    color: #4a8a4a;
    font-size: 36px;
    font-weight: bold;
    margin: 15px 0;
}

.correct-subtext {
    color: #6b9b6b;
    font-size: 20px;
    font-style: italic;
    margin: 15px 0 30px 0;
}

.btn-next-location {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 25px;
    font-size: 24px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    box-shadow: 0 15px 40px rgba(255, 154, 158, 0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-next-location:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 154, 158, 0.6);
}

/* Wrong Answer Message */
.wrong-message {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffe8e8 0%, #fff0f0 100%);
    border: 3px solid #ffb3b3;
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.wrong-message.show {
    opacity: 1;
    transform: scale(1);
}

.wrong-text {
    color: #d84a4a;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Responsive Design for Riddle Section */
@media (max-width: 600px) {
    .riddle-section {
        padding: 40px 25px;
        margin-top: 40px;
    }

    .lock-emoji {
        font-size: 70px;
    }

    .lock-title {
        font-size: 28px;
    }

    .lock-subtitle {
        font-size: 16px;
    }

    .unlock-emoji {
        font-size: 60px;
    }

    .riddle-title {
        font-size: 32px;
    }

    .riddle-subtitle {
        font-size: 18px;
    }

    .riddle-box {
        padding: 30px 20px;
    }

    .riddle-icon {
        font-size: 50px;
    }

    .riddle-text {
        font-size: 18px;
    }

    .riddle-input {
        font-size: 16px;
        padding: 15px 20px;
    }

    .btn-submit-answer {
        font-size: 18px;
        padding: 15px 30px;
    }

    .correct-icon {
        font-size: 60px;
    }

    .correct-text {
        font-size: 28px;
    }

    .correct-subtext {
        font-size: 18px;
    }

    .btn-next-location {
        font-size: 20px;
        padding: 18px 40px;
    }
}

/* Ice Cream Page Styles */
#icecreamPage {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.icecream-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.icecream-header {
    margin-bottom: 40px;
}

.icecream-emoji {
    font-size: 120px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.icecream-container h1 {
    color: #87CEEB;
    font-size: 56px;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(135, 206, 235, 0.3);
    margin: 0;
}

.icecream-content {
    background: linear-gradient(135deg, #e0f7ff 0%, #f0fbff 100%);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(135, 206, 235, 0.3);
    border: 4px solid #b3e5fc;
}

.icecream-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.icecream-icon {
    font-size: 70px;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.icecream-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.icecream-icon:nth-child(3) {
    animation-delay: 1s;
}

.icecream-message {
    color: #4a90a4;
    font-size: 26px;
    line-height: 1.6;
    margin: 30px 0;
    font-weight: 600;
}

.icecream-divider {
    font-size: 40px;
    margin: 30px 0;
    animation: sparkle 1.5s ease-in-out infinite;
}

.icecream-subtitle {
    color: #6ba3b8;
    font-size: 20px;
    font-style: italic;
    margin: 20px 0 30px 0;
}

.location-box {
    background: white;
    border-radius: 25px;
    padding: 40px 35px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(135, 206, 235, 0.4);
    border: 4px solid #87CEEB;
    transition: all 0.3s ease;
}

.location-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(135, 206, 235, 0.5);
}

.location-icon {
    font-size: 70px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.location-name {
    color: #4a90a4;
    font-size: 36px;
    font-weight: bold;
    margin: 15px 0 10px 0;
    letter-spacing: 1px;
}

.location-place {
    color: #6ba3b8;
    font-size: 22px;
    font-style: italic;
    margin: 10px 0 25px 0;
}

.museum-image-container {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.museum-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.museum-image:hover {
    transform: scale(1.02);
}

/* Photo Reminder Section */
.photo-reminder-box {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    border: 3px solid #ffb6d9;
    border-radius: 20px;
    padding: 35px 30px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
    transition: all 0.3s ease;
}

.photo-reminder-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.25);
}

.camera-reminder-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    animation: cameraFloat 2s ease-in-out infinite;
}

@keyframes cameraFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.reminder-title {
    color: #ff4da6;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reminder-text {
    color: #d946a0;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.reminder-emoji-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.reminder-emoji {
    font-size: 50px;
    display: inline-block;
    animation: reminderBounce 1.5s ease-in-out infinite;
}

.reminder-emoji:nth-child(1) {
    animation-delay: 0s;
}

.reminder-emoji:nth-child(2) {
    animation-delay: 0.2s;
}

.reminder-emoji:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes reminderBounce {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-10px);
    }
}

/* Ticket Badge Styling */
.ticket-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 30px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(255, 20, 147, 0.6);
    }
}

/* Ticket Image Styling */
.ticket-image-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticket-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    animation: ticketAppear 0.6s ease-out;
}

.ticket-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.4);
}

@keyframes ticketAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.icecream-footer {
    color: #4a90a4;
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    font-style: italic;
}

/* Responsive Design for Ice Cream Page */
@media (max-width: 600px) {
    .icecream-emoji {
        font-size: 80px;
    }

    .icecream-container h1 {
        font-size: 42px;
    }

    .icecream-content {
        padding: 40px 25px;
    }

    .icecream-decoration {
        gap: 25px;
    }

    .icecream-icon {
        font-size: 50px;
    }

    .icecream-message {
        font-size: 20px;
    }

    .icecream-divider {
        font-size: 30px;
    }

    .icecream-subtitle {
        font-size: 18px;
    }

    .location-box {
        padding: 30px 25px;
    }

    .location-icon {
        font-size: 50px;
    }

    .location-name {
        font-size: 28px;
    }

    .location-place {
        font-size: 18px;
    }

    .museum-image-container {
        margin-top: 15px;
    }

    .photo-reminder-box {
        padding: 30px 20px;
        margin-top: 25px;
    }

    .ticket-badge {
        font-size: 14px;
        padding: 10px 20px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .camera-reminder-icon {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .reminder-title {
        font-size: 26px;
    }

    .reminder-text {
        font-size: 18px;
    }

    .reminder-emoji-row {
        gap: 15px;
    }

    .reminder-emoji {
        font-size: 40px;
    }

    .ticket-image {
        max-width: 350px;
        border-radius: 12px;
    }

    .icecream-footer {
        font-size: 18px;
    }
}

/* Shop Page Styles */
#shopPage {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.shop-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.shop-header {
    margin-bottom: 40px;
}

.shop-emoji {
    font-size: 120px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.shop-container h1 {
    color: #ff69b4;
    font-size: 56px;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(255, 105, 180, 0.3);
    margin: 0;
}

.shop-content {
    background: linear-gradient(135deg, #ffe0f0 0%, #fff5fa 100%);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    border: 4px solid #ffb3d9;
}

.shop-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.shop-icon {
    font-size: 70px;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.shop-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.shop-icon:nth-child(3) {
    animation-delay: 1s;
}

.shop-message {
    color: #d946a0;
    font-size: 26px;
    line-height: 1.6;
    margin: 30px 0;
    font-weight: 600;
}

.shop-divider {
    font-size: 40px;
    margin: 30px 0;
    animation: sparkle 1.5s ease-in-out infinite;
}

.shop-subtitle {
    color: #ff69b4;
    font-size: 20px;
    font-style: italic;
    margin: 20px 0 30px 0;
}

.shop-footer {
    color: #d946a0;
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    font-style: italic;
}

/* Responsive Design for Shop Page */
@media (max-width: 600px) {
    .shop-emoji {
        font-size: 80px;
    }

    .shop-container h1 {
        font-size: 42px;
    }

    .shop-content {
        padding: 40px 25px;
    }

    .shop-decoration {
        gap: 25px;
    }

    .shop-icon {
        font-size: 50px;
    }

    .shop-message {
        font-size: 20px;
    }

    .shop-divider {
        font-size: 30px;
    }

    .shop-subtitle {
        font-size: 18px;
    }

    .shop-footer {
        font-size: 18px;
    }
}
