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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(calc(100vh + 10px)) rotate(360deg);
    }
}

.main-title {
    font-size: 3.5em;
    color: #764ba2;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

.subtitle {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 20px;
}

.wedding-date {
    font-size: 1.2em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
}

.intro, .locations, .rules {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.intro h2, .locations h2, .rules h2 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 2em;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.location-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.location-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.location-card h3 {
    color: #764ba2;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.location-card p {
    color: #666;
    margin-bottom: 15px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    background: #4CAF50;
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.status.locked {
    background: #e74c3c;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-size: 1.05em;
    line-height: 1.6;
}

.rules-list li:before {
    content: "✓ ";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-top: 40px;
}

footer p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
}

.countdown {
    color: #764ba2;
    font-weight: bold;
    font-size: 1.2em !important;
}

/* Styles für Location-Seiten */
.location-page {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    min-height: 500px;
}

.location-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.location-title {
    font-size: 2.5em;
    color: #764ba2;
    margin-bottom: 10px;
}

.location-subtitle {
    color: #667eea;
    font-size: 1.2em;
}

.hint-box {
    background: #f0f8ff;
    border: 2px solid #667eea;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.hint-box h3 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.hint-box p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
}

.code-input-section {
    background: #fff;
    border: 2px dashed #667eea;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.code-input-section h3 {
    color: #764ba2;
    margin-bottom: 20px;
}

.code-input {
    padding: 12px 20px;
    font-size: 1.2em;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    margin-right: 10px;
    text-transform: uppercase;
}

.code-input:focus {
    outline: none;
    border-color: #667eea;
}

.code-submit {
    padding: 12px 30px;
    font-size: 1.1em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hidden-hint {
    display: none;
    background: #e8f5e9;
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    animation: slideIn 0.5s ease;
}

.hidden-hint.revealed {
    display: block;
}

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

.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1em;
    margin: 20px 0;
    animation: bounce 0.5s ease;
}

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

.error-message {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1em;
    margin: 20px 0;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.back-button {
    display: inline-block;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #764ba2;
    transform: translateX(-5px);
}

.task-list {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.task-list h4 {
    color: #764ba2;
    margin-bottom: 15px;
}

.task-list ul {
    list-style: none;
}

.task-list li {
    padding: 10px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.final-code {
    font-size: 2em;
    color: #4CAF50;
    background: #e8f5e9;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 5px;
    margin: 20px 0;
}