        :root {
            --accent-color: #FF0000;
            --panel-bg: rgba(18, 18, 18, 0.95);
            --border-color: rgba(255, 255, 255, 0.1);
        }

        body {
            margin: 0;
            padding: 0;
            background: #000;
            overflow: hidden;
            touch-action: none;
            -webkit-user-select: none;
            user-select: none;
        }
        
        
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.5);
    pointer-events: none;
}

.loading-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 240px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out .loading-content {
    transform: scale(1.2) translateY(30px);
}

.neon-text {
    width: 240px;
    height: 100px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out .neon-text {
    transform: scale(1.2);
}

.text-main {
    fill: none;
    stroke: #EC4899;
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px #EC4899);
}

.text-trace {
    fill: none;
    stroke: url(#trace-gradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 10, 1000;
    stroke-dashoffset: 1000;
    animation: trace 3s linear infinite;
    filter: url(#neon-filter);
}

@keyframes trace {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: -1000;
    }
}

.progress-container {
    width: 240px;
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.loading-screen.fade-out .progress-container,
.loading-screen.fade-out .progress-text {
    opacity: 0;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #EC4899;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    transition: opacity 0.3s ease;
}

.designer-text {
    fill: rgba(255, 255, 255, 0.6);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
}
        
        

        .preview-container {
            width: 100vw;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-size: 20px 20px;
            background-image: 
                linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
        }

        .neon-svg {
            width: 90%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .neon-svg svg {
            max-width: 100%;
            max-height: 100%;
        }

        .neon-text-path {
            stroke: none;
        }
        
        /* iOS olmayan cihazlar için CSS glow efekti */
        @supports not (-webkit-touch-callout: none) {
            .neon-text-path {
                filter: drop-shadow(0 0 2px var(--accent-color))
                       drop-shadow(0 0 4px var(--accent-color))
                       drop-shadow(0 0 10px var(--accent-color))
                       drop-shadow(0 0 30px var(--accent-color))
            }
        
            .neon-text-path[data-line-index] {
                filter: drop-shadow(0 0 2px var(--accent-color))
                       drop-shadow(0 0 4px var(--accent-color))
                       drop-shadow(0 0 6px var(--accent-color))
            }
        }

        .dimension-line {
            stroke: rgba(255, 255, 255, 1);
            stroke-width: 0.5;
            stroke-dasharray: 4 2;
        }

        .dimension-text {
            fill: rgba(255, 255, 255, 0.6);
            font-size: 9px;
            font-family: system-ui, -apple-system, sans-serif;
        }

    .toolbar {
        position: fixed;
        top: 0.8rem;
        right: 1rem;
        z-index: 100;
        background: var(--panel-bg);
        border: 1px solid var(--border-color);
        border-radius: 1rem;
        padding: 0.5rem;
        backdrop-filter: blur(10px);
        display: flex;
        gap: 0.25rem;
    }

    .toolbar button {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.2s ease;
        position: relative;
    }

    .toolbar button:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-1px);
    }

    .toolbar button.active {
        background: rgba(236, 72, 153, 0.1);
        border: 1px solid rgba(236, 72, 153, 0.2);
    }

    .toolbar button .material-icons {
        font-size: 20px;
        padding: 0;
        color: rgba(255, 255, 255, 0.8);
        transition: color 0.2s ease;
    }

    .toolbar button:hover .material-icons {
        color: rgb(236, 72, 153);
    }

.side-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(400px, 100%);
    height: 100vh;
    background: var(--panel-bg);
    border-left: 1px solid var(--border-color);
    transition: right 0.3s ease;
    z-index: 90;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding-top: 70px;
}

.side-panel.active {
    right: 0;
}

.font-preview {
    position: relative;
    padding: 1rem;
    padding-top:5px;
    padding-bottom:5px;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.font-preview:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.font-preview.active {
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.font-preview .font-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.font-preview .font-sample {
    font-size: 1.5rem;
    color: white;
}

textarea#textInput {
    line-height: 1.5;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
    height: 140px;
}


.positions-preview {
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
  padding:15px;
}      

.neontext {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  padding:5px;   
}

#wordColorList {
    margin-bottom: 1rem;
}




/* Hint animasyonu için container */
.hint-container {
    position: absolute;
    left: -20px;
    bottom: -20px;
    display: flex;
    align-items: center;
    gap: 2px;
    pointer-events: none;
    opacity: 0;
    animation: moveToWord 2s ease-in-out infinite;
}

/* Cursor için yatay olarak çevrilmiş SVG ikonu */
.hint-cursor {
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(255,255,255,0.8)' d='M16 0l-14 5l3 3l-4 4l2 2l4-4l3 3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Renk değişen dot */
.hint-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: changeDotColor 1s infinite;
}

@keyframes moveToWord {
    0% { 
        opacity: 0;
        transform: translate(0, 0);
    }
    15% {
        opacity: 0;
        transform: translate(0, 0);
    }
    30% {
        opacity: 1;
        transform: translate(20px, -10px);
    }
    45% {
        opacity: 1;
        transform: translate(0, 0);
    }
    60% {
        opacity: 1;
        transform: translate(20px, -10px);
    }
    75% {
        opacity: 0;
        transform: translate(0, 0);
    }
    
}

@keyframes changeDotColor {
    0% { background-color: #FF0000; }
    33% { background-color: #00FF00; }
    66% { background-color: #0000FF; }
    100% { background-color: #FF0000; }
}

/* Hint görünürlüğünü kontrol etmek için */
.hints-hidden .hint-container {
    display: none !important;
}





.word-item {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.5rem 0.5rem 0;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.word-item span {
    color: white;
    font-size: 0.875rem;
    vertical-align: middle;
}

.word-item .color-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.word-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.word-item.selected {
    border-color: var(--accent-color);
    background: rgba(255, 45, 149, 0.1);
}

.word-item .selected-badge {
    position: absolute;
    right: -2px;
    top: -2px;
    background: var(--accent-color);
    color: white;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 3px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.word-item.selected .selected-badge {
    opacity: 1;
    transform: translateY(0);
}
        
        
.path-length-info {
    position: fixed;
    bottom: 1.3rem;
    left: 7rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.copyright {
    position: fixed;
    bottom: 1rem;
    color: #aaa;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    z-index: 100;
    padding:5px;
    border-radius:5px;
    background: rgba(0, 0, 0, 0.2);
}


/* Masaüstünde fiyat panel butonu gizleme */
.price-panel-button {
    display: none; /* Varsayılan olarak gizli */
}


/* CSS güncelleme - style tagları içine */
.price-display {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.price-display .main-price {
    font-size: 1.25rem;
    font-weight: bold;
}

.price-display .transformer-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}



.renkler {
    height: 30px;
}
        
        
.material-icons {
    padding:5px;
}        


/* Tam ekran butonu için CSS */
.fullscreen-button {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

        
/* Mobil Panel ve Toolbar Düzenlemeleri */
@media (max-width: 768px) {
    /* Ana preview container */
    .preview-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 30vh;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
    }

    /* Panel düzeni */
    .side-panel {
        position: fixed;
        top: 30vh;
        right: 0 !important;
        width: 100%;
        height: 70vh;
        padding-bottom: 100px; /* Alt kısımda extra padding */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 25px;
    }

    /* Mobilde panel kapatma butonunu gizle */
    .side-panel .flex.justify-between button {
        display: none;
    }

    /* Toolbar düzeni */
    .toolbar {
        position: fixed;
        top: calc(30vh - 10px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        background: var(--panel-bg);
        border-radius: 20px;
        padding: 4px;
        width: 100%;
        white-space: nowrap;
        max-width: 90vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 4px;
        justify-content: center; /* Yeni eklenen */
    }
    
    /* Toolbar butonları için merkez hizalama */
    .toolbar button {
        padding: 12px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        flex: 0 0 auto; /* Yeni eklenen - butonların sıkışmasını önler */
    }

    .toolbar button:hover {
        background: rgba(255, 255, 255, 0.1);
    }


    
    .price-panel-button {
        display: flex;
    }

    .price-display {
        display: none; /* Mobilde varsayılan fiyat gösterimini gizle */
    }

    /* Panel başlıkları */
    .side-panel .flex.justify-between {
        top: 0;
        background: var(--panel-bg);
        padding: 1rem;
        z-index: 10;
        border-bottom: 1px solid var(--border-color);
    }

    
    /* Kayıtlı tasarımlar için mobil düzenlemeler */
    #savedDesignsList .bg-gray-800 {
        margin-bottom: 1rem;
    }
    
    #savedDesignsList button {
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #savedDesignsList button .material-icons {
        font-size: 20px;
    }
    
    /* Panel içerik düzeni */
    .side-panel .content-wrapper {
        padding: 1.5rem;
        padding-bottom: 120px; /* Alt kısımda extra boşluk */
    }

    /* Toolbar butonları düzeni */
    .toolbar button {
        flex-shrink: 0; /* Butonların küçülmesini engelle */
        width: 48px; /* Sabit genişlik */
        height: 48px; /* Sabit yükseklik */
    }
    
    
    
    /* Preview container içindeki SVG scale ayarı */
    .preview-container .neon-svg svg {
        transform: scale(2.0); /* Scale değeri 2.0 */
        transform-origin: center center; /* Merkezden scale et */
    }

    /* SVG container'ın kendisi için de düzenleme */
    .neon-svg {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }
    
    
    .fullscreen-button {
        /* Preview container'ın üstünde olacak */
        z-index: 80;
    }
    
    
}
        

.info-button {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(100px);
    border: 1px solid var(--border-color);
}
        
        
.info-panel {
    position: fixed;
    top: 65px;
    left: 4px;
    z-index: 50;
    hidden md:block;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 288px;
    transform: translateX(-384px);
    transition: transform 300ms;
}
        
        
.info-panel.active {
    transform: translateX(0);
}    


.p-2{
    padding: 5px;
}

.p-3{
    padding: 5px;
}


.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown {
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.current-lang {
    min-width: 50px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}


.lang-option {
    justify-content: center;
    font-weight: 500;
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.currency-btn.active {
    background-color: rgb(236, 72, 153) !important;
}

.currency-btn {
    transition: all 0.3s ease;
}

.price-value {
    min-height: 2rem;
}


.background-gallery {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-thumb.active > div {
    border-color: rgb(236, 72, 153) !important;
}

.bg-size-20px {
    background-size: 20px 20px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
}

/* Hover durumunda parlama efekti */
.bg-thumb > div:hover {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

/* Active durumunda parlama efekti */
.bg-thumb.active > div {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}



.mobile-language-button {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 90;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
    padding: 4px 6px;
    display: none;
    width: fit-content;
}

.mobile-language-button .current-lang {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    font-size: 0.7rem;
    line-height: 1;
}

.mobile-language-button .material-icons {
    font-size: 12px;
}

.mobile-language-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
    padding: 4px;
    display: none;
    min-width: 80px; /* Menü için minimum genişlik eklendi */
}

.mobile-language-menu .lang-option {
    display: block; /* block olarak değiştirildi */
    width: 100%; /* Tam genişlik */
    padding: 6px 8px;
    font-size: 0.75rem;
    color: white;
    text-align: left;
    border-radius: 0.3rem;
}

.mobile-language-menu .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobil medya sorgusu */
@media (max-width: 768px) {
    .mobile-language-button {
        display: block;
    }
}