<style>

/* ══════════════════════════════════════
   GLOBAL RESET & VARIABLES
══════════════════════════════════════ */

body.modal-open {
  overflow: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --ink: #0D0F14;
  --ink2: #3A3D47;
  --ink3: #7A7F8E;
  --paper: #F7F6F2;
  --paper2: #EEECEA;
  --paper3: #E3E0DB;
  --accent: #1A56B0;
  --accent2: #C8A96E;
  --accent3: #2E7D4F;
  --warm: #C8A96E;
  --border: rgba(13, 15, 20, .09);
  --border2: rgba(13, 15, 20, .16);
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--paper2)
}

::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 99px
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 2.5rem;
  background: rgba(13, 15, 20, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(13, 15, 20, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}

.nav-logo {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.nav-logo .chip {
  background: var(--accent);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none
}

.nav-links a {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  padding: .6rem 1.1rem;
  border-radius: 6px;
  transition: all .18s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

/* ══════════════════════════════════════
   HERO (PARALLAX & GLASS)
══════════════════════════════════════ */
.hero.parallax {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.hero-bg-parallax {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,15,20,0.7) 0%, rgba(13,15,20,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
  width: fit-content;
}

.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: .3 }
}

.hero-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(50px, 6vw, 85px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-title .sub {
  display: block;
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  color: rgba(255,255,255,0.8);
  letter-spacing: -1px;
  margin-top: 0.5rem;
}

.hero-title .hl { color: var(--accent2); }

.hero-desc {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 480px;
}

/* Glassmorphism Countdown */
.hero-glass-countdown {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.cd-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  text-align: center;
}

.cd-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cd-unit { text-align: center; }

.cd-num {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cd-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.cd-line {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.cd-quote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  text-align: center;
}
.cd-quote em { color: var(--accent2); font-style: normal; font-weight: 600; }

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

/* Animations */
.reveal-text {
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.reveal-fade {
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ══════════════════════════════════════
   ABOUT (BENTO GRID) - CLEAN & SIMPLE
══════════════════════════════════════ */
.about-section {
  background: var(--paper2);
  padding: 8rem 0;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.bento-slider-container {
  position: relative;
  margin-bottom: 2rem;
}

.bento-slider {
  display: flex;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
  height: 600px;
}

.bento-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.bento-slide.active {
  opacity: 1;
  position: relative;
}

.bento-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.bento-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bento-dot.active {
  background: var(--accent2);
  transform: scale(1.2);
}

.bento-bottom-row {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.bento-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.bento-school {
  padding: 0;
  height: 100%;
}
.bento-school img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.bento-school:hover img {
  transform: scale(1.03);
}
.bento-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  color: #fff;
  border-left: 4px solid var(--accent2);
}
.bento-overlay::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 50px;
  font-family: Georgia, serif;
  color: var(--accent2);
  opacity: 0.5;
  line-height: 1;
}
.bento-overlay h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 22px; margin-bottom: 6px; position: relative; z-index: 1; }
.bento-overlay p { font-size: 14px; opacity: 0.95; line-height: 1.5; position: relative; z-index: 1; }
.bento-overlay .info-icon { font-size: 24px; margin-bottom: 10px; display: block; }

.bento-stats {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: 1.5rem 2rem;
  min-height: 100px;
}
.stat-item { text-align: center; }
.stat-n { display: block; font-family: 'Be Vietnam Pro', sans-serif; font-size: 42px; font-weight: 800; color: var(--accent2); line-height: 1; margin-bottom: 6px; }
.stat-l { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

.bento-class {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.bento-class::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('anh/anhnenlop2.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 0;
}

.bento-class > * {
  position: relative;
  z-index: 1;
}

.bento-class .bento-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  color: #fff;
  border-left: 4px solid var(--accent2);
}

.bento-class .bento-overlay::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 50px;
  font-family: Georgia, serif;
  color: var(--accent2);
  opacity: 0.5;
  line-height: 1;
}

.bento-class .bento-overlay .info-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.bento-class .bento-overlay h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.bento-class .bento-overlay p {
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.btn-read-letter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 25px rgba(26, 86, 176, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.btn-read-letter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-read-letter:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(26, 86, 176, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-read-letter:hover::before {
  left: 100%;
}

.btn-read-letter:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 8px 25px rgba(26, 86, 176, 0.3);
}

.btn-read-letter .icon {
  font-size: 20px;
}

.bento-letter {
  grid-column: span 2;
  background: var(--accent);
  color: #fff;
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

/* 3D Tilt Effect applied via JS later, but base styles here */
.letter-glow {
  position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
  background: rgba(255,255,255,0.15); filter: blur(50px);
  border-radius: 50%; pointer-events: none;
}
.letter-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2px; color: var(--accent2); text-transform: uppercase;
  margin-bottom: 1.5rem; transform: translateZ(20px);
}
.letter-body {
  font-family: 'Crimson Pro', serif; font-size: 20px; line-height: 1.8;
  opacity: 0.9; transform: translateZ(30px);
}
.letter-sig {
  margin-top: 2rem; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  opacity: 0.6; transform: translateZ(20px);
}

/* ══════════════════════════════════════
   MEMBERS  — minimal, hover-reveal
══════════════════════════════════════ */
.members-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.members-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem
}

.sec-header {
  margin-bottom: 2.5rem
}

.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.sec-eyebrow::before {
  content: '// ';
  opacity: .5
}

.sec-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.sec-note {
  font-size: 16px;
  color: var(--ink3);
  margin-top: .5rem;
  font-weight: 300
}

.class-group-banner {
  width: 100%;
  margin-bottom: 2rem;
}

.class-group-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
}

.f-btn {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 6px 18px;
  border-radius: 99px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--ink3);
  cursor: pointer;
  transition: all .18s;
}

.f-btn.active,
.f-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

/* staggered grid — not perfectly even */
.members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.m-card {
  border-radius: 16px;
  padding: 1.25rem .9rem 1rem;
  text-align: center;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border);
  background: var(--paper);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* slight stagger via nth-child */
.m-card:nth-child(3n+2) {
  margin-top: 16px
}

.m-card:nth-child(7n+5) {
  margin-top: -8px
}

.m-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .09);
}

.m-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, .65);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, .12),
    0 0 0 6px rgba(255, 255, 255, .08);

  background: rgba(255, 255, 255, .55);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: 26px;

  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.m-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition:
    transform .45s ease,
    filter .45s ease;

  filter: grayscale(.12);
  will-change: transform, filter;
  backface-visibility: hidden;
}

