@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* === OGÓLNE === */
body {
  background-color: #1a1a1a;
  color: #e0e0e0;
  font-family: 'VT323', monospace;
  font-size: 18px;
}

.container-main {
  max-width: 1024px;  
  margin: 0 auto;
  padding: 1rem;
  background-color: #1a1a1a; 
  min-height: 100vh;         
  display: flex;
  flex-direction: column;
}

/* === LINKI === */
a {
  color: #00ffff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-shadow: 0 0 5px #00ffff;
}

/* === NAGŁÓWKI === */
h1, h2, h3, h4, h5 {
  color: #ffcc00;
  text-shadow: 0 0 3px #ffcc00;
}

/* === NAVBAR === */
.navbar {
  background-color: #2c2c2c;
  border-bottom: 2px solid #ffcc00;
}
.navbar-brand,
.nav-link {
  color: #ffcc00 !important;
  font-weight: bold;
}
.nav-link:hover {
  text-shadow: 0 0 5px #ffcc00;
}

.slogan {
  font-family: 'VT323', cursive, monospace;
  font-size: 1.2rem;         
  color: #ffcc00;           
  text-shadow:
    0 0 5px #ffcc00,
    0 0 10px #ffcc00,
    0 0 20px #ffcc00;
  letter-spacing: 0.1em;    
  text-transform: uppercase;
  margin: 1rem 0;
  user-select: none;
}

/* === KARTY (Bootstrap) === */
.card {
  background-color: #222;
  border: 1px solid #444;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}
.card-title {
  color: #ffcc00;
}

/* === PRZYCISKI === */
.btn {
  border-radius: 0 !important;
  padding: 0.5rem 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.btn-primary {
  background-color: #00ccff;
  border-color: #00ccff;
  color: #000;
  font-weight: bold;
}
.btn-primary:hover {
  background-color: #00ffff;
  border-color: #00ffff;
  color: #000;
  text-shadow: 0 0 3px #000;
}

/* === STOPKA === */
footer {
  background-color: #2c2c2c;
  padding: 1em;
  color: #ccc;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 14px;
}

/* === FORMULARZE === */
textarea.form-control {
  background-color: #111;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 0;
  font-family: 'VT323', monospace;
  font-size: 18px;
  resize: vertical;
}

textarea.form-control:focus {
  background-color: #111;
  color: #fff;
  border-color: #00ffff;
  box-shadow: none;
}

textarea.form-control::placeholder {
  color: #999;
  opacity: 1;
}

textarea.form-control::placeholder {
  color: #00ffff;
  opacity: 1;
  font-family: 'VT323', monospace;
}

input.form-control {
  background-color: #111;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 0;
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 0.375rem 0.75rem; 
}

input.form-control:focus {
  background-color: #111;
  color: #fff;
  border-color: #00ffff;
  box-shadow: none;
}
  
input.form-control::placeholder {
  color: #999;
  opacity: 1;
  font-family: 'VT323', monospace;
}

/* === LISTY === */
.list-group {
  background-color: transparent;
  border: none;
}

.list-group-item {
  background-color: #111;
  color: #e0e0e0;
  border: none;
  border-radius: 0;
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s, color 0.2s;
}

.list-group-item:hover {
  background-color: #222;
  color: #00ffff;
  box-shadow: none;
  cursor: pointer;
}

.list-group-item.active {
  background-color: #00ffff;
  color: #000;
  font-weight: bold;
  border: none;
}

/* === ALERY === */
.alert {
  border-radius: 0;
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 1rem;
  border: none;
  box-shadow: none;
  margin-bottom: 1rem;
  user-select: none;
}

/* Primary - niebieski */
.alert-primary {
  background-color: #001a2d;
  color: #00ccff;
  text-shadow: 0 0 5px #00ccff;
}

/* Secondary - szary */
.alert-secondary {
  background-color: #2c2c2c;
  color: #bbbbbb;
  text-shadow: 0 0 3px #bbbbbb;
}

/* Success - zielony */
.alert-success {
  background-color: #002b00;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
}

/* Danger - czerwony */
.alert-danger {
  background-color: #2c0000;
  color: #ff3300;
  text-shadow: 0 0 5px #ff3300;
}

/* Warning - żółty */
.alert-warning {
  background-color: #2c2c00;
  color: #ffcc00;
  text-shadow: 0 0 5px #ffcc00;
}

/* Info - cyjan */
.alert-info {
  background-color: #002c2c;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
}

/* Light - jasnoszary */
.alert-light {
  background-color: #444444;
  color: #dddddd;
  text-shadow: 0 0 3px #dddddd;
}

/* Dark - czarny */
.alert-dark {
  background-color: #000000;
  color: #666666;
  text-shadow: 0 0 3px #666666;
}

/* Linki w alertach */
.alert a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}

.alert a:hover {
  text-decoration: none;
  text-shadow: 0 0 8px currentColor;
}


/* === Popularne tytuły gier - kafelki retro === */

.popular-game-tile.box {
  border: 1px solid #fff;
  border-radius: 0;
  font-family: 'VT323', monospace;
  transition: background-color 0.3s ease;
}

.popular-game-tile.box:hover {
  background-color: #333;
  text-decoration: none;
}

/* Duże kafelki */
.popular-game-tile.large {
  height: 300px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.popular-game-tile.large .captionBox {
  background-color: rgba(0, 0, 0, 0.75);
}

.popular-game-tile.large h3 {
  font-size: 1.8rem;
  margin: 0;
  padding: 0.5rem 1rem;
}

/* Średnie kafelki */
.popular-game-tile.medium {
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popular-game-tile.medium h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.popular-game-tile.medium p {
  font-size: 0.9rem;
  color: #ccc;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* max 3 linie */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin: 0;
}

/* Małe kafelki */
.popular-game-tile.small {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.5rem;
}

.popular-game-tile.small h3.small-title {
  font-size: 1rem;
  margin: 0;
  word-break: break-word;
}
