/* =======================================================
   1. GENEL AYARLAR
   ======================================================= */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-size: 1em;
    font-weight: 400;
    background: #f5f5ff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

ol,
ul {
    list-style-position: inside;
}

/* =======================================================
   2. HEADER VE NAVİGASYON (YENİ TASARIM)
   ======================================================= */
.header {
    background: #3f4257;
    /* Modern Koyu Gri */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo Stilleri */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: #d6255b;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(252, 81, 133, 0.4);
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    color: #ecf0f1;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    color: #bdc3c7;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Masaüstü Menü */
.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-fav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-fav-icon {
    margin-top: -2px;
}

.nav-link {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* --- DÜZELTME: MENÜ BUTON RENGİ (KONTRAST İÇİN KOYULAŞTIRILDI) --- */
.nav-link.active {
    background: #d6255b;
    /* Eski: #fc5185 yerine Koyu Pembe */
    color: #fff;
    box-shadow: 0 4px 10px rgba(214, 37, 91, 0.3);
}

/* Dil Değiştirici (Globe dropdown) */
.lang-dropdown {
    position: relative;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #bdc3c7;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: 0.2s;
}

.lang-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 140px;
    background: #1f2233;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px;
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.lang-dropdown.open .lang-menu {
    display: block;
}

.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #ecf0f1;
    font-weight: 600;
    font-size: 13px;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-item.active-lang {
    background: rgba(214, 37, 91, 0.25);
    border: 1px solid rgba(214, 37, 91, 0.35);
}

/* Hamburger Menü İkonu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 3px;
}

/* Accessibility helper */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* =======================================================
   3. HERO VE INPUT ALANLARI
   ======================================================= */
.hero {
    background: #494c62;
    padding: 2em 1px;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

#ftg_form {
    background: #fff;
    padding: 1px 15px;
    border-radius: 20px;
    margin-block: 5px;
}

.ftg_input {
    height: 50px;
    outline: 0;
    border: 0;
    overflow: hidden;
    border-radius: 20px;
    display: block;
    width: 100%;
    font-size: 16px;
}

/* =======================================================
   4. BUTONLAR (A+, A-)
   ======================================================= */
.ftg_buttons {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-block: 5px;
}

.ftg_btn {
    color: #000;
    padding: 5px;
    border-radius: 5px;
    width: 50px;
    background: #f1f1f1;
    cursor: pointer;
    border: 1px solid #ccc;
    outline: 0;
    font-weight: bold;
}

.ftg_btn:hover {
    filter: brightness(95%);
}

/* =======================================================
   5. LİSTE VE SONUÇLAR
   ======================================================= */
.ftg_results,
.is_center {
    text-align: center;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.list {
    font-weight: 700;
    background: #fff;
    box-shadow: 0 4px 8px rgba(71, 75, 255, .075);
    padding: 8px 5px;
    border-radius: 10px;
    margin: 5px;
    border: 1px solid #d7d7d8;
}

.ftg_item {
    font-size: 20px;
    word-break: break-word;
    margin-bottom: 0;
    display: block;
}

.list small {
    color: #444 !important;
    font-weight: 600;
}

/* =======================================================
   6. AKSİYON BUTONLARI
   ======================================================= */
.buttons {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-copy {
    cursor: pointer;
    border: none;
    outline: 0;
    background: #f3f4f7;
    padding: 8px 15px;
    border-radius: 5px;
    color: #333;
    font-weight: 700;
}

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

.btn-fav {
    cursor: pointer;
    background: 0 0;
    border: none;
    outline: 0;
    padding: 0;
    margin: 0;
    width: 50px;
    color: #d6255b;
    font-size: 1.5em;
}

.btn-fav:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

/* =======================================================
   7. LOAD MORE
   ======================================================= */
.load-more-box {
    max-width: 400px;
    margin: auto;
    margin-top: 20px;
}

/* --- DÜZELTME: BUTON RENGİ (KONTRAST İÇİN) --- */
.load-more,
.sendemail {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 1em 5px;
    width: 100%;
    background: #d6255b;
    /* Eski: #fc5185 yerine Koyu Pembe */
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

.load-more:hover,
.sendemail:hover {
    filter: brightness(110%);
}

/* =======================================================
   8. FOOTER
   ======================================================= */
.info h2,
footer {
    margin-top: 1em;
}

.info {
    padding: 1em;
    line-height: 1.6em;
}

footer {
    padding: 40px 10px;
    display: block;
    background: #3f4257;
    color: #fff;
    text-align: center;
}

.footer_links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 1.5em;
}

.footer_links a {
    color: #fff;
    background: #444;
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #555;
}

.footer_links a:hover {
    background: #d6255b;
    border-color: #d6255b;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9em;
}

/* Footer Logo Overrides */
.footer-logo {
    display: inline-flex;
}

.footer-logo-icon {
    background: #fc5185;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 20px;
}

.footer-logo-title {
    color: #fff;
    font-size: 16px;
}

.footer-logo-subtitle {
    color: #bbb;
    font-size: 10px;
}

/* Modal Action Buttons */
.pro-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pro-action-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.pro-action-download {
    background: #4CAF50;
}

.pro-action-share {
    background: #2196F3;
}

/* =======================================================
   9. DİĞER BİLEŞENLER
   ======================================================= */
.nofav {
    font-size: 20px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 300px;
    width: 100%;
    color: #d6255b;
}

#goToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    height: 50px;
    width: 50px;
    background: #d6255b;
    cursor: pointer;
    border: none;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#goToTopBtn:hover {
    background-color: #333;
}

#ftg-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    /* Koyu Gri Arka Plan */
    color: #fff;
    /* Beyaz Yazı */
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);

    /* Animasyon Başlangıç Değerleri */
    opacity: 0;
    transform: translateX(-50%) scale(0.3);
    /* Küçük başla */
    transition: all 0.3s ease-in-out;
}

#ftg-toast.show {
    visibility: visible;
    animation: pop-up 2.9s forwards;
}

