*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  font-family:
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
html{
  scroll-behavior: smooth;
}
:root{
    --bg-color:#e5e5ea;
    --card-bg:#ffffff;
    --text-color:#111;
    --secondary-text:#8E8E93;
    --line-color:#d1d1d6;
}

.dark-mode{
    --bg-color:#19191a;
    --card-bg:#242222;
    --text-color:#e5e5ea;
    --secondary-text:#8E8E93;
    --line-color:#333;
}
body{
  background: #1c1c1e;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background .35s ease,
                color .35s ease;
}
body.dark-mode .theme-toggle{
    background: #6b7280;
}
body.dark-mode .toggle-thumb{
    transform: translateX(22px);
}
h1,h2,h3, .name, .about-label,
.senji-subtitle, .card p, .card h3 {
    color: var(--text-color);
}

p, .subs, .about-description,
footer {
    color: var(--secondary-text);
}
.line {
    background: var(--line-color);
}

.theme-toggle {
    position: fixed;
    top: 25px;
    right: 35px;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    border: none;
    cursor: pointer;


    background: var(--card-bg);
    color: var(--text-color);

    padding: 3px;

    display: flex;
    align-items: center;

    transition: all .3s ease;
}
.theme-toggle:hover {
    transform:translateY(-3px) scale(1.05);

    box-shadow:
    0 8px 25px rgba(0,122,255,.2);
}
.toggle-thumb{
    width: 22px;
    height: 22px;

    background: #e5e7eb;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .3s ease;
}
body.dark-mode .toggle-thumb{
    transform: translateX(24px);
}
.toggle-thumb i{
    font-size: 10px;
    color: #374151;
}

