/* Global & Reset */
:root {
    --primary: #fb7185;
    --primary-dark: #e11d48;
    --primary-light: #ffe4e6;
    --accent: #f43f5e;
    --bg-gradient: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fecdd3 100%);
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(255, 255, 255, 0.6);
    --text-main: #331820;
    --text-muted: #734e56;
    --shadow-soft: 0 10px 30px -5px rgba(225, 29, 72, 0.12), 0 5px 15px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px -10px rgba(225, 29, 72, 0.22);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Canvas */
#heartCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Music Control Button */
.audio-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.15);
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.05);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
}

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

.music-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.music-waves span {
    width: 3px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    transition: height 0.2s ease;
}

.music-btn.playing .music-waves span:nth-child(1) {
    animation: wave 1s infinite ease-in-out;
}
.music-btn.playing .music-waves span:nth-child(2) {
    animation: wave 1.2s infinite ease-in-out 0.2s;
}
.music-btn.playing .music-waves span:nth-child(3) {
    animation: wave 0.8s infinite ease-in-out 0.4s;
}

@keyframes wave {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

/* Main Layout */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 16px 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 20px 0 10px;
}

.avatar-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
}

.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb7185, #fda4af);
    opacity: 0.6;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.25);
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.avatar-photo:hover {
    transform: scale(1.08);
}

.hero-dedication {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(251, 113, 133, 0.35);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    max-width: 600px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.08);
    line-height: 1.35;
    animation: floatDedication 4s ease-in-out infinite;
}

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

.admin-link {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.admin-link:hover {
    opacity: 1;
    color: var(--primary-dark);
    text-decoration: underline;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* Cards Base */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-header {
    text-align: center;
    margin-bottom: 22px;
}

.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

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

/* Timer Section */
.timer-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 241, 242, 0.9) 100%);
    border: 1px solid rgba(251, 113, 133, 0.3);
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 600px) {
    .timer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.timer-item {
    background: #ffffff;
    border: 1px solid rgba(251, 113, 133, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.06);
    transition: transform 0.2s ease;
}

.timer-item:hover {
    transform: translateY(-3px);
}

.timer-item-seconds {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border-color: rgba(225, 29, 72, 0.4);
}

.timer-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: lowercase;
}

.timer-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(251, 113, 133, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-pill strong {
    color: var(--primary-dark);
}

/* Jar of Love Section */
.jar-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.jar-visual {
    position: relative;
    width: 90px;
    height: 120px;
    margin: 0 auto;
}

.jar-lid {
    width: 70px;
    height: 14px;
    background: #f43f5e;
    margin: 0 auto;
    border-radius: 6px 6px 2px 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.jar-body {
    width: 90px;
    height: 106px;
    background: rgba(255, 255, 255, 0.6);
    border: 3px solid #fda4af;
    border-radius: 12px 12px 28px 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 15px rgba(251, 113, 133, 0.2);
}

.jar-floating-heart {
    position: absolute;
    font-size: 1.2rem;
    animation: jarFloat 3s infinite ease-in-out;
}

.h1 { top: 60px; left: 16px; animation-delay: 0s; }
.h2 { top: 30px; right: 18px; animation-delay: 0.8s; }
.h3 { top: 70px; right: 24px; animation-delay: 1.4s; }
.h4 { top: 35px; left: 24px; animation-delay: 2s; }

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

.note-box {
    width: 100%;
    max-width: 540px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-paper {
    background: #fffdfa;
    border: 1px solid #fed7aa;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.note-paper.flip {
    animation: notePop 0.5s ease;
}

@keyframes notePop {
    0% { transform: scale(0.9) rotate(-2deg); opacity: 0; }
    50% { transform: scale(1.03) rotate(1deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.note-text {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    color: #4a2830;
    line-height: 1.35;
    text-align: center;
}

.jar-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.4);
}

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

.jar-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Coupons Section */
.coupons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .coupons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.coupon-card {
    background: #ffffff;
    border: 2px dashed rgba(251, 113, 133, 0.4);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}

.coupon-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.1);
}

.coupon-card.used {
    background: #fafafa;
    border-color: #e5e7eb;
    opacity: 0.8;
}

.coupon-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.coupon-icon {
    font-size: 2rem;
    line-height: 1;
    background: #fff1f2;
    padding: 10px;
    border-radius: 14px;
}

.coupon-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.coupon-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.coupon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #fce7f3;
    padding-top: 12px;
}

.coupon-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: #ecfdf5;
    color: #059669;
}