.m-card:hover .m-avatar img {
  transform: scale(1.08);
  filter: none;
}

.m-card:hover .m-avatar {
  transform: scale(1.08)
}

.m-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.m-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--accent);
  letter-spacing: .5px;
  opacity: .8;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(5px);
  padding: 2rem 1rem;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Specific styling for Letter Modal */
.modal-content.letter-modal-content {
  background: #fff;
  color: #2c2c2c;
  border-radius: 24px;
  max-width: 1600px !important;
  width: 100% !important;
  max-height: 90vh;
  padding: 0 !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: none !important;
}

.letter-modal-layout {
  display: flex;
  height: 100%;
  overflow: hidden;
}

.letter-modal-image {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letter-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.letter-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.letter-year-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--accent2);
  color: #fff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.letter-modal-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  max-height: 100%;
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.letter-icon {
  font-size: 32px;
}

.letter-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.letter-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 2px;
  margin-bottom: 2rem;
}

.letter-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.letter-body {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink2);
  flex: 1;
  margin-bottom: 2rem;
}

.letter-footer {
  margin-top: auto;
}

.letter-sig {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #666;
  margin-bottom: 1.5rem;
}

.letter-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.decoration-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
}

.decoration-star {
  color: var(--accent2);
  font-size: 16px;
}

