@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0e0e10;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
}

/* Top Bar */
.top-bar {
  background-color: #151515;
  border-bottom: 1px solid #222;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Updated Brand Area with Flex for Alignment */
.top-bar .brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex; /* Logo aur text align karne ke liye */
  align-items: center;
  gap: 6px; /* Space between logo and text */
}

/* New CSS for the BGMI Logo */
.brand-logo {
  height: 25px; /* Target height, slightly larger than 16px font to match mass */
  width: auto;
  object-fit: contain;
}

/* Power Button (Previous fix) */
.power-btn {
  color: #ff3b3b;
  border: 1.5px solid #ff3b3b;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.2);
  transition: all 0.2s ease;
}
.power-btn svg {
  display: block;
}
.power-btn:active {
  transform: scale(0.9);
}

/* Container & Titles */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}
.main-title {
  color: #ffcc00;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Decorative Line */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 30px;
  width: 250px;
}
.separator::before, .separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #333;
}
.separator span {
  color: #ffcc00;
  margin: 0 15px;
  font-size: 14px;
}

/* Timer */
.timer-container {
  margin-bottom: 35px;
  font-size: 20px;
  font-weight: 500;
  color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.timer-container .time-value {
  color: #00e676;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1px;
}
.timer-icon {
  color: #00e676;
  font-size: 22px;
}

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .grid { grid-template-columns: 1fr; }
}

/* Individual Card */
.card {
  background-color: #161618;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 25px 30px;
  text-align: left;
}
.card-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}
.player-row {
  display: grid;
  grid-template-columns: 25px 75px 15px 1fr;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
}
.player-row:last-child {
  margin-bottom: 0;
}
.player-row .role {
  color: #ffcc00;
  font-weight: 700;
}
.player-row .colon {
  color: #fff;
  text-align: center;
}
.player-row .name {
  color: #fff;
  font-weight: 700;
}

/* Copy Button */
.copy-btn {
  background: linear-gradient(180deg, #ffca28 0%, #ff9800 100%);
  color: #fff;
  border: none;
  padding: 14px 35px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  transition: transform 0.2s;
}
.copy-btn:hover {
  transform: scale(1.05);
}
