@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: local('Pretendard Medium');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial;
    font-weight: 500;
    font-style: normal;
    color: aliceblue;
    cursor: default;
}

body {
    background-color: #0A0A0A;
    overflow: hidden;
}

html,
body {
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

nav {
    display: flex;
    justify-content: end;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.438);
}

nav div {
    display: flex;
    justify-content: space-around;
    gap: 2.5rem;
    margin: 1rem;
    margin-right: 2.5rem;
}

nav div a {
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav div a:hover {
    color: #ff7259;
}

#slogan {
    font-size: 3rem;
    font-weight: bold;
    color: #FF4500;
    margin-bottom: 0.5rem;
    margin-left: 4rem;
}

#Title {
    font-size: 8rem;
    font-weight: bold;
    margin-top: 0;
    margin-left: 4rem;
    line-height: 1;
}

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.subject {
    text-align: center;
    margin-top: 3.6rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.intro-content {
    max-width: 1200px;
    width: 100%;
}

.section-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #FF4500 0%, #ff8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PC 기준 */
    gap: 2rem;
    margin-bottom: 3rem;
    width: 80%;
}


.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF4500;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.2);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FF4500;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(240, 248, 255, 0.8);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 69, 0, 0.3);
    flex: 1;
    transition: all 0.3s ease;
    max-width: 20em;
}

.stat-card:hover {
    transform: scale(1.05);
    background: rgba(255, 69, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FF4500;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(240, 248, 255, 0.8);
}

.container {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}



.container::-webkit-scrollbar {
    display: none;
}

.page {
    min-height: 100dvh;
}


.curry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 80%;
    margin-top: 2rem;
}


.curriculum-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.curriculum-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF4500;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.2);
}

.curriculum-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #FF4500;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    transition: padding-left 0.3s ease;
}

.curriculum-list li:hover {
    padding-left: 1rem;
    color: #FF4500;
}

.curriculum-list li::before {
    content: "▸ ";
    color: #FF4500;
    font-weight: bold;
    margin-right: 0.5rem;
}

.prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.prize-timeline {
    max-width: 1000px;
    width: 80%;
    margin-top: 2rem;
    position: relative;
    padding-left: 3rem;
}

.prize-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #FF4500 0%, transparent 100%);
}

.prize-item {
    position: relative;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.prize-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF4500;
    transform: translateX(10px);
}

.prize-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF4500;
    border: 3px solid #0A0A0A;
}

.prize-year {
    font-size: 1.1rem;
    color: #FF4500;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.prize-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.prize-detail {
    color: rgba(240, 248, 255, 0.8);
    line-height: 1.6;
}

.qna {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 2rem 2rem 2rem;
    padding-top: 6rem;
    position: relative;
}

.qna-container {
    max-width: 800px;
    width: 80%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.qna-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.qna-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF4500;
}

.qna-question {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FF4500;
    margin-bottom: 1rem;
}

.qna-question::before {
    content: "Q. ";
    color: #FF4500;
}

.qna-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(240, 248, 255, 0.8);
    padding-left: 1.5rem;
}

.qna-answer::before {
    content: "A. ";
    color: #ff8800;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 모바일 터치 인터랙션 - 모든 디바이스에 적용 */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .info-card:active,
    .stat-card:active,
    .curriculum-card:active,
    .prize-item:active,
    .qna-item:active {
        transform: scale(0.97) !important;
        background: rgba(255, 69, 0, 0.2) !important;
        border-color: #FF4500 !important;
    }

    .curriculum-list li:active {
        padding-left: 1rem !important;
        color: #FF4500 !important;
        background: rgba(255, 69, 0, 0.15) !important;
    }

    nav div a:active {
        color: #ff7259 !important;
        transform: scale(0.95) !important;
    }
}

@media (max-width: 768px) {
    nav div {
        gap: 1rem;
        margin-right: 1rem;
    }

    nav div a {
        font-size: 0.85rem;
    }

    #slogan {
        font-size: 1.5rem;
        margin-left: 1.5rem;
    }

    #Title {
        font-size: 3rem;
        margin-left: 1.5rem;
    }

    .subject {
        font-size: 1.2rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-grid,
    .curriculum-grid {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .info-card,
    .curriculum-card {
        padding: 1.5rem;
    }

    .info-card h3,
    .curriculum-card h3 {
        font-size: 1.3rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .curriculum-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }

    .prize-timeline,
    .qna-container {
        width: 90%;
        padding-left: 2rem;
    }

    .prize-item {
        padding: 1.2rem;
    }

    .prize-year {
        font-size: 0.95rem;
    }

    .prize-title {
        font-size: 1.2rem;
    }

    .prize-detail {
        font-size: 0.9rem;
    }

    .qna-item {
        padding: 1.5rem;
    }

    .qna-question {
        font-size: 1.1rem;
    }

    .qna-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    nav div {
        gap: 0.5rem;
        margin: 0.5rem;
        margin-right: 0.5rem;
    }

    nav div a {
        font-size: 0.75rem;
    }

    #slogan {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    #Title {
        font-size: 2.5rem;
        margin-left: 1rem;
    }

    .subject {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .info-card h3,
    .curriculum-card h3 {
        font-size: 1.2rem;
    }

    .prize-timeline,
    .qna-container {
        padding-left: 1.5rem;
    }
}

.footer {
    background: linear-gradient(135deg, #0A0A0A, #080808);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-links,
.footer-hq {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h3,
.footer-hq h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links a,
.footer-hq a,
.footer-names p {
    color: #ccc;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.footer-links a:hover,
.footer-hq a:hover,
.footer-names p:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-names {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
}


.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: #bbb;
}

/* 반응형 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-names {
        justify-content: center;
    }
}