:root {
--color-bg: #fdf4f6;
--color-card: #fffcfd;
--color-primary: #c0637a;
--color-primary-dark: #a5506a;
--color-secondary: #4a8c65;
--color-gold: #b5880d;
--color-blush: #f9e8ee;
--color-border: #f0d0da;
--color-text: #3a2b32;
--color-text-light: #7a5a66;
--font-heading: "Playfair Display", Georgia, serif;
--font-body: "Lato", sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
overflow-x: hidden;
}
/* ══════════════════════ PETAL CANVAS ══════════════════════ */
#petal-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
}
/* ══════════════════════ COVER SPLASH ══════════════════════ */
#cover-splash {
position: fixed;
inset: 0;
background: linear-gradient(
135deg,
#fff0f4 0%,
#fce6f0 40%,
#f5e8ff 100%
);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
transition: opacity 1s ease;
}
#cover-splash.hidden {
opacity: 0;
pointer-events: none;
}
.cover-inner {
text-align: center;
padding: 40px 32px;
max-width: 460px;
width: 90%;
}
.cover-icon-ring {
width: 190px;
height: 190px;
border-radius: 50%;
border: 3px solid var(--color-primary);
background: radial-gradient(
circle,
rgba(255, 240, 246, 0.9) 0%,
rgba(252, 224, 240, 0.5) 100%
);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 22px;
animation: ringPulse 3s ease-in-out infinite;
box-shadow:
0 0 25px rgba(192, 99, 122, 0.15),
0 0 55px rgba(192, 99, 122, 0.08);
}
@keyframes ringPulse {
0%,
100% {
box-shadow:
0 0 20px rgba(192, 99, 122, 0.2),
0 0 40px rgba(192, 99, 122, 0.08);
}
50% {
box-shadow:
0 0 35px rgba(192, 99, 122, 0.4),
0 0 70px rgba(192, 99, 122, 0.15);
}
}
.cover-icon {
font-size: 4.5rem;
animation: floatBounce 2.5s ease-in-out infinite;
}
@keyframes floatBounce {
0%,
100% {
transform: translateY(0) rotate(-3deg);
}
50% {
transform: translateY(-12px) rotate(3deg);
}
}
.cover-inner h1 {
font-family: var(--font-heading);
font-size: 2rem;
color: var(--color-primary);
margin-bottom: 8px;
line-height: 1.3;
}
.cover-inner p {
font-size: 1rem;
color: var(--color-text-light);
margin-bottom: 28px;
line-height: 1.6;
}
#enter-btn {
background: linear-gradient(
135deg,
var(--color-primary),
var(--color-primary-dark)
);
color: #fff;
border: none;
padding: 14px 40px;
font-family: var(--font-heading);
font-size: 1.05rem;
letter-spacing: 0.5px;
cursor: pointer;
border-radius: 50px;
transition: all 0.3s ease;
box-shadow: 0 6px 24px rgba(192, 99, 122, 0.35);
}
#enter-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 32px rgba(192, 99, 122, 0.45);
}
#enter-btn i {
margin-right: 8px;
}
/* ══════════════════════ MAIN CONTAINER ══════════════════════ */
.main-container {
max-width: 740px;
margin: 0 auto;
padding: 24px 16px 64px;
position: relative;
z-index: 1;
display: none;
}
.main-container.visible {
display: block;
}
/* ══════════════════════ BLOOM CARD ══════════════════════ */
.bloom-card {
background: var(--color-card);
border: 1px solid var(--color-border);
border-radius: 22px;
padding: 40px 36px;
margin-bottom: 22px;
box-shadow: 0 6px 32px rgba(192, 99, 122, 0.07);
position: relative;
overflow: hidden;
}
.bloom-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(
90deg,
var(--color-primary),
var(--color-gold),
var(--color-secondary),
var(--color-primary)
);
background-size: 200% 100%;
animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
0% {
background-position: 0% 50%;
}
100% {
background-position: 200% 50%;
}
}
/* ══════════════════════ SECTION TITLE ══════════════════════ */
.section-title {
font-family: var(--font-heading);
font-size: 1.55rem;
color: var(--color-primary);
text-align: center;
margin-bottom: 24px;
}
.section-title::after {
content: "";
display: block;
width: 55px;
height: 2px;
background: linear-gradient(
90deg,
var(--color-primary),
var(--color-gold)
);
margin: 8px auto 0;
border-radius: 2px;
}
/* ══════════════════════ HERO ══════════════════════ */
#hero {
text-align: center;
}
.hero-photo {
width: 155px;
height: 155px;
object-fit: cover;
border-radius: 50%;
border: 4px solid var(--color-primary);
margin-bottom: 18px;
box-shadow: 0 8px 28px rgba(192, 99, 122, 0.28);
}
.hero-greeting {
font-size: 0.85rem;
color: var(--color-text-light);
text-transform: uppercase;
letter-spacing: 4px;
margin-bottom: 10px;
}
.hero-name {
font-family: var(--font-heading);
font-size: 2.8rem;
color: var(--color-primary);
margin-bottom: 6px;
line-height: 1.2;
}
.hero-age {
font-family: var(--font-heading);
font-size: 1.2rem;
color: var(--color-gold);
font-style: italic;
margin-bottom: 18px;
}
.hero-message {
font-size: 1.05rem;
color: var(--color-text-light);
line-height: 1.8;
max-width: 500px;
margin: 0 auto 24px;
}
/* ══════════════════════ COUNTDOWN ══════════════════════ */
#countdown {
display: flex;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
margin-top: 6px;
}
.time-box {
background: linear-gradient(
135deg,
var(--color-primary),
var(--color-primary-dark)
);
color: #fff;
border-radius: 14px;
padding: 14px 18px;
text-align: center;
min-width: 68px;
box-shadow: 0 5px 18px rgba(192, 99, 122, 0.3);
}
.time-box span {
display: block;
font-family: var(--font-heading);
font-size: 1.9rem;
font-weight: 700;
line-height: 1;
}
.time-box p {
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 1px;
opacity: 0.85;
margin-top: 4px;
}
.countdown-done {
font-family: var(--font-heading);
font-size: 1.2rem;
color: var(--color-primary);
text-align: center;
padding: 12px 0;
}
/* ══════════════════════ DETAIL LIST ══════════════════════ */
.detail-list {
list-style: none;
padding: 0;
}
.detail-list li {
display: flex;
align-items: flex-start;
gap: 14px;
padding: 13px 0;
border-bottom: 1px dashed var(--color-border);
font-size: 1rem;
line-height: 1.6;
}
.detail-list li:last-child {
border-bottom: none;
}
.detail-icon {
color: var(--color-primary);
font-size: 1rem;
width: 22px;
flex-shrink: 0;
margin-top: 3px;
text-align: center;
}
.detail-list a {
color: var(--color-secondary);
text-decoration: underline;
text-underline-offset: 3px;
}
/* ══════════════════════ QUOTE ══════════════════════ */
.quote-box {
text-align: center;
padding: 28px 24px;
background: linear-gradient(135deg, #fff5f8 0%, #fff9f0 100%);
border-radius: 14px;
border-left: 4px solid var(--color-gold);
}
.quote-box p {
font-family: var(--font-heading);
font-size: 1.2rem;
font-style: italic;
color: var(--color-text);
line-height: 1.8;
}
.quote-box cite {
display: block;
font-family: var(--font-body);
font-size: 0.9rem;
color: var(--color-text-light);
margin-top: 10px;
}
/* ══════════════════════ GALLERY ══════════════════════ */
.gallery-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: 14px;
border: 2px solid var(--color-border);
aspect-ratio: 1;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
display: block;
}
.gallery-item:hover img {
transform: scale(1.06);
}
/* ══════════════════════ DIGITAL ENVELOPE ══════════════════════ */
.envelope-box {
background: linear-gradient(
135deg,
var(--color-primary),
var(--color-primary-dark)
);
border-radius: 18px;
padding: 30px 28px;
color: #fff;
text-align: center;
}
.envelope-box h3 {
font-family: var(--font-heading);
font-size: 1.3rem;
margin-bottom: 8px;
}
.envelope-box > p {
font-size: 0.95rem;
opacity: 0.9;
margin-bottom: 18px;
}
.envelope-detail {
background: rgba(255, 255, 255, 0.18);
border-radius: 12px;
padding: 16px 20px;
backdrop-filter: blur(6px);
text-align: left;
}
.envelope-detail p {
margin: 6px 0;
font-size: 1rem;
}
.copy-btn {
margin-top: 14px;
background: rgba(255, 255, 255, 0.22);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.4);
padding: 9px 22px;
border-radius: 25px;
cursor: pointer;
font-size: 0.9rem;
transition: background 0.25s;
}
.copy-btn:hover {
background: rgba(255, 255, 255, 0.35);
}
.copy-btn i {
margin-right: 5px;
}
/* ══════════════════════ RSVP FORM ══════════════════════ */
.rsvp-form {
display: flex;
flex-direction: column;
gap: 13px;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
width: 100%;
padding: 13px 16px;
border: 1px solid var(--color-border);
border-radius: 12px;
background: #fff;
font-family: var(--font-body);
font-size: 1rem;
color: var(--color-text);
transition:
border-color 0.3s,
box-shadow 0.3s;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(192, 99, 122, 0.15);
}
.rsvp-form textarea {
resize: vertical;
min-height: 90px;
}
.btn-submit {
background: linear-gradient(
135deg,
var(--color-primary),
var(--color-primary-dark)
);
color: #fff;
border: none;
padding: 14px 38px;
font-family: var(--font-heading);
font-size: 1.05rem;
letter-spacing: 0.5px;
cursor: pointer;
border-radius: 50px;
align-self: center;
transition: all 0.3s ease;
box-shadow: 0 6px 22px rgba(192, 99, 122, 0.3);
}
.btn-submit:hover {
transform: translateY(-2px);
box-shadow: 0 9px 28px rgba(192, 99, 122, 0.42);
}
.btn-submit:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.btn-submit i {
margin-right: 7px;
}
/* ══════════════════════ GUEST MESSAGES ══════════════════════ */
.messages-list {
max-height: 450px;
overflow-y: auto;
padding: 4px 0;
}
.messages-list::-webkit-scrollbar {
width: 6px;
}
.messages-list::-webkit-scrollbar-track {
background: var(--color-blush);
border-radius: 3px;
}
.messages-list::-webkit-scrollbar-thumb {
background: var(--color-primary);
border-radius: 3px;
}
.message-card {
background: var(--color-blush);
border-radius: 14px;
padding: 14px 16px;
margin: 9px 0;
position: relative;
border-left: 3px solid var(--color-primary);
transition: transform 0.25s;
}
.message-card:hover {
transform: translateX(3px);
}
.message-card .msg-name {
font-family: var(--font-heading);
font-weight: 700;
color: var(--color-primary);
font-size: 1rem;
margin-bottom: 3px;
}
.message-card .msg-date {
font-size: 0.78rem;
color: var(--color-text-light);
margin-bottom: 8px;
}
.message-card .msg-text {
font-size: 0.95rem;
color: var(--color-text);
line-height: 1.65;
font-style: italic;
}
.message-badge {
position: absolute;
top: -7px;
right: 14px;
background: var(--color-gold);
color: #fff;
padding: 3px 9px;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.3px;
}
.rsvp-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px dashed var(--color-border);
}
.rsvp-count-badge {
background: var(--color-primary);
color: #fff;
padding: 3px 13px;
border-radius: 15px;
font-size: 0.85rem;
font-weight: 700;
}
/* ══════════════════════ MUSIC CONTROL ══════════════════════ */
#music-control {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 500;
background: linear-gradient(
135deg,
var(--color-primary),
var(--color-primary-dark)
);
border-radius: 50%;
width: 50px;
height: 50px;
border: none;
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
box-shadow: 0 5px 22px rgba(192, 99, 122, 0.45);
color: #fff;
font-size: 1.1rem;
transition: transform 0.3s;
}
#music-control.visible {
display: flex;
}
#music-control:hover {
transform: scale(1.12);
}
/* ══════════════════════ SCROLL ANIMATIONS ══════════════════════ */
.animated {
opacity: 0;
transform: translateY(28px);
transition:
opacity 0.75s ease-out,
transform 0.75s ease-out;
}
.animated.visible {
opacity: 1;
transform: translateY(0);
}
/* ══════════════════════ SWAL CUSTOM ══════════════════════ */
.bloom-popup {
border: 1px solid var(--color-border) !important;
border-radius: 20px !important;
}
.bloom-title {
font-family: var(--font-heading) !important;
color: var(--color-primary) !important;
}
/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 600px) {
.bloom-card {
padding: 24px 18px;
}
.hero-name {
font-size: 2.2rem;
}
.gallery-grid {
gap: 8px;
}
.time-box {
min-width: 58px;
padding: 12px 12px;
}
.time-box span {
font-size: 1.6rem;
}
#countdown {
gap: 10px;
}
}
Undangan Ulang Tahun - Sarah Amanda
🌸
You're Invited!
A beautiful celebration awaits for
Sarah 🌷
Happy Birthday
Sarah Amanda
Celebrating 25 Years of Bloom & Joy 🌷
Dengan sukacita kami mengundang Anda untuk merayakan ulang tahun yang istimewa
"Semoga tahun yang baru membawa kebahagiaan dan kesuksesan"
— Sarah
Digital Envelope
💝 Send a Bloom of Kindness
If you'd like to give a digital gift, here are the details:
Bank: GoPay
Account No.: 081234567890
Name: Ahmad Rizki
Confirm Attendance
🌷 Example
A Dearest Friend
🌸 Awaiting your heartfelt wishes...
"May your birthday be as beautiful and vibrant as the blooms of
spring. Wishing you endless joy!"