@import url('../css/lingo-logo.css');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

/* Özel İmleç Stilleri - En Üstte */
* {
    cursor: url('../assets/slimicons/orange-pointer.svg'), auto !important;
}

*[style*="cursor: pointer"], 
*[style*="cursor:pointer"], 
a, 
button, 
input[type="button"], 
input[type="submit"], 
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select,
.clickable,
[onclick],
[role="button"] {
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
}

:root {
    --primary-color: #68828a;
    --secondary-color: #d38e18;
    --surface-color: #a3bec8;
    --background-color: #b7b7b7;
    --text-primary: #1b2130;
    --text-secondary: #ffffff;
    --error-color: #d32f2f;
    --success-color: #2e7d32;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --header-height: 60px;
    --accent-color: #4A90A4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body.practice-page {
    margin: 0;
    padding: 72px 0 0;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Üst navigasyon — diğer araçlarla uyumlu site chrome */
.user-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 20px;
    box-sizing: border-box;
    background: var(--site-chrome-bg-alpha, rgba(50, 67, 94, 0.98)) !important;
    border-bottom: 1px solid var(--site-chrome-border, rgba(255, 255, 255, 0.12)) !important;
    box-shadow: var(--site-chrome-shadow, 0 2px 8px rgba(0, 0, 0, 0.18));
    color: var(--site-chrome-text, rgba(255, 255, 255, 0.88));
}

.user-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.user-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.user-header .logo-container-header {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.user-header .header-logo-img {
    display: block;
    object-position: center;
}

.user-header .araclarim-back,
.user-header .tool-watermark-btn {
    --tool-watermark-color: #ffffff;
    --araclarim-back-color: #ffffff;
}

#username-display {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--site-chrome-text, rgba(255, 255, 255, 0.88)) !important;
    margin: 0;
    max-width: min(220px, 36vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sayfa başlığı */
.practice-page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(104, 130, 138, 0.18);
}

.practice-page-eyebrow {
    margin: 0 0 0.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.practice-page-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.practice-page-ipa {
    margin: 0.85rem auto 0;
    margin-bottom: 0;
    padding: 0.72rem 1.45rem;
    max-width: min(100%, 40rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.1em;
    font-family: 'Noto Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(0.98rem, 2.6vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.055em;
    line-height: 1.5;
    color: #2a3f54;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
    border: 1px solid rgba(74, 107, 138, 0.24);
    border-radius: 999px;
    box-shadow:
        0 2px 10px rgba(42, 63, 84, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.practice-page-ipa__slash {
    color: rgba(74, 107, 138, 0.45);
    font-weight: 400;
    letter-spacing: 0;
    user-select: none;
}

.practice-page-subtitle {
    margin: 0.85rem 0 0;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #44616a;
    font-weight: 400;
}

.back-button__exit-icon {
    display: none;
}

.container {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    
}

.practice-area {
    flex: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    height: auto;
    min-height: calc(100vh - var(--header-height) - 2rem);
    position: relative;
    overflow: hidden;
}

/* Test ekranında footer'ı gizle */
body.practice-active #footer-placeholder {
    display: none !important;
}

.practice-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.word-display {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin: 2rem 0;
    padding: 2.5rem 2rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(104, 130, 138, 0.08);
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.input-area {
    flex: 0 0 auto;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(104, 130, 138, 0.1);
}

.input-area.keyboard-active {
    margin-bottom: 350px;
}

.input-area input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 3px solid rgba(104, 130, 138, 0.2);
    border-radius: 12px;
    font-size: 1.3rem;
    margin-bottom: 0;
    -webkit-user-select: text;
    user-select: text;
    -webkit-appearance: none;
    appearance: none;
    background-color: #f8f9fa !important;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.input-area input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(211, 142, 24, 0.2);
    transform: translateY(-2px);
}

.input-area input::placeholder {
    color: rgba(27, 33, 48, 0.4);
    font-weight: 400;
}

.input-area .buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.input-area button {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, var(--secondary-color), #f5a623);
    color: var(--text-secondary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(211, 142, 24, 0.3);
    overflow: hidden;
}

.input-area button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.input-area button:hover:not(:disabled)::before {
    left: 100%;
}

.input-area button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-color), #5a6d75);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(104, 130, 138, 0.4);
}

.input-area button:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(104, 130, 138, 0.3);
}

.input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-area {
    padding: 2rem;
    border-radius: 16px;
    background: #ffffff;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(104, 130, 138, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.correct, .incorrect {
    padding: 2rem;
    border-radius: 16px;
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.correct {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
    border: 3px solid var(--success-color);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
}

.correct::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    color: var(--success-color);
    opacity: 0.2;
    font-weight: bold;
}

.incorrect {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(211, 47, 47, 0.05));
    border: 3px solid var(--error-color);
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.2);
}

.incorrect::before {
    content: '✗';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    color: var(--error-color);
    opacity: 0.2;
    font-weight: bold;
}

