/* NİHAİ DÜZELTME v7: Zıplamayı ve mobil sorunları önleyen yapı */
html {
    height: 100%;
    overflow: hidden;
    /* Sadece html'de, body'de değil */
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url('Background1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: auto;
    /* Dikey kaydırmaya izin ver */
    overflow-x: hidden;
    /* Yatay kaydırmayı engelle */
}

/* NİHAİ DÜZELTME v7: Zıplamayı önlemek için dikey ortalamayı kaldır */
.container {
    background-color: rgba(252, 252, 252, 0.586);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    /* Dikey ortalama yerine üstten boşluk */
}

h1 {
    color: #1e853d;
    margin: 0 0 20px 0;
    padding: 10px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #dc3b3b, #069e4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 100%;
    top: 0;
    background-color: rgba(252, 252, 252, 0.9);
    z-index: 10;
}

.coloring-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.btn {
    margin: 5px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #07fd18;
}


.canvas-and-palette {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

#coloringCanvas {
    width: 70%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 3px solid #4a4a4a;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    background-color: #FFFFFF;
    /* Beyaz renk */
    /* --- YENİ KODU BURAYA EKLEYİN --- */
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.custom-color-picker {
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    cursor: pointer;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-color-picker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Ccircle cx='15' cy='15' r='10' fill='%2300FF00' stroke='white' stroke-width='2'/%3E%3Ccircle cx='30' cy='15' r='10' fill='%230000FF' stroke='white' stroke-width='2'/%3E%3Ccircle cx='45' cy='15' r='10' fill='%23FFFF00' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.custom-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.custom-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}

.custom-color-picker:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.save-input-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.save-input {
    margin-bottom: 10px;
    padding: 10px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.save-button {
    padding: 10px 20px;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .canvas-and-palette {
        flex-direction: column;
        align-items: center;
    }

    #coloringCanvas {
        width: 90%;
        margin-bottom: 20px;
    }

    .color-palette {
        width: 90%;
        max-width: none;
        flex-direction: row;
        justify-content: center;
        max-height: none;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.5em;
        padding: 5px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    #coloringCanvas {
        width: 95%;
    }

    .color-palette {
        width: 95%;
    }
}

@media (max-height: 600px) {
    .container {
        justify-content: flex-start;
        padding-top: 10px;
    }

    h1 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
}

.tool-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
}

.tool-group input[type="range"] {
    width: 100px;
    margin-top: 5px;
}

#sizeControl {
    margin-top: 10px;
    text-align: center;
}

#toolSize {
    width: 200px;
    vertical-align: middle;
}

#sizeValue {
    display: inline-block;
    width: 30px;
    text-align: right;
}

#eraseBtn {
    background-color: #4CAF50;
    ;
    color: white;
}

#eraseBtn:hover {
    background-color: #45a049;
}

.social-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-button:hover {
    opacity: 0.8;
}


.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #e4405f;
}

.email {
    background-color: #d44638;
}

.coloring-page-options {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .coloring-page-options {
        margin-top: 10px;
    }
}

@media screen and (min-width: 769px) {
    .coloring-page-options {
        margin-top: 10px;
    }
}


.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #ff69b4;
    color: white;
    transform: scale(1.05);
}

.thumbnails-container {
    width: 100%;
    overflow: hidden;
}

.page-thumbnails {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.page-thumbnails.active {
    display: grid;
}

.page-thumbnail {
    width: 150px;
    /* Tam boyut */
    height: 100px;
    /* Tam boyut */
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: contain;
    image-rendering: pixelated;
    /* Modern tarayıcılar için */
    -ms-interpolation-mode: nearest-neighbor;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-thumbnail:hover {
    transform: scale(1.05);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    ;
}



.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #f0f0f0;
    font-size: 14px;
    color: #333;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: sparkleEffect 0.8s linear forwards;
}

@keyframes sparkleEffect {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(180deg);
        opacity: 0;
    }
}

.sparkle-star {
    filter: brightness(1.5);
    box-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #e60073,
        0 0 40px #e60073,
        0 0 50px #e60073;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(1.5);
    }

    to {
        filter: brightness(2);
    }
}

/* Seçili butonlar için stil */

.btn.active,
.tool-btn.active {
    background-color: #2E7D32;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.5);
}

.btn:hover {
    background-color: #41c547;
}

.btn:active {
    background-color: #1c4e1e;
}

.magic-tools {
    display: flex;
    gap: 10px;
    margin: 10px;
}

.magic-btn {
    background: linear-gradient(45deg, #ff69b4, #87ceeb);
    transition: transform 0.3s;
}

.magic-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #87ceeb, #ff69b4);
}

#saveBtn,
#downloadBtn {
    margin-bottom: 10px;
}


