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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #fff0f5 25%, #ffe4e1 50%, #fff5ee 75%, #f0f8ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    height: 100vh;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Password Protection Screen */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffeef8 0%, #fff0f5 25%, #ffe4e1 50%, #fff5ee 75%, #f0f8ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.password-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.password-box {
    background: linear-gradient(135deg, #fff 0%, #ffeef8 100%);
    border: 4px solid #ff6b9d;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3),
                0 0 40px rgba(255, 107, 157, 0.2);
    text-align: center;
    animation: passwordBoxAppear 0.5s ease;
}

@keyframes passwordBoxAppear {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.password-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff6b9d;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.password-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2rem;
    border: 3px solid #ff6b9d;
    border-radius: 50px;
    outline: none;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.password-input:focus {
    border-color: #ff9ff3;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
    transform: scale(1.02);
}

.password-submit-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9ff3 100%);
    border: 3px solid #fff;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.password-submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.password-submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.password-error {
    margin-top: 15px;
    color: #e94560;
    font-size: 0.9rem;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-error.show {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Stage 1: Message Dialogue */
.message-dialogue {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.message-dialogue.hide {
    opacity: 0;
    pointer-events: none;
}

.dialogue-box {
    background: linear-gradient(135deg, #fff 0%, #ffeef8 100%);
    border: 4px solid #ff6b9d;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3),
                0 0 40px rgba(255, 107, 157, 0.2);
    min-width: 400px;
    max-width: 600px;
    animation: dialogueBounce 0.5s ease;
}

@keyframes dialogueBounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dialogue-content {
    text-align: center;
}

.dialogue-text {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.8;
    font-weight: 500;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: textFade 1s ease;
}

@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stage 2: Decorations */
.decorations {
    opacity: 0;
    transition: opacity 1s ease;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
}

.decorations.show {
    opacity: 1;
}

.ribbons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.ribbon {
    position: absolute;
    font-size: 2.5rem;
    animation: ribbonFloat 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ribbon-1 {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.ribbon-2 {
    top: 5%;
    right: 5%;
    animation-delay: 0.5s;
}

.ribbon-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: 1s;
}

.ribbon-4 {
    bottom: 5%;
    right: 5%;
    animation-delay: 1.5s;
}

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

.balloons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.balloon {
    position: absolute;
    font-size: 2rem;
    animation: balloonFloat 4s ease-in-out infinite;
}

.balloon1 {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
}

.balloon2 {
    top: 12%;
    left: 20%;
    animation-delay: 0.5s;
}

.balloon3 {
    top: 8%;
    right: 20%;
    animation-delay: 1s;
}

.balloon4 {
    top: 12%;
    right: 8%;
    animation-delay: 1.5s;
}

.balloon5 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.balloon6 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.5s;
}

@keyframes balloonFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(15px);
    }
}

.happy-birthday-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff6b9d;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
}

.happy-birthday-text.show {
    opacity: 1;
    transform: translateY(0);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1),
                     0 0 20px rgba(255, 107, 157, 0.3);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1),
                     0 0 30px rgba(255, 107, 157, 0.6),
                     0 0 40px rgba(255, 107, 157, 0.4);
    }
}

/* Stage 3: Cake Section */
.cake-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin-top: 5px;
    margin-bottom: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
    position: relative;
    z-index: 10;
    min-height: 0;
    max-height: calc(100vh - 250px);
    overflow: hidden;
}

.cake-section.show {
    opacity: 1;
    transform: scale(1);
}