/* Karakter Sayacı Animasyonu */
.count-update {
    animation: flashText 0.3s ease;
    color: #fc5185 !important;
}

@keyframes flashText {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Toast Pop-up Animasyonu */
@keyframes pop-up {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.3);
    }

    10% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }

    15% {
        transform: translateX(-50%) scale(1);
    }

    85% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.1);
    }
}

/* =======================================================
   10. SEMBOL SAYFASI STİLLERİ
   ======================================================= */
.symbol-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.symbol-box {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.symbol-box:hover {
    background: #fc5185;
    color: #fff;
    transform: scale(1.1);
    border-color: #fc5185;
    box-shadow: 0 6px 15px rgba(252, 81, 133, 0.4);
    z-index: 5;
}

.fav-icon {
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: 18px;
    color: #bbb;
    transition: all 0.2s;
    z-index: 10;
    cursor: pointer;
    opacity: 0.7;
}

.fav-icon:hover {
    opacity: 1;
    transform: scale(1.2);
    color: #ff4757;
}

.symbol-box:hover .fav-icon {
    color: #fff;
    opacity: 1;
}

.fav-icon.active {
    color: #ffeb3b !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.symbol-box.copied {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* =======================================================
   11. ADVANCED TEXT EDITOR MODAL
   ======================================================= */

/* Modal Container & Overlay */
#imageModal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
}

#imageModal[style*="display: block"] {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.pro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Modal Container */
.pro-modal-container {
    position: relative;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    margin: 20px auto;
    padding: 0;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    z-index: 2;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

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


/* Close Button - Top Right Corner */
.pro-modal-close-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.pro-modal-close-corner:hover {
    background: rgba(255, 71, 87, 0.9);
    border-color: #ff4757;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.pro-modal-close-corner svg {
    width: 18px;
    height: 18px;
}


/* Modal Body - Two Column Layout */
.pro-modal-body {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

/* Left Column - Sticky Preview */
.pro-modal-left {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Right Column - Scrollable Controls */
.pro-modal-right {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.pro-modal-right::-webkit-scrollbar {
    width: 8px;
}

.pro-modal-right::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.pro-modal-right::-webkit-scrollbar-thumb {
    background: rgba(255, 71, 87, 0.5);
    border-radius: 10px;
}

.pro-modal-right::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 71, 87, 0.7);
}

/* Preview Section */
.pro-modal-preview {
    padding: 0;
    background: transparent;
}

.pro-preview-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}

#imgPreviewArea {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    word-break: break-word;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    outline: none;
    cursor: text;
    caret-color: #fff;
    white-space: pre-wrap;
    transition: all 0.3s ease;
}

#imgPreviewArea:focus {
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.3);
}

#imgPreviewArea[contenteditable]:empty::before {
    content: "Type here...";
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    font-weight: 600;
    pointer-events: none;
}

/* Symbol Section (Now in Scrollable Area) */
.pro-symbol-section {
    padding: 0 0 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
}

.pro-symbol-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(252, 81, 133, 0.5) rgba(255, 255, 255, 0.05);
}