/* Seçili renk için stil */
.color-option.active {
    transform: scale(1.2);
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

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

    25% {
        transform: scale(1.1) rotate(5deg);
    }

    50% {
        transform: scale(1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }

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

.animated-character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #ffd700;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: fall 3s linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}



@keyframes gradientBG {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.splash-screen img {
    width: min(250px, 40vw);
    height: min(250px, 40vw);
    animation: pulse 2s infinite;
}

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

    50% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}


/* Icon styles */
link[rel="icon"],
link[rel="apple-touch-icon"] {
    border-radius: 25%;
    overflow: hidden;
}

/* PWA ikon stilleri */
link[rel="icon"],
link[rel="apple-touch-icon"] {
    -webkit-border-radius: 25%;
    -moz-border-radius: 25%;
    border-radius: 25%;
    overflow: hidden;
}


.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border-radius: 15px;
    color: #fff;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.feature-item {
    margin: 15px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-tag {
    font-size: 2em;
    color: #FFD700;
    margin: 20px 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.premium-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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


/* Activation Form */
.activation-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.activation-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.activation-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

#licenseInput {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
}

.activation-content button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.activation-content button:first-of-type {
    background: #4CAF50;
    color: white;
}

.cancel-btn {
    background: #666;
    color: white;
}

/* Locked Content */
.page-thumbnail.locked {
    position: relative;
    filter: blur(2px) grayscale(80%);
    cursor: not-allowed;
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Badge */
.premium-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2c3e50;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
    z-index: 1000;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    text-align: center;
    z-index: 10002;
}

.success-content h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}

/* Download Progress */
.download-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 10001;
}

.progress-bar {
    width: 300px;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: #4CAF50;
    width: 0;
    animation: fillProgress 3s ease-out forwards;
}

@keyframes fillProgress {
    to {
        width: 100%;
    }
}

/* Save Info */
.save-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.4);
}

/* Go Offline Pro Button Enhancement */
#downloadAppBtn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s;
}

#downloadAppBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* PREMIUM ARAÇLAR İÇİN EKSTRA STILLER - styles.css'e ekleyin */

/* Premium Tools Container */
.premium-tools {
    display: inline-flex;
    justify-content: center;
    /* <<< BU SATIRI EKLEYİN */
    gap: 5px;
    margin-left: 10px;
    padding: 5px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 2px solid #FFD700;
}

/* Premium Tool Buttons */
.premium-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #2c3e50 !important;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.premium-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.premium-btn::after {
    content: '⭐';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8em;
    background: #FF1493;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HD Save Message */
.hd-save-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.2em;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    z-index: 10000;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Glitter cursor effect */
.tool-btn[onclick*="glitter"]:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="20" font-size="20">✨</text></svg>'), auto;
}

/* Rainbow cursor effect */
.tool-btn[onclick*="rainbow"]:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="20" font-size="20">🌈</text></svg>'), auto;
}

/* Glow cursor effect */
.tool-btn[onclick*="glow"]:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="20" font-size="20">💫</text></svg>'), auto;
}

/* Premium features highlight */
.premium-features .feature {
    transition: all 0.3s ease;
}

.premium-features .feature:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
    border-left: 3px solid #FFD700;
}


/* ============================================= */
/* NİHAİ NEWSLETTER MODAL STİLLERİ             */
/* ============================================= */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    /* Başlangıçta gizli */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.newsletter-content {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px 25px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    position: relative;
    animation: popIn 0.3s ease;
}

.newsletter-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: transform 0.2s;
}

.newsletter-close:hover {
    transform: scale(1.2);
}

/* ============================================= */
/* BREVO FORMUNUN TEMİZ STİLLERİ              */
/* ============================================= */
.newsletter-content .brevo-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-content .brevo-form h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    margin: 0;
}

.newsletter-content .brevo-form p {
    color: white;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.newsletter-content .brevo-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    text-align: center;
    box-sizing: border-box;
    color: #333;
    background-color: #f0f0f0;
}

.newsletter-content .brevo-input:focus {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.newsletter-content .brevo-button {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2c3e50;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.newsletter-content .brevo-button:hover {
    transform: scale(1.05);
}

.sib-captcha {
    margin: 0 auto;
    /* Captcha'yı ortala */
}

/* Newsletter Trigger Button */
.newsletter-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.newsletter-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* Success Message */
.newsletter-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.2em;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    z-index: 10001;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Tooltip Container */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Tooltip Text */
.tooltip {
    visibility: hidden;
    width: 220px;
    background: linear-gradient(135deg, #2d3e50, #34495e);
    /* Premium modal'daki renk */
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    /* Fade in */
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;

    /* Add shadow for depth */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    /* Add border to match premium style */
    border: 2px solid #FFD700;
    /* Altın rengi çerçeve */
}

/* Tooltip arrow */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #34495e transparent transparent transparent;
}

/* Show tooltip on hover */
.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Enhanced Download App Button */
#downloadAppBtn {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #2c3e50 !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

#downloadAppBtn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Glowing effect for the button */
#downloadAppBtn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    transition: transform 0.5s;
}

#downloadAppBtn:hover::after {
    transform: rotate(30deg) translate(10%, 10%);
}

