:root {
    --bg-dark: #121212;
    --accent-green: #ADD57C;
    --accent-pink: #FF73A9;
    --text-white: #f5f5f5;
    --card-bg: #1e1e1e;
}

#dev-quiz-section {
    width: 100%;
    min-height: 360px;
    max-height: 450px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif; /* Veya kullandığın font */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    padding: 20px;
}

@media (max-width: 768px) {
    #dev-quiz-section { max-height: none; height: auto; }
}

#dev-quiz-section {
    background-color: #121212;
    color: #f5f5f5;
    padding: 40px 20px;
    min-height: 400px;
    display: flex;
    justify-content: center;
}

.result-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media (min-width: 769px) {
    .result-layout {
        flex-direction: row;
        text-align: left;
    }
    .result-visual { flex: 1; }
    .result-info { flex: 1.2; }
}

/* Resim ve Tag Konumlandırma */
.image-container {
    position: relative;
    display: inline-block;
}

#result-img {
    max-width: 100%;
    height: auto;
    border: 3px solid #ADD57C;
    border-radius: 12px;
}

#name-tag {
    position: absolute;
    bottom: 25px; /* Alttan 25px yukarı */
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF73A9;
    color: #000;
    padding: 4px 12px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.quiz-step {
    display: none;
    width: 100%;
    max-width: 500px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.quiz-step.active { display: block; }

.quiz-title {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#user-name {
    background: transparent;
    border: 2px solid #333;
    padding: 12px;
    color: white;
    text-align: center;
    border-radius: 4px;
}

#user-name:focus { border-color: var(--accent-pink); outline: none; }

.primary-btn {
    background: var(--accent-green);
    color: #121212;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.primary-btn:hover { transform: scale(1.02); }

/* Question Animation */
.slide-out {
    animation: slideOut 0.3s forwards;
}

.slide-in {
    animation: slideIn 0.3s forwards;
}

@keyframes slideOut {
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.option-btn {
    display: block;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid #333;
    color: white;
    padding: 12px;
    margin: 10px 0;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
}

.option-btn:hover { border-color: var(--accent-pink); }

#progress-bar {
    width: 100%;
    height: 4px;
    background: #333;
    margin-bottom: 20px;
}

#progress-fill {
    height: 100%;
    background: var(--accent-pink);
    width: 0%;
    transition: width 0.3s;
}

/* Result Area */
.result-card-preview {
    position: relative;
    margin: 20px auto;
    width: fit-content;
}

#result-img {
    max-width: 200px;
    border: 3px solid var(--accent-green);
}

#name-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--accent-pink);
    color: black;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--accent-pink);
    color: var(--accent-pink);
    padding: 10px 20px;
    cursor: pointer;
}

.restart-link {
    display: block;
    margin-top: 15px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}