.letter-modal-content .modal-close {
  color: #999;
  background: rgba(255,255,255,0.95);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  top: 1rem;
  right: 1rem;
  position: absolute;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.letter-modal-content .modal-close:hover {
  color: #333;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-read-letter {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(26, 86, 176, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-read-letter:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(26, 86, 176, 0.4);
  background: var(--accent2);
}
.btn-read-letter .icon {
  font-size: 20px;
}

.modal-content {
  background: var(--paper);
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 900px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Flash Card Layout */
.flash-card-layout {
  display: flex;
  min-height: 500px;
  max-height: 85vh;
}

.flash-card-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.flash-card-info {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.flash-card-header {
  margin-bottom: 1rem;
}

.flash-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.flash-role {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  color: var(--ink3);
  font-weight: 500;
}

.flash-card-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), transparent);
  margin: 1.5rem 0;
}

.flash-card-body {
  flex: 1;
  overflow-y: auto;
}

.flash-info-item {
  margin-bottom: 1.5rem;
}

.flash-info-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flash-info-value {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
}

.flash-message {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin: 0.5rem 0 0 0;
}

.flash-achievements h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flash-achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flash-achievements li {
  font-family: 'Crimson Pro', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.flash-achievements li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 20px;
}

.flash-hsg {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.flash-hsg h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flash-hsg ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flash-hsg li {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.flash-hsg li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 14px;
}

.member-modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ink3);
  cursor: pointer;
  line-height: 1;
}

.modal-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink3);
  margin-bottom: 1.5rem;
}

.modal-achievements h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-achievements ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink2);
}

/* ══════════════════════════════════════
   CINEMATIC TIMELINE - ALBUM FLIP
══════════════════════════════════════ */
.cinematic-section {
  background: #0f1218;
  color: #fff;
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.cinema-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}
.cinema-header .sec-title {
  color: #fff;
}
.cinema-header .sec-note {
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.cinema-albums-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  flex-wrap: wrap;
}

.cinema-album-wrapper {
  width: 320px;
  flex-shrink: 0;
  perspective: 1500px;
  height: 450px;
  position: relative;
}

.cinema-album-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 86, 176, 0.3), rgba(200, 169, 110, 0.2));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cinema-album-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.cinema-album-cover:hover {
  transform: translateY(-10px) rotateY(-5deg);
  border-color: var(--accent2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(200, 169, 110, 0.2);
}

.cinema-album-cover:hover::before {
  opacity: 1;
}

.album-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent2);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.album-subtitle {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.album-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.album-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: auto;
  padding-top: 1rem;
}

/* Album Inner (opened state) */
.cinema-album-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1d24;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: rotateY(180deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cinema-album-wrapper.opened .cinema-album-inner {
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
}

.cinema-album-wrapper.opened .cinema-album-cover {
  opacity: 0;
  visibility: hidden;
  transform: rotateY(-180deg);
}

.album-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.album-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.album-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.album-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.album-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.album-photos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.album-photo-wrapper {
  perspective: 1000px;
}

.album-photo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.album-photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.caption-event {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.caption-location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive for Cinematic Albums */
@media (max-width: 900px) {
  .cinema-albums-container {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .cinema-album-wrapper {
    width: 100%;
    max-width: 320px;
    height: 400px;
  }

  .album-year {
    font-size: 36px;
  }

  .album-subtitle {
    font-size: 18px;
  }

  .album-desc {
    font-size: 14px;
  }

  .album-photo-card img {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .cinema-album-wrapper {
    height: 380px;
  }

  .cinema-album-cover {
    padding: 2rem 1.5rem;
  }

  .album-year {
    font-size: 32px;
  }

  .album-subtitle {
    font-size: 16px;
  }

  .album-desc {
    font-size: 13px;
    max-width: 100%;
  }

  .album-hint {
    font-size: 11px;
  }

  .cinema-album-inner {
    padding: 1.5rem;
  }

  .album-close-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .album-title {
    font-size: 18px;
  }

  .album-photo-card img {
    height: 160px;
  }

  .caption-event {
    font-size: 13px;
  }

  .caption-location {
    font-size: 10px;
  }
}

/* ══════════════════════════════════════
   GRATITUDE  — wide, emotional, warm
══════════════════════════════════════ */
.gratitude-section {
  background: var(--paper);
  padding: 10rem 0;
  position: relative;
}

.gratitude-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200, 169, 110, .07) 0%, transparent 65%);
  pointer-events: none;
}

.grat-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 1
}