/* Bildirim butonu aktif durumu */
#notifyBtn.active {
    background-color: #2F7D31 !important;
    /* ← DÜZELTME: #2E7D32'den #2F7D31'e */
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(47, 125, 49, 0.5);
    /* ← Gölge rengini de güncelle */
    font-weight: bold;
}

/* Bildirim butonu hover durumu */
#notifyBtn:hover {
    background-color: #41c547 !important;
    /* Hover açık yeşil */
}

/* Bildirim butonu aktifken hover */
#notifyBtn.active:hover {
    background-color: #1c4e1e !important;
    /* Aktif hover daha koyu yeşil */
}

/* Tüm butonların genel hover'ını güçlendir */
.btn:hover {
    background-color: #41c547 !important;
}

/* Aktif butonların hover'ını güçlendir */
.btn.active:hover,
.tool-btn.active:hover {
    background-color: #1c4e1e !important;
}


/* Tarayıcı uyumluluk düzeltmeleri */
.newsletter-trigger,
.btn,
.premium-btn {
    /* Appearance özelliği için tarayıcı ön ekleri */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Backface visibility özelliği için tarayıcı ön ekleri */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* License Error Styles */
.license-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10002;
}

.error-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.error-content h3 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.error-content button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

/* Launch pricing styles */
.launch-pricing {
    text-align: center;
    margin: 20px 0;
}

.original-price {
    margin-bottom: 10px;
}

.crossed {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1em;
}

.sale-price {
    font-size: 2.2em;
    color: #FFD700;
    font-weight: bold;
    margin: 10px 0;
}

.savings {
    color: #FF6B6B;
    font-size: 1.1em;
    font-weight: bold;
}

/* SCROLLBAR STİLİ */
.premium-content::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

.premium-content::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    margin: 5px 0;
    /* Uçların taşmasını önler */
}

.premium-content::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 6px;
    border: 1px solid #34495e;
    /* Kenar boşluğu */
}


/* UNDO BUTONU CSS DÜZELTMESİ - styles.css dosyasına ekleyin */

/* Undo butonunu toolbar'da normal buton gibi göster */
#undoBtn {
    margin: 5px !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    order: 0 !important;
    /* Toolbar'da sıralamayı düzenle */
}

#undoBtn:hover {
    background-color: #45a049 !important;
}

#undoBtn:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
}

/* Toolbar'ı flex yapıp butonları düzenle */
.toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
}

/* Alttaki undo container'ı gizle (eğer varsa) */
.bottom-buttons #undoBtn,
.undo-container {
    display: none !important;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .toolbar {
        gap: 3px !important;
    }

    #undoBtn {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
}

/* NİHAİ DÜZELTME v8: Write Message / Signature Bloğu (Mobil Uyumlu) */
.name-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px auto 15px auto;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(255, 182, 193, 0.3));
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: 90%;
    /* Ekran küçüldüğünde taşmasını engeller */
}

.name-tools button {
    background: linear-gradient(45deg, #FF69B4, #FF1493);
    color: white !important;
    border: none;
    padding: 8px 16px;
    /* Mobilde daha kompakt */
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    /* Mobilde daha okunaklı */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    /* Yazıların alt satıra kaymasını engeller */
}

.name-tools button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 20, 147, 0.5);
}

.name-tools button.active {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.7);
}


/* Name cursor for canvas */
canvas.text-mode {
    cursor: text !important;
}

/* ==========================================
   NAME INPUT MODAL STYLES
   ========================================== */

.name-input-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15000;
}

.name-input-content {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    color: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
    border: 3px solid #FF1493;
}

.name-input-content h3 {
    color: #FFE4E1;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Artist Name Input */
#artistName {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Comic Sans MS', cursive;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
}

#artistName:focus {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

/* Font Options */
.font-options,
.size-options,
.color-options {
    margin: 15px 0;
    text-align: left;
}

.font-options label,
.size-options label,
.color-options label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFE4E1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#fontSelect {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background: white;
}

/* Size Options */
.size-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.size-options label {
    margin-bottom: 0;
    min-width: 60px;
}

#fontSizeSlider {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: #FFE4E1;
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#fontSizeSlider:hover {
    opacity: 1;
}

#fontSizeSlider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF1493;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#fontSizeDisplay {
    min-width: 50px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* Color Options */
.text-colors {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.text-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
}

.text-color-swatch:hover {
    transform: scale(1.1);
    border-color: white;
}

.text-color-swatch.active {
    transform: scale(1.2);
    border-color: #FFE4E1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.text-color-swatch.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#customTextColor {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 10px;
}

