/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background & overlay */
body {
  min-height: 100vh;
  background: url("images/1409176860140470348.jpg") center/cover no-repeat;
  position: relative;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  z-index: -1;
}

/* Container layout */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

/* Header */
header.info {
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}

header.info h1 {
  font-family: "MyFont", cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

header.info p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  margin-top: 0.5rem;
}

header.info p::after {
  content: '|';
  animation: blinkSmooth 1s infinite;
}

@keyframes blinkSmooth {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Results section */
.results-section {
  width: 100%;
  max-width: 1200px;
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
  margin-top: 1.5rem;
}

/* eBay grid layout */
.ebay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

/* Individual eBay item cards */
.ebay-grid .ebay-item {
  background: #fff;
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.ebay-grid .ebay-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.ebay-grid .ebay-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1149ff;
}

.ebay-grid .ebay-item p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.ebay-grid .ebay-item a {
  text-decoration: none;
  color: white;
  background: #1149ff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: inline-block;
  transition: background 0.3s;
}

.ebay-grid .ebay-item a:hover {
  background: #0d33cc;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.9rem;
  margin-top: 2rem;
  backdrop-filter: blur(5px);
}

/* Font-face */
@font-face {
  font-family: "MyFont";
  src: url("fonts/FuturisticItalics-2OX0w.woff") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  header.info h1 { font-size: 2.5rem; }
  header.info p { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  header.info h1 { font-size: 2rem; }
  .ebay-grid { grid-template-columns: 1fr; }
}




