:root {
    --primary-pink: #ff6b9d;
    --primary-blue: #4facfe;
    --gradient-boy: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-girl: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --text-dark: #2d3748;
    --text-light: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-bg);
    min-height: 100vh;
    color: var(--text-light);
    overflow-x: hidden;
}

/* Einfache Emoji-Verbesserung */
.tip-gender, .checkmark, .reveal-emoji, .gender-text {
    font-family: 'Inter', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

/* Kräftigere Strong-Tags */
strong {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, #4facfe, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2) contrast(1.1);
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* iOS Alert System */
.ios-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeInAlert 0.3s ease;
}

.ios-alert-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    animation: slideInAlert 0.3s ease;
}

.ios-alert-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.ios-alert-content p {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.ios-alert-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ios-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@keyframes fadeInAlert {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInAlert {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.lang-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
    z-index: -1;
}

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

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f093fb, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Couple Introduction Styles */
.couple-intro {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 2rem auto 3rem;
    max-width: 700px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.couple-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink), var(--primary-blue));
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0%, 100% { background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink), var(--primary-blue)); }
    50% { background: linear-gradient(90deg, var(--primary-pink), var(--primary-blue), var(--primary-pink)); }
}

.couple-content {
    text-align: center;
}

.couple-names {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #f093fb, #667eea, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s ease-in-out infinite;
    position: relative;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.couple-names::after {
    content: '💑';
    position: absolute;
    top: -10px;
    right: -30px;
    font-size: 1.5rem;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.couple-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.couple-text strong {
    background: linear-gradient(45deg, #f093fb, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.couple-hearts {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    animation: floatHearts 3s ease-in-out infinite;
    margin-top: 1rem;
}

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

.countdown-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: var(--shadow);
}

.countdown-container h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.time-unit .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-unit .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Timer Actions */
.timer-actions {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-section, .calendar-section {
    text-align: center;
}

.notification-section h3, .calendar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notification-description, .calendar-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.notification-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    min-width: 200px;
    justify-content: center;
}

.notification-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.notification-btn-off {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.notification-btn-off:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.calendar-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.notification-status {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #666;
}

/* Reveal Message Styles */
.reveal-message {
    text-align: center;
    padding: 2rem;
}

.reveal-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f093fb, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.reveal-emoji {
    font-size: 4rem;
    margin: 1rem 0;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.reveal-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.reveal-confetti {
    font-size: 2rem;
    letter-spacing: 1rem;
    animation: floatHearts 2s ease-in-out infinite;
}

.reveal-certainty {
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Calendar Modal */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.calendar-modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

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

.calendar-modal-header {
    padding: 1.5rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.calendar-modal-body {
    padding: 1rem 2rem 2rem;
}

.calendar-modal-body p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.calendar-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: inherit;
    justify-content: center;
}

.google-calendar {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
}

.google-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
}

.outlook-calendar {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.outlook-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 110, 190, 0.4);
}

.calendar-icon {
    font-size: 1.2rem;
}

.form-section {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.form-container p {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.gender-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gender-option {
    position: relative;
    cursor: pointer;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gender-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.gender-option .checkmark {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.gender-option .gender-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.gender-option:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.gender-option.boy input:checked ~ .checkmark,
.gender-option.boy:hover .checkmark {
    filter: hue-rotate(200deg) brightness(1.2);
}

.gender-option.girl input:checked ~ .checkmark,
.gender-option.girl:hover .checkmark {
    filter: hue-rotate(320deg) brightness(1.2);
}

.gender-option input:checked + .checkmark {
    transform: scale(1.1);
}

.gender-option input:checked {
    background: rgba(255, 255, 255, 0.3);
}

.gender-option.boy input:checked ~ .. {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.gender-option.girl input:checked ~ .. {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3), rgba(245, 87, 108, 0.3));
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.success-message {
    text-align: center;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.stats-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.stats-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink));
}

.stat-card.boys::before {
    background: var(--gradient-boy);
}

.stat-card.girls::before {
    background: var(--gradient-girl);
}

.stat-card.total::before {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink));
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.chart-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.chart-wrapper, .pie-chart-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.chart-wrapper h3, .pie-chart-wrapper h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.bar-background {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 15px;
    transition: width 1s ease-in-out;
    position: relative;
}

.boy-bar {
    background: var(--gradient-boy);
}

.girl-bar {
    background: var(--gradient-girl);
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bar-percentage {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
}

/* Pie Chart Styles */
.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 1.5rem;
    background: conic-gradient(from 0deg, var(--primary-blue) 0deg, var(--primary-blue) 180deg, var(--primary-pink) 180deg, var(--primary-pink) 360deg);
    transition: all 1s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pie-prediction {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.pie-prediction-label {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 500;
}

.pie-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.boy-color {
    background: var(--gradient-boy);
}

.girl-color {
    background: var(--gradient-girl);
}

.tips-section {
    margin-top: 4rem;
}

.tips-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-gender {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tip-gender.boy {
    background: var(--gradient-boy);
}

.tip-gender.girl {
    background: var(--gradient-girl);
}

.tip-name {
    font-weight: 600;
    flex: 1;
}

.tip-message {
    opacity: 0.9;
    line-height: 1.5;
}

.tip-date {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .gender-selection {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .time-unit {
        padding: 1rem 0.5rem;
    }
    
    .time-unit .number {
        font-size: 1.8rem;
    }
    
    .time-unit .label {
        font-size: 0.7rem;
    }
    
    .couple-intro {
        padding: 2rem;
        margin: 1.5rem auto 2.5rem;
    }
    
    .couple-names {
        font-size: 1.8rem;
    }
    
    .couple-names::after {
        right: -25px;
        font-size: 1.2rem;
    }
    
    .couple-text {
        font-size: 1rem;
    }
    
    .couple-hearts {
        font-size: 1.2rem;
        letter-spacing: 0.3rem;
    }
    
    .chart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .bar-item {
        grid-template-columns: 80px 1fr 50px;
        gap: 0.5rem;
    }
    
    .bar-label {
        font-size: 0.8rem;
    }
    
    .pie-chart {
        width: 150px;
        height: 150px;
    }
    
    .pie-center {
        width: 80px;
        height: 80px;
    }
    
    .pie-prediction {
        font-size: 1.5rem;
    }
    
    .pie-legend {
        gap: 1rem;
    }
    
    .timer-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .action-btn {
        min-width: auto;
        width: 100%;
    }
    
    .calendar-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .calendar-modal-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    .calendar-modal-body {
        padding: 0.5rem 1.5rem 1.5rem;
    }
    
    /* Mobile Schriftgrößen anpassen */
    .hero-section h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .couple-names {
        font-size: 1.6rem;
    }
    
    .couple-text {
        font-size: 0.9rem;
    }
    
    .reveal-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .reveal-emoji {
        font-size: 3rem;
    }
    
    .reveal-subtitle {
        font-size: 1rem;
    }
    
    .reveal-confetti {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    
    .current-gender {
        font-size: 2.5rem;
    }
    
    .countdown-container h2 {
        font-size: 1.1rem;
    }
    
    .stats-section h2 {
        font-size: 1.6rem;
    }
    
    .tips-section h2 {
        font-size: 1.6rem;
    }
    
    /* Mobile Language Selector */
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 0.3rem;
        gap: 0.3rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}