* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #e9e4f7;
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: #c4b5fd;
}

a:hover {
  color: #ede9fe;
}

section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section h2 {
  color: #fff;
  text-align: center;
}

.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
}

.timeline {
  position: relative;
  margin: 1.5rem auto 0;
  max-width: 700px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 36px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 36px;
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.15);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -5px;
}

.timeline-item:nth-child(even)::before {
  left: -5px;
}

.timeline-year {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.8);
}

.exp-title {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.exp-company {
  color: #fff;
  font-weight: 600;
}

.entry-card {
  height: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.entry-card h3 {
  color: #fff;
}

.entry-card p {
  color: rgba(255, 255, 255, 0.8);
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card-link {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
}

.project-meta {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.project-swiper-outer {
  position: relative;
  margin-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.project-swiper {
  margin: 0 52px;
  overflow: hidden;
}

.project-card {
  height: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.project-card p {
  color: rgba(255, 255, 255, 0.8);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.carousel-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-arrow-prev {
  left: 0;
}

.carousel-arrow-next {
  right: 0;
}

.carousel-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.carousel-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0;
}

.carousel-pagination .swiper-pagination-bullet-active {
  background: #c4b5fd;
}

.section-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

/* ===== iOS app simulation (CU Eats) ===== */

.iphone-frame {
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(167, 139, 250, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.ios-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 22px 0;
  background: #007aff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 32px 32px 0 0;
}

.ios-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ios-signal-dots {
  letter-spacing: 1px;
}

.ios-app {
  height: 620px;
  background: #f2f2f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0 0 32px 32px;
}

.ios-navbar {
  background: #007aff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.7rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ios-nav-title {
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ios-nav-back,
.ios-nav-add {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}

.ios-nav-back {
  left: 0.3rem;
}

.ios-nav-add {
  right: 0.5rem;
  font-size: 1.4rem;
  line-height: 1;
}

.ios-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* insetGrouped list */
.ios-list-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6d6d72;
  text-transform: none;
  padding: 1rem 1rem 0.4rem;
}

.ios-list-header .ios-date-btn {
  background: none;
  border: none;
  color: #007aff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.ios-date-chevrons {
  vertical-align: middle;
  margin-bottom: 2px;
}

.ios-group {
  background: #fff;
  border-radius: 10px;
  margin: 0.5rem 0.9rem 1rem;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.ios-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 0.5px solid #e3e3e6;
  background: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.ios-row:last-child {
  border-bottom: none;
}

.ios-row:active {
  background: #e9e9ee;
}

.ios-row-label {
  font-size: 1rem;
  color: #1c1c1e;
}

.ios-row-label.dimmed {
  color: #8e8e93;
}

.ios-row-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #c7c7cc;
  font-size: 0.9rem;
}

.ios-empty-state {
  text-align: center;
  color: #8e8e93;
  font-size: 0.95rem;
  padding: 3rem 1.5rem;
  line-height: 1.7;
}

.ios-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1c1c1e;
  padding: 1rem 1rem 0.3rem;
}

.ios-hall-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #007aff;
  padding: 0.6rem 1rem 0.2rem;
}

.ios-menu-item {
  font-size: 0.9rem;
  color: #1c1c1e;
  padding: 0.15rem 1rem 0.15rem 1.5rem;
}

.ios-menu-item:last-child {
  padding-bottom: 0.6rem;
}

/* Sheet (Add Favorite) */
.ios-sheet-overlay,
.ios-actionsheet-overlay,
.ios-alert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 20;
  display: flex;
  align-items: flex-end;
  border-radius: 32px;
}

.ios-actionsheet-overlay,
.ios-alert-overlay {
  align-items: center;
  justify-content: center;
}

.ios-sheet {
  width: 100%;
  background: #f2f2f7;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.ios-sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  border-bottom: 0.5px solid #d6d6da;
  padding: 0.8rem 1rem;
}

.ios-sheet-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.ios-sheet-btn {
  background: none;
  border: none;
  color: #007aff;
  font-size: 1rem;
  cursor: pointer;
}

.ios-sheet-btn-primary {
  font-weight: 700;
}

.ios-sheet-btn:disabled {
  color: #b3d4fc;
  cursor: default;
}

.ios-sheet-body {
  padding: 1.2rem 1rem 2rem;
}

.ios-datepicker-body {
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem 0 1.5rem;
}

.ios-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: #fff;
  border-bottom: 0.5px solid #e3e3e6;
  cursor: pointer;
  font-size: 1rem;
  color: #1c1c1e;
}

.ios-date-row:active {
  background: #e9e9ee;
}

.ios-date-row .checkmark {
  color: #007aff;
  font-weight: 700;
}

.ios-sheet-body input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d6d6da;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

/* Action sheet (long-press context menu) */
.ios-actionsheet {
  width: 90%;
  max-width: 320px;
}

.ios-actionsheet-group {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.ios-actionsheet-group button,
.ios-actionsheet-cancel {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-bottom: 0.5px solid #d6d6da;
  color: #007aff;
  font-size: 1.05rem;
  cursor: pointer;
}

.ios-actionsheet-group button:last-child {
  border-bottom: none;
}

.ios-actionsheet-group button.destructive {
  color: #ff3b30;
}

.ios-actionsheet-cancel {
  border-radius: 12px;
  font-weight: 700;
}

/* Alert (Rename) */
.ios-alert {
  width: 270px;
  background: #f2f2f7;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.ios-alert-title {
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.ios-alert-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #d6d6da;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.ios-alert-buttons {
  display: flex;
  border-top: 0.5px solid #d6d6da;
  margin: 0 -1rem -1rem;
}

.ios-alert-buttons button {
  flex: 1;
  padding: 0.7rem;
  background: none;
  border: none;
  border-right: 0.5px solid #d6d6da;
  color: #007aff;
  font-size: 1rem;
  cursor: pointer;
}

.ios-alert-buttons button:last-child {
  border-right: none;
  font-weight: 700;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
