/* ========================================
   프렌즈 스크린 스토어 - Coming Soon 페이지
   ======================================== */

/* CSS 변수 정의 */
:root {
    --primary-color: #2d5a27;
    --primary-light: #4a8f42;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.2);
}

/* 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* 배경 컨테이너 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/background_20251208_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 배경 오버레이 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(45, 90, 39, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(45, 90, 39, 0.4) 100%
    );
}

/* 콘텐츠 래퍼 */
.content-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 글래스모피즘 카드 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 25px 50px -12px var(--shadow-color),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    padding: 60px 50px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* 로고 영역 */
.logo-area {
    margin-bottom: 30px;
}

.icon-golf {
    font-size: 64px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    display: inline-block;
}

/* 제목 */
h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 구분선 */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* 서브타이틀 */
.subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.5;
    word-break: keep-all;
    word-wrap: break-word;
}

/* 설명 텍스트 */
.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
    word-break: keep-all;
    word-wrap: break-word;
}

/* 텍스트 블록 - 의미 단위 줄바꿈 */
.text-block {
    display: inline;
    white-space: nowrap;
}

/* 데스크톱 전용 줄바꿈 */
.desktop-br {
    display: inline;
}

/* 연락처 정보 */
.contact-info {
    padding-top: 20px;
    border-top: 1px solid rgba(45, 90, 39, 0.15);
}

.contact-info p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    .glass-card {
        padding: 50px 35px;
        margin: 15px;
        border-radius: 20px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .icon-golf {
        font-size: 52px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    .content-wrapper {
        padding: 15px;
    }

    .glass-card {
        padding: 40px 25px;
        border-radius: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    /* 모바일에서 텍스트 블록 자연스럽게 흐르기 */
    .text-block {
        white-space: normal;
    }

    /* 데스크톱 전용 줄바꿈 숨김 */
    .desktop-br {
        display: none;
    }

    .icon-golf {
        font-size: 44px;
    }

    .divider {
        width: 60px;
        margin-bottom: 25px;
    }

    .contact-info p {
        font-size: 1.1rem;
    }
}

/* 작은 모바일 화면 */
@media (max-width: 360px) {
    .glass-card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .description {
        font-size: 0.9rem;
    }
}

/* 가로 모드 대응 */
@media (max-height: 500px) and (orientation: landscape) {
    .content-wrapper {
        padding: 10px;
    }

    .glass-card {
        padding: 25px 30px;
    }

    .logo-area {
        margin-bottom: 15px;
    }

    .icon-golf {
        font-size: 36px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .divider {
        margin-bottom: 15px;
    }

    .subtitle {
        margin-bottom: 15px;
    }

    .description {
        margin-bottom: 15px;
    }

    .contact-info {
        padding-top: 10px;
    }
}
