.noto-color-emoji-regular {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-mono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0; 
  background-color: #121212;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.main-container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  transform: scale(0);
  opacity: 0;
  transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
}

.btns-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.btn {
  text-align: center;
  cursor: pointer;
  background: #00070e;
  color: white;
  padding: 2rem 1rem;
  border-radius: 1rem;
  transition: background-color 0.2s, transform 0.1s;
  font-size: 16px;
  border: none;
}

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

.bot-list {
  list-style: none;
  padding: 0;
  margin-top: 1px;
  margin-bottom: 1px;
  display: block;
}

.bot-item {
  background: #333;
  margin: 10px 0;
  border-radius: 8px; 
  overflow: hidden;
  transition: all 0.3s ease;
}

.bot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px; 
  background-color: #424242;
}

.bot-header:hover {
  background-color: #5d5d5d;
}

.bot-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover; 
}

.bot-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden; 
}

.bot-info a {
  text-decoration: none;
  color: #1e90ff;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement {
  background-color: #d5d5d5;
  color: #121212;
  padding: 15px;
  border-radius: 8px; 
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
}

.toggle-description {
  background-color: #1e90ff;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; 
  height: 36px; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  margin-left: 10px; 
  -webkit-tap-highlight-color: transparent; 
}

.toggle-description:hover {
  background-color: #0c7cd5;
}

.toggle-description:active {
  transform: scale(0.95);
}

.bot-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background-color: #2a2a2a;
  font-size: 0.9em; 
  border-top: 1px solid #444;
  padding: 0 10px;
  line-height: 1.4; 
}

.bot-description.open {
  padding: 12px;
  max-height: 300px; 
  overflow-y: auto; 
}


.country-header {
  background-color: #313131;
  padding: 12px; 
  border-radius: 8px; 
  margin: 15px 0 10px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.country-header:hover {
  background-color: #4b4b4b;
}

.country-header:active {
  background-color: #404040;
}

.mdl-button--fab.mdl-button--mini-fab.toggle-description {
  width: 36px; 
  height: 36px; 
  min-width: 36px; 
  margin-left: 10px; 
  flex-shrink: 0; 
}


.toggle-description .material-icons {
  font-size: 18px; 
  line-height: 1;
}

.country-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden; 
}

.country-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-flag {
  display: inline-block;
  font-family: "Noto Color Emoji", sans-serif;
  font-size: 1.5em;
  line-height: 1;
  margin-right: 5px;
  vertical-align: middle;
  transform: scale(1);
  transition: transform 0.2s ease;
  flex-shrink: 0; 
}

.country-bots-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.country-bots-list.open {
  max-height: 2000px;
}

.channels-section {
  margin-top: 20px;
}

.channel-item {
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #333;
  transition: background-color 0.2s;
}

.channel-item:hover {
  background-color: #3a3a3a;
}

.channel-link {
  display: flex;
  align-items: center;
  padding: 12px; 
  text-decoration: none;
  color: inherit;
}

.channel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0; 
}

.default-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #2481cc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0; 
}

.channel-info {
  flex: 1;
  overflow: hidden;
}

.channel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-description {
  margin: 4px 0 0;
  font-size: 14px;
  color: #aaa; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#globeViz {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.flash {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, white 0%, rgba(255,255,255,0) 70%);
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  z-index: 1;
}

@media (max-width: 768px) {
  .container {
    padding: 3rem;
    margin: 2rem;
  }
  
  .btn {
    font-size: 16px;
    padding: 1.5rem 1rem;
  }
  
  .bot-header {
    padding: 10px;
  }
  
  .toggle-description {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 3rem;
    margin: 2rem;
  }
  
  .btn {
    font-size: 16px;
    padding: 1.5rem 0.8rem;
    margin: 10px 0 8px;
  }
  
  .bot-header img,
  .channel-avatar,
  .default-avatar {
    width: 36px;
    height: 36px;
  }
  
  .bot-header {
    padding: 8px;
  }
  
  .announcement {
    padding: 10px;
    font-size: 16px;
  }
  
  .country-header {
    padding: 10px;
  }
  
  .toggle-description {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 1.1em;
  }
  .mdl-button--fab.mdl-button--mini-fab.toggle-description {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  
  .toggle-description .material-icons {
    font-size: 16px;
  }
}