/* award-card 스타일 */
.award-container {
  width: calc(100% - 160px);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 9.5vw;
}
/* 타임라인 전체 컨테이너 */
.award-timeline {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
/* 중앙 세로선 */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #C30E23 0%, #fff 100%);
  transform: translateX(-50%);
  z-index: 1;
}

/* 카드 배치 영역 */
.timeline-cards {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.timeline-card-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  min-height: 220px;
}
.timeline-card-wrapper.right {
  justify-content: flex-end;
}

/* 카드가 중앙선에서 떨어지도록 */
.timeline-card-wrapper.left .award-card {
  margin-left: 10%;
}
.timeline-card-wrapper.right .award-card {
  margin-right: 10%;
}

/* 타임라인 점(중앙선과 카드 연결) */
.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 4px solid #C30E23;
  border-radius: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(195,14,35,0.13);
}
/* 카드와 점을 선으로 연결 */
.timeline-connector {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 4px;
  background: #C30E23;
  z-index: 2;
}
.timeline-card-wrapper.left .timeline-connector {
  left: calc(50% - 48px);
}
.timeline-card-wrapper.right .timeline-connector {
  right: calc(50% - 48px);
}


.award-title {
  margin: 0 0 32px;
  color: #FFFFFF;
  text-align: center;
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: 0.5px;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
}

.award-card {
  display: flex;
  flex-direction: column;
  border-radius: 2vw;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  width: 30vw;
  height: 23vw;
  aspect-ratio: 16 / 9;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
}

.award-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(195,14,35,0.18), 0 2px 12px rgba(0,0,0,0.13);
  z-index: 10;
}
.award-photo {
  flex: 0 0 65%;
  height: 65%;
  background: #eee;
  width: 100%;
}

.award-info {
  flex: 1 1 35%;
  background: #fff;
  padding: 16px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 35%;
  box-sizing: border-box;
}

.award-meta-date-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.02em;
  font-weight: 700;
  margin-bottom: 6px;
}

.award-meta {
  color: #C30E23;
  font-weight: 700;
}

.award-date {
  color: #888;
  font-size: 0.98em;
  font-weight: 500;
}

.award-name {
  font-size: 1.13em;
  font-weight: 800;
  color: #222;
  margin: 2px 0 4px 0;
}

.award-desc {
  font-size: 0.98em;
  color: #444;
  opacity: 0.85;
  margin: 0;
}

.award-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    margin: 0 0 22px;
}
.award-chip {
    border: none;
    outline: none;
    padding: 10px 18px;
    border-radius: 1000px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.13);
}
.award-chip.active {
    background: var(--primary, #C30E23);
    color: #fff;
    border: none;
    box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35);
    transform: translateY(-2px);
}
.timeline-card-wrapper.fade-out {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.timeline-card-wrapper.fade-in {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-empty-message.fade-in {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-empty-message {
  grid-column: 1 / -1;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
  padding: 120px 0 60px 0;
  opacity: 0.85;
  letter-spacing: -0.01em;
  background: none;
  border-radius: 18px;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}

.pr {
    position:fixed;
    display: flex;
    width:100vw;
    height: 100dvh;
    z-index:0;
    pointer-events:none;
    text-align:center;
    justify-content: center;
    align-items: center;
}
.pr-text {
    font-size:4vw;
    font-weight:600;
    color:rgba(255,255,255,0.08);
    opacity:0.7;
    pointer-events:none;
    margin:0;
    position: relative;
}
/* 프로젝트 세부 탭 상세 정보 시안 스타일 */
.project-detail-info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 20px 0 2vw 18vw; /* 원하는 위치로 이동 */
    padding: 0 0 0 0;
    width: auto;
    align-self: flex-start; /* 부모의 중앙 정렬 영향 해제 */
}
.project-detail-year {
    background: #000000;
    color: #C30E23;
    font-weight: 700;
    font-size: 1.08em;
    border-radius: 18px;
    padding: 10px 22px 9px 22px;
    display: inline-block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}
.project-detail-title {
    color: #fff;
    font-size: 2.1em;
    font-weight: 800;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
}
.project-detail-desc {
    color: #fff;
    font-size: 1.13em;
    font-weight: 400;
    margin-bottom: 0px;
    opacity: 0.92;
}
.project-detail-members-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 8px;
}
.project-detail-member {
    background: rgba(0,0,0,0);
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    border: 1.5px solid white;
    padding: 4px 18px 3px 18px;
    display: inline-block;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}
/* 프로젝트 세부 탭 뒤로가기 버튼 (박스 위, 왼쪽 정렬) */
.project-detail-back {
    display: block;
    position: static;
    margin: 48px 0 4px 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.15s;
}
.project-detail-back:active,
.project-detail-back:focus {
    transform: scale(0.92);
}
.project-detail-back svg {
    display: block;
    width: 44px;
    height: 44px;
}
/* project-detail-box 내부 이미지 크기 고정 */
.project-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: block;
    opacity: 1;
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.32s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
}
/* 프로젝트 상세 이미지 컨트롤 (화살표/인덱스) */
.project-detail-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 18px;
}
.project-detail-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: transform 0.15s;
}
.project-detail-arrow:active,
.project-detail-arrow:focus {
    background: none;
    transform: scale(0.92);
}
.project-detail-arrow:hover .arrow-svg {
    transform: scale(1.15);
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.arrow-svg {
    display: block;
    width: 26px;
    height: 26px;
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.project-detail-index {
    color: #fff;
    font-weight: bold;
    font-size: 1.15em;
}
.fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s !important;
}
/* 프로젝트 세부 탭: 중앙에 이름만, 자연스러운 전환 */
#project-detail-section {
    background: transparent;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s;
    overflow: visible;
    height: auto;
    max-height: none;
}

/* 프로젝트 세부 탭 스크롤바: body에 적용 (다른 탭들과 동일) */
body.project-detail-mode::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
body.project-detail-mode::-webkit-scrollbar-track {
    background: var(--bg);
}
body.project-detail-mode::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 8px;
    border: 1px solid var(--bg);
}
body.project-detail-mode::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}
/* Firefox */
body.project-detail-mode {
    scrollbar-color: var(--scroll-thumb) var(--bg);
    scrollbar-width: thin;
}
.project-detail-box {
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    pointer-events: auto;
    pointer-events: auto;
}
/* 들어오는 방향별 애니메이션 */
.project-image.slide-in-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}
.project-image.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 2;
}
.project-image.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 3;
}
.project-image.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}
.project-image.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}
/* 박스 디자인 */
#project-detail-section .project-detail-box {
    background: #222;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    padding: 48px 32px;
    width: 64vw;
    min-height: 68vh;
    margin: auto;
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
    font-size: 1.3em;
    display: block;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* 프로젝트 섹션 레이아웃을 멤버 섹션과 동일하게 */
.content.section.project,
#project-section {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 0;
}
/* 프로젝트 섹션도 전체 스크롤 적용 */
.content.center-content.section.project {
    min-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}
