body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

#globe-container {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    /* Hide desktop version on mobile */
    #desktop-version {
        display: none;
    }
}

@media (min-width: 769px) {
    /* Hide mobile version on desktop */
    #mobile-version {
        display: none;
    }
}

#way-logo {
    width: 150px;
    z-index: 1000;
}

#mobile-way-logo-container {
    position: fixed;
    top: 6px;
    left: 12px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

#mobile-way-logo {
    width: 100px;
    z-index: 1000;
}

#mobile-event-log {
    position: fixed;
    bottom: 10px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    color: #ffffff;
    border-radius: 10px;
    font-family: Arial, sans-serif;
  }
  
  #mobile-event-log h2 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
  }

  @keyframes slideInFade {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  #mobile-event-list {
    display: flex;
    overflow-x: scroll;
  }

  .mobile-event-item {
    min-width: 300px;
    margin-right: 10px;
    margin-left: 10px;
    animation: slideInFade 0.5s ease-out forwards;
    transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s;
    opacity: 1;
    transform: translateX(0);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-event-item .amount {
    font-weight: bold;
    color: #4CAF50;
  }
  
  .mobile-event-item .location {
    font-style: italic;
    color: #90CAF9;
  }

  .mobile-event-item .brandName {
    color: #ffffff;
  }
  .mobile-event-item .timestamp {
    color: #ffffff50;
    font-style: italic;
  }

#event-log {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: rgba(10, 37, 64, 0.8);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
  }
  
  #event-log h2 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
  }

  @keyframes slideInFade {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .event-item {
    animation: slideInFade 0.5s ease-out forwards;
    transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s;
    opacity: 1;
    transform: translateX(0);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-item:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

#live-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    z-index: 1000;
}

.live-text {
    color: #ff0000;
    font-size: 18px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin-right: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}
  
  .event-item .amount {
    font-weight: bold;
    color: #4CAF50;
  }
  
  .event-item .location {
    font-style: italic;
    color: #90CAF9;
  }

  .event-item .brandName {
    color: #ffffff;
  }
  .event-item .timestamp {
    color: #ffffff50;
    font-style: italic;
  }

  #revenue-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(10, 37, 64, 0.8);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    z-index: 1000;
    width: 300px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

#revenue-counter h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-style: italic;
    color: #90CAF9;
}

#total-revenue {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    font-style: italic;
    color: #90CAF9;
}

#trending-hotels {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(10, 37, 64, 0.8);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    z-index: 1000;
    max-width: 300px;
}

#trending-hotels h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-style: italic;
    color: #90CAF9;
}

#hotel-list {
    margin: 0;
    padding-left: 20px;
    font-style: italic;
    color: #90CAF9;
}

#hotel-list li {
    margin-bottom: 5px;
    font-style: italic;
    color: #90CAF9;
    transition: opacity 0.5s, transform 0.5s;
}