@charset "UTF-8"; 

/* ========================================================================= */
/* HOTINFLU - Global Stylesheet */
/* ========================================================================= */

/* ========================================================================= */
/* 0. 외부 폰트 로드 */
/* ========================================================================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');


/* ========================================================================= */
/* 1. CSS Reset */
/* ========================================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.6;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input[type=text], 
input[type=email],
input[type=password],
input[type=search],
input[type=button], 
input[type=submit], 
input[type=checkbox],
input[type=radio],
select,
textarea,
button {
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

input[type=text],
input[type=email],
input[type=password],
input[type=search],
select,
textarea {
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    border-radius: 6px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
select:focus,
textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

button,
input[type=button],
input[type=submit] {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

* {
    box-sizing: border-box; 
}


/* ========================================================================= */
/* 2. CSS Variables - 디자인 시스템 */
/* ========================================================================= */

:root {
    /* Primary Colors */
    --primary-color: #ff6b35;
    --primary-hover: #e85a2b;
    --primary-light: #ff8f6b;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-placeholder: #a5a5a5;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f7f7f7;
    --bg-dark: #1a1a1a;
    
    /* Border Colors */
    --border-color: #e8e8e8;
    --border-light: #ebebeb;
    --border-medium: #d5d5d5;
    
    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.16);
    
    /* Border Radius */
    --radius-xs: 3px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Container Widths */
    --container-wide: 1440px;
    --container-standard: 1200px;
    --container-narrow: 1132px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1000;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1060;
}


/* ========================================================================= */
/* 3. Common Layout & Utility Classes */
/* ========================================================================= */

.inner {
    width: var(--container-wide);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.innerWrap {
    width: var(--container-narrow);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container {
    width: var(--container-standard);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Flexbox Utilities */
.flexcontainer {
    display: flex;
    align-items: center;
}

.flex-start {
    justify-content: flex-start;
}

.flex-center {
    justify-content: center;
}

.flex-end {
    justify-content: flex-end;
}

.flex-between {
    justify-content: space-between;
}

.flex-around {
    justify-content: space-around;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Color Utilities */
.orange,
.text-primary-color {
    color: var(--primary-color);
}

.text-dark {
    color: var(--text-primary);
}

.text-gray {
    color: var(--text-secondary);
}

.text-light {
    color: var(--text-tertiary);
}

/* Line & Divider */
.grayline {
    border-bottom: 1px solid var(--border-color);
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--space-lg) 0;
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-xs); }
.pt-2 { padding-top: var(--space-sm); }
.pt-3 { padding-top: var(--space-md); }
.pt-4 { padding-top: var(--space-lg); }
.pt-5 { padding-top: var(--space-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-xs); }
.pb-2 { padding-bottom: var(--space-sm); }
.pb-3 { padding-bottom: var(--space-md); }
.pb-4 { padding-bottom: var(--space-lg); }
.pb-5 { padding-bottom: var(--space-xl); }


/* ========================================================================= */
/* 4. Header & Navigation */
/* ========================================================================= */

#header {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    
    padding-top: 20px;
    height: 90px;
    
    border-bottom: 1px solid #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    
    position: sticky; 
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-slow);
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

#header.scrolled {
    height: 70px;
    padding-top: 10px;
}

#gnb {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    height: 100%;
    gap: 40px;
}

/* 로고 */
#gnb h1 {
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    height: 100%;
}

#gnb h1 a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

#gnb h1 a span {
    color: var(--primary-color);
}

#gnb h1 img {
    height: 36px;
    width: auto;
    transition: transform var(--transition-normal);
}

#gnb h1 a:hover img {
    transform: scale(1.05);
}

/* 메인 내비게이션 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

#gnb .sub {
    font-size: 15px;
    font-weight: 500;
    color: #b0b0b0;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

#gnb .sub::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

#gnb .sub:hover {
    color: #ffffff;
    background-color: rgba(255, 107, 53, 0.15);
}

#gnb .sub:hover::after {
    transform: scaleX(1);
}

#gnb .sub.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(255, 107, 53, 0.2);
}

#gnb .sub.active::after {
    transform: scaleX(1);
}

/* 로그인/프로필 영역 */
.login-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto; 
    flex-shrink: 0;
}