.coupon-card.used .coupon-badge {
    background: #f3f4f6;
    color: #6b7280;
}

.coupon-btn {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.coupon-btn:hover {
    background: var(--primary);
    color: #fff;
}

.coupon-card.used .coupon-btn {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: default;
}

/* Polaroid Gallery */
.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .polaroid-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 800px) {
    .polaroid-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

.polaroid-card {
    background: #ffffff;
    padding: 10px 10px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
}

.polaroid-card:nth-child(1) { transform: rotate(-2deg); }
.polaroid-card:nth-child(2) { transform: rotate(1.5deg); }
.polaroid-card:nth-child(3) { transform: rotate(-1.5deg); }
.polaroid-card:nth-child(4) { transform: rotate(2deg); }
.polaroid-card:nth-child(5) { transform: rotate(-1deg); }
.polaroid-card:nth-child(6) { transform: rotate(2.5deg); }
.polaroid-card:nth-child(7) { transform: rotate(-2deg); }
.polaroid-card:nth-child(8) { transform: rotate(1deg); }
.polaroid-card:nth-child(9) { transform: rotate(-1.5deg); }
.polaroid-card:nth-child(10) { transform: rotate(2deg); }

.polaroid-card:hover {
    transform: rotate(0) scale(1.05) translateY(-4px) !important;
    box-shadow: 0 16px 35px rgba(225, 29, 72, 0.22);
    z-index: 5;
}

.polaroid-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffe4e6;
    border-radius: 2px;
}

.polaroid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.polaroid-card:hover .polaroid-img-wrapper img {
    transform: scale(1.06);
}

.polaroid-caption {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: #4a2830;
    text-align: center;
    margin-top: 10px;
    line-height: 1.2;
}

/* Lightbox Modal */
.lightbox-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px;
    max-width: 600px;
    width: 95%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: var(--primary-dark);
}

.lightbox-img-wrapper {
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff1f2;
}

.lightbox-img-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: #331820;
    margin-top: 14px;
}

/* Evening Roulette Section */
.roulette-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.roulette-display {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border: 2px solid rgba(251, 113, 133, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.08);
    transition: all 0.3s ease;
}

.roulette-display.spin {
    animation: roulettePulse 0.4s ease;
}

@keyframes roulettePulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); opacity: 1; }
}

.roulette-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 8px;
}

.roulette-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

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

/* Family Traditions Section */
.traditions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 600px) {
    .traditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tradition-item {
    background: #ffffff;
    border: 1px solid rgba(251, 113, 133, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.tradition-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.tradition-num {
    background: linear-gradient(135deg, #fb7185, #f43f5e);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.3);
}

.tradition-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.tradition-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Secret Letter Section */
.envelope-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.envelope {
    background: #fff;
    border: 1px solid rgba(251, 113, 133, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.08);
    transition: all 0.4s ease;
}

.envelope-front {
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px dashed rgba(251, 113, 133, 0.3);
}

.envelope-to {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.envelope-to span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.wax-seal {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f43f5e, #be123c);
    border: 3px solid #fda4af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.4);
    transition: transform 0.25s ease;
}

.wax-seal:hover {
    transform: scale(1.1) rotate(5deg);
}

.letter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
    background: #fffdfa;
    padding: 0 24px;
}

.letter-content.open {
    max-height: 800px;
    padding: 24px;
    transition: max-height 0.8s ease-in-out, padding 0.4s ease;
}

.letter-body h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.9rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.letter-body p {
    font-size: 0.98rem;
    color: #4a2830;
    line-height: 1.7;
    margin-bottom: 14px;
}

.letter-signature {
    text-align: right;
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-top: 18px;
    line-height: 1.3;
}

/* Floating Kiss Button (FAB) */
.floating-kiss-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
}

.kiss-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kiss-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.5);
}

.kiss-fab:active {
    transform: scale(0.95);
}

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

.kiss-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(51, 24, 32, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.kiss-fab:hover .kiss-tooltip {
    opacity: 1;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

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

/* Footer */
.footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 20px 0 10px;
}
