:root {
    /* Mobil uygulama ile uyumlu renk paleti */
    --primary-color: #F45E00;
    --primary-light: #FFF5F0;
    --primary-dark: #E87025;
    --secondary-color: #004E89;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #D1D5DB;
    --surface-color: #FFFFFF;
    --background-color: #F8FAFC;
    --beige-bg: #F8FAFC;
    --dark-bg: #111827;
    --dark-surface: #1E293B;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --mobile-nav-height: 70px;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baloo 2', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    background-color: var(--beige-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: none;
}

.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    min-width: 45px;
}

.language-toggle:hover {
    background-color: #fee7dd;
}

.hamburger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    z-index: 101;
    background: transparent;
    border: none;
}

.hamburger:hover {
    background: transparent;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2em;
    width: auto;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition:
        stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}



.navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    height: var(--mobile-nav-height);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 30px;
    border: 2px double var(--primary-color);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.logo-img:hover {
    transform: scale(1.05) rotateZ(2deg);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.2),
        0 4px 6px -2px rgba(0, 0, 0, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    border-color: black;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    list-style: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease-in-out;
    z-index: 99;
    overflow-y: auto;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    left: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.9rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a svg {
    width: 20px;
    height: 20px;
}

/* Mobile About submenu */
@media (max-width: 767px) {
    .has-sub-mobile>a {
        background: rgba(255, 255, 255, 0.35);
        border-left: 4px solid transparent;
        border-radius: 16px;
        padding: 1rem 1rem;
        font-weight: 600;
    }

    .mobile-submenu {
        display: none;
        margin-left: 1rem;
        padding: 0.5rem 0 0.5rem 1rem;
        border-left: 3px solid rgba(255, 107, 53, 0.4);
        background: rgba(255, 255, 255, 0.45);
        border-radius: 0 0 14px 14px;
    }

    .mobile-submenu.open {
        display: block;
    }

    .mobile-submenu a {
        display: block;
        padding: 0.6rem 0.4rem;
        font-size: 0.95rem;
        border: 1px solid transparent;
        border-radius: 12px;
        background: transparent;
        text-decoration: none;
    }

    .mobile-submenu a:hover {
        background: transparent !important;
        border-left-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .mobile-submenu a::before,
    .mobile-submenu a::after {
        content: none !important;
    }

    .mobile-submenu a:active {
        border-color: var(--primary-color);
    }

    /* Dark mode overrides for About submenu (mobile) */
    body.dark-mode .has-sub-mobile>a {
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.92);
    }

    body.dark-mode .has-sub-mobile>a:hover {
        background: rgba(255, 107, 53, 0.14);
        color: #fff;
    }

    body.dark-mode .mobile-submenu {
        background: rgba(26, 32, 44, 0.85);
        border-left-color: rgba(255, 107, 53, 0.4);
    }

    body.dark-mode .mobile-submenu a {
        color: rgba(255, 255, 255, 0.9);
    }

    body.dark-mode .mobile-submenu a:hover {
        background: transparent !important;
        color: var(--primary-color);
        border-left-color: rgba(255, 107, 53, 0.7) !important;
    }
}

@media (min-width: 768px) {
    .has-sub-mobile {
        display: inline-block;
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .mobile-submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 12px 12px;
        min-width: 280px;
        padding: 0.75rem;
        border: 1px solid var(--border-color);
        border-top: none;
        z-index: 1000;
        margin-left: 0;
    }

    .has-sub-mobile:hover .mobile-submenu,
    .mobile-submenu.open {
        display: block;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-submenu a {
        color: var(--text-primary);
        padding: 0.75rem 1rem;
        display: block;
        border-radius: 8px;
        font-size: 0.95rem;
        border: none;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s;
        margin-bottom: 2px;
    }

    .mobile-submenu a:hover {
        background-color: var(--primary-light);
        color: var(--primary-color);
        padding-left: 1.25rem;
    }

    /* Dark mode overrides for About submenu (desktop) */
    body.dark-mode .mobile-submenu {
        background: #2d3748;
        border-color: var(--border-color);
    }

    body.dark-mode .mobile-submenu a {
        color: rgba(255, 255, 255, 0.92);
    }

    body.dark-mode .mobile-submenu a:hover {
        background-color: rgba(255, 107, 53, 0.14);
        color: #fff;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submenu styles */
.nav-links .has-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-weight: 600;
}

.nav-links .nav-submenu {
    display: none;
    padding: 0.5rem 0 0.25rem 0.5rem;
}

.nav-links .has-submenu.open .nav-submenu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
}

/* Desktop dropdown item (anchor) underline removal */
.dropdown-item {
    text-decoration: none;
}

.dropdown-item:hover {
    text-decoration: none;
}

.nav-links .nav-submenu a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-links .nav-submenu .app-badge {
    height: 40px;
    max-width: 120px;
    width: auto;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(1200px 800px at 20% 20%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px) saturate(110%);
    cursor: pointer;
}

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



.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.3rem;
}

.hero {
    text-align: center;
    padding: 3.5rem 0 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.05), transparent 60%),
        radial-gradient(circle at bottom left, rgba(0, 78, 137, 0.03), transparent 60%);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    line-height: 1.1;
    animation: fadeInDown 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 auto 1.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.search-top-pill {
    display: none !important;
    width: calc(100% + 2.6rem);
    height: 16px;
    margin: -0.3rem -1.3rem 1rem -1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.25);
}

