:root {
    --bg-color: #e0e5ec;
    --text-color: #4a5568;
    --accent-color: #2d3748;
    --card-bg: #e0e5ec;
    --shadow-light: #ffffff;
    --shadow-dark: #a3b1c6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #000;
}

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

.hero h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.vault-display {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.encrypted-block {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 9px 9px 16px var(--shadow-dark), -9px -9px 16px var(--shadow-light);
    width: 100%;
    max-width: 600px;
}

.block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #cbd5e0;
    padding-bottom: 10px;
}

.status-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

.filename {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.block-content {
    background: #2d3748;
    color: #4fd1c5;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    word-break: break-all;
    min-height: 60px;
}

.block-actions {
    display: flex;
    gap: 10px;
}

input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #e0e5ec;
    box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
    outline: none;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
    transition: transform 0.1s;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#output-area {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #cbd5e0;
}

#decrypted-text {
    font-family: 'Courier New', Courier, monospace;
    color: #2f855a;
    font-weight: bold;
}

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

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 9px 9px 16px var(--shadow-dark), -9px -9px 16px var(--shadow-light);
    text-align: center;
}

.card img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    object-fit: contain;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.card p {
    font-size: 0.9rem;
    color: #718096;
}
