* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #080b14;
    color: #f5f5f5;
    padding: 25px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.header {
    text-align: center;
    padding: 35px 15px;
    margin-bottom: 25px;
}

.header h1 {
    color: #ffd700;
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.header p {
    color: #b8b8b8;
}

.main-card,
.tp-card {
    background: #111827;
    border: 1px solid #8c701c;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.08);
}

h2 {
    color: #ffd700;
    margin-bottom: 20px;
}

h3 {
    color: #e8c547;
    margin: 20px 0 12px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #e6e6e6;
    font-weight: bold;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    background: #080d18;
    color: white;
    border: 1px solid #6e5a20;
    border-radius: 8px;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.25);
}

textarea {
    resize: vertical;
}

small {
    display: block;
    color: #a8a8a8;
    margin-top: 6px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #080d18;
    border: 1px solid #51451e;
    border-radius: 8px;
}

.checkbox-item input {
    width: auto;
    accent-color: #ffd700;
}

.config-box {
    background: #0b1220;
    border: 1px solid #5e4d1d;
    border-radius: 10px;
    padding: 18px;
    margin: 15px 0;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

button {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #111;
}

.btn-secondary {
    background: #252f45;
    color: #ffd700;
    border: 1px solid #b8860b;
}

.btn-copy {
    background: #173c32;
    color: #7fffd4;
    border: 1px solid #32866c;
    margin-top: 12px;
}

.result-card {
    background: #080d18;
    border: 1px solid #554719;
    border-radius: 10px;
    padding: 18px;
    margin-top: 20px;
}

.result-content {
    background: #05080f;
    border: 1px solid #273247;
    border-radius: 8px;
    padding: 15px;
    color: #d8d8d8;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    min-height: 70px;
}

.tp-heading {
    border-bottom: 1px solid #66551d;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {

    body {
        padding: 12px;
    }

    .header h1 {
        font-size: 22px;
    }

    .main-card,
    .tp-card {
        padding: 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
    }

}