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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.main-navigation {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.main-navigation .nav-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.main-navigation .nav-link:hover {
    color: #764ba2;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 16px;
    font-size: 2.5rem;
    font-weight: 700;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
}

.info-box h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.info-box li:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #d63384;
}

.lotto-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.numbers-section, .superzahl-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.number-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.lotto-number, #superzahl {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.lotto-number:focus, #superzahl:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#superzahl {
    max-width: 80px;
}

.check-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.check-button:active {
    transform: translateY(0);
}

.result {
    margin-top: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.result.hidden {
    display: none;
}

.result h2 {
    color: #333;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.result-item {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.result-item strong {
    color: #333;
}

.result-item span {
    color: #667eea;
    font-weight: 600;
}

.positive {
    color: #28a745 !important;
    font-weight: 600;
}

.negative {
    color: #dc3545 !important;
    font-weight: 600;
}

.good-combination-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
    width: 100%;
}

.good-combination-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

.good-combination-button:active {
    transform: translateY(0);
}

.good-combination-button.hidden {
    display: none;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

.loading-spinner.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.suggested-numbers {
    background: #e8f5e8;
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
}

.suggested-numbers.hidden {
    display: none;
}

.suggested-numbers h3 {
    color: #155724;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.suggested-display {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggested-lotto, .suggested-super {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.suggested-number-bubbles {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.number-bubble {
    background: #28a745;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.number-bubble.super {
    background: #17a2b8;
}


.error-message {
    background: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

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

/* About Page Styles */
.about-container {
    max-width: 900px;
    line-height: 1.6;
}

.navigation {
    margin-bottom: 2rem;
}

.nav-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #764ba2;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
}

.about-content section {
    margin-bottom: 3rem;
}

.content-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 2px solid #28a745;
}

.problem-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.problem-list li {
    margin-bottom: 0.8rem;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.comparison-item {
    padding: 1.5rem;
    border-radius: 8px;
}

.comparison-item:first-child {
    background: #fee;
    border-left: 4px solid #dc3545;
}

.comparison-item:last-child {
    background: #e8f5e8;
    border-left: 4px solid #28a745;
}

.example {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.important-note {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.strategy-steps {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.strategy-steps li {
    margin-bottom: 1rem;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.cta-button {
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.example-case {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.superzahl-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-good {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.stat-bad {
    background: #fee;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.stat-neutral {
    background: #e2e3e5;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #6c757d;
}

.tool-features {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.tool-features li {
    margin-bottom: 0.8rem;
}

.big-cta {
    text-align: center;
    margin-top: 2rem;
}

.big-cta-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.big-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.about-footer {
    margin-top: 4rem;
    text-align: center;
}

.footer-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.footer-cta h2 {
    margin-bottom: 1rem;
}

.footer-cta-button {
    background: white;
    color: #667eea;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.disclaimer {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    border: 1px solid #e9ecef;
}

/* Impressum Styles */
.impressum-content p {
    margin-bottom: 1rem;
}

.impressum-section h2,
.disclaimer-section h2,
.gambling-disclaimer h2,
.data-protection h2,
.copyright h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.disclaimer-section h3,
.data-protection h3 {
    color: #555;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.gambling-disclaimer {
    margin: 2rem 0;
}

.warning-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.warning-content li {
    margin-bottom: 0.5rem;
}

.footer-links {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #764ba2;
}

.main-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .container {
        padding: 24px;
    }
    
    .about-container {
        padding: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .superzahl-stats {
        grid-template-columns: 1fr;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .number-inputs {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .lotto-number, #superzahl {
        padding: 14px 8px;
    }
}