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

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #ffb6d9 0%, #ffd4e5 25%, #ffe6f0 50%, #fff0f7 75%, #ffc5dd 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '🌸';
    position: fixed;
    font-size: 3em;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

body::before {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

body::after {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.decorative-flower {
    position: fixed;
    font-size: 2em;
    opacity: 0.2;
    animation: float 5s ease-in-out infinite;
    pointer-events: none;
}

.flower1 { top: 20%; left: 15%; animation-delay: 1s; }
.flower2 { top: 50%; right: 8%; animation-delay: 2s; }
.flower3 { bottom: 15%; left: 8%; animation-delay: 1.5s; }
.flower4 { top: 40%; left: 3%; animation-delay: 0.5s; }

.container {
    max-width: 950px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    overflow: hidden;
    position: relative;
    animation: slideUp 0.8s ease-out;
}

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

.header {
    background: linear-gradient(135deg, #ff69b4 0%, #ff8dc7 50%, #ffb6d9 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.header-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    animation: bounce 1s ease-in-out;
}

.header-text {
    text-align: left;
}

.header h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2em;
    margin-bottom: 5px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-weight: 700;
}

.header .main-title {
    font-family: 'Pacifico', cursive;
    font-size: 3em;
    margin-bottom: 8px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    line-height: 1;
}

.header::before {
    content: '✨';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 2.5em;
    animation: sparkle 2s ease-in-out infinite;
}

.header::after {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5em;
    animation: sparkle 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.header p {
    font-size: 0.04em;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.header .subtitle {
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.95;
    font-weight: 400;
}

.header .subtitle span{
    font-size: 25px;
}

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

.cute-divider {
    font-family: 'Caveat', cursive;
    color: #ff69b4;
    text-align: center;
    font-size: 2em;
    margin: 20px 0;
}

.event-details {
    background: linear-gradient(135deg, #fff0f7 0%, #ffe6f0 100%);
    padding: 40px 30px;
    position: relative;
}

.event-details::before {
    content: '🌺';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2em;
    opacity: 0.3;
}

.event-details::after {
    content: '🌺';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 2em;
    opacity: 0.3;
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 3px solid #ffb6d9;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 182, 217, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.info-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 105, 180, 0.25);
    border-color: #ff69b4;
}

.info-box:hover::before {
    left: 100%;
}

.info-box h3 {
    color: #ff69b4;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p {
    color: #666;
    line-height: 1.8;
    font-weight: 500;
}

.highlights {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 3px dashed #ffb6d9;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.1);
}

.highlights h3 {
    font-family: 'Caveat', cursive;
    color: #ff69b4;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
}

.highlights ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.highlights li {
    padding: 15px 15px 15px 40px;
    background: linear-gradient(135deg, #fff0f7 0%, #ffe6f0 100%);
    border-radius: 15px;
    color: #555;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.highlights li::before {
    content: '🌸';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
}

.highlights li:hover {
    background: linear-gradient(135deg, #ffe6f0 0%, #ffc5dd 100%);
    transform: translateX(5px);
}

.form-section {
    padding: 50px 40px;
    background: linear-gradient(to bottom, white 0%, #fff8fc 100%);
}

.form-section h2 {
    font-family: 'Pacifico', cursive;
    color: #ff69b4;
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
}

.form-subtitle {
    text-align: center;
    color: #ff69b4;
    margin-bottom: 40px;
    font-size: 1.2em;
    font-weight: 600;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    color: #ff69b4;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label::before {
    content: '💕';
    font-size: 1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 3px solid #ffc5dd;
    border-radius: 15px;
    font-size: 1.05em;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.1), 0 5px 20px rgba(255, 105, 180, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.payment-options {
    background: linear-gradient(135deg, #fff0f7 0%, #ffe6f0 100%);
    padding: 25px;
    border-radius: 20px;
    border: 3px solid #ffb6d9;
    margin-bottom: 30px;
}

.payment-options h3 {
    font-family: 'Caveat', cursive;
    color: #ff69b4;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-option {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #ffc5dd;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.radio-option:hover {
    border-color: #ff69b4;
    transform: translateX(5px);
}

.radio-option input[type="radio"] {
    width: 25px;
    height: 25px;
    cursor: pointer;
    accent-color: #ff69b4;
}

.radio-option.selected {
    border-color: #ff69b4;
    background: linear-gradient(135deg, #fff8fc 0%, #fff0f7 100%);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

.radio-option label {
    cursor: pointer;
    font-weight: 600;
    color: #555;
    flex: 1;
    margin-bottom: 0 !important;
}

.radio-option label::before {
    display: none;
}

.qr-section {
    display: none;
    margin-top: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 3px dashed #ff69b4;
    text-align: center;
}

.qr-section.active {
    display: block;
    animation: slideDown 0.5s ease-out;
}

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

.qr-section h4 {
    color: #ff69b4;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-family: 'Caveat', cursive;
}

.qr-code-image {
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    border: 5px solid #ffb6d9;
    border-radius: 15px;
    padding: 10px;
    background: white;
}

.upload-area {
    margin-top: 20px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-label {
    display: block;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff8dc7 100%);
    color: white;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s;
}

.file-input-label:hover {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    transform: translateY(-2px);
}

.file-input-wrapper input[type="file"] {
    display: none;
}

.file-name {
    margin-top: 10px;
    color: #666;
    font-weight: 600;
    font-size: 0.95em;
}

.submit-btn {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff8dc7 50%, #ffb6d9 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.4em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '✨ ';
}

.submit-btn::after {
    content: ' ✨';
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 50%, #ff8dc7 100%);
}

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

.price-tag {
    text-align: center;
    font-size: 2.5em;
    color: #ff1493;
    font-weight: 700;
    margin: 30px 0;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.2);
    font-family: 'Caveat', cursive;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.message {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    display: none;
    font-size: 1.1em;
    animation: slideDown 0.5s ease-out;
}

.message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 3px solid #28a745;
    display: block;
}

.message.success::before {
    content: '🎉 ';
    font-size: 1.5em;
}

.message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 3px solid #dc3545;
    display: block;
}

.message.error::before {
    content: '😔 ';
    font-size: 1.5em;
}

.loading {
    display: none;
    text-align: center;
    font-size: 2em;
    margin: 20px 0;
}

.loading.active {
    display: block;
    animation: bounce 1s ease-in-out infinite;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-text {
        text-align: center;
    }

    .header-logo {
        width: 100px;
        height: 100px;
    }

    .header h1 {
        font-size: 1.5em;
    }

    .header .main-title {
        font-size: 2.2em;
    }

    .header p {
        font-size: 1em;
    }

    .form-section {
        padding: 40px 25px;
    }

    .event-info {
        grid-template-columns: 1fr;
    }

    .highlights ul {
        grid-template-columns: 1fr;
    }
}