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

        /* font-family și color mutate pe .container pentru compatibilitate Gutenberg */
        .container {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: #333;
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 2px;
            box-shadow: none;
            overflow: hidden;
            transform: translateY(0);
            transition: all 0.3s ease;
        }

        @media (min-width: 768px) {
            body {
                padding: 20px;
            }

            .container {
                max-width: 800px;
                border-radius: 20px;
            }
        }

        .header {
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .header {
                padding: 30px;
            }
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

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

        h1 {
    font-size: 1.1em;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.25;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2em;
    }
}

.subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.2em;
        white-space: normal;
    }
}

        .progress-bar {
            height: 6px;
            background: rgba(255,255,255,0.3);
            margin-top: 15px;
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .progress-fill {
            height: 100%;
            background: #fff;
            width: 0%;
            transition: width 0.5s ease;
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
        }

        .status-bar {
            background: #ffffff;
            padding: 0;
            display: none;
            border-bottom: 1px solid #ddd;
        }

        .status-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0;
            text-align: center;
            border-collapse: collapse;
        }

        .status-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 15px 10px;
            border-right: 1px solid #ddd;
            background: #f8f9fa;
        }

        .status-item:last-child {
            border-right: none;
        }
@media (max-width: 480px) {
    .status-item {
        padding: 8px 4px;
    }
    .status-value {
        font-size: 1em;
    }
    .status-label {
        font-size: 0.62em;
    }
}
        .status-icon {
            display: none;
        }

        .status-label {
            font-size: 0.8em;
            color: #666;
            margin-bottom: 5px;
        }

        .status-value {
            font-size: 1.3em;
            font-weight: bold;
        }

        #timer {
            color: #007bff;
        }
       #adBanner {
            margin-top: 20px;
        }
        #adBanner2 {
            margin-top: 0;
            width: calc(100% + 40px);
            margin-left: -20px;
            margin-right: -20px;
        }

        /* ===== GHIDURI DUPĂ PROMOVARE (echivalentul „Procedura în județul tău”) ===== */
        #guidesSection { display: none; margin: 20px 20px 0; text-align: center; }
        .city-toggle-btn { background: none; border: 2px solid #27ae60; color: #27ae60; padding: 12px 18px; border-radius: 8px; font-size: 0.95em; font-weight: 600; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; transition: background 0.2s; }
        .city-toggle-btn:hover { background: #eafaf1; }
        #guidesWrapper { display: none; margin-top: 14px; text-align: left; }
        .guides-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
        @media (min-width: 600px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
        .guides-grid a { display: block; background: #f8f9fa; border: 1px solid #e3e7ea; border-radius: 10px; padding: 12px 14px; color: #333; text-decoration: none; font-size: 0.92em; line-height: 1.35; }
        .guides-grid a strong { display: block; color: #27ae60; font-size: 0.78em; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
        .guides-grid a:hover { border-color: #27ae60; background: #eafaf1; }


        .correct-status { color: #28a745; }
        .wrong-status { color: #dc3545; }
        .remaining-status { color: #007bff; }

        .content {
            padding: 0;
        }

        .start-screen {
            text-align: center;
            animation: fadeIn 0.5s ease;
            padding: 20px 20px;
            color: #333;
            background: #ffffff;
        }
        @media (min-width: 768px) {
    .start-screen {
        padding: 40px 20px;
    }
}
        .start-screen h2 {
            color: #333;
            margin-bottom: 12px;
            font-size: 1.6em;
        }

        @media (min-width: 768px) {
            .start-screen h2 {
            font-size: 2em;
    }
}

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

        .start-button {
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 1.1em;
            text-align: center;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(39, 174, 96, 0.2);
            position: relative;
            overflow: hidden;
            margin-top: 20px;
            width: 100%;
            max-width: 300px;
        }

        @media (min-width: 768px) {
            .start-button {
                padding: 18px 50px;
                font-size: 1.2em;
            }
        }

        .start-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .start-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .start-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
        }

        .question-container {
            display: none;
            animation: slideIn 0.5s ease;
            padding: 20px 20px 0 20px;
            background: #ffffff;
        }

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

        .question-header {
            display: none;
        }

        .question-title {
            font-size: 1.3em;
            font-weight: 500;
            color: #333;
            margin-bottom: 25px;
            text-align: center;
        }

        .question-text {
            display: none;
        }

        @media (min-width: 768px) {
            .question-text {
                font-size: 1.3em;
                margin-bottom: 30px;
            }
        }

        .answers {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 30px;
        }

        .answer {
            background: #ffffff;
            border: 1px solid #ddd;
            padding: 0;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: stretch;
            min-height: 50px;
        }

        .answer:hover {
            border-color: #007bff;
            box-shadow: 0 2px 5px rgba(0, 123, 255, 0.1);
        }

        .answer.selected {
            background: #ffeaa7;
            border-color: #fdcb6e;
        }

        .answer.selected .answer-content {
            background: #ffeaa7;
        }

        .answer-letter {
            width: 50px;
            background: #cbd5e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #2d3748;
            font-size: 1.3em;
            border-right: 1px solid #ddd;
            flex-shrink: 0;
        }

        .answer:hover .answer-letter {
            background: #a0aec0;
        }

        .answer.selected .answer-letter {
            background: #fdcb6e;
            color: #2d3436;
        }

        .answer-content {
            flex: 1;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            background: #ffffff;
            color: #333;
            font-size: 1em;
            line-height: 1.4;
        }


        /* nav buttons */
        .nav-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 30px;
            padding: 0 10px 20px;
            width: 100%;
        }

        @media (min-width: 480px) {
            .nav-buttons {
                flex-direction: row;
                justify-content: center;
                gap: 15px;
                padding: 0 10px 20px;
            }
        }

        @media (min-width: 768px) {
            .nav-buttons {
                gap: 20px;
                margin-top: 40px;
                padding: 0;
            }
        }

        .nav-button {
            background: #27ae60;
            color: white;
            border: none;
            padding: 12px 15px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9em;
            position: relative;
            overflow: hidden;
            text-align: center;
            white-space: normal;
            line-height: 1.3;
            min-height: 44px;
            flex: 1;
            max-width: none;
            word-wrap: break-word;
            hyphens: auto;
        }

        @media (min-width: 480px) {
            .nav-button {
                font-size: 0.95em;
                padding: 12px 20px;
                flex: 0 1 auto;
                min-width: 140px;
                white-space: nowrap;
            }
        }

        @media (min-width: 768px) {
            .nav-button {
                padding: 15px 30px;
                font-size: 1.1em;
                min-width: 180px;
            }
        }

        .nav-button:hover {
            background: #229954;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
        }

        .skip-button {
            background: #f39c12;
            color: white;
        }

        .skip-button:hover {
            background: #e67e22;
            box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
        }

        .report-button {
            background: #dc3545;
            color: white;
        }

        .report-button:hover {
            background: #c82333;
        }

        @media (max-width: 767px) {
            .report-button {
                margin-top: 15px;
                padding-top: 15px;
                border-top: 2px solid #ddd;
                width: 100%;
            }
        }

        .report-wrong-btn {
            background: #dc3545;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9em;
            margin-top: 10px;
            transition: background 0.3s ease;
            width: 100%;
        }

        .report-wrong-btn:hover {
            background: #c82333;
        }

        .nav-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        .nav-button:disabled:hover {
            box-shadow: none;
        }

        .submit-button {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        }

        .submit-button:hover {
            background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }

        .results-screen {
            display: none;
            text-align: center;
            animation: zoomIn 0.5s ease;
            padding: 40px 20px;
            background: #ffffff;
        }

        @keyframes zoomIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .score-circle {
            width: 180px;
            height: 180px;
            margin: 20px auto;
            position: relative;
            animation: rotate 1s ease-in-out;
        }

        @media (min-width: 768px) {
            .score-circle {
                width: 200px;
                height: 200px;
                margin: 30px auto;
            }
        }

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

        .score-circle svg {
            transform: rotate(-90deg);
        }

        .score-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2.5em;
            font-weight: bold;
        }

        @media (min-width: 768px) {
            .score-text {
                font-size: 3em;
            }
        }

        .pass {
            color: #28a745;
        }

        .fail {
            color: #dc3545;
        }

        .result-message {
            font-size: 1.1em;
            margin: 20px 0;
            font-weight: bold;
        }

        @media (min-width: 768px) {
            .result-message {
                font-size: 2em;
            }
        }

        .result-details {
            font-size: 1em;
            color: #666;
            margin-bottom: 30px;
            padding: 0 20px;
        }

        @media (min-width: 768px) {
            .result-details {
                font-size: 1.1em;
                padding: 0;
            }
        }

        .wrong-answers-section {
            background: #f8f9fa;
            padding: 20px;
            margin: 20px;
            border-radius: 6px;
            text-align: left;
            border: 1px solid #ddd;
        }

        .wrong-answers-title {
            font-size: 1.2em;
            color: #dc3545;
            margin-bottom: 20px;
            text-align: center;
            font-weight: bold;
        }

        .wrong-answer-item {
            background: #ffffff;
            padding: 15px;
            margin-bottom: 12px;
            border-radius: 4px;
            border-left: 4px solid #dc3545;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .wrong-question {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }

        .your-answer {
            color: #dc3545;
            margin-bottom: 5px;
        }

        .correct-answer {
            color: #28a745;
            font-weight: bold;
        }

        .your-answer {
            color: #e74c3c;
            margin-bottom: 5px;
        }

        .correct-answer {
            color: #27ae60;
            font-weight: bold;
        }

        .code-link {
            display: inline-block;
            margin-top: 20px;
            padding: 12px 30px;
            background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(108, 117, 125, 0.2);
        }

        .code-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
        }

        .retry-button {
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 1.1em;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(39, 174, 96, 0.2);
            width: 90%;
            max-width: 250px;
            margin-top: 20px;
        }

        /* ── Share accordion ───────────────────────────── */
        .share-accordion {
            margin: 16px auto 8px;
            width: 92%;
            max-width: 480px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid #d4edda;
            background: #f0faf4;
        }
        .share-accordion-toggle {
            width: 100%;
            background: none;
            border: none;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-size: 1em;
            font-weight: 600;
            color: #1a7a3e;
            gap: 8px;
        }
        .share-accordion-toggle:focus { outline: none; }
        .share-accordion-arrow {
            font-size: 0.75em;
            transition: transform 0.25s ease;
            flex-shrink: 0;
        }
        .share-accordion.open .share-accordion-arrow {
            transform: rotate(180deg);
        }
        .share-accordion-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 18px;
        }
        .share-accordion.open .share-accordion-body {
            max-height: 200px;
            padding: 4px 18px 18px;
        }
        .share-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 13px 16px;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.2s, transform 0.15s;
            color: #fff;
            text-decoration: none;
        }
        .share-btn:active { transform: scale(0.97); }
        .share-btn-fb  { background: #1877f2; }
        .share-btn-wa  { background: #25d366; }
        @media (min-width: 480px) {
            .share-buttons { flex-direction: row; }
            .share-btn { flex: 1; }
        }

        @media (min-width: 768px) {
            .retry-button {
                padding: 15px 40px;
                font-size: 1.2em;
            }
        }
/* CJ Affirmative Click */
        .cj-offer-btn {
            display: none;
            width: auto;
            max-width: 460px;
            margin: 10px auto 0;
            line-height: 1.4;
            padding: 16px 32px;
            margin-top: 10px;
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1em;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
            transition: all 0.2s ease;
        }
        .cj-offer-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
        }
        .cj-offer-btn:active {
            transform: scale(0.98);
        }
        .retry-button:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            filter: grayscale(0.4);
        }
        .cj-inline-msg {
            display: none;
            font-size: 0.82em;
            color: #e74c3c;
            text-align: center;
            margin-top: 6px;
            font-weight: 600;
        }

        .retry-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
        }

        .footer-disclaimer {
            background: #F5F5F5;
            padding: 15px;
            text-align: center;
            color: #666;
            font-size: 0.85em;
            line-height: 1.5;
        }

        .footer-disclaimer a {
            color: #007bff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-disclaimer a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

        .disclaimer-text {
            margin-bottom: 8px;
        }

        .developer-credit {
            color: #888;
        }

        @media (min-width: 768px) {
            .footer-disclaimer {
                font-size: 0.9em;
                padding: 20px;
            }
        }

       .monetization-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

        .monetization-overlay.active {
            display: flex;
        }

        .monetization-content {
            background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
            padding: 40px 50px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.4s ease;
            max-width: 90%;
        }

        .monetization-content h3 {
            color: white;
            font-size: 1.8em;
            margin-bottom: 15px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .monetization-content p {
            color: rgba(255, 255, 255, 0.95);
            font-size: 1.2em;
            margin: 0;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
            margin-top: 20px;
        }

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

        @keyframes slideUp {
            from { 
                transform: translateY(30px);
                opacity: 0;
            }
            to { 
                transform: translateY(0);
                opacity: 1;
            }
        }

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

                @media (max-width: 768px) {
            .monetization-content {
                padding: 30px 25px;
            }
            
            .monetization-content h3 {
                font-size: 1.4em;
            }
            
            .monetization-content p {
                font-size: 1em;
            }
        }

        /* ===== REPORT OVERLAY ===== */
        .report-overlay {
            display: none;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(0, 0, 0, 0.65);
            z-index: 999998 !important;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.25s ease;
        }

        .report-overlay.active {
            display: flex;
        }

        .report-modal {
            background: #fff;
            border-radius: 12px;
            padding: 28px 30px;
            max-width: 480px;
            width: 92%;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
            animation: slideUp 0.3s ease;
        }

        .report-modal h3 {
            color: #dc3545;
            font-size: 1.3em;
            margin-bottom: 10px;
        }

        .report-question-preview {
            background: #f8f9fa;
            border-left: 4px solid #dc3545;
            padding: 10px 14px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.4;
            max-height: 70px;
            overflow: hidden;
        }

        .report-reasons {
            display: flex;
            flex-direction: column;
            gap: 9px;
            margin-bottom: 22px;
        }

        .report-reason-label {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border: 1px solid #dee2e6;
            border-radius: 7px;
            cursor: pointer;
            transition: all 0.15s ease;
            font-size: 0.95em;
            color: #333;
        }

        .report-reason-label:hover {
            border-color: #dc3545;
            background: #fff5f5;
        }

        .report-reason-label input[type="radio"] {
            accent-color: #dc3545;
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .report-reason-label.selected {
            border-color: #dc3545;
            background: #fff5f5;
        }

        .report-buttons {
            display: flex;
            gap: 10px;
        }

        .report-submit-btn {
            background: #dc3545;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 7px;
            cursor: pointer;
            font-size: 1em;
            flex: 2;
            transition: background 0.2s;
            font-weight: bold;
        }

        .report-submit-btn:hover { background: #c82333; }

        .report-cancel-btn {
            background: #f8f9fa;
            color: #555;
            border: 1px solid #dee2e6;
            padding: 12px 20px;
            border-radius: 7px;
            cursor: pointer;
            font-size: 1em;
            flex: 1;
            transition: background 0.2s;
        }

        .report-cancel-btn:hover { background: #e9ecef; }

        .report-validation-msg {
            color: #dc3545;
            font-size: 0.85em;
            margin-bottom: 10px;
            display: none;
        }

        .report-toast {
            position: fixed;
            bottom: 35px;
            left: 50%;
            transform: translateX(-50%);
            background: #27ae60;
            color: white;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 1.1em;
            font-weight: bold;
            z-index: 9999999;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(39,174,96,0.4);
            animation: toastIn 0.3s ease, toastOut 0.3s ease 1.8s forwards;
        }

        @keyframes toastIn {
            from { opacity: 0; transform: translateX(-50%) translateY(15px); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0); }
        }

        @keyframes toastOut {
            from { opacity: 1; transform: translateX(-50%) translateY(0); }
            to   { opacity: 0; transform: translateX(-50%) translateY(-15px); }
        }
        /* ===== INACTIVITY BANNER (results screen) ===== */
        .inactivity-banner {
            display: none;
            background: #fff3cd;
            border: 1px solid #ffc107;
            border-left: 5px solid #ffc107;
            border-radius: 10px;
            padding: 14px 16px;
            margin: 0 16px 20px;
            text-align: left;
        }
        .inactivity-banner.visible { display: block; }
        .inactivity-banner .inact-banner-title {
            font-weight: bold;
            font-size: 0.95em;
            color: #856404;
            margin-bottom: 5px;
        }
        .inactivity-banner .inact-banner-msg {
            font-size: 0.88em;
            color: #6d5200;
            line-height: 1.5;
        }
        @media (min-width: 768px) {
            .inactivity-banner {
                margin: 0 0 20px;
                padding: 16px 20px;
            }
            .inactivity-banner .inact-banner-title { font-size: 1em; }
            .inactivity-banner .inact-banner-msg { font-size: 0.92em; }
        }

        /* ===== INACTIVITY OVERLAY ===== */
        .inactivity-overlay {
            display: none;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(0, 0, 0, 0.80);
            z-index: 9999997 !important;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }
        .inactivity-overlay.active {
            display: flex;
        }
        .inactivity-modal {
            background: #fff;
            border-radius: 16px;
            padding: 32px 24px 28px;
            max-width: 340px;
            width: 92%;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.35);
            animation: slideUp 0.3s ease;
        }
        .inactivity-modal .inact-icon {
            font-size: 2.8em;
            margin-bottom: 12px;
            display: block;
        }
        .inactivity-modal h3 {
            font-size: 1.2em;
            color: #222;
            margin-bottom: 10px;
            font-weight: bold;
        }
        .inactivity-modal p {
            font-size: 0.95em;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .inact-countdown {
            font-size: 2.2em;
            font-weight: bold;
            color: #dc3545;
            margin-bottom: 20px;
            line-height: 1;
        }
        .inact-confirm-btn {
            background: #27ae60;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 14px 32px;
            font-size: 1.05em;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: background 0.2s;
            touch-action: manipulation;
        }
        .inact-confirm-btn:hover { background: #219150; }
        @media (min-width: 768px) {
            .inactivity-modal {
                padding: 40px 36px 32px;
            }
            .inactivity-modal h3 { font-size: 1.35em; }
        }

    /* ===== DEBUG PANEL (only logged-in) ===== */
#debugPanel {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 80px;
    z-index: 9999999;
    flex-direction: column;
    gap: 6px;
    background: rgba(0,0,0,0.85);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    min-width: 180px;
}
#debugPanel.open { display: flex; }

#debugToggleBtn {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 25px;
    z-index: 9999999;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 16px;
    font-size: 0.85em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}
#debugToggleBtn:hover { background: #c0392b; }

.debug-btn {
    background: #2d3748;
    color: #e2e8f0;
    border: 1px solid #4a5568;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 0.82em;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    white-space: nowrap;
}
.debug-btn:hover { background: #4a5568; }
.debug-label {
    color: #718096;
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 2px 2px;
    border-bottom: 1px solid #2d3748;
    margin-bottom: 2px;
}
/* ── RATING BLOC ── */
.rating-section {
    display: none;
    margin: 16px 0 8px;
    padding: 16px 18px;
    background: #f0faf4;
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    text-align: center;
}
.rating-section__label {
    font-size: 0.95em;
    color: #2d6a4f;
    margin-bottom: 12px;
    font-weight: 500;
}
.rating-section__stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}
.rating-section__star {
    font-size: 2.2em;
    cursor: pointer;
    color: #d0d0d0;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.rating-section__star:hover,
.rating-section__star.hovered,
.rating-section__star.selected {
    color: #f5a623;
    transform: scale(1.18);
}
.rating-section__star.selected {
    transform: scale(1.1);
}
.rating-section__thanks {
    display: none;
    font-size: 0.92em;
    color: #1a7a3e;
    font-weight: 600;
    margin-top: 6px;
    animation: ratingFadeIn 0.35s ease;
}
@keyframes ratingFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (min-width: 480px) {
    .rating-section__star { font-size: 2.4em; }
}
    
/* ===== CASETA DE SUB TEST (poziția bannerului din original, conținut propriu, fără contoare) ===== */
.home-promo { background: #fff; border: 7px solid #27ae60; margin: 0; padding: 22px 20px 18px; text-align: center; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #333; }
.home-promo__title { font-size: 1em; margin: 0 0 14px; font-weight: 500; }
.home-promo__text { font-size: .95em; line-height: 1.55; margin: 0 auto 14px; max-width: 560px; }
.home-promo__btn { display: inline-block; background: #27ae60; color: #fff; font-weight: 700; padding: 9px 22px; border-radius: 6px; text-decoration: none; font-size: .95em; }
.home-promo__btn:hover { background: #229954; }
.home-promo__links { margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.home-promo__pill { display: inline-block; border: 1px solid #dfe3e6; border-radius: 20px; padding: 4px 12px; font-size: .8em; color: #555; background: #fff; text-decoration: none; }
.home-promo__pill:hover { border-color: #27ae60; color: #27ae60; }
.home-meta-line { text-align: center; margin: 14px 0 0; font-size: 13px; color: #adb5bd; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.home-meta-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #27ae60; display: inline-block; margin-right: 6px; vertical-align: 1px; animation: pulse-green 2s infinite; }
.home-meta-line + .home-meta-line { margin-top: 6px; color: #777; }
.home-meta-line a { color: #27ae60; font-weight: 600; text-decoration: none; }
@keyframes pulse-green { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