/* Preview Area */
.preview-area {
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#textPreview {
    border: 2px solid #FFE4E1;
    border-radius: 8px;
    background: #f9f9f9;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.write-btn,
.cancel-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.write-btn {
    background: linear-gradient(45deg, #32CD32, #90EE90);
    color: white;
    box-shadow: 0 3px 10px rgba(50, 205, 50, 0.3);
}

.write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 205, 50, 0.5);
}

.cancel-btn {
    background: linear-gradient(45deg, #FF4444, #FF6B6B);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 68, 68, 0.3);
}

.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.5);
}

/* ==========================================
   RESPONSİVE TASARIM
   ========================================== */

@media (max-width: 768px) {
    .name-input-content {
        padding: 20px;
        width: 95%;
    }

    .name-input-content h3 {
        font-size: 1.5em;
    }

    #artistName {
        font-size: 1.1em;
        padding: 12px;
    }

    .text-colors {
        gap: 8px;
    }

    .text-color-swatch {
        width: 35px;
        height: 35px;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .write-btn,
    .cancel-btn {
        width: 100%;
        padding: 15px;
    }

    .size-options {
        flex-direction: column;
        align-items: stretch;
    }

    .size-options label {
        margin-bottom: 8px;
    }

    #fontSizeDisplay {
        text-align: center;
        margin-top: 5px;
    }
}

/* ==========================================
   ANIMASYONLAR
   ========================================== */

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
    }

    100% {
        text-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
    }
}

.name-btn.active {
    animation: textGlow 2s ease-in-out infinite;
}

/* Success message for name writing */
.name-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FF69B4;
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    z-index: 10000;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* YENİ KOD - DOSYANIN EN SONUNA EKLEYİN */
@media (max-width: 768px) {
    .mp-editor-actions {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10001 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        padding: 10px !important;
        border-radius: 15px !important;
    }

    .mp-confirm-btn,
    .mp-cancel-btn {
        min-height: 44px !important;
        font-size: 16px !important;
        padding: 12px 20px !important;
    }
}

/* Magic Photos İyileştirme CSS - styles_updated.css dosyanızın sonuna ekleyin */

/* Modal Konteynırı */
.magic-photos-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 15px;
    box-sizing: border-box;
}

/* Modal İçerik Kutusu */
.magic-photos-content {
    background: linear-gradient(145deg, #4c568d, #2c3e50);
    color: white;
    padding: 20px 15px;
    /* Mobil için padding ayarlandı */
    border-radius: 20px;
    width: 95vw;
    /* Mobil öncelikli genişlik */
    max-width: 600px;
    /* Maksimum genişlik */
    height: 90vh;
    /* Mobil öncelikli yükseklik */
    max-height: 750px;
    /* Maksimum yükseklik */
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Başlık */
.magic-photos-title {
    color: #FFD700;
    margin: 0 0 10px 0;
    font-size: 1.8em;
    flex-shrink: 0;
}

.magic-photos-subtitle {
    margin: 0 0 20px 0;
    font-size: 1em;
    opacity: 0.9;
    flex-shrink: 0;
}

/* Kapatma Butonu */
.magic-photos-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.magic-photos-close:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.1) rotate(90deg);
}

/* Stil Seçim Butonları */
.magic-photos-style-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 50px;
    margin: 0 auto 20px auto;
    flex-shrink: 0;
}

.mp-style-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mp-style-btn.active {
    background: #FFD700;
    color: #2c3e50;
    transform: scale(1.05);
}

/* Template Kartları Grid'i */
.magic-photos-grid {
    display: grid;
    /* grid-template-columns mobil için aşağıda ayarlanacak */
    gap: 10px;
    /* Mobil için boşluk ayarlandı */
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;

    /* KAYDIRMA İÇİN EN ÖNEMLİ KISIM */
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
}

/* ==================================================
   MAGIC PHOTOS KARTLARI İÇİN NİHAİ ESNEK YAPI
   ================================================== */

/* 1. KARTIN KENDİSİ: Artık sabit bir yüksekliği YOK. */
.magic-template-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    padding: 8px;

    /* YENİ YAPISAL KURALLAR */
    display: flex;
    flex-direction: column;
    /* İçerik alt alta dizilecek */
    /* height: 130px; SATIRINI SİLDİK */
}

.magic-template-card:hover {
    transform: scale(1.05);
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 2. RESİM KAPSAYICISI: Artık kare olmasını sağlıyoruz. */
.magic-template-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* <<< BU SATIRI GERİ GETİRDİK */
    position: relative;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    /* flex-grow satırını kaldırdık, çünkü artık gerekli değil */
}

