/* İstenmeyen elementleri gizle */
#intall { display: none !important; }
.post-content { margin-top: 0 !important; padding-top: 10px !important; }

:root {
    /* TIKTOK RENK PALETİ */
    --tgc-bg: #ffffff;
    --tgc-text: #121212;
    --tgc-gray: #8A8B91;
    --tgc-black: #000000;
    --tgc-cyan: #25F4EE;
    --tgc-pink: #FE2C55;
    
    /* UI Değişkenleri */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-strong: 0 20px 50px rgba(0,0,0,0.12);
    --hero-img-radius: 30px;
    --hero-img-border: 8px;
}

.tgc-wrapper, .tgc-wrapper * { box-sizing: border-box !important; }

.tgc-wrapper {
    font-family: 'Sofia Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 10px 15px !important;
    color: var(--tgc-text) !important;
    position: relative !important;
}

.tgc-wrapper a { text-decoration: none !important; color: inherit !important; }
.tgc-wrapper img { max-width: 100% !important; height: auto !important; display: block !important; }

/* BREADCRUMBS */
.tgc-breadcrumbs {
    font-size: .8rem !important;
    color: var(--tgc-gray) !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.tgc-breadcrumbs a { font-weight: 700 !important; transition: .2s !important; }
.tgc-breadcrumbs a:hover { color: var(--tgc-pink) !important; }
.tgc-breadcrumbs .current { color: var(--tgc-pink) !important; font-weight: 900 !important; }

/* HERO BÖLÜMÜ */
.tgc-hero {
    text-align: center !important;
    background: #fff !important; 
    padding: 25px 20px 40px 20px !important;
    border-radius: var(--radius-xl) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    margin-bottom: 30px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-shadow: var(--shadow-soft) !important;
}

/* Arkaplan Blur Efektleri */
.tgc-hero::before {
    content: "" !important; position: absolute !important;
    top: -50px; left: -50px; width: 200px; height: 200px;
    background: var(--tgc-cyan); filter: blur(90px); opacity: 0.15 !important; z-index: 0 !important;
}
.tgc-hero::after {
    content: "" !important; position: absolute !important;
    bottom: -50px; right: -50px; width: 200px; height: 200px;
    background: var(--tgc-pink); filter: blur(90px); opacity: 0.15 !important; z-index: 0 !important;
}

.tgc-hero-content { position: relative !important; z-index: 2 !important; width: 100% !important; }

.tgc-hero h1 {
    font-size: 2.2rem !important; font-weight: 950 !important;
    margin: 0 0 10px 0 !important; letter-spacing: -1px !important;
    line-height: 1.1 !important; color: var(--tgc-black) !important;
}
.tgc-gradient-text {
    background: linear-gradient(90deg, var(--tgc-cyan), #000, var(--tgc-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.tgc-hero p {
    font-size: 0.95rem !important; color: var(--tgc-gray) !important;
    max-width: 600px !important; margin: 0 auto 20px auto !important;
    line-height: 1.5 !important;
}

/* GÖRSEL ALANI (KARE) */
.tgc-hero-img-wrapper {
    position: relative !important; z-index: 3 !important;
    width: 100% !important; max-width: 300px !important; 
    margin: 0 auto !important; padding: 0 !important; margin-bottom: 0 !important;
}
.tgc-hero-img-frame {
    position: relative !important; width: 100% !important;
    border-radius: var(--hero-img-radius) !important;
    background: transparent !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}
.tgc-hero-img-frame img {
    width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important;
    border-radius: var(--hero-img-radius) !important;
    border: var(--hero-img-border) solid rgba(255,255,255,0.95) !important;
    background: #fff !important;
}

/* ========================================= */
/* HESAPLAMA KARTI (INPUT & CONTROLS)       */
/* ========================================= */
.tgc-calculator-card {
    background: #fff !important; border-radius: var(--radius-xl) !important;
    padding: 30px 20px !important; box-shadow: var(--shadow-strong) !important;
    border: 1px solid rgba(0,0,0,0.05) !important; margin-bottom: 40px !important;
    position: relative !important; z-index: 5 !important;
}
.tgc-card-title {
    text-align: center !important; font-size: 1.5rem !important; font-weight: 800 !important;
    color: var(--tgc-black) !important; margin-bottom: 25px !important;
}
.tgc-card-title i { color: var(--tgc-pink) !important; margin-right: 8px !important; }

.tgc-controls-grid {
    display: grid !important; gap: 20px !important;
    grid-template-columns: 1fr !important; /* Mobil varsayılan */
}

.tgc-form-group label {
    display: block !important; font-size: 0.9rem !important; font-weight: 700 !important;
    color: var(--tgc-gray) !important; margin-bottom: 8px !important;
}
.tgc-form-group label i { margin-right: 5px !important; color: var(--tgc-black) !important; }

.input-wrapper, .select-wrapper { position: relative !important; }

.tgc-input, .tgc-select {
    width: 100% !important; padding: 15px !important; font-size: 1rem !important;
    border: 2px solid #eee !important; border-radius: var(--radius-lg) !important;
    background: #f9f9f9 !important; font-family: inherit !important;
    transition: all 0.3s ease !important;
}
.tgc-input:focus, .tgc-select:focus {
    border-color: var(--tgc-cyan) !important; background: #fff !important; outline: none !important;
    box-shadow: 0 0 0 4px rgba(37, 244, 238, 0.1) !important;
}

/* Arama Sonuçları */
.tgc-search-results {
    position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important;
    background: #fff !important; border: 1px solid #eee !important; border-radius: 0 0 12px 12px !important;
    z-index: 50 !important; max-height: 250px !important; overflow-y: auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; display: none;
}
.tgc-result-item {
    display: flex !important; align-items: center !important; padding: 12px 15px !important;
    cursor: pointer !important; transition: background 0.2s !important; border-bottom: 1px solid #f5f5f5 !important;
}
.tgc-result-item:hover { background: #f0fbfc !important; }
.tgc-result-item img { width: 32px !important; height: 32px !important; border-radius: 6px !important; margin-right: 12px !important; }
.tgc-result-item span { font-weight: 600 !important; font-size: 0.95rem !important; }

.tgc-separator { 
    text-align: center !important; position: relative !important; margin: 10px 0 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}
.tgc-separator span {
    background: #fff !important; padding: 5px 15px !important; color: var(--tgc-gray) !important;
    font-weight: 800 !important; font-size: 0.8rem !important; text-transform: uppercase !important;
    z-index: 2 !important; border: 1px solid #eee !important; border-radius: 20px !important;
}
.tgc-separator::before {
    content: "" !important; position: absolute !important; width: 100% !important; height: 1px !important;
    background: #eee !important; z-index: 1 !important;
}

/* Ana Buton */
.tgc-btn-action {
    width: 100% !important; padding: 16px !important; margin-top: 25px !important;
    background: var(--tgc-black) !important; color: #fff !important;
    border: none !important; border-radius: 999px !important;
    font-size: 1.1rem !important; font-weight: 800 !important; cursor: pointer !important;
    transition: all 0.3s ease !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
}
.tgc-btn-action:hover {
    background: var(--tgc-pink) !important; transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(254, 44, 85, 0.3) !important;
}

/* SONUÇ EKRANI */
.tgc-result-panel {
    margin-top: 30px !important; border-top: 2px dashed #eee !important; padding-top: 30px !important;
    animation: slideUp 0.5s ease !important;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.result-header {
    display: flex !important; align-items: center !important; gap: 20px !important;
    margin-bottom: 25px !important; background: #fafafa !important; padding: 15px !important; border-radius: var(--radius-lg) !important;
}
.gift-preview img { width: 64px !important; height: 64px !important; object-fit: contain !important; }
.gift-info h3 { margin: 0 0 5px 0 !important; font-size: 1.3rem !important; font-weight: 800 !important; }
.coin-badge { background: #FFD700 !important; color: #000 !important; padding: 4px 10px !important; border-radius: 20px !important; font-weight: 700 !important; font-size: 0.85rem !important; }

.result-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }

.res-card {
    background: #fff !important; border: 1px solid #eee !important; padding: 20px !important;
    border-radius: var(--radius-lg) !important; position: relative !important; overflow: hidden !important;
}
.res-card .lbl { display: block !important; font-size: 0.85rem !important; color: var(--tgc-gray) !important; margin-bottom: 5px !important; font-weight: 600 !important; }
.res-card .val { font-size: 1.6rem !important; font-weight: 900 !important; color: var(--tgc-black) !important; display: block !important; }
.bg-icon {
    position: absolute !important; right: -10px !important; bottom: -10px !important;
    font-size: 4rem !important; opacity: 0.05 !important; transform: rotate(-15deg) !important;
}

/* Kart Özelleştirmeleri */
.card-total { border-left: 4px solid var(--tgc-black) !important; }
.card-tiktok { border-left: 4px solid var(--tgc-pink) !important; }
.card-tiktok .val { color: var(--tgc-pink) !important; }
.card-creator {
    background: #eafff8 !important; border: 1px solid #2ecc71 !important;
    border-left: 4px solid #2ecc71 !important;
}
.card-creator .val { color: #27ae60 !important; font-size: 2rem !important; }

/* İçerik ve Tablo */
.tgc-content-section {
    background: #fff !important; padding: 30px !important; border-radius: var(--radius-xl) !important;
    margin-bottom: 40px !important; display: grid !important; gap: 30px !important;
}
.tgc-content-section h2 { font-size: 1.5rem !important; margin-bottom: 15px !important; font-weight: 900 !important; }
.feature-list li { margin-bottom: 10px !important; font-size: 0.95rem !important; }
.feature-list i { color: var(--tgc-cyan) !important; margin-right: 8px !important; }
.info-box {
    background: #fff8e1 !important; padding: 20px !important; border-radius: var(--radius-lg) !important;
    border-left: 4px solid #FFC107 !important;
}

.tgc-table-section { background: #fff !important; padding: 30px 20px !important; border-radius: var(--radius-xl) !important; }
.tgc-section-title { text-align: center !important; font-size: 1.6rem !important; margin-bottom: 20px !important; font-weight: 900 !important; }
.tgc-table-responsive { overflow-x: auto !important; }
.tgc-table { width: 100% !important; border-collapse: collapse !important; min-width: 600px !important; }
.tgc-table th { background: #f9f9f9 !important; padding: 15px !important; text-align: left !important; font-size: 0.9rem !important; color: var(--tgc-gray) !important; }
.tgc-table td { padding: 15px !important; border-bottom: 1px solid #eee !important; font-size: 0.95rem !important; }
.tbl-gift-meta { display: flex !important; align-items: center !important; gap: 10px !important; font-weight: 700 !important; }
.tbl-gift-meta img { width: 36px !important; height: 36px !important; border-radius: 6px !important; }
.text-danger { color: var(--tgc-pink) !important; }
.text-success { color: #27ae60 !important; }

/* ========================================= */
/* PC / MASAÜSTÜ (992px+)                   */
/* ========================================= */
@media (min-width: 992px) {
    .tgc-hero {
        flex-direction: row !important; text-align: left !important;
        padding: 60px 50px !important; gap: 40px !important;
        justify-content: space-between !important;
    }
    .tgc-hero-content { width: 55% !important; padding-right: 20px !important; }
    .tgc-hero h1 { font-size: 3rem !important; margin-bottom: 20px !important; }
    .tgc-hero p { margin-left: 0 !important; font-size: 1.1rem !important; }
    
    .tgc-hero-img-wrapper {
        width: 40% !important; max-width: 380px !important;
        margin: 0 !important; margin-bottom: -20px !important;
    }
    .tgc-hero-img-frame { box-shadow: -20px 30px 60px rgba(0,0,0,0.1) !important; }

    /* Hesaplama Kartı PC */
    .tgc-controls-grid { grid-template-columns: 1fr auto 1fr !important; align-items: center !important; }
    
    .result-grid { grid-template-columns: 1fr 1fr 1fr !important; }
    
    .tgc-content-section { grid-template-columns: 2fr 1fr !important; }
}

@media (max-width: 600px) {
    .tgc-hero-img-wrapper { max-width: 280px !important; }
}