@charset "UTF-8";
/* 페이지 로드 하고 초기화 쳐*/
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: #0b0c10;
    background-image: 
        linear-gradient(to right, rgba(10, 10, 30, 0.8) 0%, rgba(30, 10, 60, 0.4) 100%),
        url('./images/bg.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden; 
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

header, main, .main-top-row, .left-group, .right-group, .card-section, .sub-links, .site-footer,
.text-section h1, .text-section h2, .text-section p, .notice-item {
    transition: width 0.4s ease, max-width 0.4s ease, padding 0.4s ease, gap 0.4s ease, font-size 0.4s ease;
}

/* 페이지 레이아웃 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
    z-index: 10;
}

.logo-area {
    display: flex;
    align-items: center;
    background: url('./images/logo.png') no-repeat left center; 
    background-size: contain;
    height: 50px;
    width: 250px;
}

.sns-area {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    letter-spacing: 1px;
}

.sns-area svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.sns-area a:hover svg {
    opacity: 1;
}

/* 메인 레이아웃 */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 10% 4vh 10%;
    position: relative;
    z-index: 2;
}

.main-top-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;    
    margin-bottom: auto; 
}

.left-group {
    display: flex;
    flex-direction: column;         
    gap: 90px;                      
    max-width: 50%;
}

.right-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* 대학 title */
.text-section {
    text-align: left;
}

