/* OPENKOREA 메인 스타일시트 */

/* CSS Variables */
:root {
    --main-black: #0A0A0A;
    --cyber-red: #FF0000;
    --secure-green: #00FF41;
    --ai-blue: #00D4FF;
    --electric-purple: #9D00FF;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #333333;
    
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-tech: 'Orbitron', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 전역 pointer-events 문제 해결 */
* {
    pointer-events: auto !important;
}

/* 입력 필드 전역 활성화 */
input, textarea, select, [contenteditable="true"], [contenteditable] {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    position: relative !important;
    z-index: 1 !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--main-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-tech);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--ai-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--cyber-red);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-tech);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--cyber-red);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--ai-blue);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-tech);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ai-blue);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.emergency {
    color: var(--cyber-red);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Emergency Floating Button */
.emergency-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.emergency-btn-floating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cyber-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
    animation: emergencyPulse 2s infinite;
    transition: var(--transition);
}

.emergency-btn-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.7);
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 5px 30px rgba(255, 0, 0, 0.8); }
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none !important;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--ai-blue);
    margin-bottom: 2rem;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid var(--ai-blue);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--ai-blue); }
    51%, 100% { border-color: transparent; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-tech);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--ai-blue);
    color: var(--main-black);
    border-color: var(--ai-blue);
}

.btn-primary:hover {
    background: transparent;
    color: var(--ai-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--main-black);
}

.btn-danger {
    background: var(--cyber-red);
    color: var(--white);
    border-color: var(--cyber-red);
}

.btn-danger:hover {
    background: transparent;
    color: var(--cyber-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--ai-blue), var(--cyber-red));
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--ai-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--ai-blue);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-medium);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 5px;
    font-family: var(--font-primary);
    transition: var(--transition);
    pointer-events: auto;
    cursor: text;
    user-select: text;
}

.form-control:focus {
    outline: none;
    border-color: var(--ai-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* 관리자 페이지 입력 필드 강제 활성화 */
.admin-dashboard .form-control,
.admin-dashboard #editor,
#editor[contenteditable="true"],
input[name="title"],
#titleInput,
#contentEditor,
.admin-dashboard input,
.admin-dashboard textarea,
.admin-dashboard [contenteditable] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    cursor: text !important;
    -webkit-touch-callout: default !important;
    position: relative !important;
    z-index: 10 !important;
}

.admin-dashboard #editor:focus,
#editor[contenteditable="true"]:focus {
    border: 1px solid var(--ai-blue) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
    outline: none !important;
}

.admin-dashboard input[name="title"]:focus {
    border-color: var(--ai-blue) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
    outline: none !important;
}

/* 관리자 페이지 레이아웃 */
.admin-dashboard {
    margin-top: 100px; /* 헤더 높이만큼 여백 추가 */
    min-height: calc(100vh - 100px);
    padding: 2rem 0;
}

.admin-dashboard .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.admin-dashboard h1 {
    color: var(--ai-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: left;
}

.admin-dashboard .card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

/* 관리자 페이지 에디터 개선 */
.admin-dashboard #editor {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 5px !important;
    min-height: 400px !important;
    padding: 1rem !important;
    color: var(--white) !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    overflow-y: auto !important;
}

.admin-dashboard #editor:empty:before {
    content: attr(placeholder);
    color: var(--gray-medium);
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

/* 관리자 페이지 폼 그룹 */
.admin-dashboard .form-group {
    margin-bottom: 2rem;
}

.admin-dashboard .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

/* 관리자 페이지 버튼 개선 */
.admin-dashboard .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.admin-dashboard .btn-primary {
    background: linear-gradient(135deg, var(--ai-blue), var(--electric-purple));
    color: var(--white);
}

.admin-dashboard .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.admin-dashboard .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-dashboard .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--ai-blue);
}

.admin-dashboard .btn-danger {
    background: var(--cyber-red);
    color: var(--white);
}

.admin-dashboard .btn-danger:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ai-blue);
    font-family: var(--font-tech);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-medium);
}

/* Footer */
.main-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--ai-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-medium);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--ai-blue);
    color: var(--main-black);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray-medium);
}

.contact-info i {
    color: var(--ai-blue);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Security Status */
.security-status {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 65, 0.5);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    z-index: 9999;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.15);
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: none;
    align-items: center;
    height: 45px;
}

.security-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 65, 0.25);
    border-color: rgba(0, 255, 65, 0.7);
    background: rgba(0, 0, 0, 0.75);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-label {
    font-size: 0.75rem;
    color: var(--gray-medium);
    white-space: nowrap;
}

.status-value {
    font-family: var(--font-tech);
    font-size: 1rem;
    font-weight: 700;
}

.status-value.secure {
    color: var(--secure-green);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--cyber-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: var(--ai-blue);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(20% 0 30% 0); }
    40% { clip-path: inset(50% 0 20% 0); }
    60% { clip-path: inset(10% 0 60% 0); }
    80% { clip-path: inset(80% 0 5% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(5% 0 70% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, -2px); }
    80% { clip-path: inset(15% 0 60% 0); transform: translate(2px, 2px); }
}

