body {
  background: linear-gradient(to bottom, #3c4147 0%, #1b1b1b 150px);
  background-color: #1b1b1b;
  color: #212529;
  line-height: 1.5;
  margin: 0;
  padding: 0 1rem;
  min-height: 100vh;
}

.profile {
  background-color: #fff;
  max-width: 900px;
  margin: 3rem auto 5rem auto;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  box-sizing: border-box;
}

.profile-photo {
  width: 256px;
  height: 256px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.profile-details h1 {
  margin: 0 0 0.25rem 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #121212;
}

.handle {
  margin: 0 0 0.75rem 0;
  color: #495057;
  font-size: 1.1rem;
  user-select: text;
}

.description {
  margin: 0;
  color: #444;
  font-size: 1.05rem;
  max-width: 90%;
}

.profile-video-link {
  display: block;
  margin: 1.5rem 0;
  transition: opacity 0.3s ease;
}

.profile-video-link:hover,
.profile-video-link:focus {
  opacity: 0.85;
}

.profile-video-thumbnail {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 110px;
  flex-shrink: 0;
}

.social-links li {
  display: flex;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #121212;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: #0073e6;
}

.social-icon {
  width: 26px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 50vh;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
  }

  .profile-photo {
    margin-bottom: 1rem;
  }

  .profile-details {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .handle {
    font-size: 1.3rem;
  }

  .description {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .profile-video-thumbnail {
    border-radius: 6px;
  }

  .social-links a {
    font-size: 1.2rem;
  }

  .social-links ul {
    flex-direction: column;
    justify-content: center;
    min-width: auto;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
  }

  .social-links li {
    justify-content: flex-start;
  }
}

.flashlight-app,
.android-games {
  background-color: #fff;
  max-width: 400px;
  margin: 0 auto 5rem auto;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.section-label {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.section-label img {
  width: auto;
  height: 18px;
  opacity: 0.6;
}

.app-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #121212;
  margin: 0 0 1rem 0;
}

.app-domain-link {
  margin: 0 0 1.5rem 0;
  font-size: 1.05rem;
}

.app-domain-link a {
  color: #0073e6;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.app-domain-link a:hover,
.app-domain-link a:focus {
  color: #005bb5;
}

.app-video-link {
  display: block;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease;
}

.app-video-link:hover,
.app-video-link:focus {
  opacity: 0.85;
}

.app-video-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.app-icon-link {
  display: block;
  margin-bottom: 1rem;
  transition: opacity 0.3s ease;
}

.app-icon-link:hover,
.app-icon-link:focus {
  opacity: 0.85;
}

.app-icon {
  max-width: 150px;
  width: 100%;
  height: auto;
}

.app-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.app-store-buttons a {
  transition: opacity 0.3s ease;
}

.app-store-buttons a:hover,
.app-store-buttons a:focus {
  opacity: 0.85;
}

.app-store-badge {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.app-qr-code img {
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .flashlight-app,
  .android-games {
    margin: 0 auto 3rem auto;
    padding: 1.25rem;
  }

  .app-title {
    font-size: 1.3rem;
  }

  .app-icon {
    max-width: 120px;
  }
}