.login-content > a:first-child {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.login-content > a:first-child:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.login-content > a:first-child img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-right: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.login-content > a:first-child i {
    font-style: normal;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 일반 링크 */
.login-content > a {
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.login-content > a:hover {
    color: #ffffff;
    background-color: rgba(255, 107, 53, 0.15);
}

/* 회원가입 버튼 */
.login-content > a[href*="join"],
.btn-signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.login-content > a[href*="join"]:hover,
.btn-signup:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #ff7a52 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

/* 드롭다운 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    font-size: 14px;
    font-weight: 500;
    color: #b0b0b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.dropbtn:hover {
    color: #ffffff;
    background-color: rgba(255, 107, 53, 0.15);
}

.dropbtn i {
    margin-left: 6px;
    font-size: 12px;
    transition: transform var(--transition-slow);
}

.dropdown-content {
    visibility: hidden; 
    opacity: 0;
    transform: translateY(8px); 
    transition: opacity var(--transition-normal), 
                transform var(--transition-normal), 
                visibility var(--transition-normal); 

    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.dropdown-content a:hover {
    background-color: rgba(255, 107, 53, 0.06);
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg); 
}


/* ========================================================================= */
/* 5. Common Buttons */
/* ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #ff7a52 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-dark {
    background-color: #222;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #333;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: flex;
}


/* ========================================================================= */
/* 6. Common Form Elements */
/* ========================================================================= */

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-placeholder);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-text {
    display: block;
    margin-top: var(--space-xs);
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: var(--space-xs);
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Select */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    appearance: none;
}


/* ========================================================================= */
/* 7. Common Cards & Boxes */
/* ========================================================================= */

.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 0;
}

.card-footer {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-md);
}

.box {
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    background-color: var(--bg-gray);
    border: 1px solid var(--border-light);
}

.box-bordered {
    border: 1px solid var(--border-medium);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xs);
}


/* ========================================================================= */
/* 8. Footer Style */
/* ========================================================================= */

footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #e0e0e0;
    padding-top: 60px; 
    font-size: 14px;
    border-top: 1px solid #2a2a2a;
    margin-top: 80px;
}

/* Top 버튼 */
#myBtn,
.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    cursor: pointer;
    padding: 0;
    border-radius: var(--radius-full);
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
}

#myBtn:hover,
.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
}

#myBtn img,
.scroll-top-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* 푸터 중간 영역 */
.footerMiddle {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2a2a2a;
}

.bottomLogo img {
    height: auto;
    width: 160px;
    margin-bottom: 16px;
}

.bottomLogo p {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sns {
    display: flex;
    gap: 12px;
}

.sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: #2a2a2a;
    transition: all var(--transition-slow);
}

.sns a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.sns img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* 회사 정보 */
.companyInfo .info-list {
    display: block;
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
}

.companyInfo .info-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
}

.companyInfo .info-list span {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 12px;
    min-width: 80px;
    flex-shrink: 0;
}