.grat-header {
  text-align: center;
  margin-bottom: 4rem
}

.grat-letters-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.letter-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .05), 0 1px 0 var(--border);
  position: relative;
}

.letter-sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4rem;
  right: 4rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
}

.letter-to-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.letter-text {
  font-family: 'Crimson Pro', serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink2);
}

.letter-text p {
  margin-bottom: 1.25rem
}

.letter-text em {
  color: var(--ink);
  font-style: italic
}

.letter-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.letter-from {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink3);
}

.letter-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink3);
}

/* ══════════════════════════════════════
   MESSAGES  — Tri ân & Lưu bút (combined)
══════════════════════════════════════ */
.messages-section {
  background: var(--ink);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.messages-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 86, 176, .12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(200, 169, 110, .08) 0%, transparent 60%);
  pointer-events: none;
}

.msg-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}

.messages-section .sec-header {
  text-align: center;
  margin-bottom: 2rem;
}

.messages-section .sec-eyebrow {
  display: flex;
  justify-content: center;
  color: var(--accent2);
}

.messages-section .sec-title {
  color: #fff;
}

.msg-subtitle {
  color: rgba(255, 255, 255, .7);
  margin-top: 10px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.msg-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
}

.msg-tab-btn {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: all .2s;
}

.msg-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
}

.msg-tab-btn.active {
  background: var(--accent2);
  color: var(--ink);
  border-color: var(--accent2);
}

.msg-tab-content {
  display: none;
  animation: msgFadeIn .35s ease;
}

.msg-tab-content.active {
  display: block;
}

@keyframes msgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.messages-section .msg-hint {
  color: rgba(255, 255, 255, .7);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 15px;
}

/* ══════════════════════════════════════
   ACHIEVEMENTS  — timeline style
══════════════════════════════════════ */
.ach-section {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.ach-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ach-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 86, 176, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#achievements,
#honors,
#messages,
#about,
#members,
#memories {
  scroll-margin-top: 80px;
}

.ach-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem
}

.ach-tabs-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.ach-tab {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border: 2px solid var(--border);
  background: var(--paper);
  color: var(--ink3);
  cursor: pointer;
  border-radius: 12px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.ach-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  opacity: 0;
  transition: opacity .3s ease;
}

.ach-tab span {
  position: relative;
  z-index: 1;
}

.ach-tab:hover {
  border-color: var(--accent2);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ach-tab.active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 176, 0.3);
}

.ach-tab-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}

.ach-tab.active .ach-tab-sub {
  color: rgba(255, 255, 255, 0.8);
}

.ach-tab:hover .ach-tab-sub {
  color: var(--accent);
}

.ach-sec-header {
  margin-bottom: 2rem;
}

.ach-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink3);
  font-size: 16px;
  line-height: 1.7;
  border: 1px dashed var(--border2);
  border-radius: 16px;
  background: var(--paper);
}

.ach-empty code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

/* Class Awards Grid */
.ach-panels-wrap {
  min-height: 520px;
  position: relative;
}

.class-awards-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

/* Chỉ panel .active được hiện — không đặt display:grid trên .class-awards-grid (sẽ ghi đè display:none) */
.ach-panels-wrap .ach-year-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ach-panels-wrap .ach-year-panel.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.award-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.award-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.award-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent2);
}

.award-card:hover::before {
  opacity: 1;
}

.award-img {
  width: 100%;
  height: 240px;
  min-height: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper3);
  transition: transform .4s ease;
  will-change: transform;
}

.award-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.award-card:hover .award-img {
  transform: scale(1.05);
}

.award-info {
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.award-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(26, 86, 176, 0.2);
}

.award-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
  line-height: 1.3;
}

.award-desc {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   HONORS — HSG / HSGQG
══════════════════════════════════════ */
.honors-section {
  background: var(--ink);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.honors-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200, 169, 110, .14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(26, 86, 176, .1) 0%, transparent 50%);
  pointer-events: none;
}

.honors-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}