body.dark-mode .search-top-pill {
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.15);
}

/* About Section Close Button */
.about-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-color);
    z-index: 10;
}

.about-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.about-close-btn:active {
    transform: scale(0.9) rotate(90deg);
}

.about-close-btn::before,
.about-close-btn::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.about-close-btn::before {
    transform: rotate(45deg);
}

.about-close-btn::after {
    transform: rotate(-45deg);
}

.about-close-btn:hover::before,
.about-close-btn:hover::after {
    background-color: var(--primary-color);
}

.about-container {
    position: relative;
    padding: 30px 20px;
}

.about-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.search-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    margin-left: 0;
    margin-right: 0;
}

.search-section:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.language-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.lang-tabs {
    display: flex;
    background: #EDF2F7;
    border-radius: 50px;
    padding: 4px;
    width: 100%;
    max-width: 500px;
}

.lang-tab {
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lang-tab svg {
    width: 16px;
    height: 16px;
}

.lang-tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.85rem 3.5rem 0.85rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    background: white;
    transition: all 0.2s;
    outline: none;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-input::placeholder {
    color: #A0AEC0;
    font-weight: 400;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.search-button:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
}

.search-button svg {
    width: 20px;
    height: 20px;
}

/* Harf Butonları */
.letter-buttons {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.letter-btn {
    background-color: var(--primary-light);
    border: none;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-transform: lowercase;
    /* Tüm metni küçük harfe çevir */
}

.letter-btn::first-letter {
    text-transform: uppercase;
    /* İlk harfi büyük yap */
}

.letter-btn:hover {
    background-color: #fee7dd;
}

.letter-btn:active {
    transform: scale(0.95);
}

body.dark-mode .letter-buttons {
    background-color: var(--dark-surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .letter-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .letter-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.results-section {
    margin-bottom: 3rem;
    min-height: calc(100vh - 400px);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.word-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.word-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.word-card:hover::before {
    opacity: 1;
}

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

.word-title-container {
    display: flex;
    align-items: center;
    flex: 1;
    padding-right: 1rem;
}

.word-initial {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    margin-right: 1rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.word-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pronunciation {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--border-color);
}

.definitions {
    margin-bottom: 1rem;
}

.definition-item {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.definition-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.definition-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

/* Kısaltmalar için özel stil - italik ve kalın olmayacak */
.abbreviation {
    font-style: normal !important;
    font-weight: normal !important;
}

.definition-translation {
    color: var(--text-secondary);
    margin-left: 0.5rem;
    font-size: 0.9375rem;
}

.examples {
    background: var(--primary-light);
    border-left: 3px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
    font-size: 0.9375rem;
}

.example-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-label svg {
    width: 14px;
    height: 14px;
}

.example-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.bewne-link {
    color: var(--secondary-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.2s;
}

.bewne-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 80px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    height: 35px;
}

.copy-btn {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}

.copy-btn:hover {
    background: rgba(234, 129, 91, 0.1);
    transform: translateY(-1px);
}

.share-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.share-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(255, 107, 53, 0.25);
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.spinner {
    display: inline-block;
    width: 90px;
    height: 90px;
    border: 9px solid #f3f4f6;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-results-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-icon svg {
    width: 64px;
    height: 64px;
}

.no-results h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.375rem;
    transition: all 0.3s;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.favorite-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #e80d0d;
}

.favorite-btn.active {
    color: #e10d0d;
    animation: heartBeat 0.5s;
}

/* Toast Notification Stilleri */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--text-primary);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    position: fixed;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Karanlık Mod Toast Stilleri */
body.dark-mode .toast {
    background-color: #2d3748;
    color: #f7fafc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow: hidden;
    padding: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Prevent background scrolling when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.modal-content {
    background-color: var(--surface-color);
    margin: 0;
    padding: 2rem;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Close button entrance animation */
@keyframes closeButtonAppear {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.modal-content .close-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    font-size: 2rem;
    font-weight: normal;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: closeButtonAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    color: var(--text-primary);
}

.close-btn {
    position: sticky;
    top: 0;
    right: 0;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    margin-left: auto;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 10;
    border: none;
    outline: none;
    transform: scale(1);
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.close-btn:active {
    transform: scale(0.95);
}

/* Enhanced close button for about section modals */
.modal-content .close-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    font-size: 2rem;
    font-weight: normal;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content .close-btn:hover {
    background: transparent;
    transform: scale(1.1);
    box-shadow: none;
}

.modal-content .close-btn:active {
    transform: scale(0.95);
}

/* Dark mode close button */
body.dark-mode .close-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .close-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #c0392b);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.dedication-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.dedication-text p {
    margin: 1rem 0;
    font-size: 1.05rem;
    line-height: 1.9;
}

.dedication-text .signature {
    margin-top: 2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Dark mode modal styles */
body.dark-mode .modal-content {
    background: #2d3748;
    color: #f7fafc;
}

body.dark-mode .modal {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .close-btn {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .dedication-text {
    color: #f7fafc;
}

body.dark-mode .biography-text {
    color: #f7fafc;
}

body.dark-mode .biography-text h2 {
    color: var(--primary-color);
}

body.dark-mode .biography-text h2::after {
    background: var(--primary-color);
}

body.dark-mode .biography-text h3 {
    color: var(--primary-color);
}

body.dark-mode .biography-text h3::after {
    background: var(--primary-color);
}

body.dark-mode .biography-text h4 {
    color: var(--primary-light);
}

body.dark-mode .biography-text strong {
    color: #f7fafc;
}

body.dark-mode .signature {
    color: var(--primary-color);
}

/* Responsive improvements for full-screen modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem 1rem;
    }

    .biography-text {
        padding: 1.5rem 1rem;
    }

    .biography-text h2 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .biography-text h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .close-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1rem 0.75rem;
    }

    .biography-text {
        padding: 1rem 0.75rem;
    }

    .biography-text h2 {
        font-size: 1.5rem;
    }

    .biography-text h3 {
        font-size: 1.2rem;
    }

    .biography-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .close-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.5rem;
    }
}

/* About Section Styles */
.about-container {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    text-align: left;
    padding: 0 0.5rem;
}

.about-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0.5rem;
}

.about-option-btn {
    padding: 1.5rem 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--surface-color) 0%, #f8f9fa 100%);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.about-option-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.25);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff5f0 100%);
    color: var(--primary-dark);
}

.about-option-btn:hover::before {
    left: 100%;
}

.about-option-btn:active {
    transform: translateY(-2px);
}

/* --- New: About content card --- */
.about-content-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 2rem 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.about-content-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.18);
}

.about-content-card h4 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
}

.about-content-card .meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
}

@media (max-width: 768px) {
    .about-content-card {
        border-radius: 12px;
        padding: 1rem 1.1rem;
        margin: 0.75rem 0 1.25rem 0;
    }
}

/* Dark mode overrides for about content card */
body.dark-mode .about-content-card {
    background: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

body.dark-mode .about-content-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.20);
}

/* Biography Text Mobile Styles */
.biography-text {
    text-align: justify;
    line-height: 1.8;
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.biography-text h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.biography-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 4px;
}

.biography-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.biography-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.biography-text h4 {
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.biography-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
    text-indent: 1.5rem;
}

.biography-text ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.biography-text li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.biography-text .signature {
    text-align: right;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    text-indent: 0;
    font-size: 1.1rem;
}

.biography-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

body.dark-mode .biography-text h4 {
    color: var(--primary-light);
}

body.dark-mode .biography-text strong {
    color: #f7fafc;
}

/* Section Indicator */
.section-indicator {
    margin-bottom: 1rem;
    text-align: center;
}

.section-breadcrumb {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.show {
    visibility: visible;
    animation: fadein 0.3s, fadeout 0.3s 2s;
}

.toast svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.app-badge {
    height: 40px;
    transition: transform 0.2s;
}

.app-badge:hover {
    transform: translateY(-2px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
}

.footer .byline {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Dancing Script', 'Pacifico', 'Lucida Handwriting', 'Brush Script MT', cursive;
    letter-spacing: 0.3px;
    margin-top: 0.35rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#scrollToTopBtn {
    display: none;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 3px rgba(193, 190, 190, 0.868);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#scrollToTopBtn .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
    fill: white;
}

#scrollToTopBtn:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: white;
    align-items: center;
}

#scrollToTopBtn:hover .svgIcon {
    transform: translateY(-200%);
    transition-duration: 0.3s;
}

#scrollToTopBtn #scrollToTopText {
    position: absolute;
    opacity: 0;
    color: var(--primary-color);
    font-size: 0;
    transition: all 0.3s;
}

#scrollToTopBtn:hover #scrollToTopText {
    font-size: 13px;
    opacity: 1;
    transition-duration: 0.3s;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}



