        :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: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50, 1000;
    stroke-dashoffset: 1000;
    animation: trace 5s 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;
    text-align: center;
}

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





.loading-logo-container {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen.fade-out .loading-logo-container {
    transform: scale(1.2) translateY(20px);
}

.loading-logo {
    opacity: 0;
    animation: logoFadeIn 1s ease forwards 0.3s;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.loading-screen.fade-out .loading-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.8)) !important;
}

/* SVG ile logo arasındaki boşluk için */
.loading-content {
    gap: 0; /* Önceki gap değerini sıfırla */
}

/* Responsive ayarları */
@media (max-width: 768px) {
    .loading-logo-container {
        width: 200px;
        margin-bottom: 15px;
    }
    
    .loading-logo {
        max-height: 50px;
    }
}




        


.logo-container {
    backdrop-filter: blur(10px);
    z-index: 100;
    padding:5px;
    border-radius:5px;
    background: rgba(0, 0, 0, 0.2);
}

        .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;
        }
        
        
/* Notification dot styles */
.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background-color: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1.5);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(255, 0, 0, 0);
    }
    
    100% {
        transform: scale(1.5);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}
        
        
        
        
        


/* Desktop Toolbar Gruplama */
.toolbar-container {
    position: fixed;
    top: 0rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    gap: 0.5rem; /* Gruplar arası boşluk */
}

.toolbar-group-header {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

/* Toolbar gruplarına position relative ekleme */
.toolbar-group {
    position: relative;
    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;
    transition: all 0.3s ease;
    margin-top: 20px; /* Başlık için alan bırakma */
}

/* Primary grup için özel başlık rengi */
.toolbar-group.primary .toolbar-group-header {
    color: rgba(236, 72, 153, 0.8);
    border-color: rgba(236, 72, 153, 0.2);
    background: rgba(236, 72, 153, 0.1);
}

/* Secondary grup için özel başlık rengi */
.toolbar-group.secondary .toolbar-group-header {
    color: rgba(59, 130, 246, 0.8);
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
}

/* Hover efekti */
.toolbar-group:hover .toolbar-group-header {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobil için düzenleme */
@media (max-width: 768px) {
    .toolbar-group-header {
        font-size: 9px;
        padding: 1px 6px;
        top: -16px;
    }
    
    .toolbar-group {
        margin-top: 18px;
    }
}

/* AR mode'da başlıkları da gizle */
.ar-mode .toolbar-group-header {
    display: none !important;
}

/* Toolbar butonları */
.toolbar-group button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    position: relative;
    border: none;
    cursor: pointer;
}

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

.toolbar-group.primary button:hover {
    background: rgba(236, 72, 153, 0.2);
}

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

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

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

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .toolbar-container {
        position: fixed;
        top: calc(45vh - 25px);
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 100%;
        max-width: 90vw;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding: 0 1rem;
    }
    
    .toolbar-group {
        flex-shrink: 0;
        padding: 4px;
    }
    
    .toolbar-group button {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    /* Mobilde gruplar daha yakın */
    .toolbar-container {
        gap: 0.25rem;
    }
}

/* Özel animasyonlar */
.toolbar-group.primary {
    animation: primary-glow 3s ease-in-out infinite alternate;
}

@keyframes primary-glow {
    0% {
        box-shadow: 0 4px 12px rgba(236, 72, 153, 0.1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(236, 72, 153, 0.2);
    }
}

/* Notification dot güncelleme - gruplar için */
.toolbar-group .notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Eski .toolbar sınıfını kaldır veya gizle */
.toolbar {
    display: none !important;
}

/* Toolbar container responsive genişlik */
@media (min-width: 1200px) {
    .toolbar-container {
        gap: 0.75rem; /* Büyük ekranlarda daha fazla boşluk */
    }
}

/* WhatsApp SVG ikonu için özel stil */
.toolbar-group button svg {
    transition: color 0.2s ease;
}

.toolbar-group button:hover svg {
    color: rgb(236, 72, 153) !important;
} 
        
        
.ar-mode .toolbar-container,
.ar-mode .toolbar-group.primary,
.ar-mode .toolbar-group.secondary {
    display: none !important;
}
        


.side-panel {
    position: fixed;
    top: 15px;
    right: -100%;
    width: min(500px, 100%);
    height: 100vh;
    background: var(--panel-bg);
    border-left: 1px solid var(--border-color);
    transition: right 0.3s ease;
    z-index: 50;
    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: 110px;
}


.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 {
font-size:10px;
}
        
        
.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) {
    
    .copyright{
        display:none;
    }
    
    .renkler {
    font-size:9px;
    height:30px;
    }
    
    
    /* Ana preview container */
    .preview-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 45vh;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
    }

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

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

    
    textarea#textInput {
      height: 90px;
    }

    
    .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: rgba(79, 0, 33, 0.3);
        padding: 0.3rem;
        z-index: 10;
        border-radius: 10px;
        text-align:center;

    }
    
    .font-preview .font-name {
      margin-bottom: 0rem !important;
    }

    
    /* 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: 0.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: 40px; /* Sabit genişlik */
        height: 40px; /* 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%;
        margin-top:50px;
    }
    
    
    .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;
    }

}


/* Paylaş kartı için CSS */
#shareDesignCard {
    animation: slideDown 0.3s ease;
    border-left: 3px solid #ec4899;
}

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

