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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: #16213e;
    border-radius: 16px;
    padding: 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 600;
    color: #ccc;
}

textarea, select, input[type="file"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0f3460;
    color: #fff;
    font-size: 15px;
    resize: vertical;
}

textarea:focus, select:focus {
    outline: none;
    border-color: #e94560;
}

input[type="file"] {
    padding: 10px;
    cursor: pointer;
}

.btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.02);
}

.result {
    text-align: center;
}

.result p { margin: 12px 0; }

.link-box {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.link-box input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0f3460;
    color: #4fc3f7;
    font-size: 13px;
}

.link-box button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #e94560;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.warn {
    color: #ffa726;
    font-size: 14px;
    margin: 12px 0;
}

.error, .burned {
    text-align: center;
    padding: 30px;
    background: #2a0a0a;
    border-radius: 12px;
    border: 1px solid #e94560;
    margin-top: 20px;
}

.message-box {
    margin-top: 20px;
}

.message-text {
    background: #0f3460;
    padding: 20px;
    border-radius: 12px;
    line-height: 1.8;
    margin: 16px 0;
    word-break: break-word;
}

.message-image {
    margin: 16px 0;
    text-align: center;
}

.message-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
    .container { padding: 24px 16px; }
    h1 { font-size: 1.5em; }
}