/* Responsive */
@media (max-width: 768px) {
    /* 긴급 버튼 모바일 조정 */
    .emergency-floating {
        bottom: 30px;
        right: 10px;
        left: auto;
    }
    
    .emergency-btn-floating {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    /* CTA 섹션 버튼 모바일 정렬 */
    .section .fade-in .btn {
        display: block;
        margin: 0 auto 1rem auto !important;
        width: 200px;
        text-align: center;
    }
    
    .section .fade-in .btn:last-child {
        margin-bottom: 0 !important;
    }
    
    /* 게시판 모바일 최적화 */
    .card table {
        font-size: 0.9rem;
        position: relative;
        z-index: 1;
    }
    
    /* 테이블 헤더가 고정 헤더 위에 오지 않도록 */
    .card table thead th {
        position: relative;
        z-index: 1;
    }
    
    /* 조회수 열 숨김 */
    .card table th:nth-child(4),
    .card table td:nth-child(4) {
        display: none;
    }
    
    /* 제목 너비 조정 */
    .card table th:nth-child(2) {
        width: auto;
    }
    
    /* 작성일 너비 축소 */
    .card table th:nth-child(3) {
        width: 80px;
        font-size: 0.8rem;
    }
    
    .card table td:nth-child(3) {
        font-size: 0.8rem;
    }
    
    /* 번호 열 축소 */
    .card table th:nth-child(1),
    .card table td:nth-child(1) {
        width: 50px;
        font-size: 0.8rem;
    }
    
    /* 테이블 패딩 축소 */
    .card table th,
    .card table td {
        padding: 0.75rem 0.5rem !important;
    }
    
    /* 날짜 표시 조정 - 모바일에서는 월/일만 */
    .card table .desktop-date {
        display: none !important;
    }
    
    .card table .mobile-date {
        display: inline !important;
    }
    
    /* 제목 길이 제한 */
    .card table td:nth-child(2) a {
        display: block;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* 검색 폼 모바일 최적화 */
    .container > div > div:last-child form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .container > div > div:last-child form input {
        margin-bottom: 0;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .security-status {
        bottom: 90px;
        left: 10px;
        right: 10px;
        width: auto;
        gap: 1rem;
        padding: 0.4rem 1rem;
        height: 35px;
        border-radius: 20px;
        justify-content: center;
        border-width: 1px;
    }
    
    .status-label {
        font-size: 0.65rem;
    }
    
    .status-value {
        font-size: 0.85rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 작은 모바일 화면 (480px 이하) */
@media (max-width: 480px) {
    .security-status {
        bottom: 80px;
        left: 5px;
        right: 5px;
        padding: 0.3rem 0.8rem;
        height: 30px;
        gap: 0.8rem;
        border-radius: 15px;
    }
    
    .status-label {
        font-size: 0.6rem;
    }
    
    .status-value {
        font-size: 0.75rem;
    }
    
    /* 긴급 버튼 작은 모바일 조정 */
    .emergency-floating {
        bottom: 25px;
        right: 5px;
    }
    
    .emergency-btn-floating {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    /* CTA 섹션 버튼 작은 모바일 정렬 */
    .section .fade-in .btn {
        width: 180px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* 작은 모바일에서 제목 더 짧게 */
    .card table td:nth-child(2) a {
        max-width: 150px;
    }
}

/* 아주 작은 화면 (320px 이하) */
@media (max-width: 320px) {
    .security-status {
        bottom: 75px;
        left: 3px;
        right: 3px;
        padding: 0.25rem 0.6rem;
        height: 28px;
        gap: 0.5rem;
    }
    
    .status-label {
        font-size: 0.55rem;
    }
    
    .status-value {
        font-size: 0.7rem;
    }
    
    /* 긴급 버튼 아주 작은 화면 조정 */
    .emergency-floating {
        bottom: 20px;
        right: 3px;
    }
    
    .emergency-btn-floating {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 18px;
    }
    
    /* CTA 섹션 버튼 아주 작은 화면 정렬 */
    .section .fade-in .btn {
        width: 160px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* 아주 작은 화면에서 제목 최대한 짧게 */
    .card table td:nth-child(2) a {
        max-width: 120px;
    }
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--ai-blue);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Neon Text */
.neon {
    text-shadow: 
        0 0 10px var(--ai-blue),
        0 0 20px var(--ai-blue),
        0 0 30px var(--ai-blue),
        0 0 40px var(--ai-blue);
}

/* Matrix Rain Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: -2 !important;
}

/* 게시판 날짜 표시 기본 설정 (데스크톱) */
.desktop-date {
    display: inline !important;
}

.mobile-date {
    display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--main-black);
}

::-webkit-scrollbar-thumb {
    background: var(--ai-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyber-red);
}