* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(216,167,111,0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255,220,200,0.35), transparent 35%),
        linear-gradient(135deg, #fffaf5, #f8eadc, #fff6ec);
    color: #4f3828;
    min-height: 100vh;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.invite-card {
    width: 100%;
    max-width: 820px;
    background:
        linear-gradient(rgba(255,255,255,0.96), rgba(255,255,255,0.96)),
        radial-gradient(circle at top right, rgba(216,167,111,0.18), transparent 28%);
	border: 2px solid rgba(216,167,111,0.25);
    border-radius: 38px;
    padding: 54px;
    text-align: center;
    box-shadow:
        0 35px 90px rgba(80,50,20,0.16),
        inset 0 0 0 1px rgba(255,255,255,0.8);
    border: 1px solid rgba(216,167,111,0.45);
    position: relative;
    overflow: hidden;
}

.invite-card::before,
.invite-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background: rgba(216,167,111,0.10);
    border-radius: 50%;
    z-index: 0;
}

.invite-card::before {
    top: -70px;
    left: -70px;
}

.invite-card::after {
    bottom: -70px;
    right: -70px;
}

.invite-card > * {
    position: relative;
    z-index: 1;
}

.invite-card.small {
    max-width: 520px;
}

.top-badge {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 100px;
    background: linear-gradient(135deg, #c8955d, #e8c58e);
    color: white;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgba(184,132,74,0.25);
}

h1 {
    font-family: Georgia, serif;
    font-size: 56px;
    margin: 10px 0;
    color: #6f4e37;
    line-height: 1.05;
}

h2 {
    font-size: 28px;
    color: #b6814f;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.guest-line {
    font-size: 22px;
}

.intro,
.footer-note {
    font-size: 18px;
    line-height: 1.7;
    color: #665243;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 34px 0 28px;
}

.countdown div {
    background: linear-gradient(180deg, #fffaf5, #fff1e4);
    padding: 18px 12px;
    border-radius: 20px;
    border: 1px solid rgba(216,167,111,0.42);
    box-shadow: 0 14px 35px rgba(80,50,20,0.08);
}

.countdown span {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #6f4e37;
    line-height: 1;
}

.countdown small {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a2744c;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 26px 0 28px;
}

.details-grid div {
    background: linear-gradient(135deg, #fffaf6, #fff3e9);
    padding: 22px 24px;
    border-radius: 22px;
    text-align: left;
    border: 1px solid rgba(216,167,111,0.38);
    box-shadow: 0 16px 36px rgba(80,50,20,0.07);
    position: relative;
    overflow: hidden;
}

.details-grid div::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -25px;
    top: -25px;
    background: rgba(216,167,111,0.16);
    border-radius: 50%;
}

.details-grid span {
    display: block;
    color: #b6814f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 9px;
}

.details-grid strong {
    font-size: 16px;
    color: #4f3828;
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0 18px;
}

.btn,
button {
    border: none;
    border-radius: 18px;
    padding: 16px 24px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, #6f4e37, #a36f45);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(111,78,55,0.22);
    transition: all 0.22s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(111,78,55,0.30);
}

.btn.gold {
    background: linear-gradient(135deg, #d8a76f, #f1c986);
    color: #4d341f;
}

.btn.secondary {
    background: linear-gradient(135deg, #8a5a3b, #c8955d);
}

.btn.whatsapp {
    background: #25D366;
}

.qr-box {
    margin: 30px auto;
    background: #fff8f1;
    border-radius: 22px;
    padding: 20px;
    max-width: 300px;
}

.qr-box img {
    width: 180px;
    height: 180px;
}

.rsvp-form {
    text-align: left;
    margin-top: 30px;
}

.rsvp-form label {
    display: block;
    margin-top: 16px;
    font-weight: 700;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid #dec4ad;
    font-size: 16px;
}

.rsvp-form textarea {
    min-height: 110px;
}

.rsvp-form button {
    width: 100%;
    margin-top: 24px;
    font-size: 17px;
}

.alert {
    padding: 18px;
    border-radius: 16px;
    margin: 22px 0;
}

.alert.success {
    background: #d4edda;
    color: #155724;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
}

/* Admin dashboard */

.dashboard-shell {
    max-width: 1200px;
    margin: auto;
    padding: 35px;
}

.dashboard-header {
    background: white;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 20px 55px rgba(80,50,20,0.10);
}

.dashboard-header h1 {
    font-size: 36px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 25px 0;
}

.stat-card,
.chart-card,
.table-card {
    background: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 20px 55px rgba(80,50,20,0.10);
}

.stat-card h2 {
    margin: 0;
    font-size: 34px;
    color: #6f4e37;
}

.stat-card p {
    margin: 8px 0 0;
    color: #7a5b43;
}

.chart-card {
    max-width: 500px;
    margin-bottom: 25px;
}

.table-card {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #6f4e37;
    color: white;
}

.status {
    padding: 7px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: bold;
}

.status.yes {
    background: #d4edda;
    color: #155724;
}

.status.no {
    background: #f8d7da;
    color: #721c24;
}

.status.maybe {
    background: #fff3cd;
    color: #856404;
}

.status.pending {
    background: #e2e3e5;
    color: #383d41;
}

.copy-link {
    width: 260px;
    padding: 9px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

@media(max-width: 700px) {
    .invite-card {
        padding: 28px;
        border-radius: 24px;
    }

    h1 {
        font-size: 36px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .button-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .dashboard-shell {
        padding: 18px;
    }
}

.baby-anime-wrap {
    margin: 20px auto 5px;
}

.baby-anime {
    width: 185px;
    max-width: 70%;
    animation: floatBaby 4.5s ease-in-out infinite;
    filter: drop-shadow(0 14px 18px rgba(80,50,20,0.18));
}

@keyframes floatBaby {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}
.top-badge {
    animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
.section-divider {
    margin: 30px 0 18px;
    color: #b6814f;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.theme-card {
    margin: 28px 0;
    padding: 28px;
    border-radius: 24px;

    background: linear-gradient(
        135deg,
        #fffaf5,
        #fff3e8
    );

    border: 1px solid rgba(216,167,111,0.35);

    box-shadow:
        0 14px 35px rgba(80,50,20,0.08);

    text-align: center;
}

.theme-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.theme-card h3 {
    margin: 0 0 12px;
    color: #6f4e37;
    font-size: 24px;
}

.theme-card p {
    color: #665243;
    line-height: 1.7;
}

.gender-ideas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.gender-ideas span {
    padding: 12px 18px;
    border-radius: 100px;
    font-weight: 700;
}

.gender-ideas span:first-child {
    background: rgba(100,149,237,0.12);
    color: #3d6dcc;
}

.gender-ideas span:last-child {
    background: rgba(255,105,180,0.12);
    color: #d94d92;
}

.theme-note {
    font-style: italic;
    color: #9a6a45;
    margin-top: 12px;
}
.rsvp-form textarea[name="baby_wish"] {
    background: linear-gradient(135deg, #fffaf5, #fff3e8);
    border: 1px solid rgba(216,167,111,0.45);
}