/* Mobile optimization */
@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 0 0.2em;
  }
  .hero h1 {
    font-size: 1.5rem !important;
    text-align: center;
    line-height: 1.1;
  }
  .hero .icon {
    font-size: 1.3rem !important;
    margin-right: 0.15em !important;
  }
  .author-list {
    gap: 0.5em !important;
    font-size: 0.98rem !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-image {
    max-width: 98vw !important;
    width: 100% !important;
    margin: 1.2rem auto 0 auto !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.7em !important;
  }
  .gallery-item img {
    max-width: 95vw !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .gallery .caption {
    font-size: 0.95em !important;
    padding: 0.2em 0.1em !important;
  }
  .container {
    padding: 0.7em 0.2em !important;
  }
  .abstract-links {
    flex-direction: column !important;
    gap: 0.7em !important;
    align-items: stretch !important;
  }
  .download-links {
    flex-direction: column !important;
    gap: 0.7em !important;
    align-items: stretch !important;
  }
  .features ul {
    padding-left: 1.1em !important;
  }
  .features li {
    font-size: 0.98em !important;
    margin-bottom: 0.5em !important;
  }
  .hri-scenario video {
    max-width: 98vw !important;
    width: 100% !important;
  }
  .pipeline img {
    max-width: 98vw !important;
    width: 100% !important;
  }
  .citation pre {
    font-size: 0.85em !important;
    padding: 0.5em !important;
  }
}
/* Center the abstract-links button group below the abstract paragraph */
.abstract-links {
    margin-top: 1.5em;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}
/* Reset some default browser styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #e0e7ef 0%, #f8fafc 100%);
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 45vh;
    text-align: center;
    background: rgba(255,255,255,0.2);
    margin-bottom: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.hero .subtitle {
    font-size: 1.3rem;
    color: #374151;
    margin-bottom: 1.5rem;
}
.hero-image {
    width: 320px;
    max-width: 90vw;
    border-radius: 18px;
    margin-top: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.icon {
    color: #00bcd4;
    margin-right: 0.5rem;
}


/* Glassmorphism Effect */
.glass {
    background: rgba(255,255,255,0.45);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 2rem;
}


section h2 {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    color: #1a237e;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.about p {
    font-size: 1.18rem;
    color: #374151;
    margin-bottom: 1.2rem;
}
.highlight {
    background: linear-gradient(90deg, #b2ebf2 0%, #e1bee7 100%);
    border-radius: 6px;
    padding: 0.1em 0.4em;
    color: #1a237e;
    font-weight: 600;
}


/* Download Section */
.downloads {
    text-align: center;
}
.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.2rem;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #00bcd4 0%, #1a237e 100%);
    color: #fff;
    padding: 0.8em 1.5em;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
}
.download-btn:hover {
    background: linear-gradient(90deg, #1a237e 0%, #00bcd4 100%);
    transform: translateY(-2px) scale(1.04);
}


/* Gallery Section */
.gallery {
    text-align: center;
}
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.gallery-item {
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1rem;
    width: 260px;
    transition: transform 0.18s;
}
.gallery-item:hover {
    transform: scale(1.04);
}
.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.caption {
    margin-top: 0.7rem;
    font-size: 1.05rem;
    color: #1a237e;
    font-weight: 500;
}


/* Modalities Comparison Section */
.modalities-flex {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.modality-block {
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1rem;
    width: 260px;
    text-align: center;
}
.modality-block img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.modality-desc {
    margin-top: 1.2rem;
    color: #374151;
    font-size: 1.08rem;
}


/* Footer Styling */
footer {
    background: rgba(26,35,126,0.95);
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    border-radius: 0 0 24px 24px;
    margin-top: 2rem;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .gallery-grid, .modalities-flex {
        flex-direction: column;
        align-items: center;
    }
    .container {
        width: 98%;
        padding: 1rem 0;
    }
}