.pro-symbol-bar::-webkit-scrollbar {
    height: 5px;
}

.pro-symbol-bar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.pro-symbol-bar::-webkit-scrollbar-thumb {
    background: rgba(252, 81, 133, 0.5);
    border-radius: 10px;
}

.pro-symbol-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pro-symbol-btn:hover {
    background: linear-gradient(135deg, #fc5185, #f54d6a);
    border-color: #fc5185;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(252, 81, 133, 0.4);
}

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

/* Controls Panel */
.pro-controls-panel {
    padding: 0;
    background: transparent;
}

.pro-control-group {
    margin-bottom: 20px;
}

.pro-control-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.pro-control-label svg {
    opacity: 0.6;
}

/* Upload Button for Background Image */
.pro-upload-wrapper {
    margin-bottom: 10px;
}

.pro-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(252, 81, 133, 0.15);
    border: 1px solid rgba(252, 81, 133, 0.3);
    border-radius: 8px;
    color: #fc5185;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-upload-btn:hover {
    background: rgba(252, 81, 133, 0.25);
    border-color: #fc5185;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 81, 133, 0.3);
}

.pro-upload-btn svg {
    width: 14px;
    height: 14px;
}

/* Scroll Menu - Colors & Effects */
.scroll-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(252, 81, 133, 0.5) rgba(255, 255, 255, 0.05);
}

.scroll-menu::-webkit-scrollbar {
    height: 5px;
}

.scroll-menu::-webkit-scrollbar-thumb {
    background: rgba(252, 81, 133, 0.5);
    border-radius: 10px;
}

.scroll-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.scroll-item {
    flex: 0 0 auto;
}

/* Color Dots */
.color-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.color-dot:active {
    transform: scale(0.9);
}

.color-dot:hover {
    border-color: #fff;
    transform: scale(1.05);
}

.pro-gradient-btn {
    position: relative;
}

.pro-gradient-btn::before {
    content: "✨";
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 7px;
    opacity: 0.7;
}

/* Effect Pills - Scroll Menu Style */
.effect-pill {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.2s;
}

.effect-pill:hover {
    transform: scale(1.05);
}

.effect-pill:active {
    transform: scale(0.95);
}

/* Background Square Buttons */
.square-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

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

.square-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Upload Button */
.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #444;
    color: #fff;
    padding: 0 15px;
    height: 40px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #666;
}

/* Typography Sliders */
.pro-slider-control {
    margin-bottom: 12px;
    max-width: 85%;
    /* Sağda %15 scroll alanı */
    margin-right: auto;
}

.pro-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.pro-slider-value {
    background: rgba(255, 71, 87, 0.2);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #ff4757;
    min-width: 50px;
    text-align: center;
}

.pro-slider {
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    touch-action: none;
    /* Slider sadece kasıtlı dokunuşla değişir */
}

.pro-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ee5a6f);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 71, 87, 0.5);
    transition: all 0.3s ease;
}

.pro-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 12px rgba(255, 71, 87, 0.7);
}

.pro-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ee5a6f);
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 8px rgba(255, 71, 87, 0.5);
}

/* Modal Footer - Action Buttons */
.pro-modal-footer {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pro-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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


/* Background Grid - FIXED 36x36px */
.pro-bg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 36px);
    gap: 3px;
}

.pro-bg-btn {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-bg-btn:hover {
    border-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.pro-bg-btn.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Modal Footer */
.pro-modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 20px 20px;
}

.pro-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-download-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.pro-download-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}

.pro-share-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.pro-share-btn:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .pro-modal-container {
        width: 98%;
        margin: 10px auto;
        border-radius: 15px;
        max-height: 95vh;
    }

    .pro-modal-header {
        padding: 15px;
    }

    .pro-modal-title {
        font-size: 18px;
    }

    /* Single Column on Mobile */
    .pro-modal-body {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .pro-modal-left {
        flex: none;
        width: 100%;
    }

    .pro-modal-right {
        flex: 1;
        max-height: 50vh;
        padding-right: 5px;
    }

    .pro-modal-preview {
        padding: 0;
    }

    .pro-preview-container {
        aspect-ratio: 1;
    }

    #imgPreviewArea {
        padding: 25px;
        font-size: 28px;
    }

    .pro-symbol-section {
        margin-top: 10px;
    }

    .pro-controls-panel {
        padding: 0;
    }

    .pro-color-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pro-effects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pro-bg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pro-modal-footer {
        flex-direction: column;
        padding: 15px;
    }

    .pro-action-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* =======================================================
   12. RESPONSIVE (TÜM MOBİL AYARLAR)
   ======================================================= */