.award-container {
    width: calc(100% - 160px);
    max-width: 1200px;
    margin: 0 auto;
}
.member-title {
    margin: 0 0 32px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 4.4vw, 44px);
    letter-spacing: 0.5px;
}
/* 프로젝트 카드 그리드 (멤버 카드 스타일 참고) */
.project-container {
    width: calc(100% - 160px);
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* overflow: visible; */
}
.project-title {
    margin: 0 0 32px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 4.4vw, 44px);
    letter-spacing: 0.5px;
    /* 멤버 타이틀과 동일하게 위치 조정 */
    display: block;
    width: 100%;
    position: relative;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    /* overflow-y: visible; */
}
/* 더 빠른 등장/퇴장 애니메이션 */
.project-card {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.16s cubic-bezier(0.4,0,0.2,1),
        transform 0.16s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 10px 8px;
    border-radius: 24px;
    background: transparent;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    height: auto;
}

.project-card:hover {
    cursor: pointer;
}


.project-card.fade-out {
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card.fade-in {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 100%;
    border-radius: 18px;
    background: #bdbdbd;
    border: none;
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* 프로젝트 칩도 멤버 칩과 동일한 디자인 적용 */
.project-chip {
    border: none;
    outline: none;
    padding: 10px 18px;
    border-radius: 1000px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.project-chip:focus-visible {
    box-shadow: 0 0 0 3px rgba(87, 5, 15, 0.6);
}
.project-chip.active {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35);
    transform: translateY(-2px);
}
.project-chip:not(.active) {
    background: rgba(255,255,255,0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.project-chip:hover,
.project-chip:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35);
}

.project-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    margin: 0 0 22px;
}

.project-info { color: #FFFFFF; text-align: left; margin-top: -3px; padding-left: 3px; }
.project-name { margin: 0; font-size: clamp(18px, 3.6vw, 30px); font-weight: 700; letter-spacing: 0.5px; text-align: left; padding-left: 3px; }
.project-meta { color: #7D343D; font-size: 1.05rem; text-align: left; padding-left: 3px; }
.project-desc { margin: 0; font-size: clamp(12px, 1.7vw, 16px); color: rgba(255,255,255,0.9); line-height: 1.7; text-align: left; padding-left: 3px; }

/* 전화번호 입력 모달 인풋 전체 너비 */
#modal-phone-bg .modal-box #studentPhoneInput {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 18px;
    height: 36px;
}
/* =========================
     에러 모달 스타일
     ========================= */

/* =========================
     에러 모달 스타일 (예쁘게 개선)
     ========================= */
.modal-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.38);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalBgFadeIn 0.2s;
    backdrop-filter: blur(2.5px);
}
.modal-box {
    background: linear-gradient(135deg, #fff 80%, #ffe5ea 100%);
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(214,31,38,0.13), 0 2px 8px 0 rgba(0,0,0,0.10);
    padding: 38px 32px 26px 32px;
    min-width: 340px;
    max-width: 420px;
    text-align: center;
    animation: modalBoxPop 0.22s cubic-bezier(.4,1.6,.6,1);
    position: relative;
    border: 2.5px solid #ffd6db;
}

.modal-message {
    color: black;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 22px;
    margin-top: 18px;
    word-break: keep-all;
    letter-spacing: -0.01em;
}
.modal-close {
    background: linear-gradient(90deg, #d61f26 60%, #a50619 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 32px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(214,31,38,0.08);
    transition: background 0.18s, transform 0.13s;
}
.modal-close#modal-phone-cancel {
    background: #aaa;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 32px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(214,31,38,0.08);
    transition: background 0.18s, transform 0.13s;
}

.modal-close:hover {
    transform: translateY(-2px) scale(1.02);
}
@keyframes modalBgFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalBoxPop {
    0% { transform: scale(0.85); opacity: 0; }
    80% { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); }
}
/* =========================
     학번/이름 미일치 에러 박스
     ========================= */
.result-error-box {
    display: none;
    background: #fff0f3;
    color: #d61f26;
    border: 1.5px solid #d61f26;
    border-radius: 12px;
    padding: 14px 12px;
    margin-bottom: 18px;
    font-size: 1.08rem;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(214,31,38,0.07);
    animation: fadeInError 0.3s;
}
@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.project-empty-message {
    grid-column: 1 / -1;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 180px 0 60px 0;
    opacity: 0.85;
    letter-spacing: -0.01em;
    background: none;
    border-radius: 18px;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}
/* 주요 섹션 스크롤 문제 해결: 각 섹션에 스크롤 가능하도록 */
.section {
    min-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}
.center-content {
    min-height: 100vh;
    overflow-y: auto;
}
/* 합격자 결과 박스 스타일 */
.result-status-box {
    border-radius: 24px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.result-status-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.result-status-name {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 14px;
}
.result-status-name .accent {
    color: #D61F26;
    font-weight: 700;
}
.result-status-desc {
    font-size: 1rem;
    color: #f3f3f3;
    margin-bottom: 18px;
    line-height: 1.6;
}
.result-status-footer {
    font-size: 0.98rem;
    color: #BC7F88;
    opacity: 0.85;
    margin-top: 10px;
    font-weight: 600;
}
.result-pass-bars-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-pass-bars-bg svg {
    margin: auto;
    display: block;
}
/* 합격자 결과 배경 막대 등장 애니메이션 */
.result-pass-bars-bg .bar {
    transform: translateY(120%);
    opacity: 0;
    animation: barUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
    fill: url(#barGradient);
}
.result-pass-bars-bg .bar-1 { animation-delay: 0.1s; }
.result-pass-bars-bg .bar-2 { animation-delay: 0.25s; }
.result-pass-bars-bg .bar-3 { animation-delay: 0.4s; }
.result-pass-bars-bg .bar-4 { animation-delay: 0.55s; }

@keyframes barUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.snake-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    border-radius: 40px;
    overflow: visible;
}
.snake-border rect {
    fill: none;
    stroke: #ff0040;
    stroke-width: 4;
    /* 카드 예상 크기: 500x250, rx:40 적용 시 둘레 ≈ 1280px */
        stroke-dasharray: 0.12 0.88; 
        transition: stroke-dasharray 0.7s cubic-bezier(0.4,0,0.2,1);
    stroke-linecap: round;
    rx: 40;
    ry: 40;
    animation: snakeBorder 10s linear infinite;
    filter: drop-shadow(0 0 5px #ff0040);
}
    .snake-border.active rect {
        stroke-dasharray: 1 0;
        animation-play-state: paused;
    }
@keyframes snakeBorder {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: 4;
    }
}
/* 불합격자 메시지 폰트 디자인 */
#resultFailMessage {
    color: #fff;
    text-align: center;
    letter-spacing: -0.5px;
}
#resultFailMessage .fail-main {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.6em;
}
#resultFailMessage .fail-red {
    color: #C30E23;
    font-weight: 700;
}
#resultFailMessage .fail-sub {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.2em;
}
#resultFailMessage .fail-name {
    font-weight: 700;
}
#resultFailMessage .fail-red {
    color: #C30E23;
    font-weight: 900;
}
.content.section.result-fail .result-hero {
    margin-bottom: 56px !important;
}
.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}
.values-box {
    max-width: 900px;
    width: calc(100% - 120px);
    margin: 0 auto;
    text-align: center;
}
.values-label {
    color: var(--text-muted);
    font-size: 18px;
    margin: 0 0 12px;
}
.values-heading {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.4;
    margin: 0;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8vw;
    width: calc(100% - 160px);  
    max-width: 1100px;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
}
.value {
    color: rgba(255,255,255,0.35);
    font-weight: 700;
    font-size: 60px;
    text-align: center;
    letter-spacing: 1px;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* 값 키워드 호버 효과: 색상 화이트, 살짝 확대 */
.values-grid .value:hover {
    color: #FFFFFF;
    transform: scale(1.06);
}
/* ===== Theme Variables ===== */
:root {
    --bg: #000000;
    --accent: #57050F;
    --accent-hover: #7d0c1a;
    --primary: #C30E23;
    --primary-light: #D61F26;
    --text: #FFFFFF;
    --text-muted: #9A9595;
    /* Subtle scrollbar tones to blend with background */
    --scroll-thumb: #0E0608;        /* 거의 배경에 가까운 어두운 톤 */
    --scroll-thumb-hover: #1A0A0F;  /* 호버 시 아주 약간만 밝게 */
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    display: block;   /* 섹션들이 수직으로 쌓이도록 일반 블록 흐름 사용 */
    overflow-y: hidden;
    position: relative;
}
/* 프로젝트 세부 탭: 다른 탭들과 동일한 스크롤 구조 */
body.loaded.project-detail-mode {
    overflow-y: auto;
    /* min-height는 JS에서 동적으로 설정됨 */
}

/* 아래로 스크롤 유도 화살표 */
.scroll-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 10;
    animation: arrow-bounce 1.4s infinite cubic-bezier(0.4,0,0.2,1);
    opacity: 0.85;
    pointer-events: none;
}
.scroll-down-arrow svg {
    display: block;
    width: 40px;
    height: 40px;
}
@keyframes arrow-bounce {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(18px); }
    100% { transform: translateX(-50%) translateY(0); }
}

