*{
  box-sizing:border-box
}

:root{
  --bg:#090a0f;
  --card:#15171d;
  --border:rgba(255,255,255,.14);
  --text:#f5f5f7;
  --muted:#8c909d;
  --accent:#ffad75;
  --accent2:#ff8d4d
}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter,system-ui,sans-serif;
  background:var(--bg);
  color:var(--text)
}

body{
  overflow-x:hidden
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 5%,rgba(255,151,100,.13),transparent 23%),
    radial-gradient(circle at 83% 9%,rgba(255,151,100,.12),transparent 22%),
    radial-gradient(circle at 8% 58%,rgba(91,70,255,.16),transparent 17%),
    radial-gradient(circle at 93% 78%,rgba(48,55,120,.12),transparent 25%)
}

/* ===== ОСНОВНАЯ СТРАНИЦА ===== */

.page{
  width:min(960px,calc(100% - 32px));
  min-height:100vh;
  margin:auto;
  padding:36px 0;

  display:flex;
  flex-direction:column;
  justify-content:center;

  opacity:0;
  transform:translateY(18px);
  transition:opacity .8s ease,transform .8s ease
}

.page.show{
  opacity:1;
  transform:none
}

/* ===== КАРТОЧКИ ===== */

.card{
  position:relative;
  background:linear-gradient(
    145deg,
    rgba(27,29,35,.96),
    rgba(16,17,22,.96)
  );
  border:1px solid var(--border);
  border-radius:25px;
  box-shadow:0 18px 60px rgba(0,0,0,.24);
  overflow:hidden
}

/* ===== HERO ===== */

.hero{
  height:330px;
  display:flex;
  align-items:center;
  padding:45px 52px;
  gap:38px
}

.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(2px);
  pointer-events:none
}

.glow-one{
  width:310px;
  height:310px;
  right:-90px;
  top:-150px;
  background:rgba(255,171,130,.16)
}

.glow-two{
  width:230px;
  height:230px;
  left:-130px;
  bottom:-160px;
  background:rgba(102,75,255,.25)
}

/* ===== АВАТАР ===== */

.avatar-ring{
  width:205px;
  height:205px;
  min-width:205px;
  border-radius:50%;
  position:relative;
  display:grid;
  place-items:center
}

.avatar-ring:before,
.avatar-ring:after{
  content:"";
  position:absolute;
  border:1px solid rgba(255,166,112,.72);
  border-radius:50%;
  animation:avatarSpin 10s linear infinite
}

.avatar-ring:before{
  inset:-11px;
  border-right-color:transparent
}

.avatar-ring:after{
  inset:-21px;
  border-left-color:transparent;
  border-bottom-color:transparent;
  animation-direction:reverse
}

@keyframes avatarSpin{
  from{
    transform:rotate(0deg)
  }

  to{
    transform:rotate(360deg)
  }
}

.avatar-ring img{
  width:155px;
  height:155px;
  border-radius:50%;
  object-fit:cover;
  position:relative;
  z-index:2;
  background:#eee
}

/* ===== ТЕКСТ ===== */

.hero-text{
  position:relative;
  z-index:2
}

.hero h1{
  font-size:76px;
  line-height:.95;
  letter-spacing:-5px;
  margin:0 0 30px;
  font-weight:800
}

.hero h1 span{
  background:linear-gradient(
    100deg,
    #fff 25%,
    #ffb47f 75%,
    #ff914f
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}

.hero p{
  font-size:18px;
  color:#c5c7cf;
  margin:0
}

.hero p strong{
  color:var(--accent)
}

/* ===== НИЖНИЕ БЛОКИ ===== */

.grid{
  display:grid;
  grid-template-columns:1.25fr .85fr;
  gap:18px;
  margin-top:18px
}

.quote-card{
  min-height:252px;
  padding:70px 28px 35px
}

.quote-mark{
  position:absolute;
  left:28px;
  top:25px;
  color:var(--accent);
  font-size:54px;
  font-weight:800
}

.quote-card h2{
  font-size:36px;
  line-height:1.35;
  letter-spacing:-1.8px;
  margin:5px 0;
  font-weight:700
}

.about-card{
  padding:28px
}

.section-title{
  font-size:12px;
  letter-spacing:2px;
  color:#8f94a3;
  margin-bottom:18px
}

.info-row{
  height:48px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:9px;
  color:#858a98;
  font-size:13px
}

.info-row b{
  color:#e5e6eb;
  font-size:13px
}

/* ===== ССЫЛКИ ===== */

.links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px
}