.text-section .eyebrow {
    color: #ffffff; 
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.text-section .gradient-text {
    background: linear-gradient(90deg, #d82bba 0%, #734ae8 50%, #4074f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
}

.text-section h1 {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    word-break: keep-all;
    line-height: 1.2;
}

.text-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.text-section p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 공지사항 영역 */
.notice-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glass-box {
    background: rgba(15, 10, 40, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.glass-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(120, 90, 255, 0.4);
    transform: translateY(-5px);
}

.notice-col a.glass-box:first-child {
    border: 1px solid rgba(241, 0, 82, 0.6); 
    box-shadow: 0 0 20px rgba(241, 0, 82, 0.25); 
    background: rgba(241, 0, 82, 0.15); 
}

.notice-col a.glass-box:first-child .title {
    font-weight: 700; 
    color: #ffffff;
    opacity: 1;
}

.glass-box:hover .arrow {
    transform: translateX(8px);
}

.notice-item {
    display: flex;
    align-items: center;
    width: 450px;
    height: 60px;
    padding: 0 20px;
}

.notice-item .badge {
    background-color: #f10052;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 15px;
    letter-spacing: 0.5px;
}

.notice-item .title {
    flex: 1;
    font-size: 0.95rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

/* www2, ipsi 바로가기 btn */
.card-section {
    display: flex;
    gap: 20px;
}

.glass-card {
    width: 280px;
    height: 180px;   
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(120, 90, 255, 0.4);
}

.glass-card:hover .arrow {
    transform: translateX(10px);
}

.glass-card .icon-wrapper {
    margin-bottom: 20px;
}

.glass-card svg {
    width: 50px;
    height: 50px;
    stroke: #ffffff;
    stroke-width: 1.5;
    fill: none;
}

.glass-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.glass-card .link-text {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-university {
    background: linear-gradient(135deg, rgba(80, 50, 150, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.card-admission {
    background: linear-gradient(135deg, rgba(0, 150, 200, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* 서브 퀵 링크 */
.sub-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.sub-btn {
    background: linear-gradient(135deg, #f10052 0%, #ff4a7d 100%);
    box-shadow: 0 4px 15px rgba(241, 0, 82, 0.4);
    border: none;
    padding: 12px 28px;
    border-radius: 30px; 
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-links .sub-btn:first-child {
    background: linear-gradient(135deg, #ff0858 0%, #ff5e8d 100%); /* 색상을 약간 더 쨍하고 밝게 */
    animation: pulseGlow 1.8s infinite; /* 시선을 확 끄는 파동 애니메이션 무한 반복 */
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 8, 88, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 8, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 8, 88, 0); }
}

.sub-links .sub-btn:hover {
    background: linear-gradient(135deg, #ff4a7d 0%, #f10052 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(241, 0, 82, 0.6);
    color: #ffffff;
    animation: none; 
}

.sub-btn:hover .arrow {
    transform: translateX(4px);
}


/* 우리대학 자랑을 자랑하기 */
.achievement-section {
    width: 100%;
    overflow: hidden;
    padding: 15px 0; 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.roller-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: rolling 40s linear infinite;
}

.roller-track:hover {
    animation-play-state: paused; 
}

@keyframes rolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.achieve-box {
    display: flex;
    align-items: center;
    gap: 18px; 
    background: linear-gradient(135deg, rgba(216, 175, 78, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(216, 175, 78, 0.25);
    padding: 22px 35px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.achieve-box:hover {
    background: linear-gradient(135deg, rgba(216, 175, 78, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    transform: translateY(-5px); 
}

.achieve-icon svg {
    width: 42px; 
    height: 42px;
    stroke: #d8af4e; 
    fill: rgba(216, 175, 78, 0.2); 
}

.achieve-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.achieve-text span {
    font-size: 0.9rem;
    color: #d8af4e; 
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.achieve-text strong {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
}

/* footer 처리 */
.site-footer {
    width: 100%;
    background-color: rgba(12, 14, 20, 0.95); 
    padding: 25px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: auto; 
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px; 
    font-size: 0.95rem;
    color: #cccccc;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff; 
}

.footer-links a + a::before {
    content: "|";
    color: #444444; 
    font-size: 0.9rem;
    pointer-events: none; 
}

.footer-info {
    text-align: center;
    font-size: 0.8rem;
    color: #777777; 
    line-height: 1.6;
}

/* 애니메이션 처리 */
.animate-on-load { opacity: 0; transform: translateY(40px); }
.animate-on-load.active { animation: fadeUp 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 반응형  */
@media screen and (max-width: 1100px) {
    main { padding: 0 5% 4vh 5%; }
    .main-top-row { flex-direction: column; gap: 50px; }
    .left-group { max-width: 100%; align-items: center; text-align: center; }
    .text-section { text-align: center; }
    .notice-col { align-items: center; }
    .right-group { width: 100%; }
    .card-section { justify-content: center; }
    .achievement-section { padding: 10px 0; }
}

@media screen and (max-width: 768px) {
    header { flex-direction: column; gap: 20px; padding: 25px 20px; }
    .logo-area { width: 200px; height: 40px; }
    
    main { padding: 10px 20px 40px 20px; gap: 30px; }
    .main-top-row { gap: 40px; }
    .left-group { gap: 25px; }
    .text-section h1 { font-size: 2.3rem; }
    .text-section h2 { font-size: 1.4rem; }
    
    /* 공지사항 너비 */
    .notice-item { width: 100%; max-width: 380px; padding: 0 15px; }
    .notice-item .title { font-size: 0.9rem; }
    .right-group { width: 100%; }
    .card-section { flex-direction: column; width: 100%; align-items: center; gap: 15px; }
    .glass-card { width: 100%; max-width: 380px; height: 160px; }
    .sub-links { flex-direction: column; width: 100%; align-items: center; gap: 12px; }
    .sub-btn { width: 100%; max-width: 380px; justify-content: center; }
    
    /* 롤링 배너 모바일 사이즈 최적화 */
    .achieve-box { padding: 12px 20px; }
    .achieve-icon svg { width: 28px; height: 28px; }
    .achieve-text span { font-size: 0.7rem; }
    .achieve-text strong { font-size: 0.9rem; }
    
    /* 푸터 최적화 */
    .site-footer { padding: 25px 5%; }
    .footer-links { gap: 10px; font-size: 0.85rem; }
    .footer-info { font-size: 0.75rem; }
}