@font-face {
  font-family: 'Arial-Bold';
  src: url('../fonts/Arial-Bold.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arial';
  src: url('../fonts/Arial.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

.sidebar,
.sidebar * {
  font-family: 'Arial-Bold', 'Arial', sans-serif;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: #101010;
  padding: 6px 14px;
  transition: all 0.5s ease;
  z-index: 1000;
}

.sidebar.open,
.sidebar.open * {
  font-family: 'Arial-Bold', 'Arial', sans-serif;
}

.sidebar.open {
  width: 250px;
}

.sidebar .logo-details {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sidebar .logo-details .logo_name {
  color: white;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
  user-select: none;
  margin-left: auto;
  margin-right: 20px;
}

.sidebar.open .logo-details,
.sidebar.open .logo-details .logo_name {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.sidebar .logo-details #btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
  margin-right: 2px;
}

.sidebar.open .logo-details #btn {
  text-align: center;
}

.sidebar i {
  color: white;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}

.sidebar li {
  position: relative;
  list-style: none;
}

.sidebar li i {
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}

.sidebar li a {
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: transparent;
}

.sidebar li a .links_name {
  color: white;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  transition: 0.4s;
}

.sidebar li a:hover .links_name,
.sidebar li a:hover i {
  transition: all 0.5s ease;
  color: #ffe200;
}

.sidebar.open li a .links_name {
  opacity: 1;
}

.sidebar li .tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 15px);
  background: #101010;
  box-shadow: 0 5px 10px #0000004d;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}

.sidebar li:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  transform: translateY(-50%);
}

.sidebar.open li .tooltip {
  display: none;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.sidebar.open + .page-overlay {
  opacity: 1;
  pointer-events: auto;
}

.sidebar li.sub-item a {
  padding-left: 50px;
}

.sidebar li.sub-item a .sub_links_name {
  color: white;
  font-size: 13px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.sidebar.open li.sub-item a .sub_links_name {
  opacity: 1;
  pointer-events: auto;
  user-select: none;
}

.sidebar.open li.sub-item a:hover .sub_links_name {
  transition: all 0.5s ease;
  color: #ffe200;
}

body {
  background: #181101;
  color: white;
  min-height: 100vh;
  margin: 0;
  font-family: 'Arial', 'Arial-Bold', sans-serif;
}

.page_logo img {
  display: block;
  margin: auto;
  margin-top: 40px;
  width: 300px;
}

.platform_logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 120px;
  margin-bottom: 50px;
}

.platform_logos img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.project_description h1 {
  text-align: center;
  margin-bottom: 15px;
}

.project_description p {
  text-align: center;
  margin-bottom: 50px;
}

.devices-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 50px;
}

.devices {
  text-align: center;
  margin-bottom: 50px;
}

.devices ul {
  list-style: none;
  padding: 0;
}

.devices li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
}

.devices li img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

.device-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 226, 0, 0.1);
  border: 1px solid #ffe200;
  color: #ffe200;
  text-decoration: none;
  border-radius: 999px;
  font-size: 20px;
  font-family: 'Arial-Bold', 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.device-button:hover {
  background: rgba(255, 226, 0, 0.2);
  transform: translateY(-1px);
}

.device-button__icon {
  font-size: 16px;
}

.devices-hint {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-family: 'Arial-Bold', 'Arial', sans-serif;
  font-size: 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 800;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.devices-hint:hover {
  color: #ffe200;
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.devices-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.devices-hint__arrow {
  display: inline-block;
  animation: devices-arrow-bounce 1s infinite;
}

@keyframes devices-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px 0;
  background: linear-gradient(to bottom, #1811014d, #ffe20033);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 4000;
}

.snowflake {
  position: absolute;
  top: -10px;
  background: #ffffff;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  animation-name: snowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -100px, 0);
  }
  100% {
    transform: translate3d(20px, 110vh, 0);
  }
}

@media (max-width: 600px) {
  body {
    padding-left: 60px;
    overflow-x: hidden;
    width: 100%;
  }

  .sidebar {
    width: 60px;
    padding: 6px 8px;
  }

  .sidebar.open {
    width: 200px;
  }

  .sidebar i {
    min-width: 40px;
    font-size: 22px;
  }

  .sidebar .logo-details .logo_name {
    font-size: 16px;
  }

  .platform_logos {
    gap: 10px;
    margin-top: 80px;
    flex-wrap: wrap;
  }

  .platform_logos img {
    width: 64px;
    height: 64px;
  }

  .project_description {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 12px;
  }

  .project_description h1 {
    font-size: 20px;
    margin: 0 auto 15px;
    width: auto;
  }

  .project_description p {
    padding: 0 15px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 50px;
  }

  .page_logo img {
    margin-top: 20px;
    width: 200px;
  }

  .devices-title {
    font-size: 12px;
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
  }

  .devices li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .devices li img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
  }

  .device-button {
    font-size: 14px;
  }

  .devices-hint {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
  }

  .footer p {
    font-size: 15px;
  }
}