/* 고객센터 */
.agencyORyoutuber p {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.agencyORyoutuber strong {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.agencyORyoutuber strong span {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.agencyORyoutuber strong img {
    width: 100%;
    height: 100%;
}

.agencyORyoutuber ul.hours li {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.agencyORyoutuber small {
    display: block;
    margin-top: 12px;
    color: #888;
    font-size: 12px;
}

/* 광고 문의 */
.addcontact {
    text-align: right;
}

.addcontact p {
    font-size: 15px;
    margin-bottom: 6px;
    color: #fff;
}

.addcontact p b {
    color: var(--primary-color);
}

.addcontact .now {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}

.addcontact .submit_btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-slow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.addcontact .submit_btn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #ff7a52 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.addcontact .submit_btn em.icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.addcontact .submit_btn img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.addcontact .submit_btn i {
    margin-left: 8px;
}

/* 푸터 하단 */
.footerBottom {
    padding: 24px 0;
}

.footerBottom .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.footerBottom p {
    color: #888;
}

.footerBottom .links a {
    color: #999;
    margin-left: 24px;
    transition: color var(--transition-normal);
}

.footerBottom .links a:hover {
    color: var(--primary-color);
}


/* ========================================================================= */
/* 9. Loading & Spinner */
/* ========================================================================= */

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 53, 0.1);
    border-top-color: var(--primary-color);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}


/* ========================================================================= */
/* 10. Responsive Media Query */
/* ========================================================================= */

@media screen and (max-width: 1200px) {
    :root {
        --container-wide: 100%;
        --container-standard: 100%;
        --container-narrow: 100%;
    }
    
    .footerMiddle {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 767px) {
    
    .inner, 
    .innerWrap,
    .container {
        padding: 0 16px;
    }

    /* 헤더 */
    #header {
        height: auto;
        padding: 12px 0;
        position: static;
    }

    #gnb {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    #gnb h1 img {
        height: 28px;
    }
    
    #gnb h1 a {
        font-size: 20px;
    }

    /* 메인 내비 숨김 (모바일 메뉴로 대체) */
    .nav-links {
        display: none;
    }
    
    /* 로그인 영역 */
    .login-content {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid #2a2a2a;
    }
    
    .login-content > a,
    .dropbtn {
        font-size: 13px;
        padding: 6px 10px;
    }

    .login-content > a[href*="join"],
    .btn-signup {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 버튼 */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* 푸터 */
    footer {
        padding-top: 40px;
        margin-top: 60px;
    }

    .footerMiddle {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .bottomLogo img {
        width: 120px;
    }

    .companyInfo,
    .agencyORyoutuber,
    .addcontact {
        padding-top: 24px;
        border-top: 1px solid #2a2a2a;
    }

    .addcontact {
        text-align: left;
    }

    .addcontact .submit_btn {
        width: 100%;
    }
    
    .footerBottom .inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footerBottom .links a {
        margin-left: 0;
        margin-right: 16px;
    }

    #myBtn,
    .scroll-top-btn {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }

    #myBtn img,
    .scroll-top-btn img {
        width: 20px;
        height: 20px;
    }
    
    /* Spacing adjustments */
    .mt-4, .mb-4 { 
        margin-top: var(--space-md);
        margin-bottom: var(--space-md);
    }
    .mt-5, .mb-5 { 
        margin-top: var(--space-lg);
        margin-bottom: var(--space-lg);
    }
}

@media screen and (max-width: 480px) {
    .card,
    .box {
        padding: var(--space-md);
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 13px;
    }
}


/* ========================================================================= */
/* 11. Print Styles */
/* ========================================================================= */

@media print {
    #header,
    footer,
    #myBtn,
    .scroll-top-btn,
    .btn,
    .dropdown {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}













/* ========================================================================= */
/* ========================================================================= */
/* ========================================================================= */
/* ========================================================================= */
/* 12. Admin Top Navigation */
/* ========================================================================= */

.top-nav {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-bottom: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    padding: 0 var(--space-lg);
}

.top-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* 네비게이션 내부 레이아웃 */
.top-nav > * {
    display: inline-block;
    vertical-align: middle;
}

/* 로고 영역 */
.nav-logo {
    padding: 16px 0;
}

.nav-logo a {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    transition: all var(--transition-normal);
}

.nav-logo a:hover {
    opacity: 1;
    transform: scale(1.02);
}

.nav-logo small {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    margin-left: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: rgba(255, 107, 53, 0.15);
    vertical-align: middle;
}

/* 메뉴 영역 */
.nav-menu {
    list-style: none;
    margin: 0 0 0 40px;
    padding: 0;
    display: inline-flex;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 20px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #b0b0b0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 107, 53, 0.15);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.2);
    font-weight: 600;
}

/* 드롭다운 (나중을 위해 미리 준비) */
.nav-item .dropdown-content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-normal), 
                transform var(--transition-normal), 
                visibility var(--transition-normal);
    
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 200px;
    background-color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    z-index: calc(var(--z-dropdown) + 10);
}

