:root {
    --primary: #ff3366;
    --primary-hover: #ff5e84;
    --primary-light: #ffd3db;
    --primary-dark: #d81159;
    --background: linear-gradient(135deg, #fff3f5 0%, #ffc0cb 50%, #d8b4f8 100%);
    --card-bg: rgba(255, 255, 255, 0.72);
    --card-border: rgba(255, 255, 255, 0.6);
    --text-main: #3d0c1b;
    --text-muted: #7d4f5c;
    --success: #2ec4b6;
    --danger: #e63946;
    --gold: #d4af37;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 15px 45px rgba(216, 17, 89, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: var(--background);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

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

/* Floating Hearts Container */
.heart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    color: var(--primary);
    opacity: 0.6;
    animation: floatHeart 8s linear infinite;
    pointer-events: none;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50vh) translateX(30px) rotate(180deg) scale(0.9);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) translateX(-30px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphism Card styling */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.glass-card:hover {
    box-shadow: 0 20px 50px rgba(216, 17, 89, 0.12);
}

/* Multi-step Layout */
.step {
    display: none;
    opacity: 0;
}

.step.active {
    display: flex;
    flex-direction: column;
    animation: cardSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Typography styles */
.romantic-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.romantic-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 25px;
}

/* Proposal Buttons */
.proposal-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: relative;
    height: 80px;
}

/* Fleeing button gets absolute positioning when it starts escaping */
#btn-no.escaped {
    position: absolute;
    z-index: 999;
    transition: left 0.15s cubic-bezier(0.25, 0.8, 0.25, 1), top 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Buttons System */
.btn {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 24, 74, 0.3);
}

.btn-primary.beaming {
    animation: yesBeaming 1s infinite ease-in-out;
}

@keyframes yesBeaming {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 51, 102, 0.5), 0 0 30px rgba(255, 51, 102, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 51, 102, 0.9), 0 0 60px rgba(255, 51, 102, 0.6);
        filter: brightness(1.25);
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 24, 74, 0.4);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-muted);
    border: 1px solid rgba(74, 21, 37, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
    background: white;
    color: var(--text-main);
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--primary-light);
}

.btn-outline:hover {
    background: rgba(255, 204, 213, 0.2);
    color: var(--primary-dark);
    border-color: var(--primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #bd2c38 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.3);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Emoji Containers */
.emoji-container {
    text-align: center;
    margin-bottom: 25px;
}

.main-emoji {
    font-size: 3rem;
    margin: 0 5px;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

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

/* Step Navigation footer */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    gap: 15px;
}

.step-navigation .btn {
    flex: 1;
}

/* STEP 2: Custom Calendar */
.calendar-wrapper {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

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

.month-label {
    font-weight: 700;
    color: var(--text-main);
}

.cal-nav-btn {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    background: var(--primary-light);
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: rgba(255, 77, 109, 0.15);
    color: var(--primary-dark);
}

.calendar-day.disabled {
    color: #d1c1c5;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(201, 24, 74, 0.25);
}

/* Time Picker Pill Buttons */
.time-picker-wrapper {
    margin-bottom: 10px;
}

.picker-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 400px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-slot {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 8px 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.time-slot:hover:not(.selected) {
    background: rgba(255, 77, 109, 0.1);
    border-color: var(--primary-light);
}

.time-slot.selected {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 10px rgba(201, 24, 74, 0.2);
}

/* STEP 3: Food Grid selection */
.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.food-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.food-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px rgba(74, 21, 37, 0.05);
}

.food-emoji {
    font-size: 2.2rem;
    transition: var(--transition);
}

.food-card:hover .food-emoji {
    transform: scale(1.15);
}

.food-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.food-card.selected {
    background: rgba(255, 204, 213, 0.45);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.15);
}

.food-card.selected .food-name {
    color: var(--primary-dark);
    font-weight: 700;
}

/* STEP 4, 5, 6: Custom list option cards */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

.option-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.option-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--primary-light);
}

.option-icon {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.option-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.option-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.option-card.selected {
    background: rgba(255, 204, 213, 0.45);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.1);
}

.option-card.selected .option-title {
    color: var(--primary-dark);
}

.option-card.selected .option-icon {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* STEP 7: Success Page & Summary Card */
.success-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 15px;
    animation: zoomPulse 1.5s ease infinite alternate;
}

@keyframes zoomPulse {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1.05);
    }
}

.summary-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 77, 109, 0.15);
    border-radius: var(--radius-md);
    padding: 22px;
    margin: 25px 0;
    box-shadow: 0 10px 25px rgba(201, 24, 74, 0.05);
}

.summary-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--primary-light);
    padding-bottom: 8px;
    text-align: center;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: grid;
    grid-template-columns: 24px 110px 1fr;
    align-items: center;
    font-size: 0.9rem;
}

.summary-icon {
    font-size: 1.1rem;
}

.summary-label {
    color: var(--text-muted);
    font-weight: 500;
}

