* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url("../../bg.jpg") no-repeat center center fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.error-section {
    text-align: center;
    margin-bottom: 3rem;
    color: black;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.error-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.puja-heading {
    font-size: 2.8rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 700;
}

.search-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.search-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.search-bar {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: #fff212;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.booths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.booth-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.booth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fff212, #af1616);
}

.booth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #fff212;
}

.club-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.booth-card:hover .club-logo {
    border-color: #667eea;
    transform: scale(1.05);
}

.puja-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
    padding: 2rem;
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.home-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.app-header{
  padding:4px;
  text-align:center;
  
}
.app-header h1{
  margin:0; font-size:1.1rem; font-weight:700; letter-spacing:.2px; color: #0f111a;
}

.app-header img {
  max-height: 80px;        /* adjust height as needed */
  max-width: 350px;        /* prevent it from being too wide */
  height: auto;
  width: auto;
}

footer {
  position: fixed;              /* fixed to viewport */
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100vw * 400 / 1920);
  /* max-height: 150px;          */
  pointer-events: none;         /* allows clicking through */
  z-index: -1;
}

footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../bottom.png') no-repeat center bottom;
  background-size: 100% 100%;
  z-index: -1;
}

.footer-logo {
  position: absolute;
  right: 0;
  bottom: 20px;
;  /* centers it horizontally */
  max-height: 80px;
  width: auto;
  z-index: 2;
  pointer-events: auto;
  max-width:160px
}

/* Mobile - different background */
@media (max-width: 640px) {
  footer {
    height: 25vh;
    min-height: 150px;
  }
  footer::before {
    background: url('../../bottom-mobile.png') no-repeat center bottom;  /* different image */
    background-size: 100% 100%;
  }
  .footer-logo {
    max-height: 60px;
    bottom: 15px;
  }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 4rem;
    }
    .puja-heading {
        font-size: 1.8rem;
    }
    
    .error-message {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .booths-grid {
        grid-template-columns: 1fr;
    }
}