@media only screen and (max-width: 768px) {

    /* Header Mobili */
    .header {
        padding: 10px 15px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #3f4257;
        /* Header rengiyle aynı */
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        color: #fff;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        display: block;
        text-align: left;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Mobil menü aktif link rengi */
    .nav-link.active {
        background: #d6255b;
        color: #fff;
    }

    .lang-dropdown {
        margin: 0;
        padding: 15px;
        border: none;
        background: #3f4257;
        width: 100%;
    }

    .lang-menu {
        right: 15px;
        left: 15px;
        min-width: unset;
    }

    /* Genel Mobil Ayarlar */
    .hero {
        padding: 1.5em 10px;
    }

    .is_h1 {
        font-size: 1.5em;
    }

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

    .ftg_buttons {
        flex-wrap: wrap;
    }

    .footer_links {
        flex-direction: column;
        width: 100%;
    }

    .footer_links a {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

    body,
    html {
        overflow-x: hidden;
    }
}

/* --- DÜZELTME: GÜNLÜK SAYAÇ STİLİ (ARKA PLAN KOYULAŞTIRILDI) --- */
.usage-stats {
    /* Arka planı şeffaf beyazdan şeffaf siyaha çektik ki beyaz yazı okunsun */
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Çerçeve hafif şeffaf beyaz */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.usage-stats strong {
    /* Koyu zemin üzerinde KIRMIZI (#ff4757) yapıldı */
    color: #ff8880 !important;
    font-weight: 800;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- İLETİŞİM FORMU (SÜPER KOMPAKT) --- */

.contact-container {
    max-width: 800px;
    width: 95%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
    color: #333;
}

.form-group {
    margin-bottom: 10px;
}

.form-label {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
    font-weight: 600;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 14px;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #fc5185;
    outline: none;
    background: #fff;
}

textarea.form-input {
    min-height: 80px;
    resize: vertical;
}

/* ReCAPTCHA ortalama ayarı */
.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

/* --- DÜZELTME: GÖNDER BUTONU RENGİ --- */
.load-more {
    padding: 10px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    width: 100%;
    cursor: pointer;
    background-color: #d6255b;
    /* Eski: #fc5185 yerine Koyu Pembe */
    color: white;
    border: none;
    font-weight: bold;
}

/* Bildirim Kutuları */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---  generator results --- */
.ul-reset,
.ftg-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.ftg-list>li {
    list-style: none;
}

/* Favori Sayfası Checkbox Stili */
.fav-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 2px solid #d6255b;
    accent-color: #d6255b;
    /* Modern tarayıcılarda renk */
}

/* Birleştir Butonu Stili */
#mergeBtn {
    background-color: #333;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
}

#mergeBtn:hover {
    background-color: #d6255b;
    color: #fff;
}

/* --- SİLME BUTONU (Resim Oluştur ile Birebir Uyumlu) --- */
.btn-clear-style {
    /* Hizalama ve Boyutlandırma */
    display: inline-flex;
    /* İçeriği ve butonu esnek yapar */
    align-items: center;
    /* Dikeyde ortalar */
    justify-content: center;
    /* Yatayda ortalar */
    height: 45px;
    /* Resim Oluştur butonuyla aynı yükseklik (Genelde 40-50px arasıdır) */
    padding: 0 25px;
    /* Sağdan soldan boşluk */
    margin-left: 10px;
    /* İki buton arası mesafe */

    /* Yazı Tipi ve Kenarlıklar */
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    /* Tam yuvarlak (Pill) kenarlar */

    /* Renkler (Outline/Çerçeve Stili) */
    background-color: transparent;
    /* İçi boş olsun ki ana butonla karışmasın */
    border: 2px solid #ff4757;
    /* Çerçevesi sitenin kırmızısı */
    color: #ff4757;
    /* Yazısı kırmızı */

    /* Efektler */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    opacity: 0.6;
    /* Seçim yokken biraz sönük dursun */
    pointer-events: none;
    /* Seçim yokken tıklanamasın */
}

/* BUTON AKTİF OLUNCA (Seçim Yapılınca) */
.btn-clear-style:enabled {
    opacity: 1;
    /* Tam görünür olsun */
    pointer-events: auto;
    background-color: #fff;
    /* Zemin beyaz */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Gölge ekle */
}

/* MOUSE ÜZERİNE GELİNCE (Hover) */
.btn-clear-style:enabled:hover {
    background-color: #ff4757;
    /* İçi kırmızı dolsun */
    color: #fff;
    /* Yazı beyaz olsun */
    transform: translateY(-2px);
    /* Hafif yukarı zıplasın */
    box-shadow: 0 6px 15px rgba(255, 71, 87, 0.4);
    /* Kırmızımsı gölge */
}

/* MOBİL UYUMU */
@media (max-width: 600px) {
    .btn-clear-style {
        height: 40px;
        /* Mobilde biraz daha ince */
        padding: 0 15px;
        font-size: 14px;
        margin-left: 5px;
        margin-top: 10px;
    }
}

.compat-table {
    margin: 30px 0;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.compat-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compat-table thead {
    background: #f9f9f9;
    color: #333;
}

.compat-table th,
.compat-table td {
    padding: 12px 20px;
}

.compat-table tbody tr {
    border-bottom: 1px solid #eee;
}

.compat-table tbody tr:last-child {
    border-bottom: 0;
}

.compat-table td.ok {
    color: #146c43;
    font-weight: 600;
}

/* =======================================================
   15. SEO MAKALE İÇERİK STİLLERİ
   ======================================================= */
.seo-content {
    max-width: 800px;
    margin: 40px auto;
    font-family: sans-serif;
    line-height: 1.75;
    color: #333;
}

.seo-content h2 {
    font-size: 1.6rem;
    color: #222;
    margin-top: 32px;
    margin-bottom: 12px;
}

.seo-content h2:first-child {
    font-size: 1.85rem;
}

.seo-content h3 {
    font-size: 1.25rem;
    color: #222;
    margin-top: 18px;
}

.seo-content ul,
.seo-content ol {
    margin: 16px 0;
}

/* Bio Örnekleri Kutusu */
.seo-bio-box {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin: 16px 0;
}

.seo-bio-box p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* FAQ Öğeleri */
.seo-faq-item {
    margin-bottom: 20px;
}

.seo-faq-item h3 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 6px;
}

/* =======================================================
   16. FUNCTION.PHP - KAMERA / RESIM İNDİR BUTONU
   ======================================================= */
.btn-img {
    padding: 5px 12px;
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-img:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* =======================================================
   17. COOKIE CONSENT BANNER (GDPR/KVKK)
   ======================================================= */
#cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease;
    opacity: 0;
}

#cc-banner.cc-show {
    transform: translateY(0);
    opacity: 1;
}

