/* Home Screen Styles */
.home-screen {
    background: linear-gradient(to bottom, #030509, #030a13);
    border: 1px solid #000000; /* Black-300 */
    border-radius: 2.5rem;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align content to the top */
    align-items: center;
    padding-top: 3rem; /* Add padding to avoid overlap with status bar */
    padding-bottom: 2rem;
    position: relative;
    text-decoration: none !important; /* Force remove underline */
  }
  
  /* Widget Styles */
  .widget {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari specific prefix */
    border-radius: 1.5rem; 
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    width: 95%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Soft iOS-like shadow */
}

.widget img {
    width: 5rem;
    height: 5rem;
    border-radius: 0 0 50% 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.widget h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.widget p {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Home widget container */
.home-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
}



  
/* Apps Grid - Stick to Bottom */

/* Rounded Dock Background */
/* iOS-style App Dock */
/* iOS-style App Dock (Adjusted for Better Fit) */
.app-dock {
  width: 95%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 1.2rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

/* Apps Grid Inside Dock */
.apps-grid {
  display: flex;
  gap: 0.6rem;
}

/* Individual App Icons (Smaller to Fit Better) */
.app-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}


/* Adjusted iOS-style Gradient Backgrounds */
.app:nth-child(1) .app-icon { background: linear-gradient(to bottom, #5AC8FA, #007AFF); } /* Blue */
.app:nth-child(2) .app-icon { background: linear-gradient(to bottom, #30D158, #34C759); } /* Green */
.app:nth-child(3) .app-icon { background: linear-gradient(to bottom, #FF9500, #FFCC00); } /* Orange */
.app:nth-child(4) .app-icon { background: linear-gradient(to bottom, #FF3B30, #FF453A); } /* Red */

/* App Icon Hover Effect */
.app-icon:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Icon Styling */
.app-icon i {
  font-size: 1.3rem; /* Adjusted to fit inside smaller icons */
  color: white;
}

.app span {
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  text-align: center;
  display: block; /* Ensures it takes full width under the icon */
  margin-top: 0.3rem;
}

a {
  text-decoration: none !important;
}

/************************
Home screen name effects
************************/

:root {  
   --purple: #D39D55; /* #DEAA79; */
  --violet: #F6F0F0;
  --pink: #EFDCAB;
}

@keyframes background-pan {
  from {
    background-position: 0% center;
  }
  
  to {
    background-position: -200% center;
  }
}

@keyframes scale {
  from, to {
    transform: scale(0);
  }
  
  50% {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  
  to {
    transform: rotate(180deg);
  }
}

/* body {
  background-color: rgb(10, 10, 10);
  display: grid;
  height: 100vh;
  margin: 0px;
  overflow: hidden;
  place-items: center;
} */

h1 {
  color: white;
  font-family: "Rubik", sans-serif;
  font-size: clamp(2em, 2vw, 4em);
  font-weight: 400;
  margin: 0px;
  /* padding: 20px; */
  text-align: center;
}

h1 > .magic {
  display: inline-block;
  position: relative;
}

h1 > .magic > .magic-star {
  --size: clamp(20px, 1.5vw, 30px);
  
  animation: scale 700ms ease forwards;
  display: block;
  height: var(--size);
  left: var(--star-left);
  position: absolute;
  top: var(--star-top);
  width: var(--size);
}

h1 > .magic > .magic-star > svg {
  animation: rotate 1000ms linear infinite;
  display: block;
  opacity: 0.7;
}

h1 > .magic > .magic-star > svg > path {
  fill: var(--violet);
}

h1 > .magic > .magic-text {
  animation: background-pan 3s linear infinite;
  background: linear-gradient(
    to right,
    var(--purple),
    var(--violet),
    var(--pink),
    var(--purple)
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}