
/* HEADER ALTINDA KALMA SORUNU ÇÖZÜMÜ */
.love-test-modern-full {
    margin: 0 auto; /* Üst margin'i sıfırla */
    padding: 80px 15px 20px; /* Üst padding'i header yüksekliği kadar yap */
    width: 100%;
    max-width: 800px;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    min-height: calc(100vh - 80px); /* Header'ı çıkar */
}

.test-container-full {
    width: 100%;
    background: var(--lighter);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    border: 1px solid var(--gray-light);
}

.test-container-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* MOBİL DÜZELTMELERİ */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .love-test-modern-full {
        margin: 0 auto;
        padding: 70px 10px 15px; /* Mobilde header daha küçük olabilir */
        width: 100%;
        max-width: 100%;
        min-height: calc(100vh - 70px);
    }
    
    .test-container-full {
        width: 100%;
        max-width: 100%;
        padding: var(--space-lg);
        margin: 0;
        border-radius: var(--radius-lg);
    }
    
    /* Header yüksekliğine göre ayar */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 60px; /* Header yüksekliği */
    }
    
    /* İçerik taşmalarını kesinlikle önle */
    .test-steps {
        padding: 0;
        width: 100%;
        margin: 0;
    }
    
    .step-content {
        padding: var(--space-md) 0;
        width: 100%;
    }
}

/* KÜÇÜK MOBİLLER İÇİN EK DÜZELTMELER */
@media (max-width: 480px) {
    .love-test-modern-full {
        padding: 60px 8px 12px; /* Daha küçük header için */
        min-height: calc(100vh - 60px);
    }
    
    .test-container-full {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    header {
        height: 50px; /* Daha küçük header */
    }
}

/* HEADER STİLLERİNİ DE DÜZENLEMEK GEREKEBİLİR */
/* Eğer header'ın kendi CSS'i varsa buraya ekle */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: 70px; /* Varsayılan header yüksekliği */
}

/* Eğer header'ın içeriği taşıyorsa */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* SONUÇ KARTI - İNDİRİLECEK OLAN */
.result-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--primary);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.result-card-header {
    margin-bottom: var(--space-lg);
}

.result-card-names {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    word-wrap: break-word;
}

.result-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-md);
    word-wrap: break-word;
}

.result-card-score {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-md) 0;
}

.result-card-message {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 0, 0, 0.05);
    border-radius: var(--radius-md);
    word-wrap: break-word;
}

.result-card-description {
    color: var(--gray);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    word-wrap: break-word;
}

.result-card-footer {
    font-size: var(--font-size-xs);
    color: var(--gray);
    border-top: 1px solid var(--gray-light);
    padding-top: var(--space-md);
    margin-top: var(--space-lg);
}

/* İsim Giriş Formu */
.name-input-form {
    background: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    box-sizing: border-box;
}

.name-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    width: 100%;
}

@media (max-width: 480px) {
    .name-input-group {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
}

.input-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: var(--font-size-sm);
}

.input-group input {
    padding: var(--space-md);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
    background: var(--lighter);
    color: var(--dark);
    width: 100%;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
    outline: none;
}

.input-group input::placeholder {
    color: var(--gray);
}

.names-display {
    text-align: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: rgba(255, 0, 0, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Diğer stiller aynı kalacak... */
.test-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.test-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: var(--font-size-2xl);
    color: white;
    box-shadow: var(--shadow-lg);
}

.test-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.test-header p {
    color: var(--gray);
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 1.5;
    padding: 0;
}

.test-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 0, 0, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
}

.test-progress {
    margin-bottom: var(--space-xl);
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.progress-bar {
    height: 8px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
    width: 0%;
}

.progress-text {
    text-align: center;
    color: var(--gray);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.test-steps {
    position: relative;
    min-height: 400px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.test-step {
    display: none;
    animation: fadeInUp 0.6s ease;
    width: 100%;
}

.test-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    text-align: center;
    padding: var(--space-lg) 0;
    width: 100%;
}

.start-icon {
    font-size: 80px;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.step-content p {
    color: var(--gray);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    padding: 0;
}

.btn-start, .btn-name-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    width: auto;
    min-width: 200px;
    justify-content: center;
}

.btn-start:hover, .btn-name-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: rgba(255, 0, 0, 0.05);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-dark);
}

.feature-item i {
    color: var(--primary);
    font-size: var(--font-size-base);
}

.question-container {
    margin-bottom: var(--space-lg);
    width: 100%;
}

.question-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--gray-light);
}

.question-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-lg);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.answer-grid {
    display: grid;
    gap: var(--space-sm);
    width: 100%;
}

.answer-option {
    background: var(--lighter);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.answer-option:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.answer-option.selected {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.answer-option input {
    display: none;
}

.answer-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.answer-option.selected .answer-check {
    background: var(--primary);
    border-color: var(--primary);
}

.answer-option.selected .answer-check::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    width: 100%;
}

.btn-prev, .btn-next {
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn-prev {
    background: var(--gray-light);
    color: var(--dark);
    border: 2px solid transparent;
}

.btn-prev:hover:not(:disabled) {
    background: var(--gray);
    color: white;
    transform: translateX(-2px);
}

.btn-next {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-next:hover:not(:disabled) {
    transform: translateX(2px);
    box-shadow: var(--shadow-lg);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.result-container {
    text-align: center;
    padding: var(--space-lg) 0;
    width: 100%;
}

.result-icon {
    font-size: 80px;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.result-score {
    font-size: 70px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-lg) 0;
    text-shadow: var(--shadow-lg);
}

.result-message {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.result-meter {
    width: 100%;
    height: 10px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    margin: var(--space-lg) 0;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
}

.result-description {
    color: var(--gray);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: var(--lighter);
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid var(--gray-light);
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    width: 100%;
}

.stat-item {
    background: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.stat-value {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray);
    font-weight: 600;
}

.result-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-xl);
    gap: var(--space-lg);
    width: 100%;
}

.btn-restart {
    background: var(--gray-light);
    color: var(--dark);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    width: auto;
    min-width: 200px;
    justify-content: center;
    border: 2px solid transparent;
}

.btn-restart:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-download-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

/* SADECE İCON BUTONLARI */
.btn-icon {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-share-native {
    background: #4267B2;
}

.btn-download-result {
    background: #10b981;
}

.btn-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-proof {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--lighter);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    width: 100%;
    box-sizing: border-box;
}

.social-proof h4 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--dark);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.user-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.user-result {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.user-result:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--dark);
}

.user-score {
    font-size: var(--font-size-xs);
    color: var(--primary);
    font-weight: 700;
}

.test-message-popup {
    position: fixed;
    top: 80px; /* Header'ın altına yerleştir */
    right: 20px;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 300px;
}

.success-message {
    background: #10b981;
}

.error-message {
    background: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}