/* General Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-image: url('www.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #111; 
}

/* Overlay for better readability */
.overlay {
    background: rgba(0, 0, 0, 0.65);
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    text-shadow: 3px 3px #000;
    color: #55ff55; 
    margin-bottom: 10px;
}

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.85);
    border: 2px solid #555;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffff55; 
    text-shadow: 1px 1px #000;
}

.color-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.color-card {
    background: #222;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    min-width: 90px;
}

.color-card:hover {
    transform: scale(1.05);
    background: #333;
}

.color-box {
    height: 30px;
    border-radius: 3px;
    margin-bottom: 5px;
    border: 1px solid rgba(255,255,255,0.2);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    color: #aaa;
}

input[type="text"], select {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #555;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.color-pickers {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.picker-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

input[type="color"] {
    width: 100%;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.btn-container {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: #00aa00;
    color: white;
}

.btn-primary:hover {
    background: #00ff00;
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #7289da;
}

.output-box {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 4px;
    position: relative;
    margin-top: 10px;
    font-family: monospace;
    word-break: break-all;
}

.preview-box {
    background: #141414;
    border: 2px dashed #555;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    min-height: 50px;
    font-weight: bold;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00aa00;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: none;
    animation: fadeIn 0.3s, fadeOut 0.3s 2s;
    z-index: 1000;
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

footer strong {
    color: #ff55ff;
}
