@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --bg-base: #0a0a0b;
    --titanium-surface: #1c1c1e;
    --accent-color: #007aff; /* Apple Blue */
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-primary);
    
    /* --- 2026 하이엔드 티타늄 배경 최적화 --- */
    /* 1. 기본 배경색 */
    background-color: var(--bg-base);
    
    /* 2. 복합 CSS 레이어링으로 메탈 질감 구현 */
    background-image:
        /* 레이어 C: 은은한 상단 조명 (Radial Gradient) - 럭셔리함의 핵심 */
        radial-gradient(ellipse at top left, rgba(255,255,255,0.06) 0%, transparent 60%),
        /* 레이어 B: 세밀한 마이크로 브러쉬드 라인 (Repeating Linear Gradient) */
        repeating-linear-gradient(to right, rgba(255,255,255,0.005) 0px, rgba(255,255,255,0.005) 1px, transparent 1px, transparent 2px),
        /* 레이어 A: 깊이감을 위한 베이스 메탈 그라데이션 */
        linear-gradient(135deg, #0a0a0b 0%, #1c1c1e 50%, #2c2f33 100%);
        
    background-attachment: fixed;
    /* -------------------------------------- */
}

.bento-wrapper {
    width: 95%;
    max-width: 1000px;
    margin: 60px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 프로 레벨 카드 스타일: 메탈 블록 질감 */
.card {
    background: linear-gradient(145deg, rgba(28,28,30,0.9), rgba(20,20,21,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

h1 { font-size: 32px; font-weight: 800; margin: 0 0 30px 0; letter-spacing: -1px; }

/* 테이블 디자인 */
.table-responsive { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
th { padding: 15px; color: var(--text-secondary); font-size: 12px; font-weight: 600; text-transform: uppercase; text-align: center; }
td { padding: 20px; background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }
td:first-child { border-left: 1px solid rgba(255,255,255,0.02); border-radius: 16px 0 0 16px; text-align: center; }
td:last-child { border-right: 1px solid rgba(255,255,255,0.02); border-radius: 0 16px 16px 0; text-align: center; }

td.title-cell a { color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 16px; transition: 0.2s; }
td.title-cell a:hover { color: var(--accent-color); }

/* 버튼 스타일 */
.btn { padding: 12px 24px; border-radius: 14px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1); border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--text-primary); color: #000; }
.btn-primary:hover { transform: scale(1.03); background: #fff; }
.btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* 입력 필드 */
input, textarea { width: 100%; padding: 18px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; color: #fff; font-size: 16px; margin-bottom: 20px; transition: 0.3s; }
input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15); outline: none; }

.user-badge { padding: 6px 12px; background: rgba(255,255,255,0.05); border-radius: 10px; font-size: 13px; color: var(--text-secondary); }

@media (max-width: 768px) { .card { padding: 25px 20px; } td { padding: 15px 10px; font-size: 14px; } h1 { font-size: 24px; } }