/* ==========================================================================
   NBTF.CA - MINIMALIST WARM STYLESHEET
   Soft pale yellow, warm orange, golden yellow, muted red, clean dark text.
   No sci-fi, no neon, pure simple and usable UI.
   ========================================================================== */

:root {
  --bg-page: #FEFDF4;
  --bg-surface: #FFFFFF;
  --bg-surface-soft: #FFFDEE;
  --bg-card: #FFFFFF;
  --border-color: #EADFB8;
  --border-light: #F4EED8;
  
  --primary: #E07B00;
  --primary-hover: #C96B00;
  --primary-light: #FFF4E5;
  
  --accent-yellow: #F5BA13;
  --accent-yellow-light: #FFFBE6;
  
  --accent-red: #D9381E;
  --accent-red-light: #FDF1EE;
  
  --text-main: #24221E;
  --text-muted: #6B6555;
  --text-light: #8E8878;

  --shadow-sm: 0 1px 3px rgba(40, 30, 10, 0.06);
  --shadow-md: 0 4px 12px rgba(40, 30, 10, 0.08);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVBAR
   Left: logo, title. Center/Right: sections, green join game button, signin
   ========================================================================== */

.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-left:hover {
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
}

.brand-title {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.2rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.user-nav-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  white-space: nowrap;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-light);
  border: 1px solid var(--border-color);
}

/* Green Join Game Button */
.btn-join-game {
  background-color: #27AE60;
  border: 1px solid #219653;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(39, 174, 96, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-join-game:hover {
  background-color: #219653;
  border-color: #1E824C;
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(33, 150, 83, 0.35);
  transform: translateY(-1px);
}

.btn-join-game .play-icon {
  font-size: 0.75rem;
  line-height: 1;
}

.hero-btn-play {
  font-size: 0.98rem;
  padding: 0.55rem 1.2rem;
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF;
}

