/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

/* Loader container */
.loader-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Corner accents */
.corner-accent {
  position: absolute;
  background-color: #3b82f6;
}

.corner-top-left {
  top: 100px;
  left: 100px;
  width: 200px;
  height: 2px;
}

.corner-top-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 200px;
  background-color: #3b82f6;
}

.corner-bottom-right {
  bottom: 100px;
  right: 100px;
  width: 200px;
  height: 2px;
}

.corner-bottom-right::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 200px;
  background-color: #3b82f6;
}

/* Center content */
.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Logo Icon */
.logo-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Logo container */
.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-time,
.logo-set {
  font-size: 108px;
  font-weight: 700;
  letter-spacing: 12px;
  line-height: 1;
  margin: 0;
}

.logo-time {
  color: #0f172a;
  margin-bottom: -20px;
}

.logo-set {
  color: #3b82f6;
}

/* Tagline */
.tagline {
  color: #64748b;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Loading dots */
.loading-dots {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
  animation: dotPulse 1.5s ease-in-out infinite;
}

.dot-1 {
  animation-delay: 0s;
}

.dot-2 {
  animation-delay: 0.3s;
}

.dot-3 {
  animation-delay: 0.6s;
}

@keyframes dotPulse {
  0%, 100% {
    background-color: #cbd5e1;
    transform: scale(1);
  }
  50% {
    background-color: #3b82f6;
    transform: scale(1.2);
  }
}

/* Mobile responsive (375px - typical mobile) */
@media screen and (max-width: 768px) {
  /* Adjust corner accents for mobile */
  .corner-top-left {
    top: 40px;
    left: 40px;
    width: 80px;
  }
  
  .corner-top-left::before {
    height: 80px;
  }
  
  .corner-bottom-right {
    bottom: 40px;
    right: 40px;
    width: 80px;
  }
  
  .corner-bottom-right::before {
    height: 80px;
  }

  /* Adjust logo icon for mobile */
  .logo-icon {
    width: 80px;
    height: 80px;
  }

  /* Adjust logo sizes for mobile */
  .logo-time,
  .logo-set {
    font-size: 56px;
    letter-spacing: 6px;
  }

  .logo-time {
    margin-bottom: -10px;
  }

  /* Adjust tagline for mobile */
  .tagline {
    font-size: 14px;
    padding: 0 20px;
  }

  /* Adjust loading dots */
  .loading-dots {
    gap: 20px;
  }

  .dot {
    width: 5px;
    height: 5px;
  }

  /* Adjust content gap */
  .loader-content {
    gap: 24px;
  }
}

/* Tablet responsive (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .corner-top-left {
    top: 60px;
    left: 60px;
    width: 120px;
  }
  
  .corner-top-left::before {
    height: 120px;
  }
  
  .corner-bottom-right {
    bottom: 60px;
    right: 60px;
    width: 120px;
  }
  
  .corner-bottom-right::before {
    height: 120px;
  }

  .logo-icon {
    width: 100px;
    height: 100px;
  }

  .logo-time,
  .logo-set {
    font-size: 80px;
    letter-spacing: 8px;
  }

  .logo-time {
    margin-bottom: -15px;
  }

  .tagline {
    font-size: 18px;
  }
}

/* Small mobile (320px - 375px) */
@media screen and (max-width: 375px) {
  .corner-top-left {
    top: 24px;
    left: 24px;
    width: 60px;
  }
  
  .corner-top-left::before {
    height: 60px;
  }
  
  .corner-bottom-right {
    bottom: 24px;
    right: 24px;
    width: 60px;
  }
  
  .corner-bottom-right::before {
    height: 60px;
  }

  .logo-icon {
    width: 64px;
    height: 64px;
  }

  .logo-time,
  .logo-set {
    font-size: 48px;
    letter-spacing: 4px;
  }

  .tagline {
    font-size: 12px;
  }

  .loading-dots {
    gap: 16px;
  }

  .dot {
    width: 4px;
    height: 4px;
  }

  .loader-content {
    gap: 20px;
  }
}

/* Large desktop (1920px+) - match original design */
@media screen and (min-width: 1920px) {
  .corner-top-left {
    top: 100px;
    left: 100px;
    width: 200px;
  }
  
  .corner-top-left::before {
    height: 200px;
  }
  
  .corner-bottom-right {
    bottom: 100px;
    right: 100px;
    width: 200px;
  }
  
  .corner-bottom-right::before {
    height: 200px;
  }

  .logo-time,
  .logo-set {
    font-size: 108px;
    letter-spacing: 12px;
  }

  .tagline {
    font-size: 20px;
  }
}