/* public/assets/css/dev/domain-age.css */

.dage-wrapper { padding: 32px; border-radius: var(--radius-lg); position: relative; }
.dage-header { text-align: center; margin-bottom: 40px; }
.dage-title { font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.dage-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; }

.dage-workspace { max-width: 800px; margin: 0 auto 40px auto; display: flex; flex-direction: column; gap: 24px; }

/* 搜索控制台 */
.dage-search-panel { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.dage-input-group { display: flex; flex-direction: column; gap: 12px; }
.dage-input-group label { font-size: 0.95rem; font-weight: 800; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; }

.dage-search-bar { display: flex; gap: 12px; }
.dage-input { flex: 1; padding: 16px 20px; font-size: 1.2rem; font-family: 'Courier New', Courier, monospace; font-weight: 700; color: var(--text-main); background: var(--bg-body); border: 2px solid var(--border-color); border-radius: 8px; outline: none; transition: 0.2s; text-transform: lowercase; }
.dage-input:focus { border-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1); }
.dage-input::placeholder { color: var(--text-muted); opacity: 0.5; font-family: sans-serif; font-weight: normal; }

.dage-btn-check { padding: 0 32px; font-size: 1.1rem; font-weight: 800; background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; white-space: nowrap; }
.dage-btn-check:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4); }

.dage-spinner { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-top: 3px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 结果卡片 */
.dage-result-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); animation: slideUp 0.4s ease-out forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* 年龄展示区 */
.age-hero-zone { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.02) 100%); border-bottom: 1px solid var(--border-color); padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-label { font-size: 1rem; font-weight: 800; color: #d97706; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.hero-value { font-size: 3.5rem; font-weight: 900; color: var(--text-main); line-height: 1.1; margin-bottom: 8px; text-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.hero-value span { font-size: 1.5rem; color: var(--text-muted); font-weight: 700; margin: 0 4px; }
.hero-domain { font-family: 'Courier New', Courier, monospace; font-size: 1.1rem; color: var(--text-muted); font-weight: 600; padding: 6px 16px; background: var(--bg-body); border: 1px dashed var(--border-color); border-radius: 20px; margin-top: 16px; }

/* 详细时间线网格 */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px; background: var(--bg-surface); gap: 16px; border-bottom: 1px solid var(--border-color); }
.time-item { display: flex; align-items: center; gap: 16px; background: var(--bg-body); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: 0.2s; }
.time-item:hover { border-color: #f59e0b; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05); }
.time-icon { font-size: 2rem; }
.time-data { display: flex; flex-direction: column; gap: 4px; }
.time-label { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.time-value { font-size: 1.05rem; font-weight: 700; color: var(--text-main); font-family: 'Courier New', Courier, monospace; }

/* 🌟 WHOIS 原始数据终端区 */
.dage-raw-zone { padding: 24px; background: var(--bg-surface); }
.raw-header h4 { font-size: 1.1rem; color: var(--text-main); font-weight: 800; margin-bottom: 8px; }
.raw-header p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }

.raw-server-status { background: #022c22; border: 1px solid #064e3b; color: #34d399; padding: 10px 16px; font-family: 'Courier New', Courier, monospace; font-size: 0.85rem; font-weight: 800; border-radius: 12px 12px 0 0; border-bottom: none; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px; }
.raw-terminal { background: #0f172a; border-radius: 0 0 12px 12px; padding: 20px; border: 1px solid #334155; overflow-x: auto; max-height: 400px; overflow-y: auto; box-shadow: inset 0 4px 10px rgba(0,0,0,0.5); }
.raw-terminal::-webkit-scrollbar { width: 8px; height: 8px; }
.raw-terminal::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
.raw-terminal pre { margin: 0; }
.raw-terminal code { font-family: 'Courier New', Courier, monospace; font-size: 0.85rem; color: #10b981; line-height: 1.6; }

.dage-info-card { background: var(--bg-surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); max-width: 800px; margin: 0 auto; box-sizing: border-box; }

@media (max-width: 768px) {
    .dage-search-bar { flex-direction: column; }
    .dage-btn-check { height: 52px; }
    .hero-value { font-size: 2.5rem; }
    .timeline-grid { grid-template-columns: 1fr; }
}