/** ⛳ GOLF STORY 4.0 - 공통 통합 스타일 표준 (common_style.css) **/

:root { 
    --mint: #2ecc71;               /* 표준 포인트 민트 */
    --accent-mint: #2ecc71;        
    --bg: #121212;                 /* 다크 그레이 배경 */
    --app-gray: #121212;           
    --bg-glass: rgba(18, 30, 24, 0.75); /* 반투명 글래스 패널 */
    --card: #25282b;               /* 카드 박스 색상 */
    --line: #36393d;               /* 테두리 그레이 */
    --border-line: rgba(46, 204, 113, 0.2); 
    --text-main: #ffffff;          /* 메인 텍스트 (화이트) */
    --text-sub: #a0b0a8;           /* 서브 텍스트 */
}

/* [1] 전역 초기화 */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent; 
}

html, body { 
    width: 100vw; 
    min-height: 100vh;
    background: linear-gradient(rgba(11, 19, 16, 0.25), rgba(11, 19, 16, 0.45)), 
                url('/app_public/images/20230611_060822.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-main); 
    font-family: 'Pretendard', -apple-system, sans-serif; 
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* [2] 공통 컴포넌트 표준 */
.header-title { 
    font-size: 1.2rem; 
    font-weight: 800; 
    color: var(--mint); 
}

.section-label { 
    font-size: 0.75rem; 
    color: var(--mint); 
    font-weight: 700; 
    margin: 25px 0 10px 10px; 
    letter-spacing: 1px; 
}

.btn-main-back { 
    cursor: pointer; 
    font-size: 24px; 
    color: var(--mint); 
    background: none; 
    border: none; 
    display: block !important; 
    margin-bottom: 10px; 
}

/* [3] 공통 입력 및 버튼 규격 */
.input-field { 
    background: #15201b; 
    border: 1px solid var(--border-line); 
    color: var(--text-main); 
    padding: 8px 12px; 
    border-radius: 6px; 
    outline: none; 
}

.btn-gs { 
    background: var(--mint); 
    color: #1a2a23; 
    border: none; 
    padding: 8px 15px; 
    border-radius: 6px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.2s; 
}

.btn-gs:hover { 
    background: #27ae60; 
}

/* 🌟 헤더 및 푸터 표준 레이아웃 및 라인 복구 */
header {
    height: 56px;
    padding: 0 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--app-gray);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

.logo { 
    font-size: 19px; 
    font-weight: 900; 
    color: var(--accent-mint); 
    letter-spacing: -0.5px; 
    cursor: pointer; 
}

.top-nav { 
    display: flex; 
    gap: 25px; 
    list-style: none; 
    font-size: 13.5px; 
    font-weight: 600; 
}

.top-nav a { 
    color: var(--text-main); 
    text-decoration: none; 
    transition: 0.2s; 
}

.top-nav a:hover { 
    color: var(--accent-mint); 
}

.auth-links { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    font-size: 12.5px; 
}

.auth-links a { 
    color: var(--text-sub); 
    text-decoration: none; 
}

.auth-links .btn-join { 
    background: var(--accent-mint); 
    color: #000; 
    padding: 6px 14px; 
    border-radius: 15px; 
    font-weight: 700; 
    transition: 0.2s; 
}

.auth-links .btn-join:hover { 
    background: #27ae60; 
}

footer {
    text-align: center;
    padding: 21px 20px;
    background: var(--app-gray);
    color: var(--text-sub);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 🌟 각 카테고리 박스 및 서브 메뉴 글자 색상 복구 */
.category-box {
    color: var(--text-main);
}

.box-header {
    color: var(--accent-mint);
}

.sub-menu-item {
    color: #e2e8f0;
}

.sub-menu-item:hover {
    color: var(--accent-mint);
}

.sub-menu-item span {
    color: var(--text-sub);
}