.summary-item strong {
    color: var(--text-main);
    word-break: break-word;
}

.romantic-footer {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 10px;
}

/* Custom Interactive Modal for the No button */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(74, 21, 37, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px !important;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-content .btn {
    width: 100%;
}

/* RESPONSES DASHBOARD PAGE */
.responses-dashboard.glass-card {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
}

.dashboard-header {
    text-align: center;
    border-bottom: 1px solid rgba(74, 21, 37, 0.1);
    padding-bottom: 25px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.responses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

.response-item {
    padding: 24px !important;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.response-badge {
    background: rgba(46, 196, 182, 0.15);
    color: var(--success);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.response-time {
    color: var(--text-muted);
    font-weight: 500;
}

.response-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resp-detail {
    display: grid;
    grid-template-columns: 28px 110px 1fr;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.4;
}

.detail-icon {
    font-size: 1.1rem;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 600;
}

.resp-detail strong {
    color: var(--text-main);
    word-break: break-word;
}

@media (max-width: 480px) {
    .resp-detail {
        grid-template-columns: 24px 1fr;
        row-gap: 4px;
    }
    .resp-detail strong {
        grid-column: 2;
    }
}

.response-actions {
    border-top: 1px solid rgba(74, 21, 37, 0.08);
    padding-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.empty-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.empty-emoji {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: floatUpDown 3s ease-in-out infinite;
}

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

.empty-dashboard h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.empty-dashboard p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Micro-animations and Highlights */
@keyframes massagePulse {
    0%, 100% {
        text-shadow: 0 0 4px rgba(255, 51, 102, 0.2);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 12px rgba(255, 51, 102, 0.6);
        color: var(--primary-dark);
        transform: scale(1.05);
    }
}

.pulse-highlight {
    display: inline-block;
    animation: massagePulse 2s infinite ease-in-out;
    color: var(--primary-dark);
}

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

.wiggle-animation {
    display: inline-block;
    animation: wiggle 0.5s ease infinite alternate;
}

@keyframes selectionPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.option-card.selected, .food-card.selected {
    animation: selectionPulse 0.3s ease-in-out;
}

/* Animations for deleted items */
.fade-out {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ----------------------------------------------------
   NEW DESIGN SYSTEM EXTENSIONS FOR SENDER / RECEIVER
   ---------------------------------------------------- */

/* Gender Selector Toggle */
.gender-selector {
    display: flex;
    gap: 15px;
    width: 100%;
}

.gender-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    outline: none;
}

.gender-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--primary-light);
}

.gender-btn.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.15);
}

.gender-emoji {
    font-size: 2.2rem;
}

.gender-label {
    font-weight: 600;
    font-size: 1rem;
}

/* Input Fields styling */
.cute-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.cute-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.12);
}

/* Multi-select Chaperone config cards */
.chaperone-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.chaperone-check-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.chaperone-check-card:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-1px);
}

.chaperone-check-card.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.check-status {
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
}

/* Links Display Container */
.links-container {
    background: rgba(255, 255, 255, 0.55);
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.link-type-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
}

.link-input-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

.link-display-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 21, 37, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    outline: none;
}

.copy-btn {
    white-space: nowrap;
    padding: 10px 20px;
}

/* Expiry notice warnings */
.expiry-notice-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 243, 245, 0.85);
    border: 1px dashed rgba(255, 51, 102, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 25px;
    color: var(--primary-dark);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.notice-icon {
    font-size: 1.6rem;
}

/* Animated Open Gift Box Screen styling */
.gift-box-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px 0;
}

.gift-box-btn {
    background: transparent;
    border: none;
    font-size: 7.5rem;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.gift-box-btn:hover {
    transform: scale(1.18) rotate(6deg);
}

.gift-box-btn.opened {
    animation: openGiftBox 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes openGiftBox {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.5) rotate(-20deg); filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 51, 102, 0.5)); opacity: 1; }
    100% { transform: scale(0) rotate(45deg); opacity: 0; }
}

/* Hourglass Beaming waiting animation */
.waiting-emoji {
    animation: floatUpDown 3s ease-in-out infinite alternate;
}

/* ----------------------------------------------------
   SITE HEADER & FOOTER DESIGN SYSTEM
   ---------------------------------------------------- */
.site-header {
    position: absolute;
    top: 25px;
    left: 40px;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.brand-wrapper:hover {
    transform: scale(1.02);
}

.site-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.2);
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.3);
}

.site-title {
    display: none;
}

.domain-badge {
    display: none;
}

@media (max-width: 480px) {
    .site-header {
        top: 15px;
        left: 20px;
    }
    .site-logo {
        width: 46px;
        height: 46px;
    }
}

.site-footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1.5px solid rgba(255, 123, 144, 0.1);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.site-footer strong {
    color: var(--primary-dark);
}

/* Adjust app-container alignment with header present */
.app-container {
    padding-top: 40px;
    padding-bottom: 40px;
}
