/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    --secondary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --bg-color: #020617;
    --card-bg: #020617;
    --card-border: #1f2937;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --input-bg: #020617;
    --hover-bg: #0b1120;
    --shadow-sm: 0 1px 0 rgba(15, 23, 42, 0.8);
    --shadow-md: 0 1px 0 rgba(15, 23, 42, 0.9);
    --shadow-lg: 0 0 0 rgba(0, 0, 0, 0);
    --border-radius: 10px;
    --transition: all 0.18s ease-out;
}

:root[data-theme="dark"] {
    color-scheme: dark;
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --text-primary: #0f172a;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --input-bg: #f3f4f6;
    --hover-bg: #e5e7eb;
    --shadow-sm: 0 1px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 1px 0 rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 0 0 rgba(0, 0, 0, 0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 背景动画 */
.background-animation {
    display: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 20s infinite ease-in-out;
}
.circle-1
 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    top: 40%;
    right: -250px;
    animation-delay: -7s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981, #34d399);
    bottom: -200px;
    left: 40%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* 主容器 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* 头部：更接近开发者工具的顶部栏样式 */
.header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.logo-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.logo-lucide {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.header h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.theme-toggle {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.theme-toggle::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}

.theme-toggle:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}
/
* 实时时间卡片 */
.live-time-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.live-time-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.3);
}

.live-time-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.live-time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.live-datetime {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.live-timestamp {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    background: var(--input-bg);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.use-now-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.use-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.use-now-btn i {
    width: 18px;
    height: 18px;
}

/* 转换卡片 */
.converter-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

/* 输入区域 */
.input-section {
    margin-bottom: 24px;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.label-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

#timeInput {
    width: 100%;
    padding: 16px 48px 16px 16px;
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

#timeInput:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

#timeInput:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
}

#timeInput::placeholder {
    color: var(--text-tertiary);
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
    display: none;
}

.clear-btn.visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    background: var(--hover-bg);
    color: var(--primary);
}

.clear-btn i {
    width: 18px;
    height: 18px;
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.input-wrapper.error #timeInput {
    border-color: #f97373;
    background: rgba(248, 113, 113, 0.08);
}

.input-wrapper.error #timeInput::placeholder {
    color: #f97373;
}

button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
/* 快捷
操作 */
.quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.quick-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 16px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--hover-bg);
    color: var(--primary);
    border-color: var(--primary);
}

/* 转换按钮 */
.convert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: #0f172a;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: white;
    font-size: 0.98rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 24px;
    box-shadow: none;
}

.convert-btn:hover {
    background: #020617;
}

.convert-btn:active {
    background: #020617;
}

.convert-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.convert-btn.loading .btn-icon {
    animation: rotate 1s linear infinite;
}

.btn-icon {
    width: 22px;
    height: 22px;
}

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

/* 结果显示 */
.result-section {
    animation: fadeInUp 0.5s ease;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #10b981;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.result-header i {
    width: 24px;
    height: 24px;
}

.result-grid {
    display: grid;
    gap: 16px;
}

.result-item {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
}

.result-item:hover {
    background: var(--hover-bg);
    border-color: rgba(6, 182, 212, 0.3);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
}

.copy-btn i {
    width: 14px;
    height: 14px;
}

/* 错误提示 */
.error-section {
    animation: shake 0.5s ease;
}

.error-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f43f5e;
    font-weight: 600;
    padding: 16px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 12px;
}

.error-header i {
    width: 24px;
    height: 24px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}
/
* 历史记录卡片 */
.history-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.history-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.history-header h3 i {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.clear-history-btn {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.clear-history-btn:hover {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
    color: #f43f5e;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.5;
}

.history-empty {
    text-align: center;
    color: var(--text-tertiary);
    padding: 40px 20px;
    font-size: 0.95rem;
}

.history-item {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

.history-item:hover {
    background: var(--hover-bg);
    border-color: var(--primary);
    transform: translateX(4px);
}

.history-item-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.history-item-content {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.history-item-label {
    color: var(--text-secondary);
}

.history-item-value {
    color: var(--primary);
    font-weight: 500;
}

/* 使用说明卡片 */
.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.info-item {
    text-align: center;
    padding: 16px 12px;
    background: var(--input-bg);
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

.info-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.info-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
/
* 页脚 */
.footer {
    text-align: center;
    padding: 24px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    animation: fadeIn 1s ease 0.5s backwards;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Toast通知 */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-gradient);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transform: translateY(120px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 20px;
    height: 20px;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .converter-card,
    .info-card {
        padding: 24px 20px;
    }

    .live-time-display {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-actions {
        gap: 6px;
    }

    .quick-btn {
        min-width: 70px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .info-item {
        padding: 14px 10px;
    }
    
    .info-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .info-item h4 {
        font-size: 0.9rem;
    }
    
    .info-item p {
        font-size: 0.75rem;
    }

    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .result-value {
        font-size: 1.1rem;
    }
}

/* 内容区域样式 */
.content-section {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease backwards;
}

.content-section:nth-child(1) { animation-delay: 0.5s; }
.content-section:nth-child(2) { animation-delay: 0.6s; }
.content-section:nth-child(3) { animation-delay: 0.7s; }
.content-section:nth-child(4) { animation-delay: 0.8s; }
.content-section:nth-child(5) { animation-delay: 0.9s; }

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--card-border);
}

.section-title i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.content-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-text p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-list {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.content-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-list li strong {
    color: var(--primary);
    font-weight: 600;
}

.content-list code {
    background: var(--input-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-size: 0.9em;
    border: 1px solid var(--card-border);
}

.example-box {
    background: var(--input-bg);
    border-left: 4px solid var(--primary);
    padding: 16px;
    margin: 20px 0;
    border-radius: 8px;
    color: var(--text-secondary);
}

.example-box strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.example-box code {
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
}

/* 代码示例样式 */
.code-example {
    background: #1e293b;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-example code {
    background: transparent;
    padding: 0;
    border: none;
    color: inherit;
}

/* FAQ样式 */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--hover-bg);
}

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-answer code {
    background: var(--input-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-size: 0.9em;
}

/* 相关工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.tool-card {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
    text-decoration: none;
    color: inherit;
}

.tool-card i {
    width: 36px;
    height: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.tool-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.tool-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .content-section {
        padding: 24px 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tool-card {
        padding: 18px 14px;
    }
    
    .tool-card i {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }
    
    .tool-card h4 {
        font-size: 0.95rem;
    }
    
    .tool-card p {
        font-size: 0.8rem;
    }

    .code-example {
        padding: 16px;
    }

    .code-example pre {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.75rem;
    }

    .logo-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .logo-lucide {
        width: 28px;
        height: 28px;
    }

    .live-datetime {
        font-size: 1.2rem;
    }

    .live-timestamp {
        font-size: 1rem;
    }

    .convert-btn {
        font-size: 1rem;
        padding: 14px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}