body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #fffbee; /* bee-inspired soft yellow */
    color: #222;
}
header {
    padding: 10px 20px;
    text-align: center;
}
h1 {
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ffb800; /* honey yellow */
}
/*h1 img {
    transform: rotate(10deg);
    transition: transform 0.5s ease-in-out;
}
h1 img:hover {
    transform: rotate(-170deg);
}*/
header p{font-size:1.5rem;font-weight:600;}
.box {
    width: 90%; max-width: 600px;
    margin: 0 auto 40px auto;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.form{
    display:flex;gap:20px;align-items:center;
}
input[type=text] {
    width: 100%;
    padding: 4px 14px;
    border-radius: 8px;
    border: 2px solid #ffd860;
    font-size: 1rem;
    height: 38px;
}
button {
    width:300px;
    padding: 14px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    background: #ffb800;
    color: white;
    cursor: pointer;
}
button:hover {
    background: #eeaa00;
}

#leaderboard {
  width:100%;
  border-collapse:collapse;
}
#leaderboard td, #leaderboard th {
  padding:12px 14px;
  border-bottom:1px solid #eee;
  vertical-align:middle;
}
#leaderboard th{
    font-weight:normal;
}
#leaderboard a{
    text-decoration:none;
    color:#333;
}
#leaderboard a:hover{
    color:#000;
    text-decoration:underline;
}
.ranking-cell{
    text-align: center;
}
.startup-cell a{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight:600;
}
.startup-cell a span{
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.founder-cell{
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mrr-cell{
    font-weight:600;
    text-align:right;
}
.startup-logo {
  width:32px;
  height:32px;
  border-radius:8px;
  object-fit:cover;
  background:#f0f0f0;
}
.badge {
  font-size:20px;
  margin-right:6px;
}

/* default (no animation) */
.bee-logo {
  width: 80px;               /* adjust size */
  height: auto;
  display: inline-block;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 150ms ease;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.08));
}

/* hover animation only */
.bee-logo:hover {
  animation: bee-buzz 0.9s infinite ease-in-out;
  transform: translateY(-2px) scale(1.02); /* subtle lift */
}

/* buzz keyframes */
@keyframes bee-buzz {
  0%   { transform: translateY(-2px) scale(1.02) rotate(0deg); }
  10%  { transform: translateX(-2px) translateY(-4px) rotate(-3deg) scale(1.03); }
  20%  { transform: translateX(2px)  translateY(-1px) rotate(2deg); }
  30%  { transform: translateX(-1px) translateY(-3px) rotate(-1deg); }
  45%  { transform: translateY(-2px) rotate(1deg); }
  100% { transform: translateY(-2px) rotate(0deg); }
}

/* accessibility: disable for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bee-logo:hover {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width:700px){
    .desktop{display:none;}
}

@media (max-width:580px){
    .desktop{display:none;}
    .form{flex-wrap:wrap;justify-content:center;}
    button{width: 100%;}
    .box{width:82%;}
}

