body {
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(111, 210, 255, .09), transparent 34%),
    radial-gradient(circle at bottom left, rgba(138, 43, 226, .10), transparent 32%),
    #0c0f16;
}

#sidebar.collapsed { width: 80px !important; }
#sidebar.collapsed .menu-text { display: none !important; }
#sidebar.collapsed ~ .main-content,
body.sidebar-collapsed .main-content {
  margin-left: 80px !important;
  max-width: calc(100% - 80px) !important;
}
#sidebar.collapsed ~ .topbar,
body.sidebar-collapsed .topbar {
  left: 80px !important;
  width: calc(100% - 80px) !important;
}

@media (min-width: 993px) {
  .main-content {
    margin-left: 240px;
    max-width: calc(100% - 240px);
  }
}

@media (max-width: 992px) {
  #sidebar {
    left: -100% !important;
    width: 270px;
    max-width: 86vw;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 2500;
    transition: left .3s ease;
  }

  #sidebar.active,
  body.sidebar-open #sidebar { left: 0 !important; }

  .main-content,
  body.sidebar-collapsed .main-content,
  #sidebar.collapsed ~ .main-content {
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  .topbar,
  body.sidebar-collapsed .topbar,
  #sidebar.collapsed ~ .topbar {
    left: 0 !important;
    width: 100% !important;
  }
}

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  visibility: hidden;
  opacity: 0;
  z-index: 2400;
  transition: opacity .25s ease, visibility .25s ease;
}

#overlay.active,
body.sidebar-open #overlay {
  visibility: visible;
  opacity: 1;
}

.main-content {
  position: relative;
  min-height: 100vh;
  padding: 105px 32px 45px;
  background: transparent;
  transition: margin-left .3s ease, max-width .3s ease;
}

.deneme-page {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}
/* === Section / Toolbar === */
.section-header,
.social-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0 0 18px;
}

.section-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(111,210,255,.15), rgba(111,210,255,.04));
  border: 1px solid rgba(111,210,255,.16);
  box-shadow: 0 0 18px rgba(111,210,255,.08);
}

.section-icon i { color: #6fd2ff; font-size: 18px; }
.section-text h2 { margin: 0; font-size: 1.2rem; font-weight: 950; letter-spacing: -0.02em; }
.section-text p { margin: 4px 0 0; color: #8f9aaa; font-size: .86rem; }

.deneme-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 18px 0 24px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

.deneme-search { position: relative; width: 100%; }

.deneme-search input {
  width: 100%;
  height: 48px;
  padding: 0 50px 0 16px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  outline: none;
  font-size: .92rem;
  transition: .25s ease;
}

.deneme-search input:focus {
  border-color: rgba(111,210,255,.35);
  box-shadow: 0 0 0 4px rgba(111,210,255,.08);
}

.deneme-search i {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #6fd2ff;
}

.deneme-info-badge {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg,#8a2be2,#3b82f6);
  font-size: .9rem;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(59,130,246,.18);
}

/* === Sponsor Bonus Cards === */
.deneme-table-section {
  margin: 0 0 46px;
}

.table-container {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(138,43,226,.13), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.085);
  box-shadow: 0 16px 38px rgba(0,0,0,.28);
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container thead {
  background: linear-gradient(135deg, rgba(138,43,226,.34), rgba(59,130,246,.24));
}

.table-container th {
  padding: 16px 18px;
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}

.table-container td {
  padding: 15px 18px;
  color: #e8edf5;
  border-bottom: 1px solid rgba(255,255,255,.065);
  vertical-align: middle;
}

.table-container tbody tr {
  transition: .25s ease;
}

.table-container tbody tr:hover {
  background: rgba(255,255,255,.055);
}

.table-container tbody tr:last-child td {
  border-bottom: none;
}

.site-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  width: 150px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
  filter: brightness(.96) drop-shadow(0 8px 14px rgba(0,0,0,.25));
}

.site-logo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.site-name {
  color: #fff;
  font-size: .95rem;
  font-weight: 950;
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #4ade80;
  background: rgba(74,222,128,.10);
  border: 1px solid rgba(74,222,128,.22);
  font-weight: 950;
  white-space: nowrap;
}

.bonus-badge i {
  color: #4ade80;
}

.login-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg,#8a2be2,#3b82f6);
  box-shadow: 0 10px 22px rgba(59,130,246,.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 950;
  transition: .25s ease;
  white-space: nowrap;
}

.login-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.empty-row {
  text-align: center;
  color: #9aa6b8 !important;
  padding: 28px !important;
}

.deneme-empty-filter {
  display: none;
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  color: #9aa6b8;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.deneme-empty-filter i,
.empty-row i {
  color: #6fd2ff;
}

.deneme-note {
  margin: 34px 0 56px;
  padding: 20px 22px;
  border-radius: 22px;
  color: #d8dee9;
  background:
    radial-gradient(circle at top left, rgba(255, 193, 7, .10), transparent 38%),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.085);
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  line-height: 1.7;
  font-size: .9rem;
}

.deneme-note i { color: #ffd166; margin-right: 7px; }

#messagePopup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(5px);
  z-index: 10000;
}

#messagePopup .popup-box {
  width: 100%;
  max-width: 430px;
  padding: 24px 28px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg,#8a2be2,#3b82f6);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  text-align: center;
  font-size: .95rem;
  font-weight: 900;
  animation: fadeIn .28s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) {
  body { padding-bottom: 100px !important; }
  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 76px 14px 20px !important;
    transform: none !important;
    overflow: visible !important;
  }
  .deneme-page { max-width: 100%; }
  .deneme-toolbar,
  .table-container { border-radius: 22px; }
  .deneme-toolbar { grid-template-columns: 1fr; }
  .table-container {
    overflow: visible;
  }

  .table-container table {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .main-content { padding-left: 12px !important; padding-right: 12px !important; }

  /* === MOBILE CARD VIEW (TABLE -> CARDS) === */
  .table-container table,
  .table-container thead,
  .table-container tbody,
  .table-container th,
  .table-container td,
  .table-container tr {
    display: block;
    width: 100%;
  }

  .table-container thead {
    display: none;
  }

  .table-container tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .table-container tr {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 14px;
  }

  .table-container td {
    border: none;
    padding: 6px 0;
  }

  .site-cell {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .site-logo {
    width: 120px;
    height: 55px;
  }

  .site-name {
    display: block;
    font-size: .9rem;
  }

  .bonus-badge {
    justify-content: center;
    width: 100%;
  }

  .login-btn {
    width: 100%;
  }
}
  .site-logo { width: 118px; height: 54px; }
  .site-name { display: none; }
  .social-boxes { grid-template-columns: 1fr; gap: 12px; }
  .social-box { min-height: 76px; }
}