/* style.css */
:root {
    --primary: #ff0000; /* TScript Kırmızısı */
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border: #333;
}

/* Light Theme Overrides */
[data-theme="light"] {
    --dark-bg: #f0f2f5;
    --card-bg: #ffffff;
    --text-white: #1a1a1a;
    --text-gray: #555555;
    --border: #ddd;
}

[data-theme="light"] .hero,
[data-theme="light"] .auth-wrapper {
    background: radial-gradient(circle at center, #ffe6e6 0%, #f0f2f5 70%);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Yardımcı Sınıflar */
.text-primary { color: var(--primary); }
.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    display: inline-block;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}
.btn-primary:hover { background-color: #cc0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }

/* Header */
header {
    background: rgba(15, 15, 15, 0.95);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.logo::before,
.logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.logo::before {
    left: 2px;
    text-shadow: -2px 0 #ff0000;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.logo::after {
    left: -2px;
    text-shadow: -2px 0 #990000;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.nav-links { display: flex; gap: 25px; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* thesc2 görseli ve üzerine koyu filtre */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('thesc2.png');
    background-color: #111; /* Resim yüklenmezse görünecek renk */
    background-size: 110%; /* Hareket payı için %110 */
    background-position: center;
    transition: background-position 0.1s ease-out; /* Yumuşak geçiş */
    overflow: hidden;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { color: var(--text-gray); max-width: 600px; margin-bottom: 2rem; }

/* Auth Pages (Login/Register) */
.auth-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, #1a0000 0%, #0f0f0f 60%);
}
.auth-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-gray); font-size: 0.9rem; }
.form-group input {
    width: 100%;
    padding: 12px;
    background: #0f0f0f;
    border: 1px solid var(--border);
    color: white;
    border-radius: 5px;
}
.form-group input:focus { outline: none; border-color: var(--primary); }

/* Dashboard Layout */
.dashboard { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px;
    background: var(--card-bg);
    border-right: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.sidebar-menu { margin-top: 40px; flex: 1; }
.sidebar-menu li { margin-bottom: 10px; }
.sidebar-menu a {
    display: block;
    padding: 12px;
    border-radius: 5px;
    color: var(--text-gray);
}
.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}
.main-content { flex: 1; padding: 50px; } /* Daha geniş iç boşluk */

/* Dashboard Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px; /* Kartlar arası boşluk artırıldı */
    margin-bottom: 40px;
}
.stat-card {
    background: var(--card-bg);
    padding: 30px; /* Kart içi boşluk artırıldı */
    border-radius: 8px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--card-bg), #111);
}
.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255,0,0,0.1);
}
.stat-card h3 { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 10px; }
.stat-card .value { font-size: 1.8rem; font-weight: bold; }

/* Table */
.table-container {
    background: var(--card-bg);
    padding: 30px; /* Tablo alanı genişletildi */
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card-bg);
}
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th { text-align: left; color: var(--text-gray); padding: 10px; border-bottom: 1px solid var(--border); }
td { padding: 20px 15px; border-bottom: 1px solid #222; } /* Satır yüksekliği artırıldı */
.status { padding: 5px 10px; border-radius: 15px; font-size: 0.8rem; }
.status.active { background: rgba(0, 255, 0, 0.1); color: #00ff00; }
.status.pending { background: rgba(255, 165, 0, 0.1); color: orange; }

/* Pricing Section */
.pricing-section {
    padding: 80px 5%;
    background-color: var(--dark-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 { font-size: 2.5rem; margin: 0; }
.section-header p { color: var(--text-gray); }

.title-box {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px 40px;
    margin-bottom: 20px;
    animation: glow-move 2.5s ease-in-out infinite alternate;
}

@keyframes glow-move {
    0% { box-shadow: -15px 0 30px rgba(255, 0, 0, 0.2), 0 0 10px rgba(0,0,0,0.3); }
    100% { box-shadow: 15px 0 30px rgba(255, 0, 0, 0.2), 0 0 10px rgba(0,0,0,0.3); }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    perspective: 1000px; /* 3D derinlik için gerekli */
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease; /* Mouse hareketi için hızlı transition */
    transform-style: preserve-3d;
    overflow: hidden;
}

.pricing-card:hover {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
    border-color: var(--primary);
}

/* İçeriklerin 3D efektiyle hafif öne çıkması için */
.card-content {
    transform: translateZ(20px); 
}

.pricing-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.pricing-card .price { font-size: 2.5rem; font-weight: bold; margin-bottom: 20px; color: var(--text-white); }
.pricing-card .price span { font-size: 1rem; color: var(--text-gray); font-weight: normal; }

.features { margin-bottom: 30px; text-align: left; }
.features li { margin-bottom: 12px; color: var(--text-gray); display: flex; align-items: center; gap: 10px; }
.features li i { color: var(--primary); }

/* Featured Card (Orta Kart) */
.pricing-card.featured {
    background: linear-gradient(145deg, #1a1a1a, #220000);
    border: 1px solid var(--primary);
    transform: scale(1.05); /* Varsayılan olarak biraz büyük */
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px; /* Kartın köşesine uyması için */
}

/* Footer */
footer {
    background-color: #111;
    padding: 60px 5% 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer-section p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.footer-section ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
}
.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    border: 1px solid var(--border);
}
.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.8rem;
}

/* Typewriter Cursor Animation */
.cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: bold;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Theme Switcher */
.theme-dropdown {
    position: relative;
    display: inline-block;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-white);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.theme-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    min-width: 130px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
}

.theme-menu.show {
    display: block;
}

.theme-menu button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
}

.theme-menu button:hover {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
}

.theme-menu button i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

/* Light Theme Fix for Featured Card */
[data-theme="light"] .pricing-card.featured {
    background: linear-gradient(145deg, #ffffff, #ffe6e6);
}

/* Discord Widget (Sağ Alt) */
.discord-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 180px;
    padding: 2px; /* Neon şerit kalınlığı */
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); /* Slowmode kayma efekti */
}

