/* Ja/Nein Generator Pro - Professional Orange Theme */

/* 
 * Wichtig: Stellen Sie sicher, dass Ihr Theme folgendes Meta-Tag hat:
 * <meta name="viewport" content="width=device-width, initial-scale=1.0">
 */

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --dark-orange: #E63946;
    --light-orange: #FFB88C;
    --success-green: #06D6A0;
    --error-red: #EF476F;
    --white: #FFFFFF;
    --dark-text: #2D3142;
    --light-bg: #F7F7F7;
}

/* Touch-Optimierungen für Mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

button {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.ja-nein-generator-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Alle H3 in Container Orange machen */
.ja-nein-generator-container h3 {
    color: var(--primary-orange) !important;
}

.ja-nein-generator-container h2 {
    color: var(--white) !important;
}

/* Anleitung Section */
.ja-nein-instructions {
    background: linear-gradient(135deg, var(--light-bg) 0%, #FFFFFF 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-orange);
}

.instructions-title {
    color: var(--primary-orange) !important;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-orange);
}

.instructions-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.instructions-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 16px;
    line-height: 1.6;
}

.instructions-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.instructions-list li strong {
    color: var(--primary-orange);
}

/* Generator Box */
.ja-nein-generator-box {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ja-nein-generator-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ja-nein-title {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 40px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Result Circle */
.ja-nein-result-container {
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.ja-nein-result {
    background: var(--white);
    border-radius: 50%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    border: 8px solid rgba(255, 255, 255, 0.3);
}

.ja-nein-result::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.ja-nein-result:hover::after {
    opacity: 1;
}

.ja-nein-result.ja {
    background: linear-gradient(135deg, var(--success-green) 0%, #05C896 100%);
    transform: scale(1.15) rotate(5deg);
    border-color: rgba(6, 214, 160, 0.3);
    box-shadow: 0 15px 50px rgba(6, 214, 160, 0.4);
}

.ja-nein-result.nein {
    background: linear-gradient(135deg, var(--error-red) 0%, #E63946 100%);
    transform: scale(1.15) rotate(-5deg);
    border-color: rgba(239, 71, 111, 0.3);
    box-shadow: 0 15px 50px rgba(239, 71, 111, 0.4);
}

.ja-nein-result .result-text {
    font-size: 90px;
    font-weight: 900;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.ja-nein-result.ja .result-text,
.ja-nein-result.nein .result-text {
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

/* Statistics */
.ja-nein-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Button */
.ja-nein-button {
    background: var(--white);
    color: var(--primary-orange);
    border: none;
    border-radius: 50px;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button-icon {
    width: 20px;
    height: 20px;
}

.ja-nein-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    background: var(--light-bg);
}

.ja-nein-button:active {
    transform: translateY(-1px);
}

.ja-nein-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animation */
.ja-nein-animation {
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.ja-nein-animation.hidden {
    display: none;
}

.ja-nein-animation p {
    color: var(--white);
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
}

.spinner {
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px) rotate(-2deg); }
    20%, 40%, 60%, 80% { transform: translateX(8px) rotate(2deg); }
}

.ja-nein-result.shaking {
    animation: shake 0.6s;
}

/* Share Section */
.ja-nein-share {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.ja-nein-share.hidden {
    display: none;
}

.share-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.copy-notification {
    margin-top: 15px;
    color: var(--white);
    background: rgba(6, 214, 160, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    animation: slideIn 0.3s ease;
}

.copy-notification.hidden {
    display: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .ja-nein-generator-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .ja-nein-instructions {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .instructions-title {
        font-size: 18px;
    }
    
    .instructions-list li {
        font-size: 14px;
        padding-left: 40px;
        margin-bottom: 12px;
    }
    
    .instructions-list li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .ja-nein-generator-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .ja-nein-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .ja-nein-result {
        width: 170px;
        height: 170px;
        border-width: 6px;
    }
    
    .ja-nein-result .result-text {
        font-size: 65px;
    }
    
    .ja-nein-stats {
        gap: 15px;
        margin: 25px 0;
    }
    
    .stat-item {
        padding: 10px 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-divider {
        height: 35px;
    }
    
    .ja-nein-button {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }
    
    .button-icon {
        width: 18px;
        height: 18px;
    }
    
    .share-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        padding: 10px 15px;
        font-size: 12px;
        flex: 1;
        min-width: 120px;
    }
    
    .share-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .ja-nein-generator-container {
        padding: 10px;
        margin: 15px auto;
    }
    
    .ja-nein-instructions {
        padding: 15px;
    }
    
    .instructions-title {
        font-size: 16px;
    }
    
    .info-icon {
        width: 20px;
        height: 20px;
    }
    
    .instructions-list li {
        font-size: 13px;
        padding-left: 38px;
        margin-bottom: 10px;
    }
    
    .instructions-list li::before {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .ja-nein-generator-box {
        padding: 25px 15px;
    }
    
    .ja-nein-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .ja-nein-result {
        width: 140px;
        height: 140px;
        border-width: 5px;
    }
    
    .ja-nein-result .result-text {
        font-size: 55px;
    }
    
    .ja-nein-stats {
        gap: 12px;
        margin: 20px 0;
    }
    
    .stat-item {
        padding: 8px 15px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-divider {
        height: 30px;
    }
    
    .ja-nein-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .button-icon {
        width: 16px;
        height: 16px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
    
    .share-title {
        font-size: 13px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .share-btn {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .copy-notification {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 360px) {
    .ja-nein-title {
        font-size: 18px;
    }
    
    .ja-nein-result {
        width: 120px;
        height: 120px;
    }
    
    .ja-nein-result .result-text {
        font-size: 48px;
    }
    
    .stat-item {
        padding: 6px 12px;
    }
    
    .stat-value {
        font-size: 18px;
    }
}
