.hero {
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: #07111f;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.overlay {
    
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;

}

.leaderboard-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 24px;
    color: #e6f1ff;
}

.leaderboard-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leaderboard-board {
    background: rgba(10, 18, 30, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.08);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 90px 1fr 140px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    font-weight: 700;
    font-size: 1.1rem;
}

.leaderboard-player {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.leaderboard-score {
    text-align: right;
    font-weight: 700;
    font-size: 1rem;
}

.rank-1 {
    background: linear-gradient(90deg, rgba(0,255,255,0.18), rgba(255,255,255,0.03));
}

.rank-2 {
    background: linear-gradient(90deg, rgba(0,180,255,0.14), rgba(255,255,255,0.03));
}

.rank-3 {
    background: linear-gradient(90deg, rgba(0,120,255,0.10), rgba(255,255,255,0.03));
}

.leaderboard-empty {
    padding: 24px;
    text-align: center;
    color: #9fb3c8;
}

body {
    background: #07111f;
    color: #e6f1ff;
    font-family: Arial, sans-serif;
}

.start-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #00ffff;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.start-btn.red-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #a30707;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;}

.start-btn.blue-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #00ffff;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.start-btn-red {
    display: inline-block;
    padding: 12px 20px;
    background: #a30707;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}
.start-form {
    text-align: center;
    margin-top: 60px;
}

/* Input */
.cyber-input {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: #00ffff;
    padding: 12px 16px;
    width: 280px;
    font-size: 1rem;
    border-radius: 6px;
    outline: none;
    text-align: center;
    transition: all 0.3s ease;
}

/* Placeholder */
.cyber-input::placeholder {
    color: rgba(0, 255, 255, 0.4);
}

/* Focus effect */
.cyber-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Button */
.cyber-btn {
    margin-top: 20px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effect */
.cyber-btn:hover {
    background: #00ffff;
    color: #07111f;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.terminal-text {
    color: #00ffff;
    font-family: monospace;
    margin-bottom: 10px;
}

.title-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    text-align: center;
}

/* Logo */
.game-logo {
    width: 400px;
    max-width: 90%;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.4));
}

/* Subtitle */
.subtitle {
    color: #9fb3c8;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Input */
.cyber-input {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: #00ffff;
    padding: 12px 16px;
    width: 280px;
    font-size: 1rem;
    border-radius: 6px;
    outline: none;
    text-align: center;
    transition: 0.3s;
}

.cyber-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Button */
.cyber-btn {
    margin-top: 20px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.cyber-btn:hover {
    background: #00ffff;
    color: #07111f;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.game-logo {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
    }
}

.game-logo {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
    }
}
#typing-text {
  font-family: "Courier New", monospace;
  font-size: 18px;
  color: #00ffff;
  background: #0a0a0a;
  padding: 20px;
  border-radius: 8px;
  white-space: pre-wrap; /* IMPORTANT for line breaks */
  line-height: 1.5;
  border-right: 2px solid #00ffff;
  display: inline-block;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}
#typing-text {
  white-space: pre-wrap;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* 🚨 disables scrolling */
}

.title-screen {
    height: 100vh; /* full screen */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.image{
     max-width: 150px;
    width: 50px;
    height: 50px;
}
.answer-btn {
    width: 100%;
    max-width: 700px;
    padding: 16px 22px;
    margin: 10px auto;
    display: block;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #ffffff;
    background: rgba(20, 20, 30, 0.85);

    border: 2px solid #888;
    border-radius: 14px;

    cursor: pointer;
    transition: all 0.25s ease;

    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.answer-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.answer-btn:active {
    transform: scale(0.98);
}

/* Blue Team theme */
.blueteam .answer-btn {
    border-color: #00ffff;
    box-shadow: 0 0 14px rgba(0, 183, 255, 0.35);
}

.blueteam .answer-btn:hover {
    background: rgba(0, 80, 140, 0.9);
    box-shadow: 0 0 25px #00ffff;
}

/* Red Team theme */
.redteam .answer-btn {
    border-color: #ff3b3b;
    box-shadow: 0 0 14px rgba(255, 59, 59, 0.35);
}

.redteam .answer-btn:hover {
    background: rgba(130, 0, 0, 0.9);
    box-shadow: 0 0 25px rgba(255, 59, 59, 0.7);
}

.blue .start-btn {
    background: #00b7ff;
    box-shadow: 0 0 12px #00b7ff;
}

.red .start-btn {
    background: #ff3b3b;
    box-shadow: 0 0 12px rgba(255, 59, 59, 0.5);
}

.help-btn {
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 2px solid #f5c542;
    background: #111;
    color: #f5c542;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.help-btn:hover {
    background: #f5c542;
    color: #111;
    align-items: center;
}
.wall-table {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    border-collapse: collapse;
    background: rgba(10, 10, 20, 0.85);
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

.wall-table th,
.wall-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.wall-table th {
    background: rgba(255,255,255,0.12);
    font-weight: bold;
}

.wall-table tr:hover {
    background: rgba(255,255,255,0.08);
}

#typing-text {
    font-size: 30px;
    line-height: 1.9;
    color: rgb(158, 215, 238);
    max-width: 1000px;
    margin: auto;
    white-space: pre-line;
}

.incident-update.red {
    border: 5px solid #ff4d4d !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 20px;
    border-color:#ff4d4d ;
    
}

.incident-update.blue {
    border: 5px solid #00bfff !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 20px;
    border-color:#00bfff ;
}

body {
    overflow-y: auto !important;
}

.questionnaire-container {
    min-height: 100vh;
    height: auto;
    overflow-y: visible;
    padding-bottom: 80px;
}

.questionnaire-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

.questionnaire-card {
    margin-bottom: 25px;
}

.question-box {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;
    border-left: 6px solid #f5c542;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    text-align: center;
}

.question-box h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #f5c542;
}

.question-box p {
    font-size: 1.5rem;
    line-height: 1.5;
}

.answer-card {
    width: 80%;
    max-width: 800px;
    padding: 15px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.answer-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.answer-card input[type="radio"] {
    margin-right: 12px;
}

.answer-card:has(input:checked) {
    border: 2px solid #f5c542;
    background: rgba(245,197,66,0.15);
}