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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e6f3ff 0%, #d4e8f7 50%, #c8dff5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.invitation-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    max-width: 600px;
    width: 100%;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.15), 0 0 0 2px rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

/* Ensure all content is above the video */
.invitation-card > *:not(.video-background) {
    position: relative;
    z-index: 1;
}



/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 10px;
}

.pna-logo {
    display: inline-block;
    width: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 51, 102, 0.3));
}

.pna-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.sub-heading {
    font-size: 18px;
    color: #d4af37;
    letter-spacing: 8px;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 20px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}

.majlis {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #003366;
    text-shadow: 2px 2px 0 #d4af37, 4px 4px 0 rgba(0, 51, 102, 0.1);
    letter-spacing: 2px;
}

.jamuan {
    display: block;
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(180deg, #ffd700 0%, #d4af37 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.makan {
    display: block;
    font-size: 44px;
    font-weight: 700;
    color: #003366;
    text-shadow: 2px 2px 0 #d4af37, 4px 4px 0 rgba(0, 51, 102, 0.1);
    letter-spacing: 2px;
}

.pekerja {
    display: block;
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(180deg, #ffd700 0%, #d4af37 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.pna {
    display: block;
    font-size: 44px;
    font-weight: 700;
    color: #003366;
    text-shadow: 2px 2px 0 #d4af37, 4px 4px 0 rgba(0, 51, 102, 0.1);
    letter-spacing: 2px;
}

.tahun {
    display: block;
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(180deg, #ffd700 0%, #d4af37 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

/* Company Section */
.company-section {
    text-align: center;
    margin-bottom: 25px;
}

.company-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.company-badge h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #d4af37;
    font-style: italic;
}

/* Message Section */
.message-section {
    margin-bottom: 30px;
}

.message-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
    margin-bottom: 15px;
}

.message-icon {
    font-size: 48px;
    min-width: 60px;
    text-align: center;
}

.message-box p {
    color: #003366;
    font-size: 14px;
    line-height: 1.6;
}

.invite-text {
    text-align: center;
    color: #003366;
    font-size: 14px;
    line-height: 1.6;
}

/* Details Section */
.details-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.detail-card {
    background: white;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
}

.detail-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.detail-label {
    font-size: 9px;
    color: #003366;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.detail-value {
    font-size: 11px;
    color: #003366;
    font-weight: 700;
    line-height: 1.2;
}

.detail-note {
    font-size: 10px;
    color: #d4af37;
    font-weight: 600;
}

/* Location Link Hover Effect */
.detail-card a:hover .detail-value,
.detail-card a:hover .detail-note {
    text-decoration: underline;
}



/* Closing Section */
.closing-section {
    text-align: center;
}

.closing-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #003366;
    font-style: italic;
}

.closing-title {
    font-size: 28px;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 3px;
}





/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounce-in {
    animation: bounceIn 1.2s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out var(--delay, 0s) both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RSVP Form Section */
.rsvp-form-section {
    margin-top: 30px;
    text-align: center;
}

.rsvp-form-title {
    font-family: 'Playfair Display', serif;
    color: #003366;
    font-size: 24px;
    margin-bottom: 20px;
}

.rsvp-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #003366;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: white;
    color: #003366;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
}

.submit-btn {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .invitation-card {
        padding: 30px 20px;
    }

    .majlis {
        font-size: 24px;
    }

    .jamuan, .makan, .pekerja, .pna, .tahun {
        font-size: 28px;
    }

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

    .rsvp-badge {
        flex-direction: column;
        gap: 15px;
    }

    .rsvp-divider {
        width: 100%;
        height: 2px;
    }
}

/* Tentative Schedule Styles */
.tentative-schedule {
    margin-top: 20px;
}

.schedule-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e6f3ff;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: 700;
    color: #d4af37;
    min-width: 130px;
    font-size: 14px;
}

.schedule-desc {
    color: #003366;
    font-size: 14px;
    flex: 1;
    line-height: 1.5;
}

/* Tentative & RSVP Form Collapse Styles */
.tentative-collapse,
.rsvp-form-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
}