.link-card{
  height:66px;
  padding:0 22px;
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  color:var(--text);
  transition:
    transform .2s,
    border-color .2s,
    background .2s
}

.link-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,174,126,.45);
  background:#1a1c22
}

.link-icon{
  color:var(--accent);
  font-weight:800;
  font-size:19px;
  width:20px;
  text-align:center
}

.arrow{
  margin-left:auto;
  color:var(--accent);
  font-size:19px
}

/* ===== FOOTER ===== */

footer{
  font-size:11px;
  letter-spacing:1.3px;
  color:#656a78;
  margin-top:22px
}

/* ===== BOOT SCREEN ===== */

.boot-screen{
  position:fixed;
  z-index:100;
  inset:0;
  background:#08090d;
  display:grid;
  place-items:center;
  transition:
    opacity .65s ease,
    visibility .65s ease
}

.boot-screen.hide{
  opacity:0;
  visibility:hidden
}

.terminal{
  width:min(650px,calc(100% - 34px));
  min-height:345px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:22px;
  background:#0d0f15;
  box-shadow:0 25px 100px rgba(0,0,0,.55);
  padding:25px;
  position:relative
}

.terminal-dots{
  display:flex;
  gap:8px
}

.terminal-dots i{
  width:9px;
  height:9px;
  border-radius:50%;
  display:block
}

.terminal-dots i:nth-child(1){
  background:#ff5f56
}

.terminal-dots i:nth-child(2){
  background:#ffbd2e
}

.terminal-dots i:nth-child(3){
  background:#27c93f
}

.terminal-line{
  height:1px;
  background:rgba(255,255,255,.1);
  margin-top:18px
}

.boot-content{
  display:flex;
  align-items:center;
  justify-content:space-around;
  gap:20px;
  margin-top:22px
}

.ascii{
  font:700 11px/1.05 monospace;
  color:#ff9f62;
  margin:0
}

.system-info{
  font:13px/2.2 monospace;
  color:#b6bac7
}

.system-info span{
  color:#ff9f62
}

.system-info b{
  color:#e8e9ed;
  font-weight:500
}

.boot-hint{
  position:absolute;
  left:25px;
  bottom:26px;
  color:#7d8495;
  font:11px monospace;
  letter-spacing:1.3px
}

/* ===== ТЕЛЕФОН ===== */

@media(max-width:760px){

  .page{
    width:calc(100% - 20px);
    min-height:auto;
    margin:0 auto;
    padding:14px 0
  }

  .hero{
    height:auto;
    min-height:330px;
    padding:55px 25px 45px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:32px
  }

  .avatar-ring{
    width:165px;
    height:165px;
    min-width:165px
  }

  .avatar-ring img{
    width:125px;
    height:125px
  }

  .hero h1{
    font-size:50px;
    letter-spacing:-3px;
    margin-bottom:20px
  }

  .grid{
    grid-template-columns:1fr
  }

  .quote-card{
    min-height:210px;
    padding:58px 24px 25px
  }

  .quote-card h2{
    font-size:28px
  }

  .links{
    grid-template-columns:1fr
  }

  .boot-content{
    align-items:flex-start
  }

  .ascii{
    font-size:8px
  }

  .system-info{
    font-size:11px
  }
}
.tiktok-icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.tiktok-icon svg{
  width:19px;
  height:19px;
  fill:currentColor;
}