#share-copied.visible {
    opacity: 1 !important;
    transition: opacity 0.2s ease-in-out;
}

.copy-tooltip {
    position: absolute;
    top: -25px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.copy-tooltip.show {
    opacity: 1;
}


    /* WhatsApp butonunu daha kompakt hale getir */
    #textPanel .material-icons {
        font-size: 16px;
    }
    
    /* Mobil cihazlar için ek optimizasyonlar */
    @media (max-width: 400px) {
        #textPanel .flex.flex-row {
            gap: 4px; /* Daha az boşluk */
        }
        
        #textPanel .w-1/4 a {
            padding: 4px;
        }
        
        #textPanel .w-1/4 a .text-xs {
            font-size: 0.65rem; /* Daha küçük yazı boyutu */
        }
    }
    
    
.mini-textarea {
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid;
    border-image:linear-gradient(to right, green,red ,purple ) 10;
    border-radius: 4px;
    padding: 4px 6px;
    font-family: monospace;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.text-content {
    position: relative;
    white-space: pre;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.word1 {
    display: inline-block;
}

.word2 {
    display: inline-block;
    position: relative;
    animation: moveWord 4s infinite;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite, moveCursor 4s infinite;
    color: #FF69B4;
    font-weight: bold;
}

.enter-key {
    color: rgba(255, 255, 255, 0.7);
    animation: pressEnter 4s infinite;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

.enter-key .material-icons {
    font-size: 16px;
}

/* Mini slider kontrolleri */
.mini-sliders {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    animation: showSliders 4s infinite;
}

.mini-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}

.mini-icon {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.slider-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    position: relative;
}

/* Slider thumblar için animasyon */
.slider-bar::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: #FF69B4;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: moveThumb 4s infinite;
}

/* İkinci sliderdaki thumb için farklı zamanlama */
.mini-slider:nth-child(2) .slider-bar::after {
    animation: moveThumb 4s 0.5s infinite;
}

/* Üçüncü sliderdaki thumb için farklı zamanlama */
.mini-slider:nth-child(3) .slider-bar::after {
    animation: moveThumb 4s 1s infinite;
}

/* Dönme ikonları için animasyon */
.mini-slider:nth-child(3) .mini-icon:first-child {
    animation: rotateCCW 4s 1s infinite;
}

.mini-slider:nth-child(3) .mini-icon:last-child {
    animation: rotateCW 4s 1.5s infinite;
}

@keyframes moveThumb {
    0%, 62% { left: 50%; }
    65% { left: 25%; }
    70% { left: 75%; }
    75%, 100% { left: 50%; }
}

@keyframes rotateCCW {
    0%, 62% { transform: rotate(0); color: rgba(255, 255, 255, 0.6); }
    65% { transform: rotate(-15deg); color: rgba(255, 255, 255, 0.9); }
    70%, 100% { transform: rotate(0); color: rgba(255, 255, 255, 0.6); }
}

@keyframes rotateCW {
    0%, 65% { transform: rotate(0); color: rgba(255, 255, 255, 0.6); }
    68% { transform: rotate(15deg); color: rgba(255, 255, 255, 0.9); }
    72%, 100% { transform: rotate(0); color: rgba(255, 255, 255, 0.6); }
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes moveCursor {
    0%, 10% { margin-left: 0; }
    20%, 40% { margin-left: -5ch; }
    60%, 100% { margin-left: 0; }
}

@keyframes moveWord {
    0%, 25% { top: 0; margin-left: 0; }
    45%, 55% { top: 0; margin-left: 0; }
    60%, 100% { top: 14px; margin-left: -5ch; }
}

@keyframes pressEnter {
    0%, 40% { opacity: 0.7; transform: translateY(0) scale(1); }
    45% { opacity: 1; transform: translateY(2px) scale(0.95); background: rgba(255, 255, 255, 0.2); }
    50%, 100% { opacity: 0.7; transform: translateY(0) scale(1); }
}

@keyframes showSliders {
    0%, 60% { opacity: 0; height: 0; margin-top: 0; }
    70%, 95% { opacity: 1; height: auto; margin-top: 8px; }
    100% { opacity: 0; height: 0; margin-top: 0; }
}



.textarea-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.enter-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(18, 18, 18, 0.7); 
    border: none;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.enter-icon:hover {
    background: rgba(236, 72, 153, 0.2);
    color: rgba(236, 72, 153, 0.9);
}

.enter-icon:active {
    transform: scale(0.95);
}

.enter-icon .material-icons {
    font-size: 18px;
    padding: 0;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
    .enter-icon {
        bottom: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
    }
    
    .enter-icon .material-icons {
        font-size: 16px;
    }
}



/* Font paneli için kelime listesi stilleri */
#fontWordList {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

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

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

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

#fontWordList .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;
}

#fontWordList .word-item.selected .selected-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Ek bir bilgi etiketi */
.font-word-info {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
    font-style: italic;
}


/* Background pattern styles for loading screen */
.background-pattern-container {
    position: absolute;
    top: -100%;  /* -50%'den -100%'e değiştirildi */
    left: -100%;  /* -50%'den -100%'e değiştirildi */
    width: 400%;  /* 300%'den 400%'e değiştirildi */
    height: 400%;  /* 300%'den 400%'e değiştirildi */
    transform: rotate(45deg);
    transform-origin: center center;
    z-index: -1;
    overflow: hidden;
}

.text-pattern-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: movePattern 15s linear infinite;
}

