
:root {
  --color-bg: #1e1f26;
  --color-bg-secondary: #282a36;
  --color-text: #f8f8f2;
  --color-muted: #888;
  --color-accent: #50fa7b;
  --color-accent-hover: #8aff96;
  --color-button: #6272a4;
  --color-button-hover: #50fa7b;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --border: 1px solid #44475a;
}

a {
  color: #50fa7b;
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  color: #8aff96;
  text-decoration: underline;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

header, footer {
  background: var(--color-bg-secondary);
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  color: var(--color-accent);
}

.site-nav a {
  color: var(--color-accent);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.auction-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}



.auction-card {
  background: var(--color-bg-secondary);
  border: var(--border);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}
.auction-card h3 {
  margin-top: 0;
  color: var(--color-accent);
}
.auction-card p {
  color: var(--color-muted);
}

.auction-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.auction-card a:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  background: #1e1f26;
  color: var(--color-text);
  border: var(--border);
  border-radius: var(--radius);
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--color-accent);
}

button {
  background: var(--color-button);
  color: var(--color-text);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}
button:hover {
  background: var(--color-button-hover);
  color: var(--color-bg);
}

.chat-box {
  background: #1e1f26;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.chat-box div {
  padding: 0.4rem 0;
  border-bottom: 1px solid #44475a;
}
.chat-box div:last-child {
  border-bottom: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 0.75rem;
  border: 1px solid #44475a;
}
th {
  background: #343746;
}
td {
  background: #1e1f26;
}

footer p {
  color: var(--color-muted);
  font-size: 0.9rem;
}


 .section-header-fancy {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb86c;
    font-family: monospace;
    font-weight: bold;
    font-size: 15px;
    margin: 30px auto 15px;
}
.section-header-fancy::before,
.section-header-fancy::after {
    content: '────────';
    color: #44475a;
    flex: 1;
    margin: 0 10px;
}
.section-header-fancy span {
    color: #f1fa8c;
    background: #1e1f26;
    padding: 0 6px;
    border-radius: 3px;
}
.alert-container {
    margin: 20px auto;
    max-width: 800px;
    background-color: #282a36;
    border: 1px solid #44475a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.toggle-alert {
    width: 100%;
    background-color: #ffb86c;
    color: #1e1f26;
    font-weight: bold;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    transition: background-color 0.3s;
}

.toggle-alert:hover {
    background-color: #f1fa8c;
}

.alert-banner {
    padding: 15px 20px;
    display: none;
    color: #f8f8f2;
    font-size: 14px;
    background-color: #1e1f26;
}

.alert-banner a {
    color: #8be9fd;
    text-decoration: underline;
}


.bid-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.bid-form input[type="email"],
.bid-form input[type="number"] {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #282a36;
  color: #f8f8f2;
  font-size: 14px;
  flex: 1 1 200px;
}

.bid-form input::placeholder {
  color: #888;
}

.bid-form button {
  background-color: #50fa7b;
  color: #1e1f26;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.bid-form button:hover {
  background-color: #8be9fd;
  color: #1e1f26;
}