.honors-sec-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.honors-sec-header .sec-eyebrow {
  display: flex;
  justify-content: center;
  color: var(--accent2);
}

.honors-sec-header .sec-title {
  color: #fff;
}

.honors-subtitle {
  color: rgba(255, 255, 255, .65);
  margin-top: 10px;
  font-size: 16px;
  font-weight: 300;
}

.honors-level-tabs-row {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.honors-level-tab {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.honors-level-tab:hover {
  color: rgba(255, 255, 255, .8);
}

.honors-level-tab.active {
  color: var(--accent2);
  border-bottom-color: var(--accent2);
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.honor-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.honor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  opacity: 0;
  transition: opacity .3s;
}

.honor-card--clickable {
  cursor: pointer;
}

.honor-card--clickable:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, .12);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(255, 255, 255, .15);
}

.honor-card--clickable:hover::before {
  opacity: 1;
}

.honor-medal {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.honor-medal--gold {
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #1a1200;
  box-shadow: 
    0 4px 12px rgba(232, 197, 71, 0.4),
    0 0 20px rgba(232, 197, 71, 0.2);
}

.honor-medal--silver {
  background: linear-gradient(135deg, #e8e8e8, #9a9a9a);
  color: #222;
  box-shadow: 
    0 4px 12px rgba(216, 216, 216, 0.4),
    0 0 20px rgba(216, 216, 216, 0.2);
}

.honor-medal--bronze {
  background: linear-gradient(135deg, #d4a574, #8b5a2b);
  color: #fff;
  box-shadow: 
    0 4px 12px rgba(212, 165, 116, 0.4),
    0 0 20px rgba(212, 165, 116, 0.2);
}

.honor-medal--kk {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .2);
}

.honor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.honor-card--clickable:hover .honor-avatar {
  transform: scale(1.1);
  border-color: var(--accent2);
}

.honor-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.honor-card--clickable:hover .honor-avatar-img {
  filter: brightness(1.1);
}

.honor-avatar-init {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent2);
}

.honor-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.honor-subject {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 8px;
}

.honor-level-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  margin-bottom: 8px;
}

.honor-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

.honors-empty {
  text-align: center;
  color: rgba(255, 255, 255, .5);
  padding: 2rem;
  font-size: 15px;
}

.honors-empty--grid {
  grid-column: 1 / -1;
}

.modal-hsg {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-hsg h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.modal-hsg ul {
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink2);
}

/* ══════════════════════════════════════
   POLAROID MEMORY WALL
══════════════════════════════════════ */
.polaroid-section {
  background: #0a0a0a;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.polaroid-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.polaroid-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
}

.polaroid-wrapper {
  width: 280px;
  height: 360px;
  perspective: 1500px;
  z-index: 1;
}

.polaroid-wrapper:hover {
  z-index: 100;
}