.btn-outline {
  background-color: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-danger {
  background-color: var(--accent-red);
  color: #FFFFFF;
}

.btn-danger:hover {
  background-color: #B52D16;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
}

/* ==========================================================================
   MAIN LAYOUT & HERO
   ========================================================================== */

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.hero {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--accent-yellow-light);
  color: #8C6200;
  border: 1px solid #ECCB63;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #D6CA9E;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.badge-security { background-color: #FDF1EE; color: #B52D16; border-color: #F0C4B8; }
.badge-management { background-color: #FFFBE6; color: #8C6200; border-color: #ECCB63; }
.badge-operations { background-color: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
.badge-scientific { background-color: #F3E8FF; color: #6B21A8; border-color: #DDD6FE; }
.badge-civilian { background-color: #F3F4F6; color: #4B5563; border-color: #E5E7EB; }

.badge-staff { border-left: 3px solid var(--primary); }
.badge-hostile { border-left: 3px solid var(--accent-red); }
.badge-neutral { border-left: 3px solid var(--accent-yellow); }

.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

/* ==========================================================================
   ANNOUNCEMENTS & SOCIAL FEED
   ========================================================================== */

.announcement-post {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.post-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.post-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-content {
  font-size: 0.96rem;
  color: var(--text-main);
  white-space: pre-line;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.vote-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vote-btn {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.vote-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.vote-btn.voted-up {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.vote-btn.voted-down {
  background-color: var(--accent-red-light);
  border-color: var(--accent-red);
  color: var(--accent-red);
  font-weight: 600;
}

/* Comments */
.comments-container {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-color);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.comment-item {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

.comment-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.comment-author-name {
  font-weight: 600;
  color: var(--text-main);
}

.comment-time {
  color: var(--text-light);
}

.comment-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.comment-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}

.comment-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ==========================================================================
   RULES DISPLAY (Tabbed & clear)
   ========================================================================== */

.rules-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.rules-tab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}

.rules-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.rule-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.rule-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.rule-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

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

/* ==========================================================================
   DIRECT MESSAGES (DMs)
   ========================================================================== */

.dm-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  min-height: 480px;
  overflow: hidden;
}

.dm-sidebar {
  border-right: 1px solid var(--border-color);
  background: var(--bg-surface-soft);
  display: flex;
  flex-direction: column;
}

.dm-sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dm-conv-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
}

.dm-conv-item {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.15s ease;
}

.dm-conv-item:hover,
.dm-conv-item.active {
  background: #FFF8DF;
}

.dm-conv-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.dm-conv-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-chat-area {
  display: flex;
  flex-direction: column;
}

.dm-chat-header {
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-weight: 600;
  font-size: 0.95rem;
}

.dm-messages-stream {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dm-bubble {
  max-width: 75%;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

.dm-bubble.sent {
  align-self: flex-end;
  background-color: var(--primary-light);
  border: 1px solid #F0C988;
  color: var(--text-main);
}

.dm-bubble.received {
  align-self: flex-start;
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-color);
}

.dm-time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-align: right;
}

.dm-input-bar {
  padding: 0.8rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
  background: var(--bg-surface);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 25, 10, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface-soft);
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.25rem;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclaimer {
  max-width: 600px;
}

.footer-disclaimer strong {
  color: var(--text-main);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
  .btn-mobile-toggle {
    display: block;
  }

  .nav-right-group {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    align-items: flex-start;
  }

  .nav-right-group.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
  }

  .contact-layout,
  .dm-layout,
  .embed-editor-layout {
    grid-template-columns: 1fr;
  }

  .dm-sidebar {
    max-height: 200px;
  }
}

/* ==========================================================================
   DISCORD EMBED EDITOR & LIVE PREVIEW
   ========================================================================== */

.embed-editor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.embed-editor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.embed-swatches {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.embed-swatch {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.embed-swatch:hover {
  transform: scale(1.15);
}

.embed-field-row {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.embed-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Discord Realistic Preview Container */
.discord-preview-outer {
  background-color: #313338;
  border-radius: 8px;
  padding: 1.25rem;
  color: #DBDEE1;
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  position: sticky;
  top: 80px;
}

.discord-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #3F4147;
  padding-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #949BA4;
}

.discord-message {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.discord-bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E07B00;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.discord-message-content {
  flex: 1;
  min-width: 0;
}

.discord-author-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.discord-bot-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #F2F3F5;
}

.discord-bot-badge {
  background: #5865F2;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.discord-timestamp {
  font-size: 0.72rem;
  color: #949BA4;
}

/* Discord Rich Embed Body */
.discord-embed-box {
  background-color: #2B2D31;
  border-radius: 4px;
  border-left: 4px solid #E07B00;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  max-width: 520px;
  margin-top: 0.4rem;
}

.discord-embed-main {
  min-width: 0;
}

.discord-embed-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #F2F3F5;
  margin-bottom: 0.4rem;
}

.discord-embed-author-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.discord-embed-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #00A8FC;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.discord-embed-desc {
  font-size: 0.88rem;
  color: #DBDEE1;
  white-space: pre-wrap;
  line-height: 1.45;
  margin-bottom: 0.65rem;
  word-break: break-word;
}

.discord-embed-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.discord-embed-field.inline {
  display: flex;
  flex-direction: column;
}

.discord-embed-field-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F2F3F5;
  margin-bottom: 0.15rem;
}

.discord-embed-field-val {
  font-size: 0.84rem;
  color: #DBDEE1;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-embed-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.discord-embed-image {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.discord-embed-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: #949BA4;
  margin-top: 0.45rem;
}

.discord-embed-footer-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

/* Roblox Login Button */
.btn-roblox {
  background-color: #000000;
  color: #FFFFFF !important;
  border-color: #222222;
  font-weight: 600;
}

.btn-roblox:hover {
  background-color: #222222;
  color: #FFFFFF !important;
  text-decoration: none;
}
