/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem 100px;
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-self: start;
}

.logo-section .logo {
  width: 16rem;
  height: 6rem;
  margin-right: -10px;
  margin-bottom: -4px;
}

.header-text h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffffff;
}

.header-text p {
  color: #9ca3af;
  font-size: 1rem;
}

/* Grid Styles */
.explorers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

/* Card Styles */
.card {
  background-color: #0D0D0D;
  border: 1px solid #1A1A1A;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  background-color: #161616;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #1A1A1A;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.card-description {
  color: #9ca3af;
  font-size: 0.875rem;
  word-break: break-all;
  line-height: 1.4;
}

.card-content {
  padding: 1.5rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1A1A1A;
  color: #ffffff;
  border: 1px solid #303030;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #222121;
  border-color: #303030;
  transform: translateY(-1px);
}

.btn:focus {
  outline: 2px solid #6b7280;
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
}

.icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Responsive Design */

/* Large tablets and small desktops (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 2rem 1.5rem 100px;
  }

  .explorers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .header-text h1 {
    font-size: 2.25rem;
  }
}

/* Small tablets (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .container {
    padding: 1.5rem 1rem 100px;
  }

  .explorers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-text h1 {
    font-size: 2rem;
  }

  .card-header,
  .card-content {
    padding: 1.25rem;
  }
}

@media (max-width: 500px) {
  .logo-section {
    flex-direction: column;
    width: 100%;
    margin: 0;
    margin-left: -12px;
  }
}

/* Mobile phones (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem 100px;
  }

  .explorers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .logo {
    width: 3rem;
    height: 3rem;
  }

  .header-text h1 {
    font-size: 1.75rem;
  }

  .header-text p {
    font-size: 0.875rem;
  }

  .card-header,
  .card-content {
    padding: 1rem;
  }

  .card-logo {
    width: 1.5rem;
    height: 1.5rem;
  }

  .card-header h2 {
    font-size: 1.125rem;
  }

  .card-description {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
  }
}

/* Extra small screens (below 320px) */
@media (max-width: 319px) {
  .container {
    padding: 0.75rem 0.5rem 100px;
  }

  .header-text h1 {
    font-size: 1.5rem;
  }

  .card-header,
  .card-content {
    padding: 0.75rem;
  }
}

/* Large screens (1024px and above) */
@media (min-width: 1024px) {
  .explorers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .container {
    padding: 3rem 2rem 100px;
  }
}

/* Extra large screens (1440px and above) */
@media (min-width: 1440px) {
  .header-text h1 {
    font-size: 3rem;
  }

  .header-text p {
    font-size: 1.125rem;
  }

  .card-header,
  .card-content {
    padding: 2rem;
  }
}

/* Print styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .card {
    background-color: white;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .btn {
    display: none;
  }
}

/* For Webkit browsers */
body::-webkit-scrollbar {
  width: 6px;
  background: #0D0D0D;
}

body::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}
