:root {
    --discord-dark: #2c2f36;
    --discord-darker: #23272a;
    --discord-light: #f3f4f8;
    --discord-blue: #7289da;
    --discord-green: #43b581;
    --discord-red: #f04747;
    --discord-gray: #444;
    --discord-gray-light: #555;
    --discord-gray-lighter: #666;
    --discord-text-muted: #a3a6aa;
    --font-primary: 'Inter', sans-serif;
    --neon-blue: #0070f3;
    --neon-purple: #9b87f5;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.5;
    color: #e1e4e8;
    background-color: #1e2125;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    background-color: var(--discord-darker);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--discord-blue);
    transition: color 0.3s ease;
}

h1 .neon-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 112, 243, 0.6), 0 0 12px rgba(0, 112, 243, 0.4);
    transition: text-shadow 0.3s ease;
}

h1 .neon-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(155, 135, 245, 0.6), 0 0 12px rgba(155, 135, 245, 0.4);
    transition: text-shadow 0.3s ease;
}

p {
    font-size: 1.125rem;
    color: #aaa;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--discord-light);
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--discord-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--discord-darker);
    color: var(--discord-light);
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--discord-blue);
    outline-offset: 2px;
}

input:focus, textarea:focus {
    border-color: var(--discord-blue);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--discord-blue);
    color: var(--discord-light);
}

.btn-primary:hover {
    background-color: #5a6ad9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--discord-gray-light);
    color: var(--discord-light);
}

.btn-secondary:hover {
    background-color: var(--discord-gray);
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-direction: column;
}

.embeds-container {
    margin: 25px 0;
}

.embed-item {
    background-color: var(--discord-darker);
    border: 1px solid var(--discord-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.embed-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.embed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.embed-header h3 {
    margin: 0;
    color: var(--discord-light);
    font-weight: 600;
}

.remove-embed {
    background-color: var(--discord-red);
    color: var(--discord-light);
    padding: 6px 14px;
    font-size: 0.875rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
}

.remove-embed:hover {
    background-color: #f04242;
    transform: translateY(-2px);
}

.discord-preview {
    background-color: var(--discord-dark);
    color: var(--discord-light);
    padding: 25px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#preview-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
}

#preview-username {
    font-weight: 600;
    color: var(--discord-light);
}

.preview-timestamp {
    font-size: 0.875rem;
    color: var(--discord-text-muted);
    margin-left: 15px;
}

.preview-content {
    margin-bottom: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.preview-embed {
    margin-top: 15px;
    border-left-width: 6px;
    border-left-style: solid;
    background-color: var(--discord-darker);
    padding: 16px;
    border-radius: 0 8px 8px 0;
}

.preview-embed-title {
    font-weight: 700;
    color: var(--discord-light);
    margin-bottom: 8px;
}

.preview-embed-title a {
    color: #1abc9c;
    text-decoration: none;
}

.preview-embed-title a:hover {
    text-decoration: underline;
}

.preview-embed-description {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.preview-embed-image {
    max-width: 100%;
    margin-top: 15px;
    border-radius: 8px;
}

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 25px;
    border-radius: 10px;
    color: var(--discord-light);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s, fadeOut 0.3s 3.7s;
}

.notification.success {
    background-color: var(--discord-green);
}

.notification.error {
    background-color: var(--discord-red);
}

.notification.hidden {
    display: none;
}

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

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

@media (max-width: 600px) {
    .container {
        padding: 1.25rem;
    }
    .button-group {
        flex-direction: column;
    }
}
.secondary-btn {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
    margin: 0.5rem;
    z-index: 1000; /* Optional: ensures it's above other elements */
  }
  
  .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  