@charset "utf-8";

/* 메인 합격 실적 — 첫 화면 다음에 오는 자리라 화면을 통째로 쓴다 */
.ps-section {
    position: relative;
    padding: 130px 0 0;
    background: #0b1622;
    background-image: radial-gradient(1000px 560px at 8% 0%, rgba(0, 204, 198, .2), transparent 60%),
        radial-gradient(900px 620px at 94% 40%, rgba(6, 127, 255, .18), transparent 62%),
        linear-gradient(170deg, #0b1622 0%, #10263a 55%, #0b1622 100%);
    overflow: hidden;
}

.ps-inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 왼쪽 — 주장 */
.ps-eyebrow {
    display: inline-block;
    margin: 0 0 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.ps-title {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.04em;
    color: #fff;
    word-break: keep-all;
}

.ps-title span { color: var(--point-mint); }

.ps-desc {
    margin: 22px 0 0;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .55);
    word-break: keep-all;
}

.ps-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}

.ps-more::after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--point-mint);
    border-right: 2px solid var(--point-mint);
    transform: rotate(45deg);
    transition: border-color .2s;
}

.ps-more:hover {
    border-color: var(--point-mint);
    background: var(--point-mint);
    color: #05221f;
}

.ps-more:hover::after { border-color: #05221f; }

/* 오른쪽 — 대학 타일 */
.ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.ps-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .3, 1), border-color .2s, background .2s;
}

.animate-on-scroll.is-visible .ps-tile {
    opacity: 1;
    transform: none;
}

.ps-tile:hover {
    border-color: rgba(0, 204, 198, .45);
    background: rgba(0, 204, 198, .1);
}

.ps-tile:nth-child(2) { transition-delay: .05s; }
.ps-tile:nth-child(3) { transition-delay: .1s; }
.ps-tile:nth-child(4) { transition-delay: .15s; }
.ps-tile:nth-child(5) { transition-delay: .2s; }
.ps-tile:nth-child(6) { transition-delay: .25s; }
.ps-tile:nth-child(7) { transition-delay: .3s; }
.ps-tile:nth-child(8) { transition-delay: .35s; }
.ps-tile:nth-child(9) { transition-delay: .4s; }
.ps-tile:nth-child(10) { transition-delay: .45s; }

.ps-tile-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    word-break: keep-all;
}

.ps-tile-count {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--point-mint);
}

.ps-tile-count i {
    font-style: normal;
    font-size: .9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .45);
    margin-left: 3px;
}

/* 명단 띠 */
.ps-marquee {
    margin-top: 80px;
    padding: 26px 0 90px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.ps-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: psFlow 48s linear infinite;
}

.ps-marquee:hover .ps-track { animation-play-state: paused; }

@keyframes psFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ps-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    white-space: nowrap;
}

.ps-chip b { font-size: .95rem; font-weight: 800; color: #fff; }
.ps-chip i { font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.ps-chip em { font-style: normal; font-size: .82rem; color: var(--point-mint); }

@media (max-width: 1080px) {
    .ps-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
    .ps-section { padding-top: 90px; }
}

@media (max-width: 640px) {
    .ps-inner { padding: 0 16px; }
    .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ps-tile { padding: 18px 16px; }
    .ps-tile-name { font-size: .95rem; }
    .ps-tile-count { font-size: 1.5rem; }
    .ps-marquee { margin-top: 50px; padding-bottom: 60px; }
}

/* 타일이 열두 장이라 등장 시차를 뒤까지 이어 준다 */
.ps-tile:nth-child(11) { transition-delay: .5s; }
.ps-tile:nth-child(12) { transition-delay: .55s; }

/* 접힌 학교 타일 — 실제 학교가 아니므로 눌러 두되 통로는 남긴다 */
.ps-tile-rest {
    border-style: dashed;
    opacity: .85;
}
