/* Pretendard 웹폰트 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* 변수 지정 */
:root {
    --color-logo: #2E0068;
    --color-primary: #08021C;
    --color-secondary: #4C1594;
    --color-tertiary: #C2BCC3;
    --color-background: #EFEFEF;
    --color-background-dark: rgba(187, 187, 195, 0.75);
    --color-primary-75: rgba(8, 2, 28, 0.75);
    --color-secondary-75: rgba(76, 21, 148, 0.75);
    --color-tertiary-90: rgba(194, 188, 195, 0.90);

    --fw-thin: 100;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
}

/* 기본 스타일 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    background-color: var(--color-background);
}

/* 배경 파티클 애니메이션 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: float-particles 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float-particles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, -5%) rotate(120deg); }
    66% { transform: translate(5%, 5%) rotate(240deg); }
}

/* 헤더 스타일 */
.header {
    background-color: var(--color-logo);
    padding: 16px 20px;
    position: relative;
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 로고 스타일 */
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header__logo-image {
    height: 50px;
    width: auto;
}

/* 네비게이션 스타일 */
.header__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.header__nav-link {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: var(--fw-medium);
    position: relative;
    padding: 8px 12px;
}

/* 밑줄 애니메이션 효과 */
.header__nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-tertiary), white, var(--color-tertiary));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.header__nav-link:hover::before {
    width: 100%;
}

/* 푸터 스타일 */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 50px 0 20px;
    margin-top: 200px;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__section {
    min-width: 200px;
}

.footer__section--about {
    flex: 2;
}

.footer__section--social {
    flex: 1;
}

.footer__section--store {
    flex: 1;
}

.footer__title {
    font-size: 17px;
    font-weight: var(--fw-medium);
    margin-bottom: 20px;
    color: white;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__list-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-tertiary);
}

.footer__section--about .footer__list-item span {
    display: inline-block;
    min-width: 120px;
    margin-right: 8px;
}

.footer__link {
    color: var(--color-tertiary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__link:hover {
    color: white;
    transform: translateX(5px);
}

.footer__bottom {
    text-align: center;
}

.footer__copyright {
    font-size: 12px;
    color: var(--color-tertiary);
    margin: 0;
    letter-spacing: 0.5px;
}

/* 메인 배너 스타일 */
.banner {
    background-color: var(--color-background-dark);
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/banner-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7; /* 투명도 조절 (0~1) */
    z-index: 0;
}

.banner__link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.banner__container {
    max-width: 1280px;
    margin: 0 auto;
}

.banner__tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
}

.banner__tag {
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    padding: 8px 16px;
    background-color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.banner__tag:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.banner__title {
    font-size: 64px;
    font-weight: var(--fw-black);
    color: var(--color-primary);
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.banner__subtitle {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.banner__subtitle-text {
    font-size: 20px;
    font-weight: var(--fw-regular);
    color: var(--color-primary);
    margin: 12px 0;
    line-height: 1.6;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
