:root {
  --color-bg: #0f172a;
  --color-card-bg: rgba(30, 41, 59, 0.7);
  --color-card-border: rgba(255, 255, 255, 0.1);
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-accent: #38bdf8;
  --color-accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --font-family: 'Inter', sans-serif;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.2);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.15), transparent 25%);
  filter: blur(40px);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Header */
.profile-header {
  text-align: center;
  animation: fadeInDown 0.8s ease;
}

.avatar {
  width: 80px;
  height: 80px;
  background: var(--color-accent-gradient);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-glow);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Clock Card */
.clock-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.clock-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

#clock {
  font-size: 3.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.date {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  text-transform: capitalize;
}

/* Apps Section */
.apps-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
  padding-left: 0.5rem;
  border-left: 4px solid var(--color-accent);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.app-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.app-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(56, 189, 248, 0.1);
}

.app-info h4 {
  color: var(--color-text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.app-info p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.arrow-icon {
  margin-left: auto;
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.app-card:hover .arrow-icon {
  transform: translateX(5px);
  color: var(--color-accent);
}

.coming-soon {
  opacity: 0.6;
  cursor: default;
}

.coming-soon:hover {
  transform: none;
  border-color: var(--color-card-border);
  box-shadow: none;
}

/* Footer */
footer {
  text-align: center;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-card-border);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  animation: fadeIn 1s ease 0.6s backwards;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--color-accent);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  #clock {
    font-size: 2.5rem;
  }
}