* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #161617;
    color: #FEFEFE;
    overflow-x: hidden;
}

.section-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 272px;
}

/* Breadcrumb */
.breadcrumb-section {
    width: 100%;
    padding: 24px 0;
    background: #161617;
    border-bottom: 1px solid #222325;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    font-weight: 400;
    font-size: 14px;
    color: #A4ADB3;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #65B6F2;
}

.breadcrumb-item.active {
    color: #FEFEFE;
}

.breadcrumb-separator {
    color: #616470;
    font-size: 14px;
}

/* Page Header */
.page-header {
    width: 100%;
    padding: 60px 0;
    background: #161617;
    text-align: center;
}

.page-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 57px;
    color: #FEFEFE;
    margin-bottom: 16px;
}

.page-subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: #A4ADB3;
}

/* Notice Section */
.notice-section {
    width: 100%;
    padding: 60px 0 100px;
    background: #161617;
}

/* Toolbar */
.notice-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px;
    background: #222325;
    border-radius: 12px;
    gap: 24px;
}

.toolbar-left {
    flex: 1;
    min-width: 0;
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: #34363A;
    border: none;
    border-radius: 8px;
    color: #A4ADB3;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-tab:hover {
    background: #4a4c50;
    color: #FEFEFE;
}

.category-tab.active {
    background: #65B6F2;
    color: #161617;
}

.toolbar-right {
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: #34363A;
    border-radius: 8px;
    overflow: hidden;
}

.search-input {
    width: 280px;
    height: 44px;
    padding: 0 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #FEFEFE;
    font-weight: 400;
    font-size: 14px;
}

.search-input::placeholder {
    color: #616470;
}

.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #65B6F2;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #4E9DF7;
}

.search-btn img {
    width: 20px;
    height: 20px;
}

/* Notice List */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

/* Notice Item */
.notice-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: #222325;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.notice-item:hover {
    background: #2a2c2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.notice-item.pinned {
    background: linear-gradient(135deg, rgba(101, 182, 242, 0.1) 0%, rgba(78, 157, 247, 0.05) 100%);
    border: 1px solid rgba(101, 182, 242, 0.2);
}

.notice-item.hot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #F94E51 0%, #E6393C 100%);
    border-radius: 12px 0 0 12px;
}

.notice-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-badge.pinned {
    background: linear-gradient(135deg, #65B6F2 0%, #4E9DF7 100%);
    color: #161617;
}

.notice-badge.update {
    background: rgba(101, 182, 242, 0.15);
    color: #65B6F2;
    border: 1px solid rgba(101, 182, 242, 0.3);
}

.notice-badge.event {
    background: rgba(249, 78, 81, 0.15);
    color: #F94E51;
    border: 1px solid rgba(249, 78, 81, 0.3);
}

.notice-badge.maintenance {
    background: rgba(255, 137, 4, 0.15);
    color: #FF8904;
    border: 1px solid rgba(255, 137, 4, 0.3);
}

.notice-badge.policy {
    background: rgba(194, 122, 255, 0.15);
    color: #C27AFF;
    border: 1px solid rgba(194, 122, 255, 0.3);
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    color: #FEFEFE;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #A4ADB3;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notice-date {
    font-weight: 400;
    font-size: 13px;
    color: #616470;
}

.meta-separator {
    color: #616470;
    font-size: 12px;
}

.notice-author {
    font-weight: 400;
    font-size: 13px;
    color: #616470;
}

.notice-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 13px;
    color: #616470;
}

.notice-views img {
    width: 16px;
    height: 16px;
}

.hot-badge {
    padding: 2px 8px;
    background: linear-gradient(135deg, #F94E51 0%, #E6393C 100%);
    color: #FEFEFE;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.notice-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.notice-item:hover .notice-icon {
    transform: translateX(4px);
}

.notice-icon img {
    width: 100%;
    height: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222325;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: #34363A;
}

.pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-btn img {
    width: 20px;
    height: 20px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222325;
    border: none;
    border-radius: 8px;
    color: #A4ADB3;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-number:hover {
    background: #34363A;
    color: #FEFEFE;
}

.pagination-number.active {
    background: #65B6F2;
    color: #161617;
}

.pagination-dots {
    color: #616470;
    font-size: 14px;
    padding: 0 8px;
}

/* Responsive Design */
@media (max-width: 1920px) {
    .section-content {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 1400px) {
    .section-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 1200px) {
    .notice-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-right {
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .page-title {
        font-size: 40px;
        line-height: 48px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .notice-toolbar {
        padding: 20px;
    }

    .category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .category-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .category-tabs::-webkit-scrollbar-track {
        background: #34363A;
    }

    .category-tabs::-webkit-scrollbar-thumb {
        background: #616470;
        border-radius: 2px;
    }

    .notice-item {
        padding: 20px;
        gap: 16px;
    }

    .notice-title {
        font-size: 18px;
    }

    .notice-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 768px) {
    .section-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .breadcrumb-section {
        padding: 16px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 32px;
        line-height: 38px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .notice-section {
        padding: 40px 0 60px;
    }

    .notice-toolbar {
        padding: 16px;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .search-input {
        height: 40px;
        font-size: 13px;
    }

    .search-btn {
        width: 40px;
        height: 40px;
    }

    .notice-item {
        padding: 16px;
        gap: 12px;
    }

    .notice-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .notice-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .notice-excerpt {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .notice-date,
    .notice-author,
    .notice-views {
        font-size: 12px;
    }

    .notice-icon {
        width: 20px;
        height: 20px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination-number,
    .pagination-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
        line-height: 34px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-badge {
        align-self: flex-start;
    }

    .notice-title {
        font-size: 15px;
    }

    .notice-meta {
        font-size: 11px;
    }

    .notice-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .pagination-dots {
        display: none;
    }

    .hot-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.notice-item:focus,
.category-tab:focus,
.search-btn:focus,
.search-input:focus,
.pagination-btn:focus,
.pagination-number:focus {
    outline: 2px solid #65B6F2;
    outline-offset: 2px;
}

/* Loading state (optional) */
.notice-item.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Empty state (optional) */
.notice-empty {
    text-align: center;
    padding: 80px 20px;
}

.notice-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    opacity: 0.3;
}

.notice-empty-title {
    font-weight: 600;
    font-size: 20px;
    color: #FEFEFE;
    margin-bottom: 8px;
}

.notice-empty-text {
    font-weight: 400;
    font-size: 16px;
    color: #A4ADB3;
}