html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ========================= */
/* WALENTYNKI – DARK THEME   */
/* ========================= */

body {
    background-color: #0f0f0f;
    color: #f5f5f5;
    font-family: 'Segoe UI', sans-serif;
}

/* Kontener centralny */
.dark-container {
    text-align: center;
    margin-top: 120px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Wersja tekstowa wyśrodkowana szerokościowo */
.text-left {
    text-align: left;
    max-width: 650px;
    margin: 120px auto;
    line-height: 1.8;
}

/* Subtelny opis */
.subtext {
    color: #cfcfcf;
    margin-top: 15px;
}

/* Przycisk klimatyczny */
.primary-btn {
    padding: 12px 28px;
    background-color: #c9b79c;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .primary-btn:hover {
        background-color: #e5d4b7;
        transform: translateY(-2px);
    }

/* Box po poprawnej odpowiedzi */
.success-box {
    margin-top: 20px;
    padding: 20px;
    background-color: #1a1a1a;
    border-left: 3px solid #c9b79c;
}

/* Pasek postępu */
.progress-wrapper {
    margin: 25px 0;
}

.progress-bar {
    width: 320px;
    height: 8px;
    background-color: #333;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 8px;
    background-color: #c9b79c;
    width: 0%;
    transition: width 0.8s ease;
}

/* Inputy */
input[type="text"] {
    padding: 10px;
    width: 250px;
    border: none;
    background-color: #222;
    color: white;
    text-align: center;
}

    input[type="text"]:focus {
        outline: none;
        border-bottom: 2px solid #c9b79c;
    }

/* Animacja fade */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HINT CARDS */

.hint-container {
    margin-top: 40px;
}

.hint-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .hint-card:hover {
        border-color: #c9b79c;
    }

    .hint-card.locked {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .hint-card.opened {
        border-color: #c9b79c;
    }

.hint-header {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.hint-body {
    margin-top: 10px;
    color: #cfcfcf;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hint-card.opened .hint-body {
    opacity: 1;
}

.countdown {
    color: #c9b79c;
}

.info-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #1a1a1a;
    border-left: 3px solid #c9b79c;
    color: #cfcfcf;
    animation: fadeIn 0.8s ease;
}