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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(66, 133, 244, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 300;
}

header h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 700;
}

header p {
    font-size: 1em;
    margin-bottom: 15px;
    opacity: 0.95;
}

header .deadline {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

main {
    padding: 40px 20px;
}

.frida-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #F5F5F5;
    border-radius: 10px;
}

.frida-photo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.frida-intro h2 {
    color: #4A90E2;
    font-size: 2em;
}

.frida-text {
    animation: bounce 2s infinite;
}

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

.registration {
    margin-bottom: 40px;
}

.registration h2 {
    color: #4A90E2;
    margin-bottom: 30px;
    font-size: 1.8em;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #BBDEFB;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.help-text {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.guest-card {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #4A90E2;
}

.primary-guest {
    background: #FFFBF0;
    border-left-color: #357ABD;
}

.guest-card h3 {
    color: #4A90E2;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.family-guest {
    position: relative;
}

.btn-remove-guest {
    margin-bottom: 10px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    font-size: 1.1em;
    padding: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: #BBDEFB;
    color: #333;
}

.btn-secondary:hover {
    background: #4A90E2;
    color: white;
}

.feedback {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.feedback.error {
    display: block;
    background: #FFEBEE;
    color: #C62828;
    border-left: 4px solid #C62828;
}

.feedback.success {
    display: block;
    background: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid #2E7D32;
}

.gift-list {
    margin-bottom: 40px;
    padding: 30px;
    background: #F5F5F5;
    border-radius: 10px;
}

.gift-list h2 {
    color: #4A90E2;
    margin-bottom: 15px;
}

.gift-link {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.gift-link:hover {
    text-decoration: underline;
}

.contact {
    margin-bottom: 40px;
    padding: 30px;
    background: #F5F5F5;
    border-radius: 10px;
}

.contact h2 {
    color: #4A90E2;
    margin-bottom: 15px;
}

footer {
    background: #4A90E2;
    padding: 20px;
    text-align: center;
    color: white;
    font-weight: 600;
}

@media (max-width: 600px) {
    header h2 {
        font-size: 2em;
    }

    main {
        padding: 20px 15px;
    }

    .guest-card {
        padding: 15px;
    }
}