.whole-frame{
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.profile-cover{
  min-height: 100vh;
  display: flex;

  gap: 25px;
  flex-direction: column;
  justify-content:flex-end;
  align-items:center;

  text-align:center;

  padding:90px 20px 10px;
}

.senji-profile{
  width:220px;
  height:220px;

  border-radius:50%;
  overflow:hidden;

  border:4px solid var(--bg-color);

  background:var(--card-bg);

  box-shadow:
  0 0 0 8px rgba(255,255,255,0.02),
  0 0 30px rgba(195,219,56,.15);
}

.senji-profile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.senji-top{
  margin-top:25px;

  font-size:16px;
  letter-spacing:3px;
  text-transform:uppercase;

  color:var(--secondary-text);
}

.senji-subtitle{
  color: var(--text-color);
}
.senji-subtitle h1{
  font-size: 72px;
  font-weight: bolder;
  margin-top: 15px;
  margin-bottom: 15px;
}

.text-highlight{
  position: relative;
  color: var(--text-color);
  display: inline-block;
  z-index: 1;
}

.text-highlight::after{
    content: "";
  position: absolute;

  left: -4px;
  bottom: 3px;

  width: 110%;
  height: 6px;

  background: #d4ff00;
  clip-path: polygon(
    0% 40%,
    4% 10%,
    96% 0%,
    100% 60%,
    97% 100%,
    3% 85%
  );

  transform: rotate(-2deg);

  z-index: -1;
}

.senji-intro{
  margin: 10px;
  color:var(--secondary-text);
  font-size: 25px;
}

.flag{
    width:24px;
    height:auto;
    vertical-align:middle;
    margin-left:5px;
}
.senji-views{
  display: inline-block;
  color: #39ff14;
  font-weight: bold;


    transition:
    transform .5s ease,
    filter .5s ease;
}

.senji-views:hover{
    filter:drop-shadow(0 0 15px #39ff14);
    text-shadow:
    0 0 5px #39ff14,
    0 0 10px #39ff14,
    0 0 20px #39ff14,
    0 0 40px #39ff14;

    animation:shake .5s infinite;
}
@keyframes shake{
    0%{transform:scale(1.1) translateX(0);}
    25%{transform:scale(1.1) translateX(-3px);}
    50%{transform:scale(1.1) translateX(3px);}
    75%{transform:scale(1.1) translateX(-3px);}
    100%{transform:scale(1.1) translateX(0);}
}
.tools{
  display:flex;
  gap:12px;
  margin-top: 25px;
  margin-bottom:35px;
  flex-wrap:wrap;
  justify-content:center;
}

.tools div{
  padding:16px 30px;

  border:2px solid var(--line-color);
  border-radius:50px;

  background:var(--card-bg);

  color:var(--secondary-text);
  font-size:18px;
  letter-spacing:1px;
}

.buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:center;

  margin-bottom:25px;
}

.btn1{
  padding:16px 32px;
  border-radius:12px;

  text-decoration:none;
  font-size:17px;
  font-weight:600;

  transition:.3s ease;
}

.primary{
  border: 2px solid var(--line-color);
  background: var(--card-bg);
  color: var(--text-color);
}

.primary:hover{
  background:var(--text-color);
  color: var(--card-bg);
  transform:translateY(-4px);
}

.secondary{
  border: 2px solid var(--line-color);
  color: var(--text-color);
  background: var(--card-bg);
}

.secondary:hover{
  background:var(--text-color);
  color: var(--card-bg);
  transform:translateY(-4px);
}
.stats{
  width:100%;
  max-width: 1500px;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  position:relative;
}

.stats::before{
  content:"";
  position:absolute;

  top:0;
  left:50%;

  transform:translateX(-50%);

  width:85%;
  height:1px;

  background:linear-gradient(
    to right,
    transparent,
    var(--secondary-text),
    transparent
    );
}

.stat-box{
  position:relative;
  padding:35px 20px;
}

.stat-box:not(:last-child)::after{
  content:"";
  position:absolute;

  top:20%;
  right:0;

  width:2px;
  height:60%;

  background:linear-gradient(
    to bottom,
    transparent,
    var(--secondary-text),
    transparent
  );
}

.stat-box h2{
  color: var(--text-color);
  font-size:42px;
  margin-bottom:8px;
}

.stat-box p{
  color: var(--secondary-text);
  letter-spacing:2px;
  font-size:12px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 30px;
  width: 220px;
  height: 58px;

  background: #007AFF;
  color: #e5e5ea;
  text-decoration: none;
  border-radius: 8px;

  font-size: 20px;
  font-weight: 600;
  
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn i {
  opacity: 0;
  width: 0;

  transition: all 0.3s ease;

  position: relative;
  top: 2px;
}
.btn:hover{
  width: 220px;
  background-color: #004fa3;
  color: #e5e5ea;
}

.btn:hover i{
  opacity: 1;
  width: 20px;
  margin-left: 8px;
}
.line{
  width: 30%;
  height: 3px;
  margin: 50px auto;

  background:linear-gradient(
    to right,
    transparent,
    var(--secondary-text),
    transparent
    );
  
  border-radius:50px;
  position:relative;
}

.Reels-vid{
  position:relative;
  width:70%;
  margin:auto;

  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:10px;
}

.Reels-vid video{
  width:100%;
  height: 100%;
  border-radius:10px;
  object-fit: cover;
  display:block;
}

video{
  width:100%;
  display:block;
}

.video-loader{
    position:absolute;
    inset:0;
    z-index: 5;

    width:100%;
    height:100%;

    border-radius:10px;
    background:linear-gradient(
        90deg,
        var(--card-bg) 25%,
        rgba(142,142,147,.15) 50%,
        var(--card-bg) 75%
    );
    background-size:200% 100%;
    animation:loading 1.5s infinite;
}

.Reels-vid.loaded .video-loader{
    display:none;
}

.play-btn{
    position:absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%) scale(.7);

    width:80px;
    height:80px;

    border-radius:50%;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);

    color:white;
    font-size:32px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events:none;
    transition:.3s ease;
    z-index: 10;
}

.play-btn.show{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
}

.loaded .play-btn{
    pointer-events:auto;
    transform:translate(-50%, -50%) scale(1);
}

.volume-container{
    position:absolute;
    right:20px;
    bottom:20px;

    z-index:20;

    display:flex;
    align-items:center;

    background:rgba(0,0,0,.45);

    padding:10px;
    border-radius:40px;

    backdrop-filter:blur(10px);
    overflow: hidden;
}

.volume-btn{
    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:transparent;

    color:white;
    font-size:18px;

    cursor:pointer;
    
    display:flex;
    align-items:center;
    justify-content:center;
}
.volume-slider{
    width:0;
    opacity: 0;
    margin-left: 10;

    transition: width .3s ease, opacity .2s ease;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor:pointer;

    height:20px;
}

.volume-container:hover .volume-slider{
    width:90px;
    opacity:1;
    margin-left:10px;
}

.volume-slider::-webkit-slider-runnable-track{
    height:6px;
    border-radius:10px;

    background: #363535;
}
.volume-slider::-webkit-slider-thumb{
    -webkit-appearance:none;
    appearance:none;
    width:14px;
    height:14px;
    border-radius:50%;
    border:none;
    background:white;
    margin-top:-4px;
    cursor:pointer;
}
.volume-slider::-moz-range-track{
    height:6px;
    border-radius:10px;
    background:rgba(255,255,255,.25);
}

.volume-slider::-moz-range-thumb{
    width:14px;
    height:14px;

    border-radius:50%;
    border:none;

    background:white;

    cursor:pointer;
}
@keyframes loading{
    from{
        background-position:200%;
    }
    to{
        background-position:-200%;
    }
}

