/* Genel Stiller */
:root {
    --primary: #5865F2;
    --success: #57F287;
    --warning: #FEE75C;
    --danger: #ED4245;
    --dark: #2C2F33;
    --darker: #23272A;
    --light: #FFFFFF;
    --gray: #99AAB5;
    --dark-gray: #4F545C;
  }
  
  [data-theme="light"] {
    --dark: #f8f9fa;
    --darker: #e9ecef;
    --light: #212529;
    --gray: #495057;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  
  body {
    background-color: var(--dark);
    color: var(--light);
    min-height: 100vh;
    padding: 20px;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(88, 101, 242, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(87, 242, 135, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
  }
  
  /* Arkaplan İkonu */
  .bg-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 150px;
    opacity: 0.03;
    z-index: -1;
    color: var(--primary);
  }
  
  /* Ana Container */
  .dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  
  /* Bot Header */
  .bot-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
  }
  
  .bot-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
  }
  
  .bot-info {
    flex: 1;
  }
  
  .bot-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--light);
  }
  
  .bot-id {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
  }
  
  .bot-description {
    font-size: 0.95rem;
    color: var(--gray);
  }
  
  /* İstatistik Grid */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
  }
  
  .stat-card {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary);
    animation: fadeIn 0.5s ease-out;
  }
  
  .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 5px;
  }
  
  .stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light);
  }
  
  /* Grafikler Bölümü */
  .charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .chart-card {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
  }
  
  .chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .chart-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .chart-container {
    height: 300px;
    width: 100%;
  }
  
  /* Sunucu Listesi */
  .guild-section {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 20px;
    animation: fadeIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
  }
  
  .section-header {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .guild-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .guild-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .guild-card:hover {
    background-color: rgba(88, 101, 242, 0.1);
    transform: translateY(-3px);
  }
  
  .guild-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .guild-name {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 3px;
  }
  
  .guild-id {
    font-size: 0.8rem;
    color: var(--gray);
  }
  
  /* Tema Değiştirme Butonu */
  .theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
  }
  
  .toggle-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .toggle-btn:hover {
    background-color: #4752C4;
    transform: scale(1.1);
  }
  
  /* Animasyonlar */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive Tasarım */
  @media (max-width: 768px) {
    .bot-header {
      flex-direction: column;
      text-align: center;
    }
    
    .stats-grid {
      grid-template-columns: 1fr 1fr;
    }
    
    .charts-section {
      grid-template-columns: 1fr;
    }
    
    .guild-list {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .stats-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Özel Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--darker);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #4752C4;
  }