/* 로딩 완료 후 스크롤 활성화 */
body.loaded {
    overflow-y: auto;
}
/* 홈(랜딩) 전용: 여유 스크롤 영역 제공 */
body.loaded.home-mode {
    min-height: 1370vh; /* 홈에서만 스크롤 여유 확보 */
}
/* QnA 전용: 한 화면 높이만큼 추가 스크롤 여유 */
body.loaded.qna-mode {
    min-height: 200vh; /* QnA 탭에서 1뷰포트 높이만큼 스크롤 가능 */
}

/* html에 적용된 초기 overflow: hidden을 해제하여 수직 스크롤 허용 */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 51%, var(--accent) 88%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
    z-index: 0;
}

body.loaded::before {
    opacity: 1;
}

.content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* 로딩 완료 시 전역 콘텐츠 페이드인 (섹션은 아래 규칙으로 별도 제어) */
/* 전역 콘텐츠(섹션 제외)는 로딩 후 페이드인 */
body.loaded .content:not(.section) {
    opacity: 1;
}

/* 첫 로드 후 섹션별 페이드 제어를 위해 .content 전역 페이드를 제거하고
   .content.section / .content.section.active로 제어합니다. */

.content.section {
    opacity: 0;
    transition: opacity 0.6s ease;
}
/* 소개 섹션은 활성화 클래스가 있을 때만 보이도록 제어 */
.content.section.intro { opacity: 0; transition: opacity 0.3s ease; }
.content.section.intro.active-intro { opacity: 1; }

/* 화면별 페이드 규칙: 각 화면은 자신만의 활성 클래스를 사용 */
.content.section.home {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.home.active-home {
    opacity: 1;
}

/* 핵심가치 섹션 페이드 규칙 */
.content.section.values {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.values.active-values {
    opacity: 1;
}

/* 가치 소개 섹션 페이드 규칙 */
.content.section.inform {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.inform.active-inform {
    opacity: 1;
}

/* 마스코트 섹션 페이드 규칙 */
.content.section.mascot {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.mascot.active-mascot {
    opacity: 1;
}

/* 결과 조회: 합격/불합격 섹션 페이드 규칙 */
.content.section.result-pass,
.content.section.result-fail {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.result-pass.active-result-pass,
.content.section.result-fail.active-result-fail {
    opacity: 1;
}
/* 합격자 확인(학번 작성 탭) 섹션 페이드 규칙 */
.content.section.result {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.result.active-result {
    opacity: 1;
}

/* 홈 섹션 영역 크기: 너비는 화면 전체, 높이는 화면 하단까지 */
.content.section.home,
.content.center-content.section.home,
#home-section {
    position: relative; /* center-content의 fixed를 무효화하기 위한 안전장치 */
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;       /* 화면 최대 너비 */
    min-height: 100vh;  /* 메인 컨텐츠 아래부터 화면 최대 아래까지 채움 */
    display: flex;      /* 중앙 정렬을 위해 플렉스 컨테이너로 */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 이미지+서브타이틀을 한 덩어리로 중앙 배치 */
.hero-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 초기 로딩 시 홈 섹션을 다른 요소들과 동일한 속도로 페이드인 */
.content.section.home.initial-fade {
    transition: opacity 1.5s ease;
}

.content.section.project {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.project,
#project-section {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;
    min-height: 100vh;
    /* display: flex; */
    /* align-items: flex-start; */
    /* justify-content: center; */
    padding: 120px 0;
}
.content.section.project.active-project {
    opacity: 1;
}

.content.section.member {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.member.active-member {
    opacity: 1;
}

/* 멤버 섹션 레이아웃 (center-content 고정 포지션 무효화) */
.content.section.member,
#member-section {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 0; /* 상단 여백으로 타이틀 공간 확보 */
}

.member-container {
    width: calc(100% - 160px);
    max-width: 1200px;
    margin: 0 auto;
}

.member-title {
    margin: 0 0 32px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 4.4vw, 44px);
    letter-spacing: 0.5px;
}

.member-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    margin: 0 0 22px;
}

.member-chip {
    border: none;
    outline: none;
    padding: 10px 18px;
    border-radius: 1000px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.member-chip:focus-visible {
    box-shadow: 0 0 0 3px rgba(87, 5, 15, 0.6);
}
.chip-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35);
}
.chip-primary:hover { transform: translateY(-2px); }

.chip-muted {
    background: rgba(255,255,255,0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}
.chip-muted:hover { transform: translateY(-2px); }

/* 활성 칩 상태 */
.member-chip.active {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35);
    transform: translateY(-2px);
}

/* 비활성(선택되지 않은) 칩은 개국공신 스타일로 */
.member-chip:not(.active) {
    background: rgba(255,255,255,0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.member-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 10px 8px;
    border-radius: 24px;
    background: transparent;
}

.member-photo {
    width: clamp(180px, 26vw, 300px);
    aspect-ratio: 1 / 1; /* 정사각형 유지 */
    height: auto;
    border-radius: 28px;
    background: black; /* 회색 박스 */
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 16px 30px rgba(0,0,0,0.42);
    margin: 0 auto; /* 그리드 내부 중앙 정렬 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-tags {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center; /* 역할 칩 중앙 정렬 */
    margin-top: 6px;
}
.member-tag {
    padding: 10px 18px;
    border-radius: 1000px;
    font-weight: 800;
    font-size: 14px;
    color: #cfc9c9;
    background: linear-gradient(180deg, rgba(72,72,74,0.65) 0%, rgba(56,56,58,0.58) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
    /* 빛나는 효과 추가 */
    box-shadow: 0 0 10px 4px rgba(255,255,255,0.18), 0 14px 26px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
}
.member-tag.lead {
    color: #FFFFFF;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 8px 6px rgba(195, 14, 35, 0.38), 0 6px 16px rgba(195, 14, 35, 0.35);
    /* 리드 태그는 더 강한 빛 효과 */
    position: relative;
    z-index: 2;
}

.member-info { color: #FFFFFF; text-align: center; margin-top: -6px; }
.member-name { margin: 4px 0 6px; font-size: clamp(18px, 3.6vw, 30px); font-weight: 900; letter-spacing: 0.5px; }
.member-bio { margin: 0; font-size: clamp(14px, 2vw, 18px); color: rgba(255,255,255,0.9); }
/* 박스 하단 소개 텍스트 크기 축소 */
.member-bio { font-size: clamp(12px, 1.7vw, 16px); line-height: 1.7; }

.content.section.qna {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.content.section.qna.active-qna {
    opacity: 1;
}

/* QnA 섹션 레이아웃 (center-content 고정 포지션 무효화) */
.content.section.qna,
#qna-section {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    object-position: center;
    padding: 120px 0; /* 상단 여백으로 타이틀 공간 확보 */
}

.qna-container {
    width: calc(100% - 160px);
    max-width: 1100px;
    margin: 0 auto;
}

.qna-title {
    margin: 0 0 24px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 4.4vw, 44px);
    letter-spacing: 0.5px;
}

.qna-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.qna-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(72,72,74,0.6) 0%, rgba(60,60,62,0.55) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35) inset, 0 10px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.qna-item:hover {
    border-color: rgba(255,255,255,0.18);
}

.qna-item.open {
    background: linear-gradient(180deg, rgba(82,82,84,0.68) 0%, rgba(56,56,58,0.58) 100%);
    border-color: rgba(255,255,255,0.22);
}

.qna-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.q-prefix {
    color: #FFFFFF;
    font-weight: 800;
    font-size: clamp(16px, 2.2vw, 22px);
    opacity: 0.95;
}

.qna-question {
    color: #FFFFFF;
    font-weight: 700;
    font-size: clamp(16px, 2.2vw, 22px);
    letter-spacing: 0.2px;
}

.qna-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0);
    background: rgba(10,10,12,0.45);
    padding: 0 18px;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.qna-item.open .qna-answer {
    max-height: 320px;
    opacity: 1;
    padding: 18px 18px;
    border-color: rgba(255,255,255,0.14);
}

.a-prefix {
    color: #FFFFFF;
    font-weight: 800;
    font-size: clamp(16px, 2.2vw, 20px);
    opacity: 0.95;
}

.qna-answer-text {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    line-height: 1.9;
    font-size: clamp(14px, 1.9vw, 18px);
}

.top-left-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    height: 80px;
    width: auto;
    z-index: 2001;
}

/* Result pass/fail sections: local top-left logo */
.result-top-left-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 80px;
    width: auto;
    cursor: pointer;
    z-index: 5;
}

.top-right-nav {
    position: fixed;
    height: 20px;
    top: 50px;
    right: 120px;
    display: flex;
    gap: 60px;
    z-index: 2002;
}

.nav-link {
    color: var(--text-muted);
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    vertical-align: baseline;
    line-height: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    transform: translateY(-2px);
}

.center-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.center-logo {
    max-width: 40vw;
    max-height: 25vh;
    width: auto;
    height: auto;
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.subtitle {
    color: var(--text);
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.button-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.recruit-btn {
    padding: 12px 30px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--text);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 14, 35, 0.4);
}

.secondary-btn {
    background-color: var(--text);
    color: var(--primary);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* center-content는 기본 transform을 갖고 있어 중복 규칙 제거 */

.logo-container {
    width: 500px;
    max-width: 90%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-container.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bar {
    transform: scaleY(0);
    transform-origin: bottom; 
    transform-box: fill-box;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    fill: var(--primary-light);
}

.loading-text {
    color: var(--primary-light);
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
}

/* Text selection styling for cohesive highlight */
::selection {
    background: var(--accent-hover);
    color: var(--text);
}

/* Focus ring for accessibility and theme consistency */
.nav-link:focus-visible,
.recruit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 5, 15, 0.6); /* accent */
    border-radius: 8px;
}

/* ===== Scrollbar Styling ===== */
/* Chromium-based browsers (Chrome, Edge, Safari) */
html::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
html::-webkit-scrollbar-track {
    background: var(--bg);
}
html::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 8px;
    border: 1px solid var(--bg);
}
html::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover); /* 살짝 밝은 톤으로 호버 피드백 */
}