.text-pattern {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #1E1E1F;
    white-space: nowrap;
    line-height: 25px;
    letter-spacing: 3px;
    position: relative;
}

@keyframes movePattern {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(160px) translateY(0px);
    }
}

/* Mobil cihazlar için ek optimizasyon */
@media (max-width: 768px) {
    .background-pattern-container {
        top: -150%;  /* Mobil için daha fazla genişletildi */
        left: -150%;  /* Mobil için daha fazla genişletildi */
        width: 500%;  /* Mobil için daha fazla genişletildi */
        height: 500%;  /* Mobil için daha fazla genişletildi */
    }
    
    .text-pattern {
        font-size: 16px;  /* Mobil için daha küçük font */
        line-height: 20px;  /* Mobil için daha dar satır aralığı */
    }
}

/* Add these styles to your styles.css file */

/* Loading message transition styles */
.progress-text span[data-i18n] {
    display: block;
    min-height: 20px; /* Ensure consistent height */
    transition: opacity 0.3s ease;
    margin-top: 6px;
}

/* Add this to your existing .loading-screen.fade-out class */
.loading-screen.fade-out .progress-text span[data-i18n] {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* iOS metin alanı zoom engelleyici */
@media screen and (-webkit-min-device-pixel-ratio: 0) { 
    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

/* Özellikle textInput için */
#textInput {
    font-size: 16px !important;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}




/* WhatsApp panel stilleri */
.toolbar button[onclick*="whatsapp"]:hover {
    background: rgba(37, 211, 102, 0.1);
}

/* WhatsApp buton hover efekti */
.bg-green-500:hover {
    background-color: #16a34a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

/* WhatsApp gradient arka plan */
.bg-gradient-to-r.from-green-600\/20.to-green-400\/20 {
    background: linear-gradient(to right, rgba(22, 163, 74, 0.2), rgba(74, 222, 128, 0.2));
}

/* Toast bildirim stilleri */
#custom-toast {
    min-width: 250px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp panel info kutusu */
.whatsapp-info-box {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.5);
    backdrop-filter: blur(8px);
}

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    .toolbar button[onclick*="whatsapp"] {
        padding: 12px;
    }
    
    .bg-green-500 {
        font-size: 14px;
        padding: 12px 24px;
    }
}