* { 
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: white;
            color: #e8e8e8;
            line-height: 1.6;
            background-image: url(../img/wwq.jpg);
        }

        /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            background: #fff;
            background-image: url(../img/wwq.jpg);
            border-bottom: 1px solid #2a2a2a;
            position: relative;
        }

        .logo {
            font-size: 120px;
            height: 40px;
            font-weight: 500;
            letter-spacing: 2px;
            color: #d4af37;
            cursor: pointer;
        }

        .nav {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav li {
            list-style: none;
            position: relative;
        }

        .nav a {
            color: white;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .nav a:hover {
            color: #d4af37;
        }

       .dropdown {
            position: absolute;
            top: 25px;
             left: 0;
            width: 140px;
             background: white;  
            border: 1px solid #ccc; 

            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);

            transition: all 0.5s ease;
}

    .dropdown a{
        display: block;
        padding: 10px;
        color: #333;
    }


.nav li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


    /* 로그인/회원가입 영역 */
.login-area {
    display: flex;
    gap: 10px;
}

        .login-btn {
            border-radius: 100px; 
            color: hsla(0,0%,100%,.7);
            padding: 8px 20px;
            border: none;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: background-color 0.3s;
            text-decoration: none;
        }

        .login-btn:hover {
            background-color: black;
            color: white;
        }

        /* Sub Navigation */
        .sub-nav {
            display: flex;
            gap: 30px;
            padding: 20px 40px;
            background-color: #0f0f0f;
            border-bottom: 1px solid #1a1a1a;
            font-size: 13px;
            letter-spacing: 0.5px;
        }

        .sub-nav a {
            color: #888;
            text-decoration: none;
            transition: color 0.3s;
        }

        .sub-nav a:hover {
            color: #d4af37;
        }

        /* 공지사항 섹션 기본 스타일 */
.notice-section {
    width: 800px;
    margin: 40px auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #222;
}

/* 탭 메뉴 스타일 */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    background: #f4f4f4;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: background 0.3s, color 0.3s;
}

.tab.active, .tab:hover {
    background: #000;
    color: #fff;
}

/* 검색 바 스타일 */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-bar select,
.search-bar input {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar input {
    flex-grow: 1;
}

.search-btn {
    border: none;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

/* 공지 리스트 */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 15px;
}

.notice-list li a {
    flex-grow: 1;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-list li a:hover {
    text-decoration: underline;
}

/* 날짜 */
.date {
    color: #999;
    font-size: 13px;
    min-width: 70px;
    text-align: right;
}

/* 아이콘 공통 */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 공지 아이콘 */
.icon.notice {
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 110 20 10 10 0 010-20zm0 15v-2h-2v-2h2V7h2v6h-2v2z"/></svg>');
}

/* 선물 아이콘 */
.icon.gift {
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 12v8H4v-8H2v-2h20v2h-2zm-6-7a2 2 0 00-2 2v1h4V7a2 2 0 00-2-2z"/></svg>');
}
