:root {
  /* That can change */
  --bg-color: #f0f0f0;
  --container-bg: #bbbbbb;
  --text-main: #000000;
  --title-color: #1E3A5F;
  --accent-color: #344861;

  --box-color: #ffffff;
  
  
  /* Static things */
  --white: #ffffff;
  --shell-bg: #1e1e1e;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* That can change */
    --bg-color: #0f0f0f;
    --container-bg: #444444;
    --text-main: #ffffff;
    --title-color: #96bbeb;
    --accent-color: #92b1d7;

    --box-color: #000000;
    /* Static things */
    --white: #000000;
    --shell-bg: #e0e0e0;
  }
}

body {
  background-color: var(--bg-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 40px 20px;
}

/* --- Container --- */
.container {
  max-width: 1000px; /* Better than just width: 80% */
  margin: 0 auto;
  background-color: var(--container-bg);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--title-color); /* A darker shade of your pink for better contrast */
  margin-top: 0;
  font-weight: 700;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  opacity: 0.7;
  border-bottom: 2px solid var(--accent-color);
}

/* --- Buttons --- */
button, .btn {
  background-color: var(--accent-color);
  color: var(--box-color);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

button:hover {
  background-color: var(--title-color);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* --- Boxes --- */
.box {
    background: var(--box-color);
    color: var(--text-main);
    border: 2px solid var(--accent-color); 
    border-radius: 8px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-shadow: var(--shadow);
}


/* --- The Shell (Terminal) --- */
.shell {
  width: 100%;
  height: 400px;
  background-color: var(--shell-bg);
  color: var(--white);
  overflow-y: auto;
  display: flex; /* Added display flex back */
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.shell p {
  margin: 5px 0;
  border-left: 2px solid var(--accent-color);
  padding-left: 10px;
}

.hidden {
  display: none;
}

/* --- lang Layout --- */
.lang-bar {
    float: right;
}

/* --- Styled Classical Dropdown --- */
.native-dropdown {
    background-color: var(--box-color);
    color: var(--text-main);
    border: 2px solid var(--accent-color); 
    border-radius: 8px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-shadow: var(--shadow);
}

.native-dropdown:focus {
    box-shadow: 0 0 0 3px var(--title-color); /* Soft glow using accent color */
}

/* Ensure the dropdown looks good on mobile */
@media (max-width: 600px) {
    .header-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}