/* Mobile hamburger menu styles */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -82%;
        width: 82%;
        height: 100vh;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 250, 0.96) 100%);
        padding: 2.25rem 1.25rem 2rem 1.25rem;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.22);
        border-right: 2px solid rgba(255, 107, 53, 0.35);
        border-top-right-radius: 18px;
        border-bottom-right-radius: 18px;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.4s ease;
        z-index: 99;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        list-style: none;
        backdrop-filter: blur(18px) saturate(120%);
        transform: translateX(-4px) scale(0.995);
        opacity: 0.92;
    }

    .nav-links.active {
        left: 0;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.28);
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    .nav-links a {
        padding: 0.9rem 1.1rem 0.9rem 1.75rem;
        margin: 0.4rem 0;
        border-radius: 14px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 600;
        font-size: 1.05rem;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 14px;
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a i {
        width: 24px;
        text-align: center;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }

    .nav-links a:hover i,
    .nav-links a:active i {
        color: white;
    }

    /* Submenu styles for mobile */
    .has-sub-mobile>a {
        background: rgba(255, 107, 53, 0.08);
        border-color: rgba(255, 107, 53, 0.2);
    }

    .mobile-submenu {
        display: none;
        margin-left: 1.5rem;
        margin-top: 0.5rem;
        padding-left: 1rem;
        border-left: 2px solid var(--primary-light);
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-submenu.open {
        display: flex;
        animation: slideInLeft 0.3s ease-out;
    }

    .mobile-submenu a {
        background: transparent;
        border: none;
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
        color: var(--text-secondary);
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .hamburger {
        display: flex;
    }

    /* Dark mode drawer visuals */
    body.dark-mode .nav-links {
        background: linear-gradient(180deg, rgba(26, 32, 44, 0.88) 0%, rgba(26, 32, 44, 0.95) 100%);
        border-right: 2px solid rgba(255, 107, 53, 0.45);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .nav-links a {
        background: rgba(255, 107, 53, 0.08);
        color: rgba(255, 255, 255, 0.9);
    }

    body.dark-mode .nav-links a:hover {
        background: rgba(255, 107, 53, 0.18);
        box-shadow: 0 6px 14px rgba(255, 107, 53, 0.25);
        color: #fff;
    }
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 1.5rem;
        background: transparent;
        padding: 0;
        width: auto;
        height: auto;
        box-shadow: none;
        z-index: auto;
        overflow: visible;
    }

    .hamburger {
        display: none;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .search-section {
        padding: 2rem;
        margin: 2rem 0;
    }

    .word-card {
        padding: 2rem;
    }

    .word-initial {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .word-title {
        font-size: 1.5rem;
    }

    .toast {
        left: auto;
        right: 30px;
        transform: none;
        bottom: 30px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-links {
        margin-bottom: 0;
    }

    .app-badges {
        margin-top: 0;
    }

    /* About Section - Tablet */
    .about-container {
        padding: 2rem;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1rem;
    }

    .about-option-btn {
        padding: 1.4rem 1.2rem;
        font-size: 1rem;
        min-height: 70px;
        border-radius: 14px;
    }

    /* Modal improvements for tablet */
    .modal {
        padding: 2rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 2rem;
        width: 90%;
        height: auto;
        max-height: 90vh;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        animation: modalFadeIn 0.3s ease-out;
    }

    .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
        background: rgba(0, 0, 0, 0.1);
        color: var(--text-secondary);
    }

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

    .dedication-text {
        flex: none;
        overflow-y: visible;
    }

    .biography-text {
        flex: none;
        max-height: 70vh;
        overflow-y: auto;
        font-size: 0.95rem;
    }

    /* Hide section indicator on desktop */
    .section-indicator {
        display: none;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    /* About Section - Desktop */
    .about-options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .about-option-btn {
        padding: 1.6rem 1.4rem;
        font-size: 1.05rem;
        min-height: 80px;
        border-radius: 16px;
    }

    .biography-text {
        font-size: 1rem;
    }

    /* Desktop: move logo slightly right */
    .nav-container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding-left: 1rem;
    }
}

.card-icons-container {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
}

.card-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.2s ease-in-out;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.0rem;
}

.card-action-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.card-action-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--primary-dark);
}

.card-action-icon.favorite-btn:hover {
    color: #ef4444;
}

.favorite-btn {
    padding: 0;
}

.section-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-content {
    background: var(--background-color);
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Ayarlar Menüsü Stilleri */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-modal.active {
    display: flex;
    opacity: 1;
}

.settings-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.settings-modal.active .settings-content {
    transform: scale(1);
}

/* Enhanced Content Cards */
.content-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color) !important;
    background: var(--surface-color) !important;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color) !important;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.content-card:hover::before {
    opacity: 1;
}