/* Firefox */
html {
    scrollbar-color: var(--scroll-thumb) var(--bg); /* thumb track */
    scrollbar-width: thin;
}

/* 섹션 간 여유 간격 박스 */
.section-gap {
    width: 100%;    
    height: 100vh; /* 많이 넓은 간격: 필요 시 값 조정 */
}

/* 첫 번째 섹션 간격만 살짝 줄여 1→2 구간 스크롤 감소 */
.section-gap:first-of-type {
    height: 60vh;
}

/* 동아리 소개 섹션: 홈과 동일 크기/중앙 정렬 */
.content.section.intro,
#intro-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-box {
    max-width: 960px;
    width: calc(100% - 80px);
    padding: 24px 32px;
    border-radius: 16px;
    color: var(--text);
    text-align: center;
}
.intro-title {
    margin: 0 0 8px;
    font-size: clamp(20px, 3.5vw, 32px);
}
.intro-text {
    margin: 0;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 50px;
}

/* 동아리 핵심 가치 섹션: 소개 섹션과 동일 크기/중앙 정렬 */
.content.section.values,
#values-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 동아리 가치 소개 섹션: 홈 섹션과 동일 크기/중앙 정렬 */
.content.section.inform,
#inform-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 동아리 마스코트 소개 섹션: 홈과 동일 크기/중앙 정렬 */
.content.section.mascot,
#mascot-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 합격자 확인(학번 작성 탭) 섹션 레이아웃 */
.content.section.result,
#result-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* 상단으로 올림 */
    justify-content: center;
    padding-top: 80px; /* 상단 여백으로 위로 배치 */
}

.result-wrap {
    max-width: 840px;
    width: calc(100% - 120px);
    margin: 0 auto;
}
.result-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* 이미지와 텍스트 간격 축소 */
    margin-bottom: 28px; /* 텍스트와 입력 박스 간격 확대 */
}
.result-logo {
    max-width: 40vw;
    max-height: 25vh;
    width: auto;
    height: auto;
}
.result-subtitle {
    color: #C30E23; /* 요청한 텍스트 색상 */
    font-weight: 700;
    font-size: clamp(18px, 3.2vw, 28px);
    margin: 0;
}
.result-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(206, 206, 212, 0.2) 0%, rgba(237, 237, 239, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18),
                0 0 16px 3px rgba(255,255,255,0.13),
                0 0 32px 7px rgba(255,255,255,0.07);
    max-width: 500px;
    margin: 0 auto;
    min-height: 250px;
    justify-content: center;
    position: relative;
    overflow: visible; /* allow border to overflow */
    z-index: 1;
}