.result-header {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.correct .result-header {
    color: var(--success-color);
    background: rgba(46, 125, 50, 0.15);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.incorrect .result-header {
    color: var(--error-color);
    background: rgba(211, 47, 47, 0.15);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.answer-comparison {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(104, 130, 138, 0.1);
}

.comparison-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.comparison-row:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.label {
    font-weight: 600;
    min-width: 120px;
    color: var(--primary-color);
}

.compared-text, .correct-text {
    flex: 1;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
}

.correct-text {
    color: var(--success-color);
    background: rgba(46, 125, 50, 0.1);
}

.error-legend {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.wrong-char {
    color: var(--error-color);
    font-weight: bold;
}

.correct-suggestion {
    color: var(--success-color);
    font-weight: bold;
}

.missing-char {
    color: var(--primary-color);
    text-decoration: underline;
}

.extra-char {
    color: var(--error-color);
    text-decoration: line-through;
}

.score-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(104, 130, 138, 0.1);
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.score-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.score-item:hover::before {
    transform: scaleX(1);
}

.score-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.score-label {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#currentAccuracy {
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar {
    background: rgba(183, 183, 183, 0.3);
    height: 12px;
    border-radius: 20px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-fill {
    background: linear-gradient(90deg, var(--secondary-color), #f5a623, var(--secondary-color));
    background-size: 200% 100%;
    height: 100%;
    width: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(211, 142, 24, 0.4);
    animation: gradientShift 2s ease infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ipa-keyboard {
    display: none;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 8px;
    box-shadow: var(--shadow-md);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    touch-action: none;
    user-select: none;
}

.ipa-keyboard.visible {
    display: block;
}

.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--background-color);
    background-color: var(--primary-color);
    color: var(--text-secondary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.keyboard-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    white-space: nowrap;
}

.keyboard-row {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
}

.ipa-key {
    flex: 1;
    height: 35px;
    padding: 4px;
    border: none;
    border-radius: 4px;
    background: #f1f4f5;
    color: var(--text-primary);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.ipa-key:active {
    transform: scale(0.95);
    background: var(--secondary-color);
    color: var(--text-secondary);
}

.space-key {
    width: 40%;
    height: 35px;
    margin: 4px auto;
    border: none;
    border-radius: 4px;
    background: var(--background-color);
    color: var(--text-primary);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: background-color 0.2s ease;
}

.close-keyboard {
    padding: 4px 8px;
    background: var(--primary-color);
    color: var(--text-secondary);
    border: none;
    border-radius: 4px;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-size: 0.8rem;
    white-space: nowrap;
}

.ipa-key.backspace-key {
    flex: 1.5;
    font-size: 3rem;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .container {
        padding: 0.5rem;
    }
    
    .practice-area {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    body.practice-page {
        padding-top: 64px;
    }

    .user-header {
        padding: 8px 12px;
        height: 56px;
    }

    #username-display {
        font-size: 0.82rem;
        max-width: min(160px, 42vw);
    }

    .practice-page-title {
        font-size: 1.65rem;
    }

    .practice-page-ipa {
        padding: 0.6rem 1.1rem;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        border-radius: 16px;
        letter-spacing: 0.04em;
    }

    .practice-page-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .container {
        padding: 0.25rem;
    }
    
    .practice-area {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .word-display {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    .input-area {
        padding: 1.5rem;
    }
    
    .input-area input {
        font-size: 1.1rem;
        padding: 1rem 1.2rem;
    }
    
    .input-area button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .result-area {
        padding: 1.5rem;
    }
    
    .score-display {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .score-value {
        font-size: 2rem;
    }
    
    .ipa-keyboard {
        padding: 8px;
    }
    
    .input-area.keyboard-active {
        margin-bottom: 250px;
    }

    .keyboard-rows {
        gap: 6px;
    }

    .keyboard-row {
        gap: 4px;
    }

    .ipa-key {
        height: 32px;
        font-size: 0.85rem;
        padding: 2px;
    }

    .space-key {
        height: 32px;
    }

    .result-header {
        font-size: 1.2rem;
        padding: 8px;
    }

    .comparison-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .label {
        min-width: auto;
    }

    .compared-text, .correct-text {
        width: 100%;
        font-size: 1rem;
    }

    .exit-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .practice-page-title {
        font-size: 1.45rem;
    }

    .practice-page-subtitle {
        font-size: 0.88rem;
    }

    .practice-area {
        padding: 1rem;
        gap: 1rem;
    }
    
    .word-display {
        padding: 1rem 0.75rem;
        font-size: clamp(1.3rem, 3.5vw, 2rem);
    }
    
    .input-area {
        margin: 0.5rem 0;
        gap: 1rem;
        padding: 1rem;
    }
    
    .input-area input {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
    
    .input-area button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .result-area {
        padding: 1rem;
    }
    
    .score-display {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .score-value {
        font-size: 1.75rem;
    }
    
    .ipa-keyboard {
        padding: 4px; /* Padding azaltıldı */
    }
    
    .keyboard-header {
        padding: 4px;
        margin-bottom: 4px;
    }
    
    .keyboard-rows {
        gap: 3px;
    }
    
    .keyboard-row {
        gap: 3px;
    }

    .ipa-key {
        height: 28px; /* Yükseklik azaltıldı */
        font-size: 0.8rem; /* Font boyutu küçültüldü */
        padding: 1px; /* Padding azaltıldı */
    }
    
    .score-display {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .score-item {
        padding: 0.25rem;
    }
    
    .score-label {
        font-size: 0.8rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    .input-area.keyboard-active {
        margin-bottom: 220px;
    }

    .space-key {
        height: 28px; /* Yükseklik azaltıldı */
        width: 50%;
    }

    .exit-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .practice-area {
        padding: 0.5rem;
        min-height: calc(100vh - var(--header-height) - 1rem);
    }
    
    .word-display {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        padding: 0.25rem;
        margin: 0.5rem 0;
    }
    
    .input-area {
        margin: 0.25rem 0;
        gap: 0.25rem;
    }
    
    .score-display {
        padding: 0.5rem 0;
    }
}

@media (max-height: 400px) {
    .practice-area {
        justify-content: flex-start;
        gap: 0.25rem;
    }
    
    .word-display {
        margin: 0;
    }
}

@media (orientation: landscape) {
    .ipa-keyboard {
        max-height: 40vh;
        overflow-y: auto;
    }
}

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

.start-screen {
    flex: 1;
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    min-height: calc(100vh - var(--header-height) - 2rem);
    gap: 2rem;
    overflow-y: auto;
}

.start-screen h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Luckiest Guy', cursive;
}

.start-screen p:not(.practice-page-eyebrow):not(.practice-page-ipa):not(.practice-page-subtitle) {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.start-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: var(--transition);
    font-weight: 600;
}

.start-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.practice-mode .user-header,
.practice-mode .score-display,
.practice-mode .mode-switch {
    display: none;
}

.practice-mode .practice-area {
    margin: 0;
    padding: 1rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
}

.practice-mode .word-display {
    flex: 0 0 auto;
    font-size: 1.5rem;
    padding: 1.5rem 1rem;
    margin: 0.5rem 0;
}

.practice-mode .input-area {
    flex: 0 0 auto;
    margin: 0.5rem 0;
    background-color: #ebeced;
}

.practice-mode #userInput {
    padding: 0.8rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.practice-mode .buttons {
    gap: 0.5rem;
}

.practice-mode .buttons button {
    padding: 0.8rem;
    font-size: 0.9rem;
}

.practice-mode .result-area {
    flex: 1 1 auto;
    margin-top: 0.5rem;
    padding: 1rem;
    overflow-y: auto;
    font-size: 0.9rem;
}

.score-summary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.score-summary {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 90%;
    width: 400px;
    margin: auto;
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.summary-content {
    padding-right: 5px;
}

.score-summary::-webkit-scrollbar {
    width: 8px;
}

.score-summary::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.score-summary::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.score-summary::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

@media (max-height: 700px) {
    .score-summary {
        margin: 20px auto;
    }
    
    .score-summary-overlay {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .score-summary {
        padding: 1.5rem;
        width: 100%;
        max-height: 85vh;
    }
    
    .score-summary-overlay {
        padding: 10px;
    }
}

.score-summary h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-family: 'Luckiest Guy', cursive;
}

.score-summary .stats {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
}

.stat-label {
    color: var(--text-primary);
    font-weight: 500;
}

.stat-value {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.error-analysis {
    margin-top: 1.5rem;
}

.error-analysis h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Luckiest Guy', cursive;
}

.error-cards {
    display: grid;
    gap: 0.8rem;
}

.error-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
}

.error-char {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--error-color);
    background: rgba(211, 47, 47, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    min-width: 2.5rem;
    text-align: center;
}

.error-info {
    flex: 1;
}

.error-rate {
    font-weight: 600;
    color: var(--error-color);
}

.error-count {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.8;
}

.summary-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.summary-buttons button {
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.restart-button {
    background: var(--secondary-color);
    color: var(--text-secondary);
}

.exit-to-menu {
    background: var(--primary-color);
    color: var(--text-secondary);
}

.summary-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .score-summary {
        padding: 1.5rem;
        width: 320px;
    }

    .score-summary h3 {
        font-size: 1.3rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .error-char {
        font-size: 1.3rem;
        min-width: 2rem;
    }

    .summary-buttons {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    .ipa-keyboard {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        margin: 0 auto;
        padding: 1rem;
        box-sizing: border-box;
        background: var(--primary-color);
        border-top: 2px solid var(--secondary-color);
        position: fixed;
        bottom: 0;
        z-index: 1000;
    }

    .keyboard-rows {
        width: 100%;
        margin: 0 auto;
        background: var(--surface-color);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
    }

    .keyboard-row {
        gap: 0.4rem;
        margin-bottom: 0.4rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .keyboard-row:last-child {
        margin-bottom: 0;
    }

    .ipa-key {
        flex: 1;
        min-width: 0;
        font-size: 1rem;
        height: 38px;
        background: var(--background-color);
        border: 1px solid transparent;
        transition: all 0.2s ease;
        padding: 0.3rem;
    }

    .space-key {
        width: 30%;
        height: 38px;
    }

    .input-area.keyboard-active {
        margin-bottom: 380px;
    }

    .practice-area.keyboard-active {
        padding-bottom: 380px;
    }
}

.practice-mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mode-button {
    background: var(--background-color);
    color: var(--text-secondary);
    border: 2px solid transparent;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: var(--transition);
}

.mode-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mode-button.selected {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

.mode-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

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

.word-meaning {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-primary);
    opacity: 0.8;
    font-style: italic;
}

.error-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.error-stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.error-stat-card .letter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--error-color);
    margin-bottom: 0.5rem;
}

.error-stat-card .error-count {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.error-stat-card .common-mistakes {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.mistake-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.wrong-char {
    background: rgba(211, 47, 47, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
}

.mistake-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.mistakes-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    opacity: 0.8;
}

.mistakes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .error-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .error-stat-card .letter {
        font-size: 1.5rem;
    }
}

.performance-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.performance-summary h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Luckiest Guy', cursive;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.letter-error-stats {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.letter-error-stats h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Luckiest Guy', cursive;
}

@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .performance-summary,
    .letter-error-stats {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .performance-summary h3,
    .letter-error-stats h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

.no-data-message {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.no-data-message p {
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.no-data-message p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

.no-data-message p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

.performance-stats, .error-stats-container {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.error-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.error-number {
    background: var(--error-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.error-details {
    flex: 1;
}

.wrong-answer, .correct-answer {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
}

.wrong-answer .value {
    color: var(--error-color);
}

.correct-answer .value {
    color: var(--success-color);
}

.label {
    color: var(--text-secondary);
    margin-right: 1rem;
}

.reset-stats-button {
    background: var(--error-color);
    color: var(--text-secondary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 1rem auto;
    display: block;
    transition: var(--transition);
}

.reset-stats-button:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Eski mesaj stillerini kaldır */
.success-message {
    display: none; /* veya bu bloğu tamamen silebilirsiniz */
}

.exit-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error-color);
    color: var(--text-secondary);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    transition: var(--transition);
    z-index: 10;
}

.exit-button:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .exit-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .exit-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

.difficulty-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.difficulty-button {
    background: var(--background-color);
    color: var(--text-secondary);
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: var(--transition);
    font-weight: 600;
}

.difficulty-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.difficulty-button.selected {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .difficulty-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .difficulty-button {
        width: 100%;
        padding: 0.6rem 1rem;
    }
}

/* Kategori ve zorluk seçimi için container */
.selection-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.category-selection,
.difficulty-selection {
    flex: 1;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 50%;
    box-shadow: var(--shadow-sm);
}

.category-selection h3,
.difficulty-selection h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Luckiest Guy', cursive;
}

.category-buttons,
.difficulty-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-button,
.difficulty-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--background-color);
    color: var(--text-secondary);
    border: 2px solid transparent;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    width: 100%;
    text-align: left;
}

.category-button.selected,
.difficulty-button.selected {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

.category-icon, .difficulty-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.category-content, .difficulty-content {
    flex: 1;
}

.category-title, .difficulty-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.category-desc, .difficulty-desc {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 992px) {
    .selection-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-selection, .difficulty-selection {
        padding: 1.5rem;
    }

    .category-selection h3, .difficulty-selection h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .selection-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin: 1rem auto;
    }

    .category-selection,
    .difficulty-selection {
        width: 100%;
        padding: 1.5rem;
    }

    .category-selection h3,
    .difficulty-selection h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

.complication-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid #3949ab;
}

.complication-title {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8eaf6;
}

.complication-title::before {
    content: "⚠️ Fonolojik İşlem:";
    color: #3949ab;
    font-weight: 600;
    background: #e8eaf6;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.severity {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background: #e8eaf6;
    color: #3949ab;
    border-radius: 4px;
    margin-left: auto;
}

.severity::before {
    content: "📊 ";
}

.complication-description {
    color: #34495e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.examples::before {
    content: "📝 Örnek Dönüşümler:";
    display: block;
    color: #3949ab;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.examples {
    background: #e8eaf6;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .complication-info {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .complication-title::before {
        padding: 0.2rem 0.4rem;
        font-size: 0.85rem;
    }
}

/* Seçim alanı için ana container */
.selection-area {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(104, 130, 138, 0.1);
}

.selection-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.selection-header h2 {
    color: #2c353f;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 0.5px;
}

.selection-header p {
    color: var(--text-primary);
    opacity: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem auto;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #dde7eb, #c5d4da);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 800px;
    border: 1px solid rgba(104, 130, 138, 0.15);
    line-height: 1.6;
}

/* Ok animasyonu kaldırıldı */
/* .selection-header p::after {
    content: "⬇️";
    display: block;
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    animation: bounceArrow 1s infinite;
} */

/* Ok animasyon keyframes kaldırıldı */
/* @keyframes bounceArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
} */

/* Text pulse animasyon keyframes kaldırıldı */
/* @keyframes pulseText {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow-sm);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-md);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-sm);
    }
} */

.selection-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Mod seçimi için stil */
.mode-selection {
    margin-bottom: 0;
}

.mode-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.mode-button {
    background: var(--background-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.mode-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mode-button:hover::before {
    left: 100%;
}

.mode-button.selected {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(104, 130, 138, 0.3);
}

.mode-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(104, 130, 138, 0.3);
}

.mode-button.selected:hover {
    box-shadow: 0 6px 24px rgba(104, 130, 138, 0.4);
}

/* Kategori ve zorluk seçimi için ortak stiller */
/* .selection-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
} */

.selection-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    border: 1px solid rgba(104, 130, 138, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.selection-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.selection-box h3 {
    color: #2c353f;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--secondary-color);
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 0.3px;
}

.selection-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-button {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: var(--background-color);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.option-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option-button:hover::before,
.option-button.selected::before {
    transform: scaleY(1);
}

.option-button.selected {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(104, 130, 138, 0.2);
    padding-left: 1.8rem;
}

.option-button:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(104, 130, 138, 0.2);
}

.option-button.selected:hover {
    transform: translateX(4px) scale(1.01);
}

.option-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-button:hover .option-icon,
.option-button.selected .option-icon {
    background: rgba(104, 130, 138, 0.15);
    transform: scale(1.1);
}

.option-content {
    flex: 1;
}

.option-title {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.option-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.start-practice-btn {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 3rem auto 0;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #f5a623);
    color: var(--text-secondary);
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(211, 142, 24, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.start-practice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.start-practice-btn:hover::before {
    left: 100%;
}

.start-practice-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #5a6d75);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(104, 130, 138, 0.4);
}

.start-practice-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 130, 138, 0.3);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .start-screen {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .selection-area {
        padding: 1.5rem;
        margin: 0;
        border-radius: 12px;
    }

    .selection-header {
        margin-bottom: 1.5rem;
    }

    .selection-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .selection-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem 1.5rem;
    }

    .selection-grid {
        gap: 1.5rem;
    }

    .mode-selection {
        margin-bottom: 0;
    }

    .mode-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .mode-button {
        padding: 1.5rem 1rem;
    }

    .mode-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .mode-desc {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    /* selection-row artık kullanılmıyor */
    /* .selection-row {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 1rem;
        width: 100%;
    } */

    .selection-box {
        padding: 1.5rem;
        margin-top: 0;
    }

    .selection-box h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.6rem;
    }

    .selection-options {
        gap: 0.75rem;
    }

    .option-button {
        padding: 1rem 1.2rem;
        gap: 1rem;
    }

    .option-button.selected {
        padding-left: 1.5rem;
    }

    .option-icon {
        font-size: 1.3rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .option-title {
        font-size: 0.95rem;
    }

    .option-desc {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .start-practice-btn {
        margin: 2rem auto 0;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        max-width: 280px;
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .start-screen {
        padding: 1rem 0.75rem;
        gap: 1.25rem;
    }

    .mode-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .mode-button {
        padding: 1.25rem 1rem;
    }

    .selection-area {
        padding: 1.25rem;
        margin: 0;
    }

    .selection-header h2 {
        font-size: 1.3rem;
    }

    .selection-header p {
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
    }

    .selection-grid {
        gap: 1.25rem;
    }

    .selection-box {
        padding: 1.25rem;
    }

    .selection-box h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .option-button {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    .option-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.2rem;
    }

    .start-practice-btn {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
        max-width: 100%;
    }
}

/* IPA klavyesi aktif olduğunda input alanının davranışı */
.fromIpa .input-area input {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-tap-highlight-color: transparent;
    cursor: text;
    readonly: false;
    inputmode: text;
    background-color: #ffffff !important;
}

/* Komplikasyon Drawer Sistemi */
.complications-drawer {
    position: fixed;
    right: -320px; /* Başlangıçta gizli */
    top: 80px; /* Header'ın altından başlasın */
    bottom: 20px; /* Alt kenardan boşluk */
    width: 300px;
    background: var(--surface-color);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    display: flex;
    flex-direction: column;
}

.complications-drawer.open {
    right: 20px; /* Sağdan boşluk bırak */
}

.drawer-header {
    padding: 1rem;
    background: var(--primary-color);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-radius) 0 0 0;
}

.drawer-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Luckiest Guy', cursive;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-size: 1.5rem;
    padding: 0.5rem;
    line-height: 1;
}

.drawer-content {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.drawer-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg) translateX(50%);
    transform-origin: right center;
    background: var(--primary-color);
    color: var(--text-secondary);
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 40px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* animation: pulseAttention 2s infinite; */ /* Animasyon kaldırıldı */
}

/* Yeni eklenen animasyonlar kaldırıldı */
/* @keyframes pulseAttention {
    0% {
        box-shadow: var(--shadow-md);
        transform: translateY(-50%) rotate(-90deg) translateX(50%) scale(1);
    }
    50% {
        box-shadow: 0 0 15px var(--secondary-color);
        transform: translateY(-50%) rotate(-90deg) translateX(50%) scale(1.05);
    }
    100% {
        box-shadow: var(--shadow-md);
        transform: translateY(-50%) rotate(-90deg) translateX(50%) scale(1);
    }
} */

/* Drawer açıldığında animasyonu kaldır */
.drawer-toggle.open {
    right: 290px;
    transform: translateY(-50%) rotate(-90deg) translateX(50%) translateX(-290px);
    animation: none;
    box-shadow: var(--shadow-md);
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .drawer-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        height: 36px;
        width: 130px;
    }
    
    .drawer-toggle.open {
        right: 250px;
        transform: translateY(-50%) rotate(-90deg) translateX(50%) translateX(-250px);
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .complications-drawer {
        width: 240px;
        right: -250px;
    }

    .complications-drawer.open {
        right: 5px;
    }

    .drawer-toggle {
        width: 120px; /* En küçük ekranlar için daha da küçük genişlik */
        right: 10px; /* Değer artırıldı */
    }

    .drawer-toggle.open {
        right: 230px;
        transform: translateY(-50%) rotate(-90deg) translateX(50%) translateX(-230px);
    }
}

/* Ses özellikleri için yeni stiller */
.sound-properties {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
}

.sound-properties-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sound-category {
    margin: 0.5rem 0;
}

.sound-category-label {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.sound-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sound-item {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Nunito', monospace;
}

/* Komplikasyon kartı içindeki ses özellikleri bölümü */
.complication-info .sound-properties {
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

/* Mobil görünüm için düzenlemeler */
@media (max-width: 768px) {
    .sound-properties {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .sound-item {
        padding: 0.2rem 0.4rem;
    }
}

/* Sistem mesajları için stil tanımlamaları */
.system-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 3000;
    animation: fadeIn 0.2s ease;
    padding-top: 20px;
    pointer-events: auto;
}

.system-message {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    width: 320px;
    text-align: center;
    position: relative;
    animation: messageSlideDown 0.3s ease;
    margin-top: 20px;
    pointer-events: auto;
}

.system-message-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.system-message-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.system-message-button {
    background: var(--primary-color);
    color: var(--text-secondary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    transition: all 0.2s ease;
}

.system-message-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@keyframes messageSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Legal Modal Styles */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    background: var(--surface-color);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.legal-modal-overlay.active .legal-modal {
    transform: translateY(0);
}

.legal-modal-header {
    background: var(--primary-color);
    color: var(--text-secondary);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Luckiest Guy', cursive;
}

.legal-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    padding: 0.5rem;
    transition: var(--transition);
}

.legal-modal-close:hover {
    transform: scale(1.1);
}

.legal-modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.legal-text {
    color: var(--text-primary);
    line-height: 1.6;
}

.legal-text h2 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .legal-modal {
        width: 95%;
    }
    
    .legal-modal-header {
        padding: 1rem;
    }
    
    .legal-modal-title {
        font-size: 1.2rem;
    }
    
    .legal-modal-content {
        padding: 1.5rem;
    }
}

/* VocFount Kart Stili */
.vocfount-card {
    background: linear-gradient(135deg, var(--surface-color), #627b81);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem auto;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--secondary-color);
    max-width: 400px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vocfount-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
    font-family: 'Luckiest Guy', cursive;
}

.card-badge {
    background: var(--secondary-color);
    color: var(--text-secondary);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-brief {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.card-details-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-secondary);
    border: none;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.card-details-btn:hover {
    background: var(--secondary-color);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.card-details-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* VocFount Modal Stili */
.vocfount-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.vocfount-modal.active {
    display: flex !important;
}

.vocfount-modal .modal-content {
    background: var(--surface-color);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    position: relative;
    margin: 2rem auto;
}

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

.modal-header {
    background: var(--primary-color);
    color: var(--text-secondary);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--secondary-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Luckiest Guy', cursive;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    padding: 0.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.modal-close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 4rem);
    line-height: 1.6;
    color: var(--text-primary);
    background: #fff; /* Beyaz arka plan */
}

.modal-body p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #333; /* Koyu metin rengi */
}

.modal-body strong {
    color: var(--primary-color);
    font-weight: 700;
}

.modal-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: #333; /* Koyu metin rengi */
}

.modal-body li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    color: #333; /* Koyu metin rengi */
}

.modal-body li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.modal-body li strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

/* Kaydırma çubuğu stilleri */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    .modal-body li {
        margin-bottom: 0.8rem;
    }
}
.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.email-btn {
    background: var(--primary-color);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .legal-modal {
        width: 95%;
        max-height: 95vh;
    }

    .legal-modal-header {
        padding: 1rem 1.5rem;
    }

    .legal-modal-content {
        padding: 1.5rem;
    }

    .contact-buttons {
        flex-direction: column;
    }
}

/* VocFount Toggle Butonu */
.vocfount-toggle {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg) translateX(-50%);
    transform-origin: left center;
    background: var(--secondary-color);
    color: var(--text-secondary);
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: url('../assets/slimicons/orange-hand-pointer.svg'), auto !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 40px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* animation: pulseAttention 2s infinite; */ /* Animasyon kaldırıldı */
}

/* Pratik sırasında gizleme */
.hidden-during-practice {
    display: none !important;
    animation: none !important;
}

.vocfount-toggle:hover {
    background: var(--primary-color);
    transform: translateY(-50%) rotate(90deg) translateX(-50%) scale(1.05);
}

.vocfount-icon-img {
    width: 1.2rem;
    height: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.btn-icon-img {
    width: 1rem;
    height: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .vocfount-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        height: 36px;
        width: 160px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .vocfount-toggle {
        width: 140px;
        font-size: 0.85rem;
        left: 10px; /* Değer artırıldı */
    }
}

.complication-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.complication-card.active {
    border-color: var(--secondary-color);
    /* background: linear-gradient(to right, var(--surface-color), rgba(211, 142, 24, 0.1)); */ /* Arkaplan kaldırıldı */
    /* animation: pulseCard 2s infinite; */ /* Animasyon kaldırıldı */
}

/* Animasyon kaldırıldı */
/* @keyframes pulseCard {
    0% {
        box-shadow: var(--shadow-sm);
    }
    50% {
        box-shadow: 0 0 15px var(--secondary-color);
    }
    100% {
        box-shadow: var(--shadow-sm);
    }
} */

.complication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.complication-header h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Luckiest Guy', cursive;
}

.active-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.complication-desc {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.transformation-examples {
    background: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-family: monospace;
}

.transformation-examples h5 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.no-complications-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
}

.no-complications-message p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-complications-message p:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .complication-card {
        padding: 1rem;
    }

    .complication-header h4 {
        font-size: 1rem;
    }

    .active-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .complication-desc {
        font-size: 0.9rem;
    }

    .transformation-examples {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

.active-complications-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(211, 142, 24, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Luckiest Guy', cursive;
}

.complications-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    margin: 2rem 0;
}

.all-complications-section {
    opacity: 0.8;
}

.all-complications-section .complication-card {
    background: rgba(255, 255, 255, 0.5);
}

.complication-card.active {
    /* background: white; */ /* Arkaplan kaldırıldı */
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(211, 142, 24, 0.2); /* Gölge efekti kalabilir veya kaldırılabilir, şimdilik kalsın */
    /* animation: pulseActiveCard 2s infinite; */ /* Animasyon kaldırıldı */
}

/* Animasyon kaldırıldı */
/* @keyframes pulseActiveCard {
    0% {
        box-shadow: 0 0 15px rgba(211, 142, 24, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(211, 142, 24, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(211, 142, 24, 0.2);
    }
} */

.active-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.active-badge::before {
    content: "🔄";
    font-size: 1rem;
}

@media (max-width: 768px) {
    .active-complications-section {
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .complications-divider {
        margin: 1.5rem 0;
    }

    .active-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Klavye başlığı içindeki yeni elementler için stiller */
.keyboard-title {
    margin: 0; /* Tarayıcı varsayılan margin'ini sıfırla */
    font-size: 1rem; /* Başlık boyutunu ayarla */
    font-weight: 600;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px; /* Logo ve düğme arasına boşluk */
}

.keyboard-logo {
    display: block;
}

/* Ortadaki LİNGO DKT yazısı kaldırıldı */

/* Pratikten Çık Modu Stilleri */
.back-button.araclarim-back.exit-practice-mode .araclarim-back__badge {
    display: none;
}

.back-button.araclarim-back.exit-practice-mode .back-button__exit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-button.araclarim-back.exit-practice-mode {
    background: var(--error-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 0.55rem 0.85rem;
    height: auto;
    width: auto;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.back-button.araclarim-back.exit-practice-mode .tool-watermark-btn__icon {
    --tool-watermark-color: #ffffff;
    --tool-watermark-size: 1.5rem;
    opacity: 0.9;
    transform: rotate(0);
}

.user-header .back-button.araclarim-back.exit-practice-mode::after {
    content: "Pratikten Çık";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.back-button.araclarim-back.exit-practice-mode:hover {
    background: #b71c1c;
    border-color: var(--error-color);
    transform: translateY(-2px);
}

.back-button.araclarim-back.exit-practice-mode:hover .tool-watermark-btn__icon {
    opacity: 1;
}

.user-header .back-button.araclarim-back.exit-practice-mode:hover::after {
    opacity: 1;
}

.complications-section {
    display: none; /* Başlangıçta komplikasyon bölümünü gizle */
}

.complications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* --- Splash Screen Modernized --- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f6f8fb 0%, #e2e8f0 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splashEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.splash-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.splash-logo .logo-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(52, 76, 100, 0.15);
    position: relative;
    overflow: hidden;
}

.logo-inner {
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.splash-title {
    margin-bottom: 30px;
}

.title-main {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #344c64;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.splash-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(52, 76, 100, 0.1);
    border-radius: 50%;
    border-top-color: #344c64;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 0.9rem;
    color: #577399;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulseText 2s infinite ease-in-out;
}

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

@keyframes pulseText {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

    /* Parçacıklar kaldırıldı - minimal tasarım için */
    .particles {
        display: none;
    }

    /* Animasyonlar */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes backgroundPulse {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 0.6; }
    }

    @keyframes logoGradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

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

    @keyframes logoGlow {
        0%, 100% { opacity: 0.2; transform: scale(1); }
        50% { opacity: 0.4; transform: scale(1.1); }
    }

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

    @keyframes logoIconGlow {
        0%, 100% { filter: drop-shadow(0 0 20px rgba(52, 76, 100, 0.4)); }
        50% { filter: drop-shadow(0 0 30px rgba(52, 76, 100, 0.7)); }
    }

    @keyframes logoFloat {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    @keyframes logoPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    @keyframes logoRing {
        0% { transform: scale(1); opacity: 0.3; }
        50% { transform: scale(1.1); opacity: 0.1; }
        100% { transform: scale(1.2); opacity: 0; }
    }

    @keyframes titleGradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes titleGlow {
        from { text-shadow: 0 0 20px rgba(255, 140, 0, 0.5); }
        to { text-shadow: 0 0 30px rgba(255, 140, 0, 0.8); }
    }

    @keyframes subtitleFade {
        from { opacity: 0.7; }
        to { opacity: 1; }
    }

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

    @keyframes spinnerGlow {
        0%, 100% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.3); }
        50% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.6); }
    }

    @keyframes loadingPulse {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }

    /* Parçacık Animasyonları */
    @keyframes particleFloat1 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
        25% { transform: translate(20px, -30px) scale(1.2); opacity: 1; }
        50% { transform: translate(-10px, -50px) scale(0.8); opacity: 0.8; }
        75% { transform: translate(30px, -20px) scale(1.1); opacity: 0.9; }
    }

    @keyframes particleFloat2 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
        33% { transform: translate(-25px, 20px) scale(1.3); opacity: 1; }
        66% { transform: translate(15px, -40px) scale(0.7); opacity: 0.7; }
    }

    @keyframes particleFloat3 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
        20% { transform: translate(40px, -25px) scale(1.4); opacity: 0.9; }
        40% { transform: translate(-20px, -60px) scale(0.6); opacity: 0.6; }
        60% { transform: translate(25px, 15px) scale(1.1); opacity: 0.8; }
        80% { transform: translate(-35px, -10px) scale(0.9); opacity: 0.7; }
    }

    @keyframes particleFloat4 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
        30% { transform: translate(-30px, -35px) scale(1.2); opacity: 1; }
        60% { transform: translate(20px, -20px) scale(0.8); opacity: 0.5; }
        90% { transform: translate(-15px, 25px) scale(1.1); opacity: 0.8; }
    }

    @keyframes particleFloat5 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
        25% { transform: translate(35px, -15px) scale(1.3); opacity: 0.9; }
        50% { transform: translate(-25px, -45px) scale(0.7); opacity: 0.4; }
        75% { transform: translate(15px, 30px) scale(1.0); opacity: 0.8; }
    }

    @keyframes particleFloat6 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
        40% { transform: translate(-20px, -30px) scale(1.1); opacity: 0.8; }
        80% { transform: translate(30px, -10px) scale(0.9); opacity: 0.6; }
    }

    /* Responsive Tasarım */
    @media (max-width: 768px) {
        .splash-content { padding: 0 2rem; }
        .logo-circle { width: 140px; height: 140px; }
        .logo-inner { width: 90px; height: 90px; }
        .logo-icon { width: 3.5rem; height: 3.5rem; }
        .title-main { font-size: 3.2rem; letter-spacing: 1px; }
        .title-subtitle { font-size: 1.1rem; }
        .loading-spinner { width: 45px; height: 45px; }
        .loading-text { font-size: 1rem; }
    }

    @media (max-width: 480px) {
        .splash-content { padding: 0 1rem; }
        .logo-circle { width: 120px; height: 120px; }
        .logo-inner { width: 80px; height: 80px; }
        .logo-icon { width: 3rem; height: 3rem; }
        .title-main { font-size: 2.8rem; letter-spacing: 1px; }
        .title-subtitle { font-size: 1rem; }
        .splash-logo { margin-bottom: 1.5rem; }
        .splash-title { margin-bottom: 1.5rem; }
        .loading-spinner { width: 40px; height: 40px; }
        .loading-text { font-size: 0.9rem; }
    }