.cake-wrapper {
    position: relative;
    max-width: 250px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.cake-image {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: cakeAppear 1s ease;
    display: none;
}

.cake-image.show {
    display: block;
}

@keyframes cakeAppear {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.cake-placeholder {
    width: 100%;
    height: 200px;
    max-height: 200px;
    background: linear-gradient(135deg, #ffeef8 0%, #fff0f5 100%);
    border: 3px dashed #ff6b9d;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff6b9d;
    font-size: 0.9rem;
    text-align: center;
    padding: 15px;
}

.cake-placeholder.hide {
    display: none;
}

/* Stage 4: Cut Button */
.cut-button-container {
    text-align: center;
    margin: 0;
    margin-top: -5px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.cut-button-container.show {
    opacity: 1;
    transform: translateY(0);
}

.cut-button {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9ff3 100%);
    border: 3px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.cut-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.cut-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Stage 5: Polaroid Images */
.polaroids-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.polaroids-container.show {
    opacity: 1;
}

.polaroids-left,
.polaroids-right {
    position: absolute;
    top: 0;
    width: 180px;
    height: 100vh;
}

.polaroids-left {
    left: 2%;
    z-index: 16;
}

.polaroids-right {
    right: 2%;
    z-index: 16;
}

.polaroid-frame {
    position: absolute;
    background: #fff;
    padding: 12px 12px 50px 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    transform: translateY(-100vh);
    transition: transform 1s ease;
    width: 160px;
    pointer-events: auto;
    z-index: 17;
    visibility: visible;
}

/* Left side zig-zag pattern */
.polaroids-left .polaroid-frame:nth-child(1) {
    top: 10%;
    left: 0;
    transform: translateY(-100vh) rotate(-8deg);
    transition-delay: 0.2s;
}

.polaroids-left .polaroid-frame:nth-child(2) {
    top: 40%;
    left: 20px;
    transform: translateY(-100vh) rotate(8deg);
    transition-delay: 0.4s;
}

.polaroids-left .polaroid-frame:nth-child(3) {
    top: 75%;
    left: 20px;
    transform: translateY(-100vh) rotate(8deg);
    transition-delay: 0.6s;
}

/* Right side zig-zag pattern */
.polaroids-right .polaroid-frame:nth-child(1) {
    top: 10%;
    right: 0;
    transform: translateY(-100vh) rotate(8deg);
    transition-delay: 0.2s;
}

.polaroids-right .polaroid-frame:nth-child(2) {
    top: 40%;
    right: 20px;
    transform: translateY(-100vh) rotate(-8deg);
    transition-delay: 0.4s;
}

.polaroids-right .polaroid-frame:nth-child(3) {
    top: 75%;
    right: 20px;
    transform: translateY(-100vh) rotate(-8deg);
    transition-delay: 0.6s;
}

.polaroid-frame.show {
    transform: translateY(0);
}

.polaroids-left .polaroid-frame.show:nth-child(1) {
    transform: translateY(0) rotate(-8deg);
}

.polaroids-left .polaroid-frame.show:nth-child(2) {
    transform: translateY(0) rotate(8deg);
}

.polaroids-left .polaroid-frame.show:nth-child(3) {
    transform: translateY(0) rotate(8deg);
}

.polaroids-right .polaroid-frame.show:nth-child(1) {
    transform: translateY(0) rotate(8deg);
}

.polaroids-right .polaroid-frame.show:nth-child(2) {
    transform: translateY(0) rotate(-8deg);
}

.polaroids-right .polaroid-frame.show:nth-child(3) {
    transform: translateY(0) rotate(-8deg);
}

.polaroid-image {
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.polaroid-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: none;
}

.polaroid-img.show {
    display: block;
}

.polaroid-label {
    display: none;
}

.polaroid-frame::after {
    display: none;
}

.string {
    position: absolute;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, #ff6b9d, #ffd700);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
    transition: height 1s ease;
    z-index: -1;
}

/* Left side strings - connect from top */
.polaroids-left .string-left {
    right: -12px;
    top: -200px;
    transform-origin: top right;
}

/* Right side strings - connect from top */
.polaroids-right .string-right {
    left: -12px;
    top: -200px;
    transform-origin: top left;
}

.string.show {
    height: 200px;
}

/* Stage 6: Center Message Dialogue */
.center-message-dialogue {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.center-message-dialogue.show {
    opacity: 1;
    pointer-events: auto;
}

.center-dialogue-box {
    background: linear-gradient(135deg, #fff 0%, #ffeef8 100%);
    border: 4px solid #ff6b9d;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.4),
                0 0 40px rgba(255, 107, 157, 0.3);
    min-width: 400px;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
    animation: centerDialogueAppear 0.8s ease;
    position: relative;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.center-dialogue-box::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.close-message-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 107, 157, 0.2);
    border: 2px solid #ff6b9d;
    color: #ff6b9d;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: bold;
    z-index: 10;
}

.close-message-btn:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: rotate(90deg) scale(1.1);
    border-color: #ff6b9d;
}

.close-message-btn:active {
    transform: rotate(90deg) scale(0.95);
}

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

.center-dialogue-content {
    text-align: center;
}

.center-dialogue-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    font-weight: 400;
}

/* Password Screen Responsive */
@media (max-width: 768px) {
    .password-box {
        padding: 30px 20px;
    }
    
    .password-title {
        font-size: 2rem;
    }
    
    .password-subtitle {
        font-size: 0.9rem;
    }
    
    .password-input {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .password-submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .password-container {
        padding: 15px;
    }
    
    .password-box {
        padding: 25px 15px;
    }
    
    .password-title {
        font-size: 1.8rem;
    }
    
    .password-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .password-input {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .password-submit-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dialogue-box {
        min-width: 350px;
        max-width: 500px;
        padding: 35px 25px;
    }
    
    .dialogue-text {
        font-size: 1.3rem;
    }
    
    .happy-birthday-text {
        font-size: 2.2rem;
    }
    
    .cake-wrapper {
        max-width: 280px;
        max-height: 230px;
    }
    
    .cake-image {
        max-height: 230px;
    }
    
    .balloon {
        font-size: 1.8rem;
    }
    
    .ribbon {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .dialogue-box {
        min-width: 300px;
        max-width: 90%;
        padding: 30px 20px;
    }
    
    .dialogue-text {
        font-size: 1.1rem;
        min-height: 80px;
    }
    
    .happy-birthday-text {
        font-size: 2rem;
        margin-top: 5px;
        margin-bottom: 3px;
    }
    
    .cake-wrapper {
        max-width: 250px;
        max-height: 200px;
    }
    
    .cake-image {
        max-height: 200px;
    }
    
    .cake-placeholder {
        height: 200px;
        max-height: 200px;
        font-size: 0.8rem;
    }
    
    .cut-button-container {
        margin-top: -5px;
    }
    
    .cut-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .balloon {
        font-size: 1.5rem;
    }
    
    .ribbon {
        font-size: 2rem;
    }
    
    .polaroids-left,
    .polaroids-right {
        width: 140px;
    }
    
    .polaroid-frame {
        width: 130px;
        padding: 10px 10px 40px 10px;
    }
    
    .polaroid-image {
        height: 120px;
    }
    
    .polaroids-left {
        left: 1%;
    }
    
    .polaroids-right {
        right: 1%;
    }
    
    .polaroids-left .polaroid-frame:nth-child(2) {
        left: 15px;
    }
    
    .polaroids-right .polaroid-frame:nth-child(2) {
        right: 15px;
    }
    
    .center-dialogue-box {
        min-width: 300px;
        max-width: 90%;
        padding: 30px 20px;
        padding-top: 50px;
    }
    
    .center-dialogue-text {
        font-size: 1rem;
    }
    
    .close-message-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    .dialogue-box {
        min-width: 280px;
        max-width: 95%;
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .dialogue-text {
        font-size: 1rem;
        min-height: 70px;
    }
    
    .happy-birthday-text {
        font-size: 1.5rem;
        margin-top: 3px;
        margin-bottom: 2px;
        padding: 0 10px;
    }
    
    .cake-section {
        margin-top: 3px;
        margin-bottom: 0;
        padding: 0 10px;
        max-height: calc(100vh - 200px);
    }
    
    .cake-wrapper {
        max-width: 180px;
        max-height: 130px;
        width: 100%;
    }
    
    .cake-image {
        max-height: 130px;
        width: 100%;
        height: auto;
    }
    
    .cake-placeholder {
        height: 130px;
        max-height: 130px;
        font-size: 0.7rem;
        padding: 10px;
    }
    
    .cut-button-container {
        margin-top: -5px;
        margin-bottom: 5px;
        padding: 0 10px;
        padding-bottom: 5px;
    }
    
    .cut-button {
        padding: 10px 25px;
        font-size: 0.9rem;
        min-width: 140px;
        min-height: 44px; /* Touch target size */
        -webkit-tap-highlight-color: transparent;
    }
    
    .balloon {
        font-size: 1.3rem;
    }
    
    .balloon1, .balloon2, .balloon3, .balloon4 {
        font-size: 1.2rem;
    }
    
    .ribbon {
        font-size: 1.8rem;
    }
    
    .polaroids-left,
    .polaroids-right {
        width: 110px;
    }
    
    .polaroid-frame {
        width: 100px;
        padding: 8px 8px 35px 8px;
    }
    
    .polaroid-image {
        height: 100px;
    }
    
    .polaroids-left {
        left: 0.5%;
    }
    
    .polaroids-right {
        right: 0.5%;
    }
    
    .polaroids-left .polaroid-frame:nth-child(2) {
        left: 12px;
    }
    
    .polaroids-right .polaroid-frame:nth-child(2) {
        right: 12px;
    }
    
    .string.show {
        height: 150px;
    }
    
    .polaroids-left .string-left {
        top: -150px;
    }
    
    .polaroids-right .string-right {
        top: -150px;
    }
    
    .center-dialogue-box {
        min-width: 280px;
        max-width: 95%;
        padding: 20px 15px;
        padding-top: 45px;
        margin: 0 10px;
    }
    
    .center-dialogue-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .close-message-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        top: 8px;
        right: 8px;
        min-width: 36px; /* Touch target */
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 360px) {
    .dialogue-box {
        min-width: 260px;
        max-width: 98%;
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .dialogue-text {
        font-size: 0.95rem;
    }
    
    .happy-birthday-text {
        font-size: 1.3rem;
        padding: 0 5px;
    }
    
    .cake-wrapper {
        max-width: 160px;
        max-height: 110px;
    }
    
    .cake-image {
        max-height: 110px;
    }
    
    .cake-placeholder {
        height: 110px;
        max-height: 110px;
    }
    
    .cut-button-container {
        margin-top: -3px;
        margin-bottom: 3px;
    }
    
    .cut-button {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 130px;
        min-height: 44px;
    }
    
    .polaroid-frame {
        width: 90px;
        padding: 6px 6px 30px 6px;
    }
    
    .polaroid-image {
        height: 90px;
    }
    
    .center-dialogue-box {
        min-width: 260px;
        max-width: 98%;
        padding: 18px 12px;
        padding-top: 40px;
        margin: 0 5px;
    }
    
    .center-dialogue-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .balloon {
        font-size: 1.1rem;
    }
    
    .ribbon {
        font-size: 1.6rem;
    }
}