.polaroid-card {
  width: 100%;
  height: 100%;
  cursor: pointer;
  /* random rotation applied via JS */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.polaroid-wrapper:hover .polaroid-card {
  transform: scale(1.1) rotate(0deg) !important;
}

.polaroid-inner-flip {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.polaroid-card.flipped .polaroid-inner-flip {
  transform: rotateY(180deg);
}

.polaroid-front, .polaroid-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Front - Polaroid Style */
.polaroid-front {
  background: #fff;
  padding: 15px 15px 50px 15px; /* bottom padding for text */
}

.polaroid-img {
  width: 100%;
  height: 250px;
  background: #eee;
  object-fit: cover;
  border: 1px solid #ddd;
}

.polaroid-quote {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-top: 15px;
  line-height: 1.3;
}

.polaroid-pin {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(200, 20, 20, 0.8);
  border-radius: 50%;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.3);
  z-index: 5;
}

/* Back - Vintage Letter Style */
.polaroid-back {
  background: #fdfaf6;
  color: #2c2c2c;
  transform: rotateY(180deg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-image: repeating-linear-gradient(transparent, transparent 28px, rgba(0,0,0,0.05) 28px, rgba(0,0,0,0.05) 29px);
  background-position: 0 10px;
}

.polaroid-back-text {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  line-height: 29px; /* matches the lines of the background */
  text-align: left;
  color: #1a1a1a;
  width: 100%;
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.polaroid-back-sig {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #666;
  margin-top: auto;
  text-align: right;
  width: 100%;
  padding-top: 10px;
}

.polaroid-read-more {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 8px 12px;
  background: rgba(26, 86, 176, 0.1);
  border: 1px solid rgba(26, 86, 176, 0.3);
  border-radius: 6px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1A56B0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.polaroid-read-more:hover {
  background: rgba(26, 86, 176, 0.2);
  border-color: rgba(26, 86, 176, 0.5);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   LETTER MODAL
══════════════════════════════════════ */
.letter-modal-content {
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid #e0e0e0;
}

.letter-modal-body {
  padding: 0;
  display: flex;
  min-height: 500px;
}

.letter-modal-left {
  width: 280px;
  padding: 2rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e0e0e0;
}

.letter-modal-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
}

.letter-modal-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0;
}

.letter-modal-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin: 0.5rem 0 0 0;
}

.letter-modal-right {
  flex: 1;
  padding: 3rem;
  background: #fff;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(26, 86, 176, 0.1) 31px,
    rgba(26, 86, 176, 0.1) 32px
  );
  background-position: 0 40px;
  background-size: 100% 32px;
  display: flex;
  flex-direction: column;
}

.letter-modal-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  line-height: 32px;
  color: #2c2c2c;
  white-space: pre-wrap;
  word-wrap: break-word;
  flex: 1;
  padding-top: 10px;
}

.letter-modal-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: #1a1a1a;
  text-align: right;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(26, 86, 176, 0.2);
}

/* ══════════════════════════════════════
   ORIENTATION LETTER MODAL
══════════════════════════════════════ */
.modal-content.orientation-modal-content {
  width: 85%;
  max-width: 1600px;
  background: #fff;
  color: #2c2c2c;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}

.orientation-modal-body {
  display: flex;
  min-height: 500px;
  padding: 0;
}

.orientation-modal-left {
  width: 45%;
  padding: 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e0e0e0;
}

.orientation-modal-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.orientation-modal-right {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  max-height: 80vh;
}

.orientation-modal-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(26, 86, 176, 0.2);
  flex-shrink: 0;
}

.orientation-modal-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1A56B0;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}

.orientation-modal-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  color: #666;
  margin: 0;
}

.orientation-modal-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  line-height: 2;
  color: #333;
  white-space: pre-line;
  flex: 1;
  padding: 2rem;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f5f5 100%);
  border-radius: 16px;
  border-left: 4px solid #1A56B0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
}

/* ══════════════════════════════════════
   VIDEO FILM STRIP GALLERY
══════════════════════════════════════ */
.video-film-strip-container {
  margin-top: 4rem;
  padding: 0 3rem;
}

.film-strip-header {
  text-align: center;
  margin-bottom: 2rem;
}

.film-strip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--paper);
  background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border-radius: 12px;
  position: relative;
}

.film-strip-scroll::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,0.5) 20px, rgba(0,0,0,0.5) 24px);
  pointer-events: none;
}

.film-strip-scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,0.5) 20px, rgba(0,0,0,0.5) 24px);
  pointer-events: none;
}

.film-strip-scroll::-webkit-scrollbar {
  height: 8px;
}

.film-strip-scroll::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 4px;
}

.film-strip-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.film-strip {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
}

.film-cell {
  flex: 0 0 auto;
  width: 320px;
  position: relative;
}

.film-cell video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid #1a1a1a;
  background: #000;
}

.film-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  color: var(--ink3);
  font-weight: 500;
}

/* Fullscreen Video Modal */
.video-fullscreen-content {
  max-width: 95vw;
  max-height: 95vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-fullscreen-content video {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}


/* ══════════════════════════════════════
   FOOTER  — cinematic ending
══════════════════════════════════════ */
footer {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
  text-align: center;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 86, 176, .12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(200, 169, 110, .06) 0%, transparent 60%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem
}

.footer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.footer-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  line-height: 1.0;
  margin-bottom: .75rem;
}

