/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* TheHytale.ru Brand Colors */
:root {
  /* Background Colors */
  --bg-primary: #0B1729;
  --bg-secondary: rgba(255, 255, 255, 0.1);
  --bg-tertiary-start: #161F2B;
  --bg-tertiary-end: #10161E;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A5C4D8;
  --text-accent: #FFC800;
  --text-accent-blue: #ACF4F8;
  
  /* Button Colors */
  --btn-gradient-start: #3B8DC1;
  --btn-gradient-end: #256090;
  --btn-border: #DA9547;
}

/* Custom gradient backgrounds */
.bg-primary {
  background: var(--bg-primary);
}

.bg-tertiary {
  background: linear-gradient(135deg, var(--bg-tertiary-start) 0%, var(--bg-tertiary-end) 100%);
}

.bg-cta-button {
  background: linear-gradient(0deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
}

.text-accent {
  color: var(--text-accent);
}

.text-secondary {
  color: var(--text-secondary);
}

.bg-accent {
  background-color: var(--text-accent);
}

/* Header navigation underline and spacing
   - Each .nav-item has 12px space between text and bottom border
   - Inactive items keep a transparent border to avoid height jumps
   - Active items (or elements with .text-accent) get visible accent border
*/
.header-nav .nav-item {
  padding-bottom: 8px; /* space between text and border */
  border-bottom: 1px solid transparent; /* reserve space to prevent jumps */
}

.header-nav .nav-item.text-accent,
.header-nav .nav-item .nav-link.text-accent {
  color: var(--text-accent) !important;
  border-bottom-color: var(--text-accent);
}

/* Mobile menu items same behavior */
#mobile-menu .nav-item {
  padding-bottom: 12px;
  border-bottom: 1px solid transparent;
}

#mobile-menu .nav-item.text-accent a {
  color: var(--text-accent) !important;
  border-bottom-color: var(--text-accent);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary-start);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-accent-blue);
}

.article-body {
    display: flex;
    flex-direction: column;
    gap:16px;
}

.article-body h2 {
    color: var(--text-accent);
    font-size: var(--text-4xl);
    font-weight: bold;
    margin-top: 32px;
}

.article-body ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-type: disc;
    padding-left: 16px;
}


iframe { 
  width: 100%;
  aspect-ratio: 16 / 9;
}
