* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0b0f19;
    color: #ffffff;
    min-height: 100vh;
}

.navbar {
    border-bottom: 1px solid #1f2937;
    background: #0b0f19;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-icon {
    color: #6366f1;
}

.logo-accent {
    color: #6366f1;
}

.back-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: white;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
}

.tool-hero {
    text-align: center;
    margin-bottom: 40px;
}

.tool-badge {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #30384a;
    border-radius: 20px;
    color: #818cf8;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.tool-hero h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.tool-hero p {
    color: #9ca3af;
    font-size: 16px;
}

.timestamp-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timestamp-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 25px;
}

.timestamp-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.card-header {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 12px;
}

.current-timestamp {
    font-size: 32px;
    font-weight: bold;
    color: #a5b4fc;
    margin-bottom: 18px;
    word-break: break-all;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    background: #0b0f19;
    color: white;
    border: 1px solid #374151;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

.input-group input:focus {
    border-color: #6366f1;
}

.action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    background: #6366f1;
    color: white;
    border: none;
    margin-bottom: 20px;
}

.action-btn:hover {
    opacity: 0.9;
}

.secondary-btn {
    background: #1f2937;
    color: white;
    border: 1px solid #374151;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.secondary-btn:hover {
    background: #374151;
}

.result-box {
    background: #0b0f19;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 15px;
}

.result-box span {
    display: block;
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 10px;
}

.result-box code {
    color: #a5b4fc;
    font-size: 15px;
    word-break: break-all;
}

.message {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    min-height: 18px;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 600px) {

    .tool-hero h1 {
        font-size: 32px;
    }

    .timestamp-card {
        padding: 18px;
    }

    .current-timestamp {
        font-size: 25px;
    }
}