.card-container h4 {
    position: relative;
    padding-left: 1.5rem;
}

.card-container h4 svg {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.content-card:hover+h4 svg {
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments for cards */
@media (max-width: 768px) {
    .content-card {
        padding: 1.25rem !important;
    }

    .card-container h4 {
        font-size: 1.1rem !important;
        margin-left: 0.5rem;
    }

    .content-card p {
        font-size: 0.95rem !important;
    }
}

.settings-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.settings-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.settings-option:last-of-type {
    border-bottom: none;
}

.settings-option span:first-child {
    font-weight: 500;
}

/* Büyütülmüş toggle anahtarı */
.toggle-switch input {
    --toggle-size: 14px;
    /* Boyutları büyütmek için */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 3.75em;
    /* 60px */
    height: 1.875em;
    /* 30px */
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 0;
    transition: 0.4s;
    border-radius: 99em;
    position: relative;
    cursor: pointer;
    font-size: var(--toggle-size);
}

.toggle-switch input::before {
    content: "";
    width: 1.375em;
    /* 22px */
    height: 1.375em;
    /* 22px */
    position: absolute;
    top: 0.281em;
    /* 5px */
    left: 0.281em;
    /* 5px */
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 100%;
    border-radius: 50%;
    transition: 0.4s;
}

.toggle-switch input:checked::before {
    left: calc(100% - 1.375em - 0.281em);
    /* 22px + 5px */
    background-position: 0;
}

.toggle-switch input:checked {
    background-position: 100%;
}

input:checked+.toggle-slider {
    background-color: var(--primary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

/* Karanlık Mod Stilleri */
body.dark-mode {
    --background-color: #111827;
    --surface-color: #1E293B;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --border-color: #374151;
    --primary-light: #1E293B;
}

body.dark-mode .navbar,
body.dark-mode .nav-links {
    background: rgba(17, 24, 39, 0.95);
}

body.dark-mode .nav-header {
    border-bottom-color: var(--primary-color);
}

body.dark-mode .nav-brand-title {
    color: var(--primary-color);
}

body.dark-mode .nav-links a {
    color: #f7fafc;
    border-bottom-color: #4a5568;
}

body.dark-mode .hamburger {
    border-color: var(--primary-color);
}

body.dark-mode .hamburger:hover {
    background: rgba(255, 107, 53, 0.1);
}

body.dark-mode .line {
    stroke: var(--primary-color);
}

body.dark-mode .search-section {
    background: rgba(45, 55, 72, 0.9);
    border-color: #4a5568;
}

body.dark-mode .word-card,
body.dark-mode .footer {
    background: #1E293B;
    border-color: var(--border-color);
}

body.dark-mode .settings-content {
    background: #1E293B;
    color: #F9FAFB;
}

body.dark-mode .lang-tabs {
    background: #1a202c;
}

body.dark-mode .search-input {
    background: var(--surface-color);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .letter-buttons {
    background-color: var(--surface-color);
    border-color: var(--border-color);
}

body.dark-mode .bewne-link {
    color: #63b3ed;
}

body.dark-mode .section-content {
    background-color: #1a202c;
}

/* Dark mode styles for modal content and cards */
body.dark-mode .modal-content {
    background-color: #1E293B;
    color: #F9FAFB;
}

body.dark-mode .content-card {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
    color: #f7fafc;
}

body.dark-mode .about-container {
    background: #2d3748;
    border-color: #4a5568;
}

body.dark-mode .about-option-btn {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #4a5568;
    color: #f7fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.dark-mode .about-option-btn:hover {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

body.dark-mode .about-title {
    color: var(--primary-color);
}

body.dark-mode .close-btn {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .dedication-text {
    color: #f7fafc;
}

body.dark-mode .biography-text {
    color: #f7fafc;
}

body.dark-mode .biography-text h3 {
    color: var(--primary-color);
}

body.dark-mode .biography-text p {
    color: #f7fafc;
}

body.dark-mode .signature {
    color: var(--primary-color);
}

/* From Uiverse.io by wilsondesouza */
ul {
    list-style: none;
}

.example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 25px;
    height: 25px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"]~.tooltip {
    background-color: #128c7e;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"]~.tooltip {
    background-color: #3b5998;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip {
    background: linear-gradient(45deg,
            #405de6,
            #5b51db,
            #b33ab4,
            #c135b4,
            #e1306c,
            #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip {
    background-color: #ff0000;
}

/* Sosyal medya ikonları boyutunu sabitle (hem açık hem karanlık modda) */
.example-2 .icon-content a {
    width: 50px;
    height: 50px;
    padding: 0;
    box-sizing: border-box;
}

body.dark-mode .example-2 .icon-content a {
    width: 50px;
    height: 50px;
    padding: 0;
    box-sizing: border-box;
    background-color: #2d3748;
    color: white;
}

/* About section: author avatar */
.about-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.about-author-name {
    font-weight: 600;
    color: var(--text-primary);
}

body.dark-mode .about-avatar {
    background: var(--surface-color);
    border-color: var(--primary-dark);
}

/* Responsive improvements for about section */
@media (max-width: 768px) {
    .about-options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.25rem;
    }

    .about-option-btn {
        padding: 1.25rem 1rem;
        font-size: 1rem;
        min-height: 70px;
    }

    .about-container {
        padding: 1rem;
    }

    .about-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-option-btn {
        padding: 1.1rem 0.9rem;
        font-size: 0.95rem;
        min-height: 65px;
    }

    .about-title {
        font-size: 1.2rem;
    }
}

/* Responsive improvements for contact section */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }

    .contact-email {
        font-size: 1rem;
    }

    .contact-divider {
        height: 1px;
        width: 50px;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.25rem;
    }

    .contact-email {
        font-size: 0.95rem;
    }
}

/* Contact section specific styles */
.contact-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
    margin-bottom: 2rem;
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.2s ease;
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

body.dark-mode .contact-card {
    background: #2d3748;
    border-color: var(--primary-color);
}

/* Custom Scrollbar Styling - Only for about section */
.about-container::-webkit-scrollbar,
.about-options-grid::-webkit-scrollbar,
.about-option-btn::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.about-container::-webkit-scrollbar-track,
.about-options-grid::-webkit-scrollbar-track,
.about-option-btn::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.about-container::-webkit-scrollbar-thumb,
.about-options-grid::-webkit-scrollbar-thumb,
.about-option-btn::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.about-container::-webkit-scrollbar-thumb:hover,
.about-options-grid::-webkit-scrollbar-thumb:hover,
.about-option-btn::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Modal content scrollbar - colorful */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

/* Biography text scrollbar - colorful */
.biography-text::-webkit-scrollbar {
    width: 8px;
}

.biography-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.biography-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.biography-text::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Dark mode scrollbar styles for about section */
body.dark-mode .about-container::-webkit-scrollbar-track,
body.dark-mode .about-options-grid::-webkit-scrollbar-track,
body.dark-mode .about-option-btn::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .about-container::-webkit-scrollbar-thumb,
body.dark-mode .about-options-grid::-webkit-scrollbar-thumb,
body.dark-mode .about-option-btn::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

body.dark-mode .about-container::-webkit-scrollbar-thumb:hover,
body.dark-mode .about-options-grid::-webkit-scrollbar-thumb:hover,
body.dark-mode .about-option-btn::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

body.dark-mode .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .biography-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .modal-content::-webkit-scrollbar-thumb,
body.dark-mode .biography-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

body.dark-mode .modal-content::-webkit-scrollbar-thumb:hover,
body.dark-mode .biography-text::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.05);
}

/* Firefox scrollbar styling for about section */
.about-container,
.about-options-grid,
.about-option-btn {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.05);
}

.modal-content,
.biography-text {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.05);
}