.nav-item:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.dropdown-content a:hover {
    background-color: rgba(255, 107, 53, 0.06);
    color: var(--primary-color);
    padding-left: 20px;
}

/* 사용자 정보 영역 */
.nav-user {
    float: right;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-user span {
    font-size: 14px;
    color: #e0e0e0;
}

.nav-user strong {
    color: #ffffff;
    font-weight: 600;
}

.logout-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.logout-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}


/* ========================================================================= */
/* 13. Top Navigation - Responsive */
/* ========================================================================= */

@media screen and (max-width: 1200px) {
    .nav-menu {
        margin-left: 24px;
        gap: 2px;
    }
    
    .nav-link {
        padding: 20px 16px;
        font-size: 14px;
    }
}

@media screen and (max-width: 991px) {
    .top-nav {
        padding: 0 16px;
    }
    
    .nav-logo a {
        font-size: 20px;
    }
    
    .nav-menu {
        margin-left: 20px;
    }
    
    .nav-link {
        padding: 16px 12px;
        font-size: 14px;
    }
    
    .nav-user {
        padding: 12px 0;
    }
    
    .nav-user span {
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {
    .top-nav {
        padding: 12px 16px;
        position: relative;
    }
    
    .nav-logo {
        display: block;
        padding: 8px 0;
        text-align: center;
        border-bottom: 1px solid #2a2a2a;
        margin-bottom: 8px;
    }
    
    .nav-logo a {
        font-size: 18px;
    }
    
    .nav-menu {
        display: flex;
        margin: 0;
        padding: 8px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    /* 모바일에서는 드롭다운 숨김 */
    .nav-item .dropdown-content {
        display: none;
    }
    
    .nav-user {
        float: none;
        display: flex;
        justify-content: center;
        padding: 8px 0;
        gap: 12px;
        border-top: 1px solid #2a2a2a;
        margin-top: 8px;
    }
    
    .nav-user span {
        font-size: 12px;
    }
    
    .logout-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo a {
        font-size: 16px;
    }
    
    .nav-logo small {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 12px;
    }
}



/* ========================================================================= */
/* 14. Pagination Styles */
/* ========================================================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 32px;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #ffffff;
    color: #666;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 일반 페이지 번호 호버 */
.pagination a:hover {
    background-color: rgba(255, 107, 53, 0.08);
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.15);
}

/* 현재 페이지 (active) */
.pagination .active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8f6b 100%);
    border-color: #ff6b35;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    cursor: default;
    pointer-events: none;
}

/* 이전/다음 버튼 */
.pagination .prev,
.pagination .next {
    font-weight: 700;
    font-size: 16px;
    min-width: 42px;
}

.pagination .prev:hover:not(.disabled),
.pagination .next:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #666;
    color: #1a1a1a;
}

/* 비활성화 상태 */
.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f8f9fa;
}

/* 페이지 정보 텍스트 */
.pagination-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #999;
}

.pagination-info strong {
    color: #ff6b35;
    font-weight: 700;
}


/* ========================================================================= */
/* 15. Pagination - Responsive */
/* ========================================================================= */

@media screen and (max-width: 767px) {
    .pagination {
        gap: 4px;
        margin: 32px 0 24px;
        flex-wrap: wrap;
        padding: 0 16px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .pagination .prev,
    .pagination .next {
        min-width: 38px;
        font-size: 15px;
    }
    
    .pagination-info {
        font-size: 13px;
        padding: 0 16px;
    }
}

@media screen and (max-width: 480px) {
    .pagination a,
    .pagination span {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }
    
    .pagination .prev,
    .pagination .next {
        min-width: 34px;
        font-size: 14px;
    }
    
    .pagination-info {
        font-size: 12px;
    }
}