/* Home page specific styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #2e1a1a 0%, #3e1621 50%, #601a0f 100%);
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

/* Main heading */
h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ff6b47;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

/* Table styling */
table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 80px auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Table header */
th {
  background: linear-gradient(135deg, #ff6b47, #ff4757);
  color: #ffffff;
  padding: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9em;
}

/* Table cells */
td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

/* Table rows */
tr:hover td {
  background: rgba(255, 255, 255, 0.1);
}

tr:last-child td {
  border-bottom: none;
}

/* Links */
a {
  color: #ff6b47;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ff4757;
  text-shadow: 0 0 8px rgba(255, 107, 71, 0.6);
}

/* Description column styling */
td:nth-child(2) {
  font-style: italic;
  color: #e0e0e0;
}

/* Date column styling */
td:nth-child(3) {
  color: #b0b0b0;
  font-size: 0.9em;
}

/* Footer styling */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(46, 26, 26, 0.9));
  color: #ff6b47;
  text-align: center;
  padding: 10px;
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 107, 71, 0.3);
}

.footer p {
  margin: 0;
  font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  h1 {
    font-size: 2em;
  }
  
  table {
    font-size: 0.9em;
  }
  
  th, td {
    padding: 10px 8px;
  }
  
  /* Stack table on very small screens */
  @media (max-width: 480px) {
    table, thead, tbody, th, td, tr {
      display: block;
    }
    
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    tr {
      border: 1px solid rgba(255, 255, 255, 0.2);
      margin-bottom: 10px;
      border-radius: 8px;
      padding: 10px;
      background: rgba(255, 255, 255, 0.05);
    }
    
    td {
      border: none;
      position: relative;
      padding-left: 50%;
    }
    
    td:before {
      content: attr(data-label) ": ";
      position: absolute;
      left: 6px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
      color: #ff6b47;
    }
  }
}

/* Loading animation for dynamic content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

table {
  animation: fadeIn 0.8s ease-out;
}

/* Subtle background animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 71, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}