/* Firefox dark mode */
body.dark-mode .about-container,
body.dark-mode .about-options-grid,
body.dark-mode .about-option-btn {
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05);
}

body.dark-mode .modal-content,
body.dark-mode .biography-text {
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05);
}

/* Modal content scrollbar */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

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

/* Biography text scrollbar */
.biography-text::-webkit-scrollbar {
    width: 6px;
}

.biography-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 3px;
}

.biography-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.biography-text::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Custom Scrollbar Styles */
/* Width and height of the scrollbar - thinner */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track - subtle and minimal */
::-webkit-scrollbar-track {
    background: transparent;
    margin: 2px 0;
}

/* Handle - pill shaped with rounded ends */
::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 4px;
    background-clip: padding-box;
    border: 1px solid transparent;
    min-height: 40px;
    transition: all 0.3s ease;
}

/* Handle on hover - slightly wider and darker */
::-webkit-scrollbar-thumb:hover {
    background: #808080;
    width: 10px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #a0a0a0 transparent;
}

/* Dark mode scrollbar */
body.dark-mode ::-webkit-scrollbar-track {
    background: transparent;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #606060;
    border: 1px solid #404040;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #707070;
    width: 10px;
}

/* Firefox dark mode */
body.dark-mode * {
    scrollbar-color: #606060 transparent;
}