#cc-banner.cc-hide {
    transform: translateY(100%);
    opacity: 0;
}

.cc-inner {
    max-width: 680px;
    margin: 0 auto 20px;
    background: #3f4257;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #ecf0f1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.cc-text strong {
    color: #fff;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.cc-text p {
    margin: 0 0 16px;
    color: #dcdde4;
    font-size: 13px;
}

.cc-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.cc-text a:hover {
    color: #ecf0f1;
    opacity: 0.85;
}

/* Button Group */
.cc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cc-btn {
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cc-accept {
    background: #d6255b;
    color: #fff;
    flex: 1;
}

.cc-accept:hover {
    background: #e8306a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(214, 37, 91, 0.35);
}

.cc-reject {
    background: rgba(255, 255, 255, 0.12);
    color: #ecf0f1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex: 1;
}

.cc-reject:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.cc-manage {
    background: transparent;
    color: #bdc3c7;
    padding: 10px 12px;
    font-size: 12px;
}

.cc-manage:hover {
    color: #fff;
}

/* Preferences Panel */
.cc-prefs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cc-pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
}

.cc-pref-item+.cc-pref-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-pref-info {
    flex: 1;
}

.cc-pref-info strong {
    color: #ecf0f1;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.cc-pref-info span {
    color: #bdc3c7;
    font-size: 12px;
}

.cc-always {
    color: #bdc3c7;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Toggle Switch */
.cc-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    transition: 0.3s ease;
}

.cc-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s ease;
}

.cc-switch input:checked+.cc-slider {
    background: #d6255b;
}

.cc-switch input:checked+.cc-slider::before {
    transform: translateX(20px);
}

.cc-save {
    width: 100%;
    margin-top: 12px;
    background: #d6255b;
    color: #fff;
}

.cc-save:hover {
    background: #e8306a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(214, 37, 91, 0.35);
}

/* Mobile */
@media (max-width: 500px) {
    .cc-inner {
        margin: 0 10px 10px;
        padding: 18px;
        border-radius: 14px;
    }

    .cc-actions {
        flex-direction: column;
    }

    .cc-btn {
        text-align: center;
    }

    .cc-manage {
        order: 3;
    }
}