﻿:root {
  color-scheme: dark;
  --bg: #101116;
  --text: #f1f0f7;
  --muted: #858695;
  --accent: #a99aff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: auto;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, sans-serif;
}

.home {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 24px 35px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: .12;
}

.ambient-one {
  background: #7656ff;
  top: -230px;
  left: 15%;
}

.ambient-two {
  background: #3267d9;
  bottom: -280px;
  right: 8%;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.identity {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.logo {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(145deg, #b8a9ff, #7056dc);
  color: white;
  font-size: 29px;
  font-weight: 800;
  box-shadow: 0 10px 45px rgba(125, 99, 255, .25);
}

.brand {
  margin-top: 15px;
  font-size: 35px;
  font-weight: 750;
  letter-spacing: 7px;
}

.brand span {
  color: var(--accent);
}

.tagline {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 3px;
}

.welcome {
  margin-top: 45px;
  text-align: center;
}

.greeting {
  color: #c4c0d3;
  font-size: 17px;
  font-weight: 400;
}

.date {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.clock {
  margin-top: 8px;
  color: #f5f3ff;
  font-size: clamp(38px, 6vw, 53px);
  font-weight: 300;
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
}

.search {
  width: 100%;
  height: 59px;
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 0 19px;
  border: 1px solid #30313d;
  border-radius: 15px;
  background: rgba(29, 30, 39, .9);
  box-shadow: 0 12px 45px rgba(0, 0, 0, .16);
  transition: .2s;
}

.search:focus-within {
  border-color: #8272d2;
  box-shadow: 0 0 0 3px rgba(154, 140, 255, .09);
}

.search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #9291a3;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  user-select: text;
}

.search input::placeholder {
  color: #777887;
}

.search button {
  height: 39px;
  padding: 0 19px;
  border: 0;
  border-radius: 10px;
  background: #8c7ae9;
  color: white;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: .2s;
}

.search button:hover {
  background: #a092ff;
}

.shortcuts-section {
  width: 100%;
  margin-top: 48px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #858595;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 2px;
}

.section-line {
  height: 1px;
  flex: 1;
  background: #2b2c36;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 17px;
}

.shortcut {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #292a34;
  border-radius: 13px;
  background: rgba(25, 26, 34, .7);
  color: #c6c5d1;
  text-decoration: none;
  font-size: 11px;
  transition: .2s;
}

.shortcut:hover {
  transform: translateY(-3px);
  border-color: #62568e;
  background: #20212c;
  color: white;
}

.shortcut-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 750;
}

.youtube { background: #42242b; color: #ff777e; }
.github { background: #30303a; color: #eeeeF5; }
.gmail { background: #3e302d; color: #ffad91; }
.wiki { background: #2d3540; color: #c3d4eb; }
.google { background: #303345; color: #a8b5ff; }
.reddit { background: #3d3029; color: #ffad77; }

footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 65px;
  color: #666978;
  font-size: 9px;
  letter-spacing: .6px;
}

footer i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 5px 1px;
  border-radius: 50%;
  background: #8e7de9;
}

@media (max-width: 650px) {
  .home {
    padding: 40px 18px 25px;
  }

  .shortcuts {
    grid-template-columns: repeat(3, 1fr);
  }

  .shortcuts-section {
    margin-top: 35px;
  }

  footer {
    margin-top: 40px;
    gap: 12px;
    flex-wrap: wrap;
  }
}


/* CYONE Official Logo */
.identity .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.identity .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