.discord-widget.minimized {
    transform: translateY(calc(100% - 15px)); /* Ekranın en altına kadar insin (3px pay kalır) */
}

/* Dönen Neon Efekti */
.discord-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--primary));
    animation: rotate-border 4s linear infinite;
}

.discord-content {
    position: relative;
    background: var(--card-bg);
    border-radius: 0 0 10px 10px; /* Sadece alt köşeler yuvarlak */
    padding: 15px;
    text-align: center;
    z-index: 1;
}

.discord-content p {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Widget Toggle Header (Açma/Kapama Çubuğu) */
.widget-header {
    position: relative;
    background: var(--card-bg);
    height: 40px; /* Sabit yükseklik: Hesaplamanın şaşmaması için */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px 10px 0 0;
    z-index: 1;
    color: var(--primary); /* Kırmızı simge */
}
.widget-header:hover { background: #222; }

.invisible-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    z-index: 10;
}

/* --- KASA SİSTEMİ (Case Opening) --- */
.case-section {
    padding: 100px 5%;
    text-align: center;
    min-height: 80vh;
}

.case-container {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    perspective: 1000px;
}

.case-box {
    width: 400px; /* Görsel genişliği */
    max-width: 90%;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.case-box:hover {
    transform: scale(1.05);
}

.case-box img {
    width: 100%;
    display: block;
    /* Siyah arka planı şeffaf yapmak için */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.3)); /* Kırmızı Glow */
    transition: filter 0.3s;
}

.case-box:hover img {
    filter: drop-shadow(0 0 50px rgba(255, 0, 0, 0.6));
}

/* Kasa Bilgi Paneli (Tooltip) */
.case-info-panel {
    position: absolute;
    top: 50%;
    right: -280px; /* Kutunun sağ tarafına al */
    left: auto; /* Sol hizalamayı iptal et */
    transform: translateY(-50%) translateX(-20px); /* Dikey ortala, yatayda biraz soldan başla */
    width: 260px;
    background: rgba(20, 5, 5, 0.95); /* Hafif kırmızımsı siyah */
    border: 1px solid #333;
    border-radius: 12px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3); /* Kırmızı Glow */
    border: 1px solid var(--primary); /* Kırmızı çerçeve */
    backdrop-filter: blur(5px);
    pointer-events: none; /* Mouse etkileşimini engelle */
}

.case-box:hover .case-info-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* Yerine oturt */
}

.panel-header {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
}