/* Template Thumbnail */
.magic-template-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Template İsmi */
.magic-template-name {
    /* Temel Stil Ayarları */
    font-weight: bold;
    font-size: 14px;
    /* Boyutu biraz daha net belirleyelim */
    color: #FFD700;
    text-align: center;

    /* GÖRÜNÜRLÜK İÇİN EN ÖNEMLİ KISIM */
    height: 30px;
    /* Yazı alanı için sabit bir yükseklik ayır */
    line-height: 30px;
    /* Yazıyı bu alanda dikey olarak ortala */
    padding: 5px;
    /* İç boşluk */
    box-sizing: border-box;
    /* Padding'in yüksekliği etkilememesini sağla */

    /* Taşma Durumunda Yazının Gizlenmesini Önle */
    overflow: visible;
    white-space: nowrap;
    /* Yazının alt satıra kaymasını engelle */
}

.magic-template-style-indicator {
    font-size: 0.8em;
    opacity: 0.7;
    padding-bottom: 5px;
}

/* Mobil Cihazlar İçin Ayarlar */
@media (min-width: 600px) {

    /* 600px'den büyük ekranlar için ızgara sütun sayısını artır */
    .magic-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .magic-photos-content {
        padding: 25px;
        /* Büyük ekranlarda padding'i artır */
    }
}

@media (max-width: 599px) {

    /* 599px'den küçük ekranlar için ızgara sütun sayısı */
    .magic-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .magic-photos-title {
        font-size: 1.5em;
    }

    .mp-style-btn {
        padding: 8px 16px;
        /* Butonları küçült */
    }
}

/* Canvas Düzenleme Modu İmleçleri */
canvas.editing-mode {
    cursor: grab !important;
}

canvas.editing-mode:active {
    cursor: grabbing !important;
}

/* Düzenleme Talimatları */
#editingInstructions {
    animation: fadeInDown 0.5s ease;
}

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

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Yüz Alanı Tespit İmleçleri */
.face-area-indicator {
    position: absolute;
    pointer-events: none;
    border: 2px dashed #FFD700;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

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

/* Başarı Mesajı Animasyonu */
.magic-success-message {
    animation: successPop 2.5s ease forwards;
}

@keyframes successPop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    15% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

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

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

/* --- MAGIC PHOTOS PREMIUM STYLES --- */

/* Kilitli template kartının genel stili */
.magic-template-card.locked {
    filter: grayscale(80%);
    opacity: 0.7;
    position: relative;
    /* Rozeti konumlandırmak için gerekli */
    cursor: pointer;
    /* Tıklanabilir olduğunu belirtir */
}

.magic-template-card.locked:hover {
    filter: grayscale(50%);
    opacity: 1;
}

/* Pro rozetinin stili */
.magic-pro-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2c3e50;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

/* --- MAGIC PHOTOS - YÜZ TIKLAMA TALİMATI STİLLERİ --- */

#faceClickInstruction {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: instruction-pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#faceClickInstruction .instruction-icon {
    font-size: 24px;
    animation: icon-wiggle 2s ease-in-out infinite;
}

@keyframes instruction-pop-in {
    from {
        transform: translateX(-50%) scale(0.5);
        opacity: 0;
    }

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

@keyframes icon-wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* ==========================================
   MARKER VE PASTEL BUTONLARI İÇİN
   KESİN AKTİF DURUM STİLİ
   ========================================== */

/* Bu kurallar, doğrudan butonların ID'lerini hedef alır
   ve en yüksek önceliğe sahiptir. */

#smartBrushBtn.active,
#smartWatercolorBtn.active {
    background-color: #2F7D31;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.7);
    border: 1px solid white;
}

#smartBrushBtn.active:hover,
#smartWatercolorBtn.active:hover {
    background-color: #1c4e1e;
}

#redeemGiftBtn {
    background: #ff69b4;
}

/* ==================================================
   YAZDIRMA İÇİN ÖZEL STİLLER
   ================================================== */

@media print {

    /* Yazdırma sırasında sayfanın kendisi için kurallar */
    @page {
        size: A4 landscape;
        /* Sayfayı yatay olarak ayarla */
        margin: 0;
        /* Tüm kenar boşluklarını sıfırla */
    }

    /* Yazdırma sırasında sayfanın BODY'si için kurallar */
    body {
        margin: 0;
        padding: 0;
    }

    /* Yazdırılacak resim dışındaki HER ŞEYİ GİZLE */
    body>*:not(.print-image-container) {
        display: none !important;
    }

    /* Resmi içeren geçici kapsayıcıyı görünür yap */
    .print-image-container {
        display: block !important;
        width: 100%;
        height: 100%;
    }

    /* Resmin kendisini sayfaya tam olarak sığdır */
    .print-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* Oranı koruyarak sığdır */
    }
}

/* ==================================================
   OYUN TANITIM METNİ (GAME INTRODUCTION) STİLLERİ
   ================================================== */

.game-introduction {
    text-align: left;
    /* Metni sola hizala, daha okunabilir olur */
    max-width: 800px;
    /* Metin genişliğini sınırla, okunabilirliği artırır */
    margin: 20px auto;
    /* Ortala */
    padding: 15px;
}

