html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}
#unity-container {
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    font-family: 'Arial', sans-serif;
}
#unity-loading-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    width: 90%;
    color: #ffffff;
    text-align: center;
}
#unity-logo {
    text-align: center;
    margin-bottom: 30px;
}
#unity-logo img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

/* Product Information Styles */
#product-info {
    text-align: center;
    margin-bottom: 50px;
}

#product-name {
    font-size: 32px;
    font-weight: bold;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

#company-info {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 5px;
}

#version-info {
    font-size: 14px;
    color: #888888;
    margin-bottom: 20px;
}

/* Progress Section Styles */
#loading-progress-section {
    width: 100%;
    margin-bottom: 40px;
}

.progress-item {
    margin-bottom: 25px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-label {
    color: #FFFFFF;
    font-weight: 500;
}

.progress-value {
    color: #00FFFF;
    font-weight: bold;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    position: relative;
}

.progress-bar-bg {
    width: 100%;
    height: 100%;
    background-color: #333333;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00FFFF, #0080FF);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Status Section Styles */
#loading-status-section {
    text-align: center;
    width: 100%;
}

#current-status {
    font-size: 18px;
    color: #00FFFF;
    font-weight: 500;
    margin-bottom: 15px;
}

#loading-details-bottom {
    font-size: 14px;
}

#current-task {
    color: #CCCCCC;
    margin-bottom: 10px;
    display: block;
}

.loading-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #888888;
    font-size: 12px;
}

.separator {
    color: #555555;
}

#download-speed {
    color: #00FFFF;
    font-weight: bold;
}

#time-remaining {
    color: #CCCCCC;
}

#overall-progress {
    color: #888888;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

/* Hide the old spinner since we're using modern progress bars */
.spinner {
  display: none;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  #unity-loading-bar {
    width: 95%;
    padding: 0 10px;
  }
  
  #product-name {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  #company-info {
    font-size: 14px;
  }
  
  #version-info {
    font-size: 12px;
  }
  
  .progress-header {
    font-size: 12px;
  }
  
  #current-status {
    font-size: 16px;
  }
  
  #current-task {
    font-size: 12px;
  }
  
  .loading-stats {
    font-size: 11px;
    gap: 8px;
  }
  
  #unity-logo img {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  #product-name {
    font-size: 20px;
  }
  
  .progress-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .loading-stats {
    flex-direction: column;
    gap: 5px;
  }
  
  .separator {
    display: none;
  }
}