.panel-item.common { border-left: 3px solid #b0c3d9; color: #b0c3d9; }
.panel-item.rare { border-left: 3px solid #4b69ff; color: #4b69ff; }
.panel-item.legendary { border-left: 3px solid #d32ce6; color: #d32ce6; }

.panel-item .rate {
    font-weight: bold;
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.case-box.shaking {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both infinite;
}

.case-box.open {
    transform: scale(0);
    opacity: 0;
}

.revealed-item {
    position: absolute;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    opacity: 0;
}

.revealed-item.show {
    transform: scale(1);
    opacity: 1;
}

.revealed-item i {
    font-size: 8rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.case-item {
    min-width: 160px;
    height: 140px;
    margin: 0 5px;
    background: var(--card-bg);
    border-bottom: 4px solid #555; /* Varsayılan renk */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.case-item img, .case-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
}

.case-item .item-name {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
    padding: 0 5px;
}

/* Nadirlik Renkleri */
.rarity-common { border-bottom-color: #b0c3d9; } /* Gri */
.rarity-uncommon { border-bottom-color: #5e98d9; } /* Açık Mavi */
.rarity-rare { border-bottom-color: #4b69ff; box-shadow: 0 0 15px rgba(75, 105, 255, 0.2); } /* Mavi */
.rarity-mythical { border-bottom-color: #8847ff; box-shadow: 0 0 20px rgba(136, 71, 255, 0.3); } /* Mor */
.rarity-legendary { border-bottom-color: #d32ce6; box-shadow: 0 0 25px rgba(211, 44, 230, 0.4); } /* Pembe */
.rarity-ancient { border-bottom-color: #eb4b4b; box-shadow: 0 0 30px rgba(235, 75, 75, 0.5); } /* Kırmızı */

.win-message {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    min-height: 40px;
    color: var(--primary);
}

.case-items-preview {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-2deg); }
  20%, 80% { transform: translate3d(4px, 0, 0) rotate(2deg); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0) rotate(-4deg); }
  40%, 60% { transform: translate3d(6px, 0, 0) rotate(4deg); }
}

/* --- SHOWCASE (Before/After) SECTION --- */
.showcase-section {
    padding: 80px 5%;
    background-color: #141414; /* Pricing'den biraz farklı bir ton */
    border-bottom: 1px solid var(--border);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.showcase-content {
    display: none; /* Varsayılan olarak gizli */
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.showcase-content.active {
    display: grid;
}

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

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.showcase-text p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Comparison Slider Styles */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 400px; /* Slider yüksekliği */
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    cursor: grab; /* Mouse imleci */
}
.comparison-slider:active {
    cursor: grabbing;
}

.comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-background {
    width: 100%;
    height: 100%;
}

.img-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Başlangıç genişliği */
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--primary);
    z-index: 2;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%; /* Başlangıç konumu */
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 3;
    box-shadow: 0 0 20px rgba(255,0,0,0.6);
    pointer-events: none; /* Mouse olaylarını slider container'a bırak */
}

/* ========================================
   GENEL RESPONSIVE AYARLAR
   ======================================== */

@media (max-width: 1024px) {
    .hero {
        height: auto;
        padding: 100px 6% 80px;
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 4%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        order: 3;
        margin-top: 4px;
    }

    header > div:last-of-type {
        gap: 8px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 80px 5% 60px;
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .pricing-section,
    .showcase-section,
    .case-section {
        padding: 60px 5%;
    }

    .comparison-slider {
        height: 260px;
    }

    .pricing-card {
        padding: 30px 25px;
    }

    .discord-widget {
        right: 12px;
        bottom: 12px;
        width: 150px;
    }
}

@media (max-width: 480px) {
    header {
        justify-content: center;
    }

    .nav-links {
        gap: 10px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
}

/* Responsive (Showcase) */
@media (max-width: 900px) {
    .showcase-content { grid-template-columns: 1fr; text-align: center; }
    .showcase-text { margin-bottom: 30px; }
    .features { text-align: left; display: inline-block; }
}

/* Glitch Keyframes */
@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 50% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(80% 0 5% 0); }
    40% { clip-path: inset(30% 0 20% 0); }
    60% { clip-path: inset(10% 0 80% 0); }
    80% { clip-path: inset(50% 0 10% 0); }
    100% { clip-path: inset(70% 0 30% 0); }
}

/* --- GELİŞMİŞ DASHBOARD STİLLERİ --- */
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4444 !important;
    padding: 12px;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 10px;
}
.logout-btn:hover {
    background: rgba(255, 68, 68, 0.1);
    padding-left: 15px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-profile .avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(255,0,0,0.4);
    border: 2px solid #fff;
}

.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary);
    opacity: 0.8;
    background: rgba(255, 0, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.quick-actions {
    margin-bottom: 30px;
}
.quick-actions h3 {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 1rem;
}
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
}

tr:hover td {
    background: rgba(255,255,255,0.03);
}

/* Sidebar Toggle & Collapsed State */
.sidebar {
    position: relative;
    transition: width 0.3s ease;
}

.sidebar-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}
.sidebar-toggle:hover { color: var(--primary); }

.sidebar.collapsed .sidebar-toggle {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.sidebar.collapsed {
    width: 60px;
    padding: 20px 5px;
}

.sidebar.collapsed .logo {
    font-size: 0;
}
.sidebar.collapsed .logo::before,
.sidebar.collapsed .logo::after {
    display: none;
}
.sidebar.collapsed .logo span {
    display: none;
}

.sidebar.collapsed .sidebar-menu span,
.sidebar.collapsed .logout-btn span {
    display: none;
}

.sidebar.collapsed .sidebar-menu a,
.sidebar.collapsed .logout-btn {
    justify-content: center;
}

/* Modern Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px; /* Grid arası boşluk artırıldı */
    margin-top: 30px;
}

.main-column, .side-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Dikey elemanlar arası boşluk artırıldı */
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.quick-actions, .activity-feed {
    background: var(--card-bg);
    padding: 30px; /* Yan paneller genişletildi */
    border-radius: 8px;
    border: 1px solid var(--border);
}

.activity-feed ul {
    list-style: none;
    margin-top: 15px;
}

.activity-feed li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.activity-feed li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-feed li i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

/* ========================================
   ÜRÜNLERIM SAYFASI
   ======================================== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.08);
    transform: translateY(-2px);
}

.product-item.expired {
    opacity: 0.6;
    border-color: #555;
}

.product-item.expired:hover {
    opacity: 0.85;
    border-color: #888;
    box-shadow: none;
}

.product-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: var(--primary);
}

.product-details {
    flex: 1;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.product-header h3 {
    font-size: 1.15rem;
    color: var(--text-white);
}

.product-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.meta-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.license-key {
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-key code {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 5px;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.key-toggle {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 2px 5px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.key-toggle:hover {
    color: var(--primary);
}

/* Progress Bar */
.progress-container {
    max-width: 400px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff4444);
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

.progress-fill.expired-fill {
    background: linear-gradient(90deg, #555, #666);
    box-shadow: none;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

/* Expired Badge */
.status.expired-badge {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

/* Cancelled Badge */
.status.cancelled-badge {
    background: rgba(150, 150, 150, 0.15);
    color: #999;
}

@media (max-width: 900px) {
    .product-item {
        flex-direction: column;
        text-align: left;
    }
    .product-actions {
        flex-direction: row;
        width: 100%;
    }
}

/* ========================================
   MAĞAZA SAYFASI
   ======================================== */
.balance-display {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-display i {
    color: var(--primary);
}

.store-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.store-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.1);
    transform: translateY(-5px);
}

.store-card.featured {
    background: linear-gradient(145deg, #1a1a1a, #220000);
    border: 1px solid var(--primary);
}

.store-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 14px;
}

.store-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.store-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.store-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.store-features {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.store-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.store-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.store-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.store-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
}

.store-price span {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: normal;
}

/* ========================================
   FATURALAR SAYFASI
   ======================================== */
.invoice-id {
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(255, 0, 0, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
}

.invoice-toolbar {
    margin-bottom: 25px;
}

.invoice-summary {
    margin-top: 25px;
}

.summary-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 25px;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ========================================
   DESTEK SAYFASI
   ======================================== */
.ticket-form {
    background: rgba(255, 0, 0, 0.03);
    border: 1px dashed rgba(255, 0, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeIn 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ticket-form .form-group {
    margin-bottom: 15px;
}

.ticket-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.ticket-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.ticket-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-select option {
    background: #1a1a1a;
    color: var(--text-white);
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Öncelik Badge'leri */
.priority-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge.high {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

.priority-badge.medium {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

.priority-badge.low {
    background: rgba(0, 200, 150, 0.15);
    color: #00c896;
}

/* Destek Durum Badge'leri */
.status.ticket-open {
    background: rgba(255, 0, 0, 0.12);
    color: var(--primary);
}

.status.ticket-answered {
    background: rgba(0, 150, 255, 0.12);
    color: #0096ff;
}

.status.ticket-closed {
    background: rgba(150, 150, 150, 0.12);
    color: #999;
}

/* SSS Accordion */
.faq-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}

.faq-container > h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: 0.2s;
}

.faq-question:hover {
    background: rgba(255, 0, 0, 0.05);
}

.faq-question i {
    color: var(--primary);
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 18px 15px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* İletişim Bilgi Kartı */
.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}

.contact-info-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card ul {
    list-style: none;
}

.contact-info-card li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-gray);
}

.contact-info-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-card li i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.contact-info-card li strong {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
}

.contact-info-card li span {
    font-size: 0.8rem;
}