.game-introduction h3 {
    margin-top: 30px;
    color: #333;
}

/* Ana liste için stil */
.game-introduction>ul {
    list-style: none;
    /* Varsayılan madde imlerini kaldır */
    padding-left: 0;
}

.game-introduction>ul>li {
    padding-left: 2em;
    /* İkonlar için solda boşluk bırak */
    position: relative;
    margin-bottom: 12px;
}

/* İkonları madde imi gibi kullanma */
.game-introduction>ul>li::before {
    content: attr(data-icon);
    /* Her maddeye özel ikon (HTML'de ekleyeceğiz) */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2em;
}

/* İç içe geçmiş liste için stil (EN ÖNEMLİ DÜZELTME) */
.game-introduction ul ul {
    list-style-type: '🎨';
    /* Özel madde imi */
    padding-left: 25px;
    /* İçeriden boşluk ver */
    margin-top: 8px;
}

.game-introduction ul ul li {
    margin-bottom: 8px;
    font-size: 0.95em;
    /* Yazıyı biraz küçült */
}

/* --- DOWNLOAD PROGRESS MESSAGE STYLE --- */
.download-progress-msg {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #2c3e50, #4c568d);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 10001;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s;
}

/* ==================================================
   NİHAİ PREMIUM MODAL SİSTEMİ STİLLERİ
   (Tüm eskileri silip bunu kullanın)
   ================================================== */

/* Modal'ın arkaplanı ve konumlandırması */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    z-index: 100000;
    /* Her zaman en üstte olmasını garantiler */
}

/* Modal'ın içerik kutusu */
.premium-content {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border-radius: 20px;
    border: 3px solid #FFD700;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    padding: 20px 25px 25px 25px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    /* İçerik sığmazsa kaydır */
}

/* Kapatma butonu */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-family: sans-serif;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    color: white;
    background: rgba(255, 0, 0, 0.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
    background: rgba(255, 0, 0, 0.9);
}

/* Başlık */
.premium-content h2 {
    color: #FFD700;
    margin: 0 0 20px 0;
    font-size: 1.8em;
}

/* Özellikler listesi */
.premium-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 0 20px 0;
}

.premium-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1em;
}

/* Fiyatlandırma bölümü */
.launch-pricing {
    text-align: center;
    margin-bottom: 20px;
}

.regular-price {
    opacity: 0.7;
    font-size: 0.9em;
}

.crossed {
    text-decoration: line-through;
}

.sale-price {
    font-size: 2em;
    color: #FFD700;
    font-weight: bold;
    margin: 5px 0;
}

.savings {
    color: #FF6B6B;
    font-weight: bold;
    font-size: 1em;
}

/* Satın alma butonu */
.buy-premium-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2c3e50;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
    width: 100%;
}

.buy-premium-btn:hover {
    transform: scale(1.05);
}


/* YouTube sosyal medya butonu için stil */
.social-button.youtube {
    background-color: #FF0000;
    /* YouTube'un ikonik kırmızı rengi */
}


/* ==================================================
   MAGIC PHOTOS MOBİL UI VE DÜZENLEME BUTONLARI İÇİN DÜZELTMELER
   ================================================== */

/* Düzenleme Modu Butonlarını Saran Kapsayıcı (Animasyon Kontrolü için Güncellendi) */
.mp-editor-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 10001;
    background: rgba(44, 62, 80, 0.9);
    padding: 10px;
    border-radius: 15px;
    display: flex;
    gap: 10px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

    /* Başlangıç durumu: Gizli ve ekranın altında */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 100px);
    /* Başlangıçta aşağıda */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* JavaScript ile eklenecek 'görünür' durumu */
.mp-editor-actions.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    /* Normal pozisyonuna kaydır */
}


/* Onaylama ve İptal Butonları */
.mp-confirm-btn,
.mp-cancel-btn {
    min-height: 44px;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-confirm-btn {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
}

.mp-confirm-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #28a745;
}

.mp-cancel-btn {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.mp-cancel-btn:hover {
    transform: scale(1.05);
}

/* Şablon Seçim Ekranı (Modal) Mobil İyileştirmeleri */
.magic-photos-content {
    display: flex;
    flex-direction: column;
    height: 90vh;
    /* Yüksekliği ekranın %90'ı yap */
    max-height: 700px;
}

.magic-photos-grid {
    flex-grow: 1;
    /* Grid'in mevcut tüm boş alanı doldurmasını sağla */
    overflow-y: auto;
    /* İçerik sığmazsa dikey kaydırma çubuğu çıkar */
    min-height: 0;
    /* Flexbox'ın doğru çalışması için kritik bir ayar */
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Şablon Kartları (Thumbnail) Tasarımı */
.magic-template-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.magic-template-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.2);
}

.magic-template-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Resimlerin her zaman kare olmasını sağla */
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
}

.magic-template-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmin tamamını kaplamasını sağla */
}

