/* Cover Overlay Styling */
.cover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cover-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover-content {
    text-align: left;
    color: #111;
    max-width: 550px;
    padding: 40px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #eee;
}

.vault-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
}



.cover-content h2 {
    font-size: 28px;
    margin-bottom: 6px;
    font-weight: 400;
}

.cover-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cover-content .hint {
    font-size: 14px;
    opacity: 0.7;
    font-style: italic;
    margin-top: 24px;
}

/* Shake animatie bij foute code */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.cover-overlay.shake {
    animation: shake 0.5s;
}

/* Success animatie bij goede code */
@keyframes unlock {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.cover-overlay.unlocking .vault-icon {
    animation: unlock 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .cover-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .vault-icon {
        width: 100px;
        height: 100px;
    }
    
    .cover-content h2 {
        font-size: 28px;
    }
    
    .cover-content p {
        font-size: 20px;
    }
}

/* ===== BRANDING CONFIGURATIE ===== */
/* Pas deze kleuren aan naar jouw huisstijl */
:root {
    --primary-color: #111;      /* Hoofdkleur - pas aan naar jouw merk */
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #111;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --radius: 5px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASIS STYLING ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Jost, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background: #f4f4f4;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 60px auto 0;
}

/* ===== HEADER ===== */
header {
    margin-bottom: 0;
}

header p {
	font-size:14px;
	margin-bottom: 30px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* ===== CARD ===== */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 0;
    margin-bottom: 40px;
}

.card h2 {
   font-family:Outfit;
font-weight:400;
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.description {
   color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 20px;
}

/* ===== FORM ===== */
.form-group {
	margin-top: 24px;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

textarea, input[type="text"], select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #ebebeb;
}

textarea:focus, input[type="text"]:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

select {
    cursor: pointer;
}

/* ===== BUTTONS ===== */
button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background:#111;
    color: white;
    padding: 14px 32px;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    margin-top: 16px;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-copy {
    background: var(--success-color);
    color: white;
    padding: 10px 20px;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #059669;
}

/* ===== RESULT SECTION ===== */
.result {
    animation: fadeIn 0.4s ease-in;
}

.hidden {
    display: none !important;
}

.success-message {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    font-weight: bold;
}

.success-message h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.link-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.link-container input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.warning, .warning-box {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 20px 0;
    color: #92400e;
}

.info-box {
    background: #dbeafe;
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 20px;
    color: #1e40af;
}

/* ===== SECRET CONTENT ===== */
.secret-content {
    animation: fadeIn 0.4s ease-in;
}

#revealedSecret {
    font-family: 'Courier New', monospace;
    background: #ebebeb;
    border: 1px solid #000;
    font-size: 20px;
}

/* ===== ERROR CONTENT ===== */
.error-content {
    text-align: left;
    animation: fadeIn 0.4s ease-in;
}

.error-icon {
    width: 40px;
    height: 40px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    display: flex-start;
    align-items: left;
    justify-content: left;
    font-size: 2rem;
    margin: 0 auto 20px;
    font-weight: bold;
}

.error-content h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-reasons {
    background: #fef2f2;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    text-align: left;
}

/* Checkmarks voor error redenen */
#errorContent ul {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

#errorContent ul li {
    padding-left: 30px;
    margin-bottom: 6px;
    position: relative;
    color: #6b7280; /* Grijze tekst zoals in je voorbeeld */
}

#errorContent ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-size: 12px;
    font-weight: bold;
    color: #f4f4f4; /* Groen vinkje */
    background: #111; /* Lichtgrijze achtergrond */
    width: 6px;
    height: 6px;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-bottom: -6px;
}

.reasons {
	margin-top: 20px;
}
/* ===== LOADING ===== */
.loading {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

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

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

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature {
    text-align: center;
    padding: 24px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .card {
        padding: 24px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .link-container {
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
    }
}
