* {
    box-sizing: border-box;
}

html,
body {
    padding: 0px;
    margin: 0px;
}

body {
    box-sizing: border-box;
    background-color: #040404;
    color: #cfd8dc;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-top: 48px;
}

header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 96px;
    background-color: #070b10;
    z-index: 1000;
}

.upper-header {
    background-color: black;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upper-header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 32px;
}

.upper-header img {
    margin-left: 24px;
    height: 16px;
    display: flex;
}

.lower-header {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    border-bottom: 1px solid black;
}

.lower-header img {
    margin-top: -4px;
    height: 40px;
}

.nav-tree {
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    color: #cfd8dc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background-color: transparent;
    border: none;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.nav-item .nav-link {
    text-decoration: none;
    color: inherit;
    padding-top: 0px !important;
}

.nav-link {
    gap: 4px;
}

.nav-item:hover {
    background-color: #1a1e24;
    color: #ffffff;
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 64px;
    left: 0;
    background-color: #070b10;
    border: 1px solid #1a1e24;
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: none;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.dropdown-menu li a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #1a1e24;
    color: #fff;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #cfd8dc;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    padding: 0 10px;
}

main {
    max-width: 1000px;
    background-color: #070b10;
    color: #cfd8dc;
    margin-top: 128px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    padding-left: 10px;
}

footer {
    width: 100%;
    background-color: #070b10;
    color: #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 10px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand h3 {
    color: #494949;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-group h4 {
    color: #494949;
    font-size: 14px;
    margin-bottom: 8px;
}

.link-group a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.link-group a:hover {
    color: #494949;
}

.link-row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.copyright-text {
    width: 100%;
    text-align: center;
}

.header-icon {
    width: 16px !important;
    height: 16px !important;
    margin-left: 4px;
}

 .table-container {
      width: 100%;
      overflow-x: auto;
      padding: 20px 0;
  }

  table {
      width: 100%;
      border-collapse: collapse;
      background-color: #070b10;
      color: #cfd8dc;
      font-size: 14px;
      border-radius: 8px;
      overflow: hidden;
  }

  thead tr {
      background-color: #111820;
      text-align: left;
  }

  th {
      padding: 14px 16px;
      color: #494949;
      /* Logo renginle uyumlu */
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-bottom: 2px solid #0b1116;
  }

  /* Satır ve Hücreler */
  td {
      padding: 12px 16px;
      border-bottom: 1px solid #1a222c;
  }

  /* Satır Üzerine Gelince Efekt (Hover) */
  tbody tr:hover {
      background-color: #0d141d;
      transition: background-color 0.3s ease;
  }
   .wiki-info {
      padding: 20px;
  }

  dl {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 0;
  }

  .info-row {
      display: flex;
      justify-content: flex-start;
      border-bottom: 1px solid #1a222c;
      padding-bottom: 8px;
  }

  dt {
      color: #494949;
      /* Mevcut tasarımındaki h3 ve h4 rengi */
      font-weight: 600;
      width: 150px;
      /* Anahtar sütunu genişliği */
      flex-shrink: 0;
      font-size: 14px;
  }

  dd {
      color: #ccc;
      /* Mevcut link ve metin rengi */
      margin: 0;
      font-size: 14px;
  }

@media (max-width: 768px) {

    .web-only,
    .web {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    header {
        height: 64px;
    }

    main {
        margin-top: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-item .nav-link {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .nav-tree {
        display: none;
        position: absolute;
        top: 96px;
        left: 0;
        width: 100%;
        background-color: #070b10;
        height: auto;
        border-top: 1px solid #1a1e24;
        z-index: 999;
        margin-left: 0;
        padding-bottom: 20px;
    }

    .nav-tree.active {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        height: auto;
    }

    .nav-item {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        border-bottom: 1px solid #1a1e24;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .nav-item:hover .dropdown-menu,
    .has-dropdown:active .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #0b1118;
        padding-left: 20px;

        padding-left: 0;
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        color: #90a4ae;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .socials {
        justify-content: flex-start;
    }

    .social-icon {
        width: 64px !important;
        height: 64px !important;
    }
}