body {
    background-color: #0f131a;
    color: #ffffff;
    background: url("../assets/bg.JPG");
    font-family: "Roboto Mono", monospace;
    line-height: 1.4;
    padding: 32px 24px;
}

.header {
    margin: 40px auto;
    z-index: 999;
    position: relative;
    max-width: 700px;

}

.header h1 {
    margin-bottom: 16px;
    font-size: 48px;
    text-align: center;
}

.header .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 19px;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    z-index: 99;
    position: relative;
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.card-header {
    margin-bottom: 32px;
    font-size: 21px;
    text-align: center;
}

.form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #474646;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #a655f7;
}

.form-group textarea::placeholder {
    color: #a19e9e;
}

.form-group .btn-magic {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(90deg, #a655f7 0%, #ff80aa 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.form-group .btn-magic:hover {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}

.preview-card {
    display: none;
}

.code-grid {
    display: flex;
    gap: 24px;
}

.code-card {
    background-color: #21242a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    padding: 24px;
    width: 50%;
}

.code-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.code-block {
    background-color: #0a0c10;
    color: #5eead4;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}