/* Modal and specific elements scrollbar */
.modal-content::-webkit-scrollbar-track,
.biography-text::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb,
.biography-text::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    min-height: 60px;
}

body.dark-mode .modal-content::-webkit-scrollbar-track,
body.dark-mode .biography-text::-webkit-scrollbar-track {
    background: transparent;
}

body.dark-mode .modal-content::-webkit-scrollbar-thumb,
body.dark-mode .biography-text::-webkit-scrollbar-thumb {
    background: #707070;
    border: 1px solid #505050;
}

/* Utility: center short modal content */
.center-modal-content {
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ... existing code ... */
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
}

.nav-links a svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

/* Apps submenu visuals */
.nav-links .has-submenu>a::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.nav-links .has-submenu.open>a::after {
    transform: rotate(-135deg);
}

.nav-links .nav-submenu {
    display: none;
    padding: 0.5rem 0 0.25rem 0.5rem;
}

.nav-links .has-submenu.open .nav-submenu {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
}

/* Desktop hover dropdown */
@media (min-width: 768px) {
    .nav-links {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex !important;
        flex-direction: row;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        width: max-content;
    }

    .nav-links .has-submenu {
        position: relative;
    }

    .nav-links .nav-submenu {
        display: block;
        position: absolute;
        top: 140%;
        left: 0;
        background: transparent;
        border: none;
        border-radius: 10px;
        padding: 0.75rem;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        min-width: 230px;
        z-index: 200;
    }

    .nav-links .has-submenu:hover .nav-submenu,
    .nav-links .has-submenu.open .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links .nav-submenu .app-badge {
        height: 38px;
    }
}