.result-row {
    display: grid;
    grid-template-columns: 88px 0.9fr; /* 입력 칸은 내용 폭 기준 */
    align-items: center; /* 세로 중앙 */
    justify-items: start; /* 아이템은 좌측 기준 */
    justify-content: end; /* 행 전체를 오른쪽으로 정렬 */
    gap: 0; /* 레이블-입력 간격 제거 */
    min-height: 56px; /* 행 높이 확보로 중앙 정렬 감 강화 */
    width: 100%; /* 행은 카드 전체 폭을 사용 (내부 그리드는 우측 정렬) */
    margin: 0 auto; /* 행 자체는 카드 내 중앙 배치 */
}
.result-label {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    text-align: right; /* 입력과 더 가깝게 */
    justify-self: end;
}
.result-input {
    padding: 12px 14px; /* 입력 높이 소폭 축소 */
    border-radius: 12px;
    border: none;
    background: rgba(12,12,14,0.7);
    color: #FFFFFF;
    width: 55%; /* 입력 너비 소폭 추가 축소 */
    justify-self: start; /* 레이블과 붙도록 좌측 정렬 */
    margin-left: 10px;
}
.result-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-status-text {
    margin: 8px 0;
    text-align: center;
    font-weight: 800;
    font-size: clamp(18px, 3vw, 26px);
}
.result-status-text.pass { color: #2ECC71; }
.result-status-text.fail { color: #C30E23; }
.result-input::placeholder { color: rgba(255,255,255,0.55); }
.result-action {
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 10vw;
}
.result-action:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(195, 14, 35, 0.35); }

.mascot-box {
    max-width: 1200px;
    width: calc(100% - 120px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.mascot-image-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    margin: 0;
}

.mascot-image {
    max-width: 960px; 
    max-height: 1040px;
    width: auto;
    height: auto;
}

.mascot-title-wrap {
    width: 100%;
    margin-bottom: clamp(120px, 22vh, 80px);
}

.mascot-outline-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.mascot-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-size: 130px;
    line-height: 1;
    background: linear-gradient(90deg, #C30E23 10%, #7d0c1a 50%, #57050F 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mascot-outline {
    margin: 0;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-size: 130px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.7);
}

/* 마스코트 섹션 우측 텍스트 카드 */
.mascot-info-wrap {
    position: absolute;
    right: 40px;
    top: 54%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 460px;
    width: 32vw;
}
.mascot-info-card {
    padding: 80px 32px;
    border-radius: 28px;
    border: 1px solid #FFFFFF;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.mascot-info-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.8vw, 40px);
    font-weight: 800;
}
.mascot-info-sub {
    margin: 0 0 18px;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    color: rgba(255,255,255,0.92);
}
.mascot-info-body {
    margin: 0;
    font-size: clamp(14px, 1.9vw, 18px);
    line-height: 1.9;
    color: rgba(255,255,255,0.92);
}
.info-roman { color: rgba(255,255,255,0.9); font-weight: 600; }

/* inform 섹션 기본 박스 스타일 */
.inform-box {
    max-width: 1400px; /* 전체 너비 확장 */
    width: calc(100% - 80px); /* 좌우 패딩을 줄여 더 넓게 */
    color: var(--text);
    text-align: left;
    margin: 0 auto; /* 박스 자체를 중앙 정렬 */
}

/* 2열 레이아웃: 좌측 텍스트, 우측 이미지 스택 */
.inform-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 중앙 경계로 맞춰 텍스트 박스를 중앙에 가깝게 */
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    justify-items: center;
}
.inform-heading {
    margin: 0 0 18px;
    color: var(--text);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.25;
}
.inform-body {
    margin: 0;
    max-width: 640px;
    color: var(--text);
    opacity: 0.9;
    font-size: 18px;
    line-height: 1.9;
    margin-left: auto; /* 중앙 정렬 시 텍스트 블록 폭 중앙 배치 */
    margin-right: auto;
}
.inform-media {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-end;
    width: min(360px, 70vw); /* 우측 미디어 폭을 줄여 공간 확보 */
}
.media-placeholder {
    width: 350px;
    height: 160px;
    background: #33393f;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* === Inform Section: 7-card deck showing 3 === */
.inform-deck {
    position: relative;
    width: 100%; /* 부모(inform-media) 폭에 맞춰 카드 덱 폭 조정 */
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform: translateX(12px); /* 중앙에 더 가깝게 조정 */
}

.inform-deck .value-card {
    position: absolute;
    width: clamp(280px, 28vw, 400px); /* 카드 폭을 조금만 축소 */
    height: clamp(128px, 14vw, 168px); /* 카드 높이를 조금만 축소 */
    border-radius: 20px;
    object-fit: cover; /* 이미지가 카드 프레임을 꽉 채우도록 */
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F8 100%);
    box-shadow: 0 22px 40px rgba(0,0,0,0.35), 0 4px 10px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    /* transform 구성 요소를 변수로 제어하여 부드러운 위/아래 움직임 제공 */
    --baseY: 0px;
    --bobY: 0px;
    --scale: 1;
    transform: translateY(calc(var(--baseY) + var(--bobY))) scale(var(--scale));
    will-change: transform;
    animation: none;
}

.inform-deck .value-card .card-label {
    font-weight: 900;
    font-size: clamp(24px, 3.6vw, 36px);
    color: #86E21D;
}

/* Visible window states */
.inform-deck .value-card.is-left {
    --baseY: -192px; /* 간격 살짝 확대 */
    --scale: 0.96;
    z-index: 3;
    opacity: 1;
}
.inform-deck .value-card.is-center {
    --baseY: 0px;
    --scale: 1.0;
    z-index: 5;
    opacity: 1;
    box-shadow: 0 28px 64px rgba(0,0,0,0.45), 0 8px 20px rgba(0,0,0,0.25);
}
.inform-deck .value-card.is-right {
    --baseY: 192px; /* 간격 살짝 확대 */
    --scale: 0.96;
    z-index: 4;
    opacity: 1;
}
.inform-deck .value-card.is-hidden {
    transform: translateY(0) translateZ(-200px) scale(0.86);
    opacity: 0;
    z-index: 1;
}

/* Remove base placeholder visuals inside deck */
.inform-deck .media-placeholder {
    background: transparent;
    border: none;
}

.values-box {
    max-width: 960px;
    width: calc(100% - 80px);
    padding: 24px 32px;
    border-radius: 16px;
    color: var(--text);
    text-align: center;
}
.values-title {
    margin: 0 0 2vh 0;
    font-size: 4vw;
}
.values-text {
    margin: 0;
    color: var(--text-muted);
}

/* 4번째 탭(Inform) 텍스트 박스 중앙 배치 + 텍스트는 좌측 정렬 */
.inform-copy {
    text-align: left;           /* 텍스트 좌측 정렬 */
    justify-self: center;       /* 텍스트 박스를 그리드 좌측 컬럼의 중앙에 배치 */
    align-self: center;         /* 그리드 셀 내에서 수직 중앙 배치 */
    margin-left: 0;             /* 박스 좌측 여백 제거 */
    margin-right: 0;            
    max-width: none;            /* 최대 폭 제한 제거 */
    width: fit-content;         /* 텍스트 내용에 맞춰 박스 폭 결정 */
    position: relative;         /* 장식 요소(블러 동그라미) 위치 기준 */
    /* 스크롤 애니메이션용 변수 초기값 */
    --dotTopX: 0px;             /* 위쪽 원의 X 이동 */
    --dotBottomX: 0px;          /* 아래쪽 원의 X 이동 */
}

/* inform 텍스트 박스에 작은 흰색 블러 동그라미 2개 추가 */
.inform-copy::before,
.inform-copy::after {
    content: '';
    position: absolute;
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.80) 38%, rgba(255,255,255,0.45) 62%, rgba(255,255,255,0.18) 85%, rgba(255,255,255,0) 100%);
    filter: blur(2vw);
    box-shadow: 0 0 20vw 10vw rgba(255,255,255,0.22);
    pointer-events: none;
    will-change: transform;
    z-index: 2;
}

