/* About 섹션 스타일 - Lucía 세계관의 마법적 감성 강화 */

/* About 컨테이너 - 전체 섹션 */
.about-container {
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(to bottom, #7163a5 0%, #604e8d 30%, #523e7c 60%, #42346c 100%);
}

/* 배경 효과 레이어 - 보라빛 그라디언트 및 빛 방향성 */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(ellipse at center top, rgba(173, 162, 221, 0.2) 0%, rgba(138, 116, 192, 0.1) 30%, rgba(113, 99, 165, 0.05) 60%, transparent 80%);
}

/* 별먼지 입자 효과 - 배경에 움직이는 빛 */
.stardust-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.6) 0.3px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.5) 0.2px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.7) 0.3px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.4) 0.2px, transparent 1px);
    background-size: 250px 250px, 200px 200px, 300px 300px, 180px 180px;
    animation: stardust-flow 35s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

/* 흐르는 룬 효과 - 배경의 신비감 강화 */
.flowing-runes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/flowing-runes.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    animation: flowing-runes 50s linear infinite;
    filter: blur(1px);
}

/* 룬 입자 효과 - 배경에 떠다니는 룬 심볼 */
.rune-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('../images/rune-symbol-1.png'),
        url('../images/rune-symbol-2.png'),
        url('../images/rune-symbol-3.png'),
        url('../images/rune-symbol-4.png');
    background-size: 
        30px 30px,
        25px 25px,
        35px 35px,
        20px 20px;
    background-repeat: no-repeat;
    background-position: 
        80% 20%,
        30% 40%,
        70% 70%,
        20% 80%;
    opacity: 0.15;
    filter: blur(0.5px);
}

/* 마법 심볼 - 배경 장식 요소 */
.magic-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/magic-symbols.png');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    mix-blend-mode: screen;
}

/* About 섹션 - 하늘에 떠다니는 고래들 */
.about-floating-whales {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

.about-sky-whale {
    position: absolute;
    background-image: url('../images/whale-silhouette.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.2));
    z-index: 2;
}

.about-sky-whale-1 {
    top: 15%;
    right: 20%;
    width: 160px;
    height: 80px;
    transform: rotate(-8deg);
    animation: about-whale-float-1 35s ease-in-out infinite alternate;
}

.about-sky-whale-2 {
    top: 60%;
    left: 15%;
    width: 120px;
    height: 60px;
    transform: rotate(5deg);
    animation: about-whale-float-2 30s ease-in-out infinite alternate-reverse;
    animation-delay: 7s;
}

@keyframes about-whale-float-1 {
    0% { transform: translateY(0) translateX(0) rotate(-8deg); opacity: 0.4; }
    50% { transform: translateY(-20px) translateX(30px) rotate(-5deg); opacity: 0.5; }
    100% { transform: translateY(-5px) translateX(70px) rotate(-10deg); opacity: 0.4; }
}

@keyframes about-whale-float-2 {
    0% { transform: translateY(0) translateX(0) rotate(5deg); opacity: 0.35; }
    50% { transform: translateY(-25px) translateX(-40px) rotate(8deg); opacity: 0.45; }
    100% { transform: translateY(-15px) translateX(-80px) rotate(3deg); opacity: 0.4; }
}

/* 부유하는 빛 효과 - 배경 활력 */
.floating-glows {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(208, 170, 255, 0.15) 0%, transparent 15%),
        radial-gradient(circle at 70% 20%, rgba(178, 140, 225, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 40% 80%, rgba(198, 160, 245, 0.15) 0%, transparent 15%),
        radial-gradient(circle at 85% 70%, rgba(168, 130, 215, 0.1) 0%, transparent 15%);
    animation: glows-floating 15s ease-in-out infinite alternate;
    opacity: 0.7;
    mix-blend-mode: screen;
}

/* 마법진 요소 - About 배경의 룬 서클 */
.about-magic-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    opacity: 0.2;
    z-index: 2;
    pointer-events: none;
}

/* 마법진 원 요소 - 바깥/안쪽 원 */
.circle-element {
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
}

/* 마법진 바깥쪽 원 */
.circle-element.outer {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: rotate-slow 80s linear infinite;
}

/* 마법진 안쪽 원 */
.circle-element.inner {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: rotate-reverse 60s linear infinite;
}

/* 마법진 룬 요소 */
.circle-runes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/rune-circle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    animation: rotate-very-slow 100s linear infinite;
}

/* About 콘텐츠 - 중앙 텍스트 섹션 */
.about-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    color: white;
    z-index: 5;
    background: rgba(66, 52, 108, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(173, 162, 221, 0.1);
}

/* About 헤더 - 타이틀 부분 */
.about-header {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 별 아이콘 - 타이틀 상단 장식 */
.star-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background-image: url('../images/star-icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: pulse-soft 5s ease-in-out infinite alternate;
}

/* About 타이틀 - ABOUT LUCÍA */
.about-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 5px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(208, 170, 255, 0.2);
    animation: title-glow 5s ease-in-out infinite alternate;
}

/* About 텍스트 영역 */
.about-text {
    position: relative;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

/* 영어 텍스트 - 글자 간격 조정 */
.english-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    letter-spacing: -0.03em; /* 글자 간격 살짝 좁게 */
}

/* 구분선 */
.separator {
    width: 30px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 30px auto;
}

/* 한글 텍스트 */
.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* 한글 이탤릭 텍스트 */
.about-text p em {
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* 신비로운 요소 - 추가 마법 효과 */
.mystical-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

/* 신비 요소 1 - 룬 문양이 각인된 타원형 문양 */
.element-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(10deg);
    width: 105%;
    height: 110%;
    background-image: url('../images/oval-rune-pattern.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    animation: slow-rotate 60s linear infinite;
}

/* 신비 요소 2 - 배경 하단 구석에 빛나는 문양 조각 */
.element-2 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 60px;
    height: 60px;
    background-image: url('../images/glowing-symbol.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    animation: floating-symbol 8s ease-in-out infinite alternate;
}

/* 신비 요소 3 - 좌측 상단 빛나는 룬 심볼 */
.element-3 {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 50px;
    height: 50px;
    background-image: url('../images/rune-symbol-light.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    animation: pulse-very-soft 7s ease-in-out infinite alternate;
}

/* 애니메이션 정의 */
@keyframes stardust-flow {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 250px 250px, -200px 200px, 300px -300px, -180px 180px; }
}

@keyframes flowing-runes {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes glows-floating {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes title-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(208, 170, 255, 0.2); }
    50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px rgba(208, 170, 255, 0.3); }
}

@keyframes slow-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floating-symbol {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 0.5; }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes rotate-very-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.1); }
}

@keyframes pulse-very-soft {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}