/* ... existing code ... */

@media (min-width: 768px) {

    /* Dark mode: refine apps submenu visuals */
    body.dark-mode .nav-links .nav-submenu {
        background: #2d3748;
        border-color: var(--border-color);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .nav-links .has-submenu>a {
        color: var(--text-secondary);
    }
}

/* Sayfalama Stilleri */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.active) {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    cursor: default;
}

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

.pagination-ellipsis {
    color: var(--text-secondary);
    padding: 0 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
}

/* Dark Mode için Pagination */
body.dark-mode .pagination-btn {
    background: #2d3748;
    border-color: #4a5568;
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .pagination-btn:hover:not(.active) {
    background: rgba(255, 107, 53, 0.14);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.dark-mode .pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

body.dark-mode .pagination-ellipsis {
    color: #a0aec0;
}

/* Responsive: Mobile için */
@media (max-width: 640px) {
    .pagination-container {
        gap: 0.375rem;
        padding: 0.75rem 0.5rem;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.625rem;
        font-size: 0.875rem;
    }
}

/* === WORD OF THE DAY SECTION === */
.word-of-day-section {
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.word-of-day-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 255, 255, 0.95) 50%);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.word-of-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.word-of-day-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px dashed var(--border-color);
}

.word-of-day-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.word-of-day-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.word-of-day-content {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.word-of-day-loading {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
}

.word-of-day-loading i {
    font-size: 2rem;
    color: var(--primary-color);
}

.wotd-word {
    margin-bottom: 1rem;
}

.wotd-zazaca {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.wotd-turkce {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.9;
}

.wotd-tanim {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.wotd-ornek {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Dark mode support for word of the day */
body.dark-mode .word-of-day-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(45, 55, 72, 0.95) 50%);
    border-color: var(--border-color);
}

body.dark-mode .wotd-zazaca {
    color: var(--primary-color);
}

body.dark-mode .wotd-turkce {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .wotd-tanim {
    background: rgba(255, 107, 53, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .wotd-ornek {
    background: rgba(255, 107, 53, 0.1);
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .wotd-zazaca {
        font-size: 2rem;
    }

    .wotd-turkce {
        font-size: 1.5rem;
    }
}

/* === WORD OF THE DAY WELCOME STYLES === */
.wotd-welcome-container {
    text-align: left;
    padding: 2rem 1rem;
    animation: wotdFadeIn 0.5s ease-out;
}

@keyframes wotdFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wotd-welcome-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.wotd-star-icon {
    font-size: 1.75rem;
    animation: wotdStarPulse 2s ease-in-out infinite;
}

@keyframes wotdStarPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.wotd-welcome-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.wotd-welcome-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 0 1.5rem;
    text-align: left;
}

.wotd-welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.wotd-main-word {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wotd-zazaca-big {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

/* ... */

/* Dark mode override removed for wotd-zazaca-big */

.wotd-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.wotd-turkce-big {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.wotd-definition,
.wotd-example {
    text-align: left;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.wotd-definition {
    background: rgba(255, 107, 53, 0.05);
    border-left: 3px solid var(--primary-color);
}

.wotd-example {
    background: var(--primary-light);
}

.wotd-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.wotd-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.wotd-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Dark mode for welcome */
body.dark-mode .wotd-welcome-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(45, 55, 72, 0.95) 100%);
    border-color: var(--border-color);
}

/* Dark mode override removed */

body.dark-mode .wotd-turkce-big {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .wotd-definition {
    background: rgba(255, 107, 53, 0.08);
}

body.dark-mode .wotd-example {
    background: rgba(255, 107, 53, 0.1);
}

body.dark-mode .wotd-text {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .wotd-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive welcome */
@media (min-width: 768px) {
    .wotd-zazaca-big {
        font-size: 1.75rem;
    }

    .wotd-turkce-big {
        font-size: 1.5rem;
    }
}

/* New field-based layout */
.wotd-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.wotd-field:last-child {
    border-bottom: none;
}

.wotd-value {
    display: block;
}

.wotd-zazaca-big {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.wotd-turkce-big {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.wotd-definition,
.wotd-example {
    background: transparent;
    border-left: none;
    padding: 0.75rem 0;
}

body.dark-mode .wotd-value {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .wotd-field {
    border-color: rgba(255, 255, 255, 0.1);
}

/* === GENERIC WORD CARD FIELD STYLES (MATCHING WOTD) === */
.word-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
    text-align: left;
}

.word-field:last-child {
    border-bottom: none;
}

.word-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.word-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.word-value.source {
    font-size: 1.25rem;
    font-weight: 600;
}

.word-value.target {
    font-size: 1.15rem;
}

/* Dark mode support */
body.dark-mode .word-field {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .word-label {
    color: var(--primary-light);
}

body.dark-mode .word-value {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================================
   TAM KAPSAMLI KOYU MOD (DARK MODE)
   ================================== */

body.dark-mode {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .navbar {
    background: rgba(35, 39, 47, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-links {
    background: linear-gradient(180deg, rgba(26, 32, 44, 1) 0%, rgba(17, 24, 39, 1) 100%) !important;
    border-right-color: rgba(255, 107, 53, 0.4);
}

body.dark-mode .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .nav-links a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

body.dark-mode .hero h1,
body.dark-mode .hero p {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .search-section {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .lang-tabs {
    background: rgba(26, 32, 44, 0.8);
}

body.dark-mode .lang-tab {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .search-input {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .word-card {
    background: var(--dark-surface);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .results-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .results-count {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .footer {
    background: rgba(31, 41, 55, 1) !important;
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .footer-links a:hover {
    color: var(--primary-color);
}

body.dark-mode .about-container {
    background-color: var(--dark-surface) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .about-title {
    color: var(--primary-color);
}

body.dark-mode .about-option-btn {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .about-option-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .settings-content {
    background: var(--dark-surface);
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .settings-option {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .mobile-submenu {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .wotd-welcome-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .wotd-welcome-header h2 {
    color: white;
}

body.dark-mode .menu-overlay.active {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .pagination-btn {
    background: var(--dark-surface);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .pagination-btn:hover,
body.dark-mode .pagination-btn.active {
    background: var(--primary-color);
    color: white;
}

body.dark-mode #scrollToTopBtn {
    background-color: var(--dark-surface);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Word of the Day (WOTD) Stunning Design */
.wotd-welcome-container {
    margin-top: 1rem;
    perspective: 1000px;
}

.wotd-welcome-title {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wotd-welcome-title::before,
.wotd-welcome-title::after {
    content: "";
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    max-width: 50px;
}

.wotd-welcome-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
    border-radius: 28px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wotd-welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.wotd-welcome-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.wotd-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wotd-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.wotd-value {
    font-family: 'Baloo 2', cursive;
    line-height: 1.2;
}

.wotd-zazaca-big {
    font-size: 21px;
    font-weight: 800;
    color: #1a202c;
}

.wotd-turkce-big {
    font-size: 21px;
    font-weight: 700;
    color: #4a5568;
}

.wotd-definition {
    margin-bottom: 15px;
}

.wotd-large-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wotd-large-icon:hover {
    transform: scale(1.15) rotate(5deg) !important;
    background: var(--primary-color) !important;
    color: white !important;
}

/* Mobile Tweaks for WOTD */
@media (max-width: 640px) {
    .wotd-welcome-card {
        padding: 24px;
        margin-left: -5px;
        margin-right: -5px;
    }

    .wotd-zazaca-big {
        font-size: 18px;
    }

    .wotd-turkce-big {
        font-size: 18px;
    }
}

body.dark-mode .wotd-welcome-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .wotd-zazaca-big {
    color: white;
}

body.dark-mode .wotd-turkce-big {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .wotd-text {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .wotd-example {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .wotd-example em {
    color: white;
}

body.dark-mode .wotd-definition {
    border-color: rgba(255, 255, 255, 0.1);
}/* PHP ile Eklenen Dinamik Stiller */
:root {
    --php-generated-at: "2026-05-24 23:48:10";
}