/* 위쪽-왼쪽 */
.inform-copy::before {
    top: -6vw;
    left: -6vw;
    width: 4vw;
    height: 4vw;
    transform: translateX(var(--dotTopX));
}

/* 오른쪽-아래쪽 */
.inform-copy::after {
    right: -2vw;
    bottom: -7vw;
    transform: translateX(var(--dotBottomX));
}

.accent {
    color: #A50619;
}

.name-accent {
    font-weight: 700;
    color: white,
}

/* 주요 섹션 가로 스크롤 방지 */
.content.section.home,
.content.section.intro,
.content.section.values,
.content.section.inform,
.content.section.mascot {
    overflow-x: hidden;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #222;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 1002;
    transition: color 0.2s;
}

.hamburger-menu.active {
    color: #007bff;
}

.top-right-nav .nav-links {
    display: flex;
    gap: 4rem;
    align-items: center;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s;
    overflow: hidden;
}

/* 반응형 대응: 데스크탑 스타일은 그대로 두고, 파일 하단에 max-width: 767px 미디어 쿼리로 주요 레이아웃, 이미지, 여백, 폰트, 버튼, 그리드, 섹션, 멤버/프로젝트 카드 등 모바일 최적화 오버라이드 추가. (JS에서 .is-mobile 클래스도 대응) */
@media screen and (max-width: 767px) {
  html, body {
    min-width: 0;
    width: 100vw;
    overflow-x: hidden;
    font-size: 15px;
  }
  body.loaded.home-mode {
    min-height: 3800dvh; /* 홈에서만 스크롤 여유 확보 */
  }
  .content, .section, .center-content {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .logo-container {
    width: 100vw;
    min-width: 0;
    padding: 0;
  }
.top-left-logo, .result-top-left-logo {
    left: 2vw !important;
    top: 2vw !important;
    width: 25vw;
    max-width: 100px !important;
    height: auto !important;
    min-width: 50px !important;
}
#summit-main-logo {
    left: 2vw !important;
    top: 2vw !important;
    width: 20vw !important;
    min-width: 50px !important; 
    max-width: 100px !important;
    height: auto !important;
}
.top-right-nav {
    right: 10px !important;
    top: 10px !important;
    gap: 4vw !important;
    font-size: 4vw !important;
}
.nav-link {
    font-size: 4vw !important;
    padding: 0 1vw !important;
}
.nav-link.active {
    color: rgba(195, 14, 35, 0.8) !important;
    font-weight: 500;
    border-radius: 1vw;
}
.hero-block {
    padding: 0 2vw !important;
}
.center-logo {
    width: 110vw !important;
    min-width: 100px;
    max-width: 700px !important;
    height: auto !important;
}
.subtitle {
    font-size: clamp(10px, 5vw, 30px) !important;
    margin-bottom: 2dvh !important;
}
.section-gap {
    height: 200dvh !important;
}
  .project-container, .member-container, .qna-container {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }
.project-title, .member-title, .qna-title {
    font-size: 5vw !important;
    margin: 2dvh 0 1dvh 0 !important;
}
.project-grid, .member-grid {
    grid-template-columns: 1fr !important;
    gap: 4vw !important;
    width: 100% !important;
    margin: 0 !important;
}
.project-card, .member-card {
    width: 92vw !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    margin: 0 auto 4vw auto !important;
    border-radius: 2vw !important;
    padding: 4vw 2vw !important;
    box-sizing: border-box;
}
.project-photo {
    width: 88vw !important;
    height: 49.5vw !important;
    border-radius: 2vw !important;
    margin: 0 auto 0 auto !important;
}
.member-photo {
    width: 60vw !important;
    height: 60vw !important;
    min-width: 18vw !important;
    min-height: 18vw !important;
    border-radius: 10px !important;
    margin: 0 auto 2vw auto !important;
}
.project-image, .member-image {
    max-width: 100% !important;
    height: 100% !important;
    border-radius: 2vw !important;
    object-fit: cover !important;
}
#project-detail-section .project-detail-box {
    background: #222;
    border-radius: 3vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    padding: 48px 32px;
    min-height: 49.5vw !important;
    margin: auto;
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
    font-size: 1.3em;
    display: block;
    overflow: hidden;
    position: relative;
    padding: 0;
    width: 88vw !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
}

