/* ==========================================================================
   TYRELINK - COMING SOON PAGE (v3.0)
   Pixel-Perfect Mobile-First & Desktop Frosted Glassmorphism
   ========================================================================== */

:root {
  --color-red: #d91b1b;
  --color-red-glow: rgba(217, 27, 27, 0.45);
  --color-black: #111111;
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at 80% 40%, #ffffff 0%, #f4f6fa 45%, #e6eaf0 100%);
  color: var(--color-black);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 1.25rem 1rem;
}

/* --------------------------------------------------------------------------
   Ambient Floating Glowing Light Orbs
   -------------------------------------------------------------------------- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.orb-red {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(217, 27, 27, 0.16) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation: float-glow 10s ease-in-out infinite alternate;
}

.orb-light {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  bottom: 5%;
  right: 15%;
  animation: float-glow 8s ease-in-out infinite alternate-reverse;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, -20px) scale(1.08); }
}

/* --------------------------------------------------------------------------
   Background Brand Curves & Tyre Tracks (Contained and Safe for Mobile)
   -------------------------------------------------------------------------- */
.bg-layer {
  position: absolute;
  pointer-events: none;
}

.ribbon-red {
  right: -5%;
  bottom: -10%;
  width: 90vw;
  max-width: 950px;
  height: 55vh;
  border-top: 14px solid var(--color-red);
  border-radius: 50% 60% 0 0 / 100% 100% 0 0;
  transform: rotate(-18deg);
  opacity: 0.95;
  filter: drop-shadow(0 8px 18px rgba(217, 27, 27, 0.28));
  z-index: 2;
  animation: ribbon-breathe 7s ease-in-out infinite alternate;
}

@keyframes ribbon-breathe {
  0% { transform: rotate(-18deg) translateY(0); }
  100% { transform: rotate(-17.5deg) translateY(-8px); }
}

.ribbon-grey {
  right: -10%;
  bottom: -15%;
  width: 95vw;
  max-width: 1050px;
  height: 65vh;
  border-top: 28px solid rgba(220, 226, 235, 0.75);
  border-radius: 50% 55% 0 0 / 100% 100% 0 0;
  transform: rotate(-22deg);
  z-index: 1;
}

.tread-track-1 {
  top: -100px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 14px,
    rgba(160, 170, 185, 0.12) 14px,
    rgba(160, 170, 185, 0.12) 24px,
    transparent 24px,
    transparent 38px
  );
  transform: rotate(-15deg);
  z-index: 1;
  mask-image: radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.85) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.85) 0%, transparent 70%);
}

.tread-track-2 {
  bottom: 0;
  right: 0;
  width: 420px;
  height: 420px;
  background: repeating-linear-gradient(
    40deg,
    transparent,
    transparent 12px,
    rgba(160, 170, 185, 0.08) 12px,
    rgba(160, 170, 185, 0.08) 22px
  );
  z-index: 1;
  mask-image: radial-gradient(ellipse at 90% 90%, rgba(0,0,0,0.7) 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 90% 90%, rgba(0,0,0,0.7) 0%, transparent 65%);
}

/* --------------------------------------------------------------------------
   Frosted Glassmorphism Card (Mobile & Desktop Responsive)
   -------------------------------------------------------------------------- */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 620px;
  margin: auto;
  animation: card-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes card-appear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 3.2rem 2.8rem;
  box-shadow: 
    0 25px 60px -15px rgba(20, 30, 50, 0.14),
    0 8px 20px -5px rgba(0, 0, 0, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 32px 70px -15px rgba(20, 30, 50, 0.18),
    0 10px 25px -5px rgba(217, 27, 27, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Glass edge diagonal shimmer */
.glass-reflection {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: glass-shimmer 8s infinite ease-in-out;
}

@keyframes glass-shimmer {
  0%, 75% { left: -100%; }
  100% { left: 220%; }
}

/* --------------------------------------------------------------------------
   Logo Presentation (Strict Mobile Boundaries)
   -------------------------------------------------------------------------- */
.logo-box {
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
  animation: logo-float 4.5s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   Coming Soon Banner
   -------------------------------------------------------------------------- */
.coming-soon-wrapper {
  background: linear-gradient(145deg, #18191d 0%, #0d0e10 100%);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  width: 100%;
  color: #ffffff;
  box-shadow: 
    0 14px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.coming-soon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d91b1b 0%, #ff4d4d 50%, #d91b1b 100%);
  background-size: 200% auto;
  animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fca5a5;
  background: rgba(217, 27, 27, 0.22);
  border: 1px solid rgba(217, 27, 27, 0.5);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
  border-radius: 50%;
  animation: pulse-red 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(217, 27, 27, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(217, 27, 27, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(217, 27, 27, 0); }
}

.coming-soon-title {
  font-family: var(--font-main);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Minimal Brand Footer
   -------------------------------------------------------------------------- */
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.company-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: 0.08em;
}

.footer-divider {
  color: var(--color-red);
  font-size: 1rem;
}

.domain-link {
  font-size: 0.9rem;
  color: var(--color-red);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.domain-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE & TABLET SPECIFIC MEDIA QUERIES (Pixel-Perfect Handcrafted)
   ========================================================================== */

/* Tablets (portrait & smaller) */
@media (max-width: 768px) {
  body {
    padding: 1.5rem 1rem;
  }

  .glass-card {
    padding: 2.6rem 2rem;
    border-radius: 24px;
  }

  .logo-box {
    max-width: 380px;
    margin-bottom: 1.8rem;
  }

  .coming-soon-title {
    font-size: 2.2rem;
  }
}

/* Mobile Phones (Smartphones: iPhone, Samsung, Pixel, Xiaomi, etc.) */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.85rem;
    align-items: center;
  }

  .page-container {
    max-width: 100%;
  }

  .glass-card {
    padding: 2.2rem 1.25rem;
    border-radius: 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.82);
  }

  .logo-box {
    max-width: 100%;
    margin-bottom: 1.6rem;
    padding: 0 0.5rem;
  }

  .brand-logo-img {
    max-height: 80px;
  }

  .coming-soon-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    margin-bottom: 1.6rem;
  }

  .coming-soon-badge {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.8rem;
    margin-bottom: 0.65rem;
  }

  .coming-soon-title {
    font-size: 1.85rem;
    letter-spacing: 0.05em;
  }

  .brand-footer {
    flex-direction: column;
    gap: 0.2rem;
  }

  .footer-divider {
    display: none;
  }

  .company-name {
    font-size: 0.82rem;
  }

  .domain-link {
    font-size: 0.82rem;
  }

  .ribbon-red {
    height: 40vh;
    border-top-width: 10px;
  }

  .ribbon-grey {
    height: 50vh;
    border-top-width: 18px;
  }
}

/* Very Small Mobile Phones (iPhone SE, etc. < 360px) */
@media (max-width: 360px) {
  .glass-card {
    padding: 1.8rem 0.9rem;
  }

  .brand-logo-img {
    max-height: 68px;
  }

  .coming-soon-title {
    font-size: 1.6rem;
  }
}
