/* 폰트 및 기본 설정 */
:root {
    --gold: #ffc107;
    --dark-overlay: rgba(0, 0, 0, 0.75);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #000;
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

/* 배경 이미지 설정 (가장 중요) */
.main-container {
    background-image: url('../images/bg_main.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed; /* 스크롤해도 배경 고정 */
    min-height: 100vh;
    width: 100%;
    padding-bottom: 50px;
}

/* 텍스트 컬러 유틸리티 */
.text-gold {
    color: var(--gold) !important;
}

/* Navbar 커스텀 */
.navbar-nav .nav-link {
    color: #ddd !important;
    font-weight: 600;
    margin: 0 10px;
    font-size: 1rem;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}
.header-icons i {
    cursor: pointer;
    transition: color 0.3s;
}
.header-icons i:hover {
    color: var(--gold);
}

/* 히어로 섹션 */
.hero-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.hero-features li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* 검색창 커스텀 (디자인 일치) */
.custom-search-input {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold);
    border-radius: 50px;
    height: 60px;
    padding-left: 30px;
    color: white;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}
.custom-search-input::placeholder {
    color: #aaa;
}
.custom-search-input:focus {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    border-color: var(--gold);
}
.btn-search {
    background: var(--gold);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    border: none;
    color: #000;
    font-weight: bold;
}

/* 유리 질감 패널 (공통) */
.glass-panel {
    background: linear-gradient(145deg, rgba(30,30,30,0.6), rgba(10,10,10,0.8));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* 게임 아이콘 */
.game-item {
    transition: transform 0.3s;
    cursor: pointer;
}
.game-item:hover {
    transform: translateY(-5px);
}
.game-icon-box {
    width: 100%;
    aspect-ratio: 1/1; /* 정사각형 비율 유지 */
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}
.game-item:hover .game-icon-box {
    border-color: var(--gold);
}

/* 하단 배너 */
.banner-panel {
    background: linear-gradient(90deg, #111 0%, #222 100%);
    border: 1px solid #333;
}

/* 퀵 메뉴 링크 */
.quick-link {
    transition: background 0.3s;
}
.quick-link:hover {
    background: rgba(255, 193, 7, 0.1);
}

/* 상담 박스 (노란색) */
.consult-box {
    background: linear-gradient(135deg, #ffd700, #ffc107);
    border-radius: 15px;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}