.magic-template-name {
    padding: 8px 5px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    color: #FFD700;
}

/* styles.css dosyasının en sonuna ekleyin */

#scrollHint {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 10001;
    font-size: 14px;
    text-align: center;
    max-width: 90%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

/* ==================================
   ETSY GÜVENLİK GİZLEME KURALI
================================== */
.etsy-hidden {
    display: none !important;
    visibility: hidden !important;
}

/* ==================================================
   ANA SAYFA - GİRİŞ BÖLÜMÜ STİLLERİ
   ================================================== */
.game-introduction,
.why-premium-section {
    background-color: rgba(255, 255, 255, 0.567);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.game-introduction h2 {
    text-align: center;
    /* Başlığı ortala */
    font-size: 2.2em;
    /* Başlığı büyüt */
    color: #2c3e50;
    margin-bottom: 20px;
}

.game-introduction h3 {
    font-size: 1.5em;
    color: #34495e;
    margin-top: 30px;
}

.game-introduction>ul {
    list-style: none;
    padding-left: 0;
}

.game-introduction>ul>li {
    font-size: 1.1em;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
}

.game-introduction>ul>li::before {
    content: '✨';
    /* Varsayılan ikonu belirle */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2em;
}

/* İkonları özelleştirme */
.game-introduction>ul>li:nth-of-type(1)::before {
    content: '💾';
}

.game-introduction>ul>li:nth-of-type(2)::before {
    content: '🎨';
}

.game-introduction>ul>li:nth-of-type(3)::before {
    content: '🖌️';
}

.game-introduction>ul>li:nth-of-type(7)::before {
    content: '⬆️';
}

.game-introduction ul ul {
    list-style-type: '-';
    padding-left: 20px;
    margin-top: 10px;
}

/* --- YENİ TOOLBAR DÜZENİ --- */
.toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    margin-bottom: 10px;
}

.toolbar-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Buton Boyutlandırmaları */
.icon-btn {
    padding: 10px 15px;
    font-size: 1.2em;
}

.small-btn {
    padding: 8px 12px;
    font-size: 0.9em;
}

/* Scratch City Butonu Özel Efekt */
.scratch-btn-glow {
    background: linear-gradient(45deg, #2c3e50, #000000);
    color: #FFD700 !important;
    border: 2px solid #FFD700;
    animation: scratchPulse 2s infinite;
}

@keyframes scratchPulse {
    0% {
        box-shadow: 0 0 5px #FFD700;
    }

    50% {
        box-shadow: 0 0 20px #FFD700;
    }

    100% {
        box-shadow: 0 0 5px #FFD700;
    }
}

/* --- DROPDOWN (AÇILIR MENÜ) STİLLERİ --- */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    min-width: 140px;
    /* Buton genişliği */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dropdown İçeriği */
.dropdown-menu {
    display: none;
    /* Varsayılan gizli */
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 8px;
    z-index: 5000;
    /* En üstte */
    border: 2px solid #FFD700;
    flex-direction: column;
    gap: 5px;
}

/* Menü Açıldığında */
.custom-dropdown.active .dropdown-menu {
    display: flex;
    animation: dropDownAnim 0.3s ease;
}

@keyframes dropDownAnim {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu button {
    width: 100%;
    text-align: left;
    margin: 0;
    border-bottom: 1px solid #eee;
    border-radius: 5px;
}

.dropdown-menu button:last-child {
    border-bottom: none;
}

/* Mobilde Menüler Ekran Dışına Taşmasın */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        /* Mobilde ortaya sabitle */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 80%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        border: 4px solid #FFD700;
        padding: 20px;
    }

    /* Mobilde arkaya karartma ekleyelim */
    .custom-dropdown.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 4999;
    }
}

/* ==================================================
   SCRATCH CITY (KAZI KAZAN) - SCROLL GARANTİLİ FİNAL CSS
   (Strateji Değişikliği: Container Scroll)
   ================================================== */

/* 1. Arka Plan Perdesi */
.scratch-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    /* Arka plandaki canvas'ın oynamaması için */
    touch-action: none;
}

/* 2. İçerik Kutusu (Dış Çerçeve) */
.scratch-content-wrapper {
    width: 100%;
    max-width: 900px;

    /* Mobil için sabit yükseklik veriyoruz ki scroll alanı oluşsun */
    height: 85vh;
    max-height: 900px;

    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 2px solid #FFD700;
    border-radius: 20px;
    position: relative;
    padding: 20px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);

    display: flex;
    flex-direction: column;
}

/* 3. GALERİ GÖRÜNÜMÜ - SCROLL BURADA OLACAK (DEĞİŞİKLİK) */
#scratchGalleryView {
    flex: 1;
    /* Kalan tüm alanı kapla */
    display: flex;
    flex-direction: column;

    /* --- YENİ KAYDIRMA AYARLARI BURAYA TAŞINDI --- */
    overflow-y: auto !important;
    /* Kaydırmayı zorla aç */

    touch-action: pan-y !important;
    /* Dikey parmak hareketine izin ver */

    /* İçerik taşarsa maskeleme yapma, kaydırmaya izin ver */
    min-height: 0;
}