.wrapper{
  align-items: center;
  justify-content: center;
  margin-left: 10%;
  margin-right: 10%;
}

.wrapper h2{
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin-top: 35px;
  margin-bottom: 24px;
  color: var(--text-color);
}
.carousel{
  overflow: hidden;
  touch-action: none;
  display: flex;

   mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}
.carousel::-webkit-scrollbar{
  display: none;
}

.clients{
  width: max-content;
  flex-shrink: 0;
  
  display: flex;
  gap: 5em;
  animation: spin 50s infinite linear;
  padding-right: 5em;
}

.client{ 
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

@keyframes spin {
  from{
    transform: translateX(0);}
  to{
    transform: translateX(calc(-100%));}
}

.avatar{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 10px solid transparent;
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info{
  display: flex;
  flex-direction: column;
}

.name-row{
  display: flex;
  align-items: center;
  gap: 10px;
}

.name{
  font-size: 28px;
  font-weight: bold;
  color: var(--text-color);
}
.verified{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007AFF;
  position: relative;
  flex-shrink: 0;
}

.verified::before{
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e5e5ea;
  font-size: 16px;
  font-weight: bold;
}

.subs{
  margin-top: 6px;
  color: #8E8E93;
  font-size: 16px;
  font-weight: 500;
}

.yt_jobs{
  display: flex;
  justify-content: center;
  align-items: center;

  width: fit-content;
  margin: 20px auto;

  padding: 12px 28px;

  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;

  border: 2px solid var(--line-color);
  border-radius: 12px;

  transition:
  background .25s ease,
  color .25s ease,
  transform .25s ease,
  box-shadow .25s ease;

  grid-column: 1/ -1;
  justify-self: center;
}

.yt_jobs:hover{
  background: var(--text-color);
  color: var(--card-bg);

  transform: translateY(-3px);

  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.feed-backs{
  max-width:1200px;
  margin: 40px auto;
  padding:0 10px;
}

.feed-backs h2{
  text-align:center;
  font-size:40px;
  color: var(--text-color);
  margin-bottom:40px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:30px;
  perspective: 1200px;
}

.card{
  background: var(--card-bg);
  border: 2px solid var(--line-color);
  border-radius:10px;
  padding:25px;

  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  will-change: transform;
  transition: transform 0.2s ease;
}

.top-feedback{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
}

.card h3{
  font-size:28px;
  margin:0;
  color: var(--text-color);
}

.card span{
  color:#8E8E93;
  font-size:16px;
}

.card p{
  font-size:18px;
  line-height:1.5;
  color: var(--text-color);
  margin-top:10px;
}
.my-works{
  padding: 25px 20px;
  text-align: center;
}

.my-works h2{
  color: var(--text-color);
  font-size: 40px;
  margin-bottom: 20px;
}

.my-works span{
  color: #007AFF;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.grid iframe{
  background:var(--card-bg);
  min-height:200px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: none;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
  transition-delay: 0.05s;
}
  .grid iframe.show{
  opacity: 1;
  transform: translateY(0);
}

.about-senji{
  width:100%;
  padding:60px 20px;

  display:flex;
  justify-content:center;
}

#about{
  scroll-margin-top:200px;
}
.about-container{
  width:100%;
  max-width: 1250px;
  text-align:center;

  margin: 0 auto;
  text-align: left;

  background: var(--card-bg);
  border:1px solid var(--line-color);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02);

  border-radius: 20px;
  padding: 40px 50px;

  opacity: 0;
  transform: translateY(50px);

  transition:
  opacity 0.8s ease,
  transform 0.8s ease;
}

.about-container.show{
  opacity: 1;
  transform: translateY(0);
}

.about-container:hover{
transform: translateY(-6px);
border-color: rgba(255,255,255,0.16);

background:var(--card-bg);
box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.about-label{
  color: var(--text-color);
  font-size:36px;
  margin-top: 20px;
  margin-bottom: 28px;
  font-weight:800;
  transition: color 0.3s ease;
}

.about-container h1{
  color:var(--text-color);
  font-size:58px;
  line-height:1.2;
  font-weight:800;

  margin-bottom:35px;
}

.about-description{
  color: var(--secondary-text);
  font-size:22px;
  line-height:1.5;
  margin-bottom:32px;
  max-width: 1200px;
}

.work-w-me{
  text-align: center;
  padding: 20px 20px 50px;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.work-w-me h2{
  font-size: 40px;
  margin-bottom: 20px;
}
.work-w-me span{
  color: #007AFF;
}

.senji-mail{
  display: inline-flex;
  align-items: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-color);   
  font-family: Arial, sans-serif;
  font-size: 19px;   
  transition: color 0.3s ease; 
}

.senji-mail span,
.senji-mail i{
    color:inherit;
}

.senji-mail:hover {
  color: #007AFF;   
  cursor: pointer;
}
.chat-container{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
}

.chat-launcher{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    border:none;
    cursor:pointer;
    background:var(--card-bg);
    color:var(--text-color);
    font-size:20px;
    font-weight:600;
    border-radius:4px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}

.chat-launcher i {
    display: inline-block;
    animation: tilt 1.5s infinite ease-in-out;
    transform-origin: center;
}

@keyframes tilt {
    0%, 100% {
        transform: rotate(0deg);}
    25% {
        transform: rotate(-12deg);}
    50% {
        transform: rotate(0deg);}
    75% {
        transform: rotate(12deg);}
}

.chat-launcher:hover{
    transform:translateY(-3px);
}
.chat-launcher:active {
    transform: scale(0.95);
}
.chat-box{
    position:absolute;
    right:0;
    bottom:70px; 
    width:380px;
    height:600px;
    background:var(--card-bg);
    border:1px solid var(--line-color);
    display:flex;
    flex-direction:column;

    color:var(--text-color);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;

    transition: all 0.25s ease;
}
.chat-box.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;

    box-shadow: 0 0 20px rgba(255,255,255,0.08),
                0 10px 30px rgba(0,0,0,0.5);
}
.chat-header{
    padding:18px;
    border-bottom:1px solid var(--line-color);
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.chat-profile{
    display:flex;
    align-items:center;
    gap:12px;
}

.chat-profile img{
    width:50px;
    height:50px;

    border-radius:50%;
    object-fit:cover;
}

.chat-profile h3{
    color:var(--text-color);
    margin:0;
}

.online{
    color:#00ff88;
    font-size:14px;
}

.close-chat{
    background:none;
    border:none;
    color:var(--text-color);
    cursor:pointer;
    font-size:22px;
}

.chat-body{
    flex:1;
    padding:18px;
    overflow-y:auto;
}

.bot-info{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;

    display:flex;
    flex-direction:column;
    gap:15px;
}

.bot-info img{
    width:30px;
    height:30px;
    border-radius:50%;
}

.bot-info span{
    color:var(--text-color);
    font-weight:600;
}

.bot-message{
    max-width:260px;
    background:var(--bg-color);
    color:var(--text-color);
    padding:15px;
    line-height:1.5;
    border-radius:4px;
    margin-top: 10px;
    margin-bottom:10px;
}
.bot-message a {
    color: var(--text-color);
    text-decoration: none;
}
.bot-message ul {
    padding-left: 20px;
    margin: 0;
}

.bot-message li {
    margin-bottom: 6px;
}
.bullet {
    margin-left: 5px;
    margin-bottom: 6px;
    margin-top: 10px;
}
.user-message{
    background:var(--text-color);
    color:var(--bg-color);
    margin-left:auto;
    width:fit-content;
    padding:12px 15px;
    border-radius:8px;
    margin-top:15px;
}

.chat-footer{
    border-top:1px solid var(--line-color);
    padding:15px;
    display:flex;
    gap:10px;
}

.chat-footer input{
    flex:1;
    font-size: 20px;
    background:var(--bg-color);
    border:1px solid var(--line-color);
    color:var(--text-color);
    padding:12px;
    outline:none;
}

.chat-footer button{
    width:55px;
    border:none;
    background:#007AFF;
    color: #fff;
    cursor:pointer;
    font-size:18px;

     transition:.3s ease;
}
.chat-footer button:hover{
    background:#005ecb;
}
.typing.hidden {
    display: none;
}

.typing {
  margin-left: 15px;
  align-items:center;
  display: flex;
  gap: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  color:var(--text-color);
}

.typing span{
    width:7px;
    height:7px;
    border-radius:50%;
     background:var(--text-color);
    animation:bounce 1.2s infinite;
}
.typing span:nth-child(2){
    animation-delay:.2s;
}

.typing span:nth-child(3){
    animation-delay:.4s;
}

@keyframes bounce{
    0%,80%,100%{
        transform:translateY(0);
        opacity:.4;
    }
    40%{
        transform:translateY(-6px);
        opacity:1;
    }
}

.chat-suggestions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:15px;
}

.suggestion{
    background:var(--card-bg);
    color:var(--text-color);
    border:1px solid var(--line-color);
    padding:8px 12px;
    cursor:pointer;
    border-radius:20px;
    transition:.3s;
}

.suggestion:hover{
  background:var(--bg-color);
}
footer{
  text-align: center;
  color: var(--secondary-text);
  font-size: 15px;
  margin-top: 150px;
  padding-bottom: 10px;
}