.footer-title-sub {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(20px, 3vw, 32px);
  color: rgba(255, 255, 255, .35);
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 3.5rem;
  display: block;
}

.footer-school {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, .2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 0 auto 2rem;
}

.footer-quote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, .35);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.footer-easter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  opacity: .3;
  letter-spacing: .5px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width:900px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 1.5rem; }

  .bento-slider-container {
    margin-bottom: 1.5rem;
  }

  .bento-slider {
    height: 400px;
  }

  .bento-bottom-row {
    flex-direction: column;
    gap: 1rem;
  }

  .bento-stats {
    flex-direction: row;
    padding: 1.5rem;
    min-height: auto;
  }

  .stat-n {
    font-size: 32px;
  }

  .btn-read-letter {
    padding: 1.25rem 1.5rem;
    font-size: 14px;
  }

  .letter-modal-layout {
    flex-direction: column;
    min-height: auto;
  }

  .letter-modal-image {
    flex: 0 0 200px;
  }

  .letter-modal-text {
    padding: 2rem;
  }

  .letter-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .letter-title {
    font-size: 22px;
  }

  .letter-body {
    font-size: 14px;
  }

  .bento-school, .bento-letter {
    grid-column: span 1;
  }

  .members-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .lb-layout {
    grid-template-columns: 1fr
  }

  .yb-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .class-awards-grid {
    grid-template-columns: 1fr;
  }

  .grat-letters-container {
    grid-template-columns: 1fr;
  }

  .ach-inner,
  .grat-inner,
  .msg-inner,
  .mem-inner,
  .members-inner,
  .lb-inner {
    padding: 0 1.5rem
  }

  .msg-tabs-container {
    gap: 8px;
  }

  .msg-tab-btn {
    font-size: 11px;
    padding: 8px 16px;
  }

  .honors-inner {
    padding: 0 1.5rem;
  }

  .honors-level-tabs-row {
    flex-wrap: wrap;
  }

  .honors-level-tab {
    padding: 8px 16px;
    font-size: 12px;
  }

  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ach-tabs-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ach-panels-wrap {
    min-height: 680px;
  }

  .letter-sheet {
    padding: 2.5rem 1.75rem
  }
}

@media(max-width:600px) {
  .nav-links {
    display: none
  }

  .members-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .yb-photos {
    grid-template-columns: 1fr;
  }

  .class-group-img {
    height: 200px;
  }

  .school-img {
    height: 200px;
  }
}

.hero-stats {
  gap: 2rem
}

.vids-grid {
  grid-template-columns: 1fr 1fr
}

/* ══════════════════════════════════════
   PHOTO ALBUM MODAL RE-DESIGN
══════════════════════════════════════ */
.photo-album-content {
  background: rgba(20, 25, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border-radius: 24px;
  width: 95%;
  max-width: 1100px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.photo-album-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-album-header .album-title {
  color: #fff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 24px;
  margin-bottom: 0.5rem;
}

.photo-album-header .album-period {
  color: var(--accent2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.photo-album-gallery {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.photo-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.photo-album-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
  animation: albumItemFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: var(--delay);
}

.photo-album-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(200, 169, 110, 0.3);
  z-index: 2;
}

.photo-album-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-album-item:hover img {
  transform: scale(1.05);
}

.photo-album-item::after {
  content: '🔍 Phóng to';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.photo-album-item:hover::after {
  opacity: 1;
}

@keyframes albumItemFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Photo Viewer Modal styling */
.photo-viewer-content {
  background: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  max-width: none;
  transform: none;
  pointer-events: none;
}

.photo-viewer-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  pointer-events: auto;
  animation: viewerZoomIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.photo-viewer-content .modal-close {
  pointer-events: auto;
  top: 30px;
  right: 40px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all 0.3s ease;
}

.photo-viewer-content .modal-close:hover {
  background: #fff;
  color: #000;
  transform: rotate(90deg);
}

@keyframes viewerZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .photo-album-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  .photo-album-item img {
    height: 140px;
  }
  .photo-album-header .album-title {
    font-size: 20px;
  }
  .photo-viewer-content .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}