/* 4. GALERİ IZGARASI (Sadece Dizilim Yapar, Kaydırmaz) */
.scratch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;

    /* Grid'in kendi yüksekliği içeriği kadar olsun */
    height: auto;
    overflow: visible;
    /* Scroll'u üst elemente devrettik */

    /* En alttaki kartlar için ekstra boşluk */
    padding-bottom: 80px;
}

/* 5. OYUN GÖRÜNÜMÜ */
#scratchGameView {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 6. OYUN ALANI (CANVAS) - MASAÜSTÜ VE MOBİL ORAN AYARLARI */
#scratch-canvas-container {
    position: relative;

    /* 4:3 Oran Kilidi */
    aspect-ratio: 4 / 3;

    /* Masaüstü: Yükseklik odaklı */
    height: 82vh;
    width: auto;
    max-width: 1100px;

    background: #000;
    border-radius: 10px;
    overflow: hidden;
    cursor: crosshair;
    border: 3px solid #FFD700;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    flex-grow: 0;

    /* Kazıma yaparken sayfanın kaymasını engelle */
    touch-action: none !important;
}

/* --- MOBİL CİHAZ AYARLARI (1024px ve Altı) --- */
@media (max-width: 1024px) {

    /* Galeri görünümü mobilde tam yükseklik alsın */
    #scratchGalleryView {
        height: 100%;
        overflow-y: scroll;
        /* Mobilde scroll'u zorla */
    }

    #scratch-canvas-container {
        /* Oyun alanında genişlik odaklı */
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    .scratch-content-wrapper {
        padding: 15px;
        /* Mobilde padding'i biraz artır */
        width: 95%;
        height: 90vh;
        /* Ekranın %90'ını kapla */
    }

    .scratch-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Sütun */
        gap: 10px;
    }
}

/* --- YATAY MOBİL (Landscape) --- */
@media (max-height: 500px) and (orientation: landscape) {
    .scratch-content-wrapper {
        flex-direction: row;
        align-items: center;
        max-height: 98vh;
        padding: 5px;
    }

    #scratchGameView {
        flex-direction: row;
        gap: 20px;
    }

    #scratch-canvas-container {
        height: 85vh;
        width: auto;
        max-height: none;
    }

    /* Yatayda galeri scroll ayarı */
    #scratchGalleryView {
        height: 85vh;
    }
}

/* --- DİĞER STANDART BİLEŞENLER --- */
.scratch-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    z-index: 100;
    line-height: 1;
}

.scratch-close-btn:hover {
    color: #FFD700;
}

.scratch-title {
    color: #FFD700;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #FFD700;
    flex-shrink: 0;
}

.city-card {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #444;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.city-card:hover {
    transform: scale(1.05);
    border-color: #FFD700;
}

.city-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    opacity: 0.7;
}

.city-name {
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.scratch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 10px;
    color: #FFD700;
    font-size: 1.1em;
    font-weight: bold;
}

.back-to-gallery-btn {
    background: #444;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.scratch-hint-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0 0 20px #FFD700;
    pointer-events: none;
    animation: pulseHint 2s infinite;
    text-align: center;
    width: 100%;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.card-badge.free {
    background: linear-gradient(45deg, #28a745, #81c784);
    color: white;
    border: 1px solid white;
    animation: freePulse 2s infinite;
}

.card-badge.pro {
    background: #000;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.city-card.is-locked img {
    filter: grayscale(80%) brightness(0.7);
    transition: all 0.3s;
}

.city-card.is-locked:hover img {
    filter: grayscale(0%) brightness(1);
}

@keyframes freePulse {

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

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

/* --- SEÇİM ENGELLEME --- */
.scratch-content-wrapper,
#scratch-canvas-container,
.city-card img,
.scratch-modal * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

#scratch-canvas-container img {
    pointer-events: none;
}

/* --- PREMIUM TOOLS GÖRÜNÜRLÜK AYARLARI --- */

/* Butonları saran kapsayıcı */
.premium-tools-inline {
    display: flex;
    gap: 5px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    /* Diğer araçlardan ayıran çizgi */
}

/* Mobilde hizalama düzeltmesi */
@media (max-width: 768px) {
    .premium-tools-inline {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 5px;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
}

/* Premium butonların üzerindeki kilit simgesi efekti */
/* Kullanıcı Premium DEĞİLSE butonun üzerine küçük bir kilit ekleyebiliriz */
/* Not: Bunu JS kontrolü olmadan CSS ile yapmak zordur, 
   o yüzden şimdilik butonların üzerindeki "Yıldız" simgesi (zaten var) yeterlidir. */