.project-detail-info-box {
    width: 92vw !important;
    padding: 3vw 1vw !important;
    border-radius: 2vw !important;
    margin: 0 auto 2vw auto !important;
    box-sizing: border-box;
    height: auto !important;
}
#project-detail-section {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 0 0 6dvh 0 !important;
    border-radius: 0 !important;
    left: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
}
.project-detail-controls {
    gap: 2vw !important;
    margin-top: 2dvh !important;
}
.project-detail-arrow {
    width: 9vw !important;
    height: 9vw !important;
}
.project-detail-year {
    font-size: 4vw !important;
    margin: 0 !important;
    margin-bottom: 1dvh !important;
    padding: 0 !important;
    background-color: rgba(0,0,0,0)
}
.project-detail-title {
    font-size: 6vw !important;
    margin-bottom: 0.5dvh !important;
}
.project-detail-desc {
    font-size: 4vw !important;
    margin-bottom: 0.5dvh !important;
}
.project-detail-members-row {
    flex-direction: row !important;
    gap: 1vw !important;
}
.project-detail-member {
    font-size: 3vw !important;
    padding: 0.5dvh 0.5dvh !important;
    border: 0.3vw solid white;
}
.project-detail-back {
    margin: 10dvh 0 2dvh 2vw !important;
    font-size: 4vw !important;
    border-radius: 2vw !important;
    padding: 1.5dvh 2vw !important;
}
.member-info, .project-info {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 4vw !important;
}
.member-name {
    font-size: 4.5vw !important;
    margin: 1.2dvh 0 0.8dvh 0 !important;
}
.project-name {
    font-size: 4.5vw !important;
}
.member-bio {
    font-size: 3.8vw !important;
    margin: 0 0 0.8dvh 0 !important;
}
.project-desc {
    font-size: 3.8vw !important;
}
.member-tags {
    font-size: 3.7vw !important;
    margin-bottom: 0.8dvh !important;
}
.member-tag {
    padding: 2vw 4vw;
    border-radius: 1000px;
    font-weight: 800;
    font-size: 2.5vw;
    color: #cfc9c9;
    background: linear-gradient(180deg, rgba(72,72,74,0.65) 0%, rgba(56,56,58,0.58) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
    /* 빛나는 효과 추가 */
    box-shadow: 0 0 10px 4px rgba(255,255,255,0.18), 0 14px 26px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
}
.member-tag.lead {
    color: #FFFFFF;
    background: var(--primary);
    border: none;
    box-shadow: 0 0 8px 6px rgba(195, 14, 35, 0.38), 0 6px 16px rgba(195, 14, 35, 0.35);
    /* 리드 태그는 더 강한 빛 효과 */
    position: relative;
    z-index: 2;
}
.project-meta {
    font-size: 3.7vw !important;
}
.member-major {
    font-size: 3.8vw !important;
    margin-bottom: 0.4dvh !important;
}
.qna-list, .qna-item {
    width: 100% !important;
    padding: 0 !important;
    font-size: 4vw !important;
    justify-content: center;
}
.qna-head {
    font-size: 4vw !important;
    padding: 2vw 0 0 3vw !important;
}
.qna-answer {
    font-size: 4vw !important;
    padding: 2vw 2vw 2vw 3vw !important;
}
.modal-box {
    width: 85vw !important;
    min-width: 0 !important;
    max-width: 500px !important;
    padding: 4vw 2vw !important;
    border-radius: 2vw !important;
}
.modal-message {
    font-size: 4vw !important;
    padding: 0 !important;
}
  /* JS에서 .is-mobile 클래스가 body에 붙을 경우 대응 */
  body.is-mobile .content, body.is-mobile .section, body.is-mobile .center-content {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .top-right-nav {
        position: fixed;
    }
    .hamburger-menu {
        display: block !important;
        position: absolute;
        top: 2vw;
        right: 2vw;
        left: auto;
        z-index: 1002;
        font-size: 7vw;
        padding: 2dvh 4vw;
        margin-left: auto;
        color: #fff !important;
        background: none;
    }
    
/* 예시: 주요 섹션, 버튼, 카드 등 모바일에서 비율 단위로 */
.content, .section, .center-content, .project-container, .member-container {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
}
.button-container, .recruit-btn{
    width: 30vw !important;
    min-width: 100px !important;
    height: 4vw !important;
    max-height: 80px !important;
    border-radius: 2vw !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: clamp(11px, 2vw, 13px);
}
.project-card {
    width: 92vw !important;
    height: 75vw !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    margin: 2dvh auto !important;
    padding: 3vw !important;
    border-radius: 2vw !important;
    font-size: 3.5vw !important;
}
.member-card {
    width: 92vw !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    margin: 2dvh auto !important;
    padding: 3vw !important;
    border-radius: 2vw !important;
    font-size: 3.5vw !important;
}
.mascot-info-title, .qna-title, .project-title, .member-title {
    font-size: 5vw !important;
    margin-top: 2dvh !important;
    margin-bottom: 2dvh !important;
}
.intro-text {
    font-size: 5.5vw !important;
}
.values-heading {
    font-size: 6vw !important;
}
.values-label {
    font-size: 3.5vw !important;
}
.values-grid .value {
    font-size: 5vw !important;
}
.values-grid .value:hover {
    font-size: 5.1vw !important;
    color: rgba(255,255,255);
    transition: transform 0.5s;
}
.inform-deck {
    width: 18vw !important;
    height: 18vw !important;
    min-width: 12vw !important;
    min-height: 12vw !important;
    max-width: 24vw !important;
    max-height: 24vw !important;
}
.result-card {
    width: 75vw !important;
    padding: 4vw !important;
    border-radius: 10vw !important;
    font-size: 3.5vw !important;
    justify-content: center;
    align-items: center;
}
.result-row {
    align-items: center !important; /* 세로 중앙 */
    justify-content: center !important;
    margin-left: 12vw !important;
    gap: 0 !important; /* 레이블-입력 간격 제거 */
    min-height: 56px !important; /* 행 높이 확보로 중앙 정렬 감 강화 */
    width: 50% !important; /* 행은 카드 전체 폭을 사용 (내부 그리드는 우측 정렬) */
}
.result-input {
    width: 50vw !important;
    font-size: 3vw !important;
    padding: 2dvh 2vw !important;
    border-radius: 2vw !important;
}
.result-action {
    font-size: 3vw !important;
    border-radius: 2vw !important;
    width: 25vw !important;
    min-width: 25vw !important;
    max-width: 30vw !important;
    height: 12vw !important;
}
.result-status-box {
    width: 80vw !important;
    min-width: 80vw !important;
    max-width: 100vw !important;
    border-radius: 2vw !important;
    font-size: 3.5vw !important;
    margin: 0 !important;
    text-align: center !important;
}
.result-status-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.result-status-name {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 14px;
}
.result-status-name .accent {
    color: #D61F26;
    font-weight: 700;
}
.result-status-desc {
    font-size: 0.8rem;
    color: #f3f3f3;
    margin-bottom: 18px;
    line-height: 1.6;
}
.result-status-footer {
    font-size: 0.8rem;
    color: #BC7F88;
    opacity: 0.85;
    margin-top: 10px;
    font-weight: 600;
}
.modal-close {
    font-size: 3.5vw !important;
    padding: 2dvh 0 !important;
    border-radius: 2vw !important;
    width: 40vw !important;
    min-width: 20vw !important;
    max-width: 30vw !important;
}
.scroll-down-arrow {
    width: 10vw !important;
    height: 10vw !important;
    margin: 2dvh auto !important;
}
.inform-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .inform-copy {
        position: absolute !important;
        top: 25vw;
        right: 4vw;
        z-index: 2;
        padding: 2vw 4vw 0 0 !important;
    }
    .inform-media {
        position: absolute !important;
        top: 120vw;
        left: 35vw;
        transform: translate(-50%, -50%);
        width: 60vw !important;
        max-width: 80vw !important;
        z-index: 1;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        gap: 24px !important;
        align-items: center !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .inform-heading {
        margin: 0 0 18px;
        color: var(--text);
        font-weight: 700;
        font-size: 5vw;
        line-height: 1.25;
    }
    .inform-body {
        margin: 0;
        max-width: 100vw;
        color: var(--text);
        opacity: 0.9;
        font-size: 3vw;
        line-height: 1.9;
        margin-left: auto; /* 중앙 정렬 시 텍스트 블록 폭 중앙 배치 */
        margin-right: auto;
    }
    .inform-deck .value-card.is-left {
        --baseY: -30vw !important;
    }
    .inform-deck .value-card.is-right {
        --baseY: 30vw !important;
    }
    .inform-deck {
        width: 92vw !important;
        max-width: 98vw !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .value-card {
        width: 50vw !important;
        max-width: 98vw !important;
        min-width: 0 !important;
        height: 25vw !important;
        max-height: 100vw;
        min-height: 0;
        border-radius: 15px !important;
        object-fit: cover !important;
    }
    .mascot-title-wrap {
        width: 100%;
        margin-bottom: 3dvh !important;
    }
    .mascot-outline-wrap {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .mascot-title {
        margin: 0;
        font-weight: 800;
        letter-spacing: 6px;
        text-transform: uppercase;
        font-size: 10vw !important;
        line-height: 1;
        background: linear-gradient(90deg, #C30E23 10%, #7d0c1a 50%, #57050F 90%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .mascot-outline {
        margin: 0;
        font-weight: 800;
        letter-spacing: 6px;
        text-transform: uppercase;
        font-size: 10vw !important;
        line-height: 1;
        color: transparent;
        -webkit-text-stroke: 1px rgba(255,255,255,0.7);
    }
    .mascot-image {
        width: 80vw !important;
        height: auto !important;
    }
    .mascot-info-wrap {
    position: absolute;
    justify-content: center;
    top: 54%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 460px;
    width: 70vw;
    }
.mascot-info-card {
    padding: 15vw 8vw;
    border-radius: 28px;
    border: 1px solid #FFFFFF;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.mascot-info-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.8vw, 40px);
    font-weight: 800;
}
.mascot-info-sub {
    margin: 0 0 18px;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    color: rgba(255,255,255,0.92);
}
.mascot-info-body {
    margin: 0;
    font-size: clamp(14px, 1.9vw, 18px);
    line-height: 1.9;
    color: rgba(255,255,255,0.92);
}
.project-detail-arrow:hover .arrow-svg {
    transform: scale(1.15);
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.arrow-svg {
    display: block;
    width: 4vw;
    height: 4vw;
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
}
@media screen and (max-width: 767px) {
  .top-right-nav .nav-links {
    position: absolute !important;
    top: 15vw !important; /* 헤더 높이만큼 아래로 */
    right: 2vw !important;
    left: auto !important;
    z-index: 9999 !important; /* 항상 맨 위로 */
    background: #fff !important;
    box-shadow: 0 0.5dvh 2vw rgba(0,0,0,0.07);
    border-radius: 0 0 2vw 2vw;
    width: 20vw !important;
    min-width: 60px !important;
    max-width: 80px !important;
    height: 0 !important;
    max-height: none !important;
    padding: 20px 0 16px 0 !important; /* 위아래 여백 */
    opacity: 0 !important;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s, visibility 0.3s;
    pointer-events: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s;
    overflow: hidden;
  }
  .top-right-nav .nav-links.open {
    position: absolute !important;
    top: 15vw !important; /* 헤더 높이만큼 아래로 */
    right: 2vw !important;
    left: auto !important;
    z-index: 9999 !important; /* 항상 맨 위로 */
    background: #fff !important;
    box-shadow: 0 0.5dvh 2vw rgba(0,0,0,0.07);
    border-radius: 0 0 2vw 2vw;
    width: 20vw !important;
    min-width: 60px !important;
    max-width: 140px !important;
    height: auto !important;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s, visibility 0.3s;
    max-height: none !important;
    padding: 20px 0 16px 0 !important; /* 위아래 여백 */
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
    pointer-events: auto;
  }
  .top-right-nav .nav-link {
    font-size: 2.5vw !important;
    padding: 8px 4vw !important; /* 위아래/좌우 여백 */
    width: 100% !important;
    text-align: right !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
    border-bottom: none !important;
    width: 100%;
    font-size: 2vw;
    border-bottom: 0.3vw solid #f2f2f2;
    background: none;
    text-align: right;
    justify-content: center;
    display: flex;
  }
  #result-wrap-v2 {
    max-width: 840px !important;
    width: 100vw !important;
    display: flex !important; 
    flex-direction: column !important;
    margin-top: 15% !important;
}
.result-wrap {
    max-width: 840px !important;
    width: 100vw !important;
    display: flex !important; 
    flex-direction: column !important;
    margin-top: -15% !important;
}
#result-hero-v2 {
    margin-bottom: 5vw !important;
}
  .result-hero .result-logo {
    max-width: 300px;
    max-height: 500px;
    width: auto;
    height: auto;
  }
  .result-hero .result-subtitle {
    color: #C30E23; /* 요청한 텍스트 색상 */
    font-weight: 700;
    font-size: clamp(18px, 3.2vw, 28px);
  }
  #resultFailMessage .fail-main {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.6em;
}
#resultFailMessage .fail-red {
    color: #C30E23;
    font-weight: 700;
}
#resultFailMessage .fail-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.2em;
}
#resultFailCard.result-card {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
}

@media screen and (min-width: 768px) {
  .inform-copy::before,
  .inform-copy::after {
    width: 48px;
    height: 48px;
    filter: blur(18px);
    box-shadow: 0 0 120px 48px rgba(255,255,255,0.22);
  }
  
  /* 내부 요소 잘림 방지 */
.project-detail-info-box {
    overflow: visible !important;
}
.project-detail-members-row {
    overflow: visible !important;
}
}

@media screen and (max-width: 767px) {
  .award-container {
    width: 96vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding-top: 23vw !important;
    align-items: center;
  }

  .award-title {
    font-size: 5vw !important;
    margin-bottom: 3vw !important;
    text-align: center !important;
    letter-spacing: 0.5vw !important;
  }

  .award-filters {
    max-width: 100% !important;
    width: 100vw !important;
    gap: 2vw !important;
    margin-bottom: 5vw !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .award-chip {
    font-size: 2.5vw !important;
    padding: 2vw 3vw !important;
    border-radius: 100vw !important;
  }

  .award-timeline {
    position: relative !important;
    width: 100vw !important;
    min-height: 80dvh !important;
    display: flex !important;
    justify-content: center !important;
  }

  .timeline-line {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    width: 0.6vw !important;
    height: 100% !important;
    background: linear-gradient(180deg, #C30E23 0%, #fff 100%) !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
  }

  .timeline-cards {
    position: relative !important;
    width: 100vw !important;
    min-height: 80dvh !important;
    padding: 0 !important;
  }

  .timeline-card-wrapper {
    position: relative !important;
    width: 100vw !important;
    min-height: 32vw !important;
    margin: 6vw 0 !important;
    display: flex !important;
  }
  .timeline-card-wrapper.left .award-card {
    margin-left: 2vw !important;
  }
  .timeline-card-wrapper.right .award-card {
    margin-right: 2vw !important;
  }

  .timeline-connector {
    position: absolute !important;
    top: 50% !important;
    width: 8vw !important;
    height: 0.7vw !important;
    background: #C30E23 !important;
    z-index: 2 !important;
    transform: translateY(-50%) !important;
  }
  .timeline-card-wrapper.left .timeline-connector {
    left: 15vw !important;   /* 왼쪽으로 더 길게 */
    width: 36vw !important;
  }
  .timeline-card-wrapper.right .timeline-connector {
    right: 15vw !important;  /* 오른쪽으로 더 길게 */
    width: 36vw !important;
  }

  .timeline-dot {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 4vw !important;
    height: 4vw !important;
    background: #fff !important;
    border: 0.7vw solid #C30E23 !important;
    border-radius: 100vw !important;
    z-index: 3 !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 1vw 2vw rgba(195,14,35,0.13) !important;
  }

  .award-card {
    width: 40vw !important;
    height: 32vw !important;
    max-width: 90vw !important;
    min-width: 0 !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 2vw !important;
    box-shadow: 0 2vw 8vw rgba(0,0,0,0.13) !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s cubic-bezier(0.4,0,0.2,1) !important;
    z-index: 9999 !important;
  }
  .award-card:hover {
    transform: translateY(-2vw) scale(1.03) !important;
    box-shadow: 0 4vw 12vw rgba(195,14,35,0.18), 0 1vw 4vw rgba(0,0,0,0.13) !important;
    z-index: 10 !important;
  }
  .award-photo {
    width: 100% !important;
    height: 65% !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  .award-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .award-info {
    flex: 1 1 35% !important;
    background: #fff !important;
    padding: 1vw 1vw 1vw 1vw !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 35% !important;
    box-sizing: border-box !important;
  }
  .award-meta-date-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1.02em;
    font-weight: 700;
    margin: 0 !important;
  }
  .award-meta {
    color: #C30E23 !important;
    font-weight: 700 !important;
    font-size: 1.5vw !important;
  }
  .award-date {
    color: #888 !important;
    font-size: 1.5vw !important;
    font-weight: 500 !important;
  }
  .award-name {
    font-size: 2vw !important;
    font-weight: 800 !important;
    color: #222 !important;
    margin: 1vw 0 1vw 0 !important;
  }
  .award-desc {
    font-size: 1.5vw !important;
    color: #444 !important;
    opacity: 0.85 !important;
    margin: 0 !important;
  }
  .award-empty-message {
    text-align: center !important;
    color: #fff !important;
    font-size: 5vw !important;
    font-weight: 700 !important;
    padding: 20vw 0 10vw 0 !important;
    opacity: 0.85 !important;
    letter-spacing: -0.01em !important;
    background: none !important;
    border-radius: 4vw !important;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  }
}