/* =========================================================
   PURPLE DARK ROCK THEME (Douglas) - REFINED VERSION
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;700&display=swap');

:root{
  --bg0:#07040b;
  --bg1:#0b0712;
  --bg2:#100a1b;

  --text:#f2f2f2;
  --muted:#b8b8b8;
  --muted2:#d6d6d6;

  --accent:#b026ff;
  --accent2:#6d1cff;
  --accentDark:#2b0b44;
  --accentSoft:rgba(176,38,255,0.18);
  --accentBorder:rgba(176,38,255,0.35);
  --accentGlow:rgba(176,38,255,0.55);

  --ok:#7cffb2;

  --glass:rgba(255,255,255,0.05);
  --glass2:rgba(255,255,255,0.04);
  --border:rgba(255,255,255,0.15);

  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:22px;
  --radius-xl:26px;

  --shadow-soft:0 0 25px rgba(176,38,255,0.12);
  --shadow-medium:0 0 40px rgba(176,38,255,0.20);
  --shadow-strong:0 0 60px rgba(176,38,255,0.30);

  --container:1200px;
  --section-x:200px;
  --section-y:160px;
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:100px;
  scrollbar-width:thin;
  scrollbar-color:var(--accentDark) var(--bg1);
}

body{
  background:
    radial-gradient(circle at 18% 10%, rgba(176,38,255,.35), transparent 55%),
    radial-gradient(circle at 82% 20%, rgba(109,28,255,.22), transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(18,6,28,.90), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg2));
  color:var(--text);
  overflow-x:hidden;
  font-family:"Inter", sans-serif;
  line-height:1.6;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:3px 3px;
  opacity:0.14;
  mix-blend-mode:overlay;
  z-index:0;
}

body > *{
  position:relative;
  z-index:1;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a, button{
  -webkit-tap-highlight-color:transparent;
}

section{
  scroll-margin-top:120px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar{
  width:10px;
}
::-webkit-scrollbar-track{
  background:var(--bg1);
}
::-webkit-scrollbar-thumb{
  background:var(--accentDark);
  border:1px solid var(--accentBorder);
  border-radius:5px;
}
::-webkit-scrollbar-thumb:hover{
  background:var(--accent);
}

::selection{
  background:var(--accent);
  color:#fff;
  text-shadow:none;
}

/* ===== UTIL ===== */
.container{
  width:min(100%, var(--container));
  margin:0 auto;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.fade-in{
  opacity:0;
  transform:translateY(25px);
  animation:fadeInUp .8s ease forwards;
}

.smooth-out{
  animation:smoothOut 1.2s ease forwards;
}

.from-top{
  opacity:0;
  transform:translateY(-40px);
  animation:fromTop .8s ease forwards;
}
.from-left{
  opacity:0;
  transform:translateX(-40px);
  animation:fromLeft .8s ease forwards;
}
.from-right{
  opacity:0;
  transform:translateX(40px);
  animation:fromRight .8s ease forwards;
}
.from-bottom{
  opacity:0;
  transform:translateY(40px);
  animation:fromBottom .8s ease forwards;
}
.zoom-in{
  opacity:0;
  transform:scale(.8);
  animation:zoomIn .8s ease forwards;
}

.typewriter{
  border-right:2px solid var(--accent);
  white-space:nowrap;
  overflow:hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes spin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}
@keyframes fadeInUp{
  to{ opacity:1; transform:translateY(0); }
}
@keyframes smoothOut{
  from{ opacity:1; transform:scale(1); filter:blur(0); }
  to{ opacity:0; transform:scale(1.1); filter:blur(25px); }
}
@keyframes fromTop{
  to{ opacity:1; transform:translateY(0); }
}
@keyframes fromLeft{
  to{ opacity:1; transform:translateX(0); }
}
@keyframes fromRight{
  to{ opacity:1; transform:translateX(0); }
}
@keyframes fromBottom{
  to{ opacity:1; transform:translateY(0); }
}
@keyframes zoomIn{
  to{ opacity:1; transform:scale(1); }
}
@keyframes float{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-20px); }
}
@keyframes stageSweep{
  from{ transform:translate(-2%, -1%) rotate(8deg); }
  to{ transform:translate(2%, 1%) rotate(8deg); }
}

/* ===== GLOBAL BUTTONS ===== */
.btn,
.btn-home1,
.btn-home2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  cursor:pointer;
  transition:.3s ease;
  font-family:inherit;
}

.btn{
  font-size:12px;
  padding:10px 16px;
  border-radius:22px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--text);
}

.btn i{
  color:var(--accent);
}

.btn:hover{
  background:rgba(176,38,255,0.14);
  box-shadow:0 0 16px rgba(176,38,255,.45);
  border-color:rgba(176,38,255,0.28);
  transform:translateY(-1px);
}

.btn-home1{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  border:none;
  border-radius:12px;
  padding:12px 18px;
  box-shadow:0 0 16px rgba(176,38,255,0.35);
}

.btn-home1:hover{
  transform:translateY(-2px);
  box-shadow:0 0 26px rgba(176,38,255,0.55);
}

.btn-home2{
  background:transparent;
  border:2px solid var(--accent);
  border-radius:12px;
  padding:12px 18px;
  color:var(--accent);
}

.btn-home2:hover{
  background:var(--accent);
  color:#fff;
}

/* ===== INTRO ===== */
#intro{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:30px 0;
}

.main{
  width:min(92%, 1200px);
}

.card{
  background:var(--glass);
  border-radius:var(--radius-xl);
  padding:42px;
  backdrop-filter:blur(28px);
  box-shadow:0 0 90px rgba(176,38,255,.22);
  border:1px solid rgba(176,38,255,.18);
}

.top-tags{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}

.top-tags span{
  font-size:11px;
  padding:6px 14px;
  border-radius:20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  letter-spacing:1px;
  color:var(--muted2);
}

.dot{
  color:var(--accent);
}

.content{
  display:flex;
  gap:60px;
  align-items:center;
}

.left{
  flex:1.1;
}

.left h1{
  font-size:50px;
  font-weight:700;
  line-height:1.12;
  background:
    linear-gradient(90deg, #ffffff 0%, #efe6ff 35%, #b026ff 70%, #ffffff 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, rgba(0,0,0,0.10) 2px 4px),
    radial-gradient(circle at 30% 20%, rgba(176,38,255,0.22), transparent 55%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:
    0 0 18px rgba(176,38,255,0.22),
    0 0 42px rgba(176,38,255,0.12);
}

.desc{
  margin:18px 0 28px;
  font-size:15px;
  color:var(--muted);
  max-width:560px;
  line-height:1.8;
}

.live-line{
  margin-bottom:22px;
}

.live-line span{
  font-size:12px;
  letter-spacing:2px;
  color:var(--accent);
}

.buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.site-link{
  margin-top:22px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:30px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--accent);
  text-decoration:none;
  transition:.3s ease;
}

.site-link:hover{
  box-shadow:0 0 16px rgba(176,38,255,.35);
  transform:translateY(-1px);
}

.right{
  flex:0.95;
  background:linear-gradient(180deg, rgba(27,10,48,.92), rgba(10,6,14,.96));
  border-radius:22px;
  padding:28px;
  box-shadow:inset 0 0 40px rgba(176,38,255,.10);
  position:relative;
  border:1px solid rgba(176,38,255,0.18);
}

.right-head{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  letter-spacing:2px;
  color:#bdbdbd;
  margin-bottom:20px;
}

.online{
  color:var(--ok);
}

.orbit-box{
  width:240px;
  height:240px;
  margin:auto;
  position:relative;
}

.orbit{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid var(--accentBorder);
  animation:spin 16s linear infinite;
}

.orbit i{
  position:absolute;
  background:rgba(10,6,14,0.9);
  color:var(--accent);
  padding:7px;
  border-radius:50%;
  box-shadow:0 0 14px var(--accentGlow);
  font-size:13px;
}

.i1{ top:-8px; left:50%; transform:translateX(-50%); }
.i2{ right:-8px; top:50%; transform:translateY(-50%); }
.i3{ bottom:-8px; left:50%; transform:translateX(-50%); }
.i4{ left:-8px; top:50%; transform:translateY(-50%); }

.core{
  position:absolute;
  inset:52px;
  border-radius:50%;
  background:radial-gradient(circle, var(--accentDark), #12061d);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 40px rgba(176,38,255,.55);
  border:1px solid rgba(176,38,255,0.22);
}

.core span{
  font-family:'Orbitron', sans-serif;
  font-size:12px;
  letter-spacing:3px;
  color:#f0f0f0;
}

.stats{
  display:flex;
  gap:18px;
  margin-top:22px;
}

.stats div{
  flex:1;
  padding:14px;
  background:rgba(255,255,255,0.04);
  border-radius:14px;
  text-align:left;
  border:1px solid rgba(176,38,255,0.14);
}

.stats h4{
  font-size:22px;
  font-weight:600;
  color:#f2f2f2;
}

.stats p{
  font-size:12px;
  color:#bdbdbd;
}

/* ===== HEADER ===== */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}

.div-list{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 0;
}

.ul-list{
  list-style:none;
  display:flex;
  gap:1rem;
  padding:12px 20px;
  border-radius:30px;
  background:rgba(25, 12, 42, 0.55);
  backdrop-filter:blur(12px);
  border:1px solid rgba(176,38,255, 0.22);
  box-shadow:0 8px 25px rgba(176,38,255, 0.15);
}

.ul-list li{
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:25px;
  padding:8px 14px;
  transition:.3s ease;
  white-space:nowrap;
}

.ul-list li a{
  text-decoration:none;
  color:#e9d9ff;
  font-size:14px;
  transition:.3s;
}

.ul-list li i{
  color:var(--accent);
}

.ul-list li:hover{
  background:rgba(176,38,255, 0.18);
  box-shadow:0 0 12px rgba(176,38,255, 0.35);
}

.ul-list li.active{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 15px rgba(176,38,255, 0.55);
}

.ul-list li.active a,
.ul-list li.active i{
  color:#fff;
}

/* ===== SECTION SHARED ===== */
.home,
.about,
.skills-section,
.project,
.services{
  margin:var(--section-y) var(--section-x);
  color:#f2f2f2;
}

.project,
.services,
.skills-section{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  position:relative;
}

.project > p,
.services > p,
.skills-section > p{
  padding-bottom:20px;
  font-size:14px;
  color:#c9c9c9;
}

.project h1,
.services h1,
.skills-section h1{
  font-family:"Orbitron", sans-serif;
  padding-bottom:10px;
  color:#e9d9ff;
  letter-spacing:1px;
  text-align:center;
}

.project hr,
.services hr,
.skills-section hr{
  width:80px;
  height:3px;
  border:none;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  margin-bottom:20px;
  border-radius:10px;
}

.services::before,
.skills-section::before{
  content:'';
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  filter:blur(120px);
  animation:float 8s ease-in-out infinite;
  z-index:-1;
}

.services::before{
  top:20%;
  right:-10%;
  background:radial-gradient(circle, rgba(176,38,255, 0.22) 0%, transparent 70%);
}

.skills-section::before{
  top:25%;
  left:-10%;
  background:radial-gradient(circle, rgba(176,38,255, 0.20) 0%, transparent 70%);
}

/* ===== HOME ===== */
.home-p{
  background:rgba(176,38,255, 0.12);
  color:#e9d9ff;
  display:inline-block;
  border-radius:25px;
  padding:6px 14px;
  margin-bottom:30px;
  font-size:14px;
  border:1px solid rgba(176,38,255,0.25);
}

.home-s{
  font-weight:bold;
  color:var(--accent);
}

.home-container{
  display:flex;
  gap:5rem;
  align-items:center;
}

.home-section{
  flex:1;
}

.info-home h1{
  font-size:70px;
  line-height:1.05;
  margin-bottom:20px;
  background:
    linear-gradient(90deg, #ffffff 0%, #efe6ff 35%, #b026ff 70%, #ffffff 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, rgba(0,0,0,0.10) 2px 4px),
    radial-gradient(circle at 30% 20%, rgba(176,38,255,0.22), transparent 55%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:
    0 0 18px rgba(176,38,255,0.22),
    0 0 42px rgba(176,38,255,0.12);
}

.info-home h3{
  font-size:30px;
  font-family:"Orbitron", sans-serif;
  margin-bottom:22px;
  color:#e9d9ff;
  line-height:1.4;
}

.info-p{
  color:#d0d0d0;
  padding-bottom:20px;
  max-width:760px;
}

.info-p p{
  padding-bottom:10px;
  line-height:1.85;
}

.info-p2{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  color:#cfcfcf;
  font-size:14px;
  padding-bottom:20px;
}

.btnn{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  padding-bottom:30px;
}

.hhr{
  padding-bottom:30px;
}

hr{
  width:90%;
  border:1px solid rgba(176,38,255, 0.25);
}

.follow{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}

.followw{
  color:#d6d6d6;
}

.follow ul{
  display:flex;
  gap:1.25rem;
  font-size:20px;
}

.follow ul li{
  list-style:none;
}

.follow ul a{
  text-decoration:none;
  color:#e9d9ff;
  transition:.3s;
}

.follow ul a:hover{
  color:#ffffff;
  text-shadow:0 0 12px rgba(176,38,255,0.75);
}

.home img{
  width:min(100%, 390px);
  border-radius:18px;
  box-shadow:0 0 25px rgba(176,38,255,0.25);
  border:1px solid rgba(176,38,255,0.22);
  object-fit:cover;
}

/* ===== ABOUT ===== */
.about{
  font-family:"Inter", sans-serif;
}

.about-info{
  display:flex;
  gap:.8rem;
  margin-bottom:4rem;
  align-items:center;
}

.img-about img{
  width:55px;
  border-radius:50%;
  border:2px solid rgba(176,38,255, 0.55);
  box-shadow:0 0 12px rgba(176,38,255, 0.35);
}

.info-text{
  position:relative;
  bottom:-6px;
}

.info-text p{
  color:#cfcfcf;
  font-size:14px;
}

.info-text h5{
  margin-bottom:4px;
  color:#e9d9ff;
}

.about h3{
  margin-bottom:1.25rem;
  font-size:28px;
  color:#e9d9ff;
  font-family:"Orbitron", sans-serif;
}

.about-info2{
  display:flex;
  gap:3rem;
  align-items:center;
}

.about-text{
  flex:1;
}

.about-text p{
  margin-bottom:1rem;
  color:#d2d2d2;
  line-height:1.85;
}

.about-text span{
  color:var(--accent);
  font-weight:600;
}

.photo-container{
  position:relative;
  display:inline-block;
  padding:12px;
  background:rgba(255, 255, 255, 0.04);
  border-radius:16px;
  backdrop-filter:blur(12px);
  border:1px solid rgba(176,38,255, 0.22);
  box-shadow:0 0 25px rgba(176,38,255, 0.16);
}

.photo-container img{
  width:260px;
  border-radius:12px;
}

.tape{
  position:absolute;
  width:90px;
  height:30px;
  background:linear-gradient(145deg, #1c0b2a, #0f0617);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.12),
    inset 0 -2px 4px rgba(0,0,0,0.85),
    0 4px 12px rgba(176,38,255, 0.25);
  border-radius:4px;
  opacity:0.9;
  z-index:2;
}

.tape::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.05)
  );
}

.tape1{
  top:-18px;
  left:30px;
  transform:rotate(-10deg);
}
.tape2{
  bottom:-18px;
  right:30px;
  transform:rotate(10deg);
}

/* ===== SKILLS ===== */
.skills-grid{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
}

.skills-card{
  background:rgba(255, 255, 255, 0.04);
  border:1px solid rgba(176,38,255, 0.22);
  border-radius:22px;
  padding:24px;
  backdrop-filter:blur(14px);
  transition:.4s ease;
  position:relative;
  overflow:hidden;
  box-shadow:0 0 25px rgba(176,38,255, 0.12);
}

.skills-card::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(176,38,255, 0.18), transparent);
  transition:.6s;
}
.skills-card:hover::before{
  left:120%;
}

.skills-card::after{
  content:"";
  position:absolute;
  inset:-35%;
  background:
    radial-gradient(circle at 25% 25%, rgba(176,38,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 55%, rgba(109,28,255,0.16), transparent 52%);
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
  mix-blend-mode:screen;
}
.skills-card:hover::after{
  opacity:1;
  animation:stageSweep 1.35s ease-in-out infinite alternate;
}

.skills-card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 0 40px rgba(176,38,255, 0.30);
}

.skills-card h3{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.2rem;
  margin-bottom:14px;
  color:#e9d9ff;
}

.skills-card h3 i{
  color:var(--accent);
  filter:drop-shadow(0 0 10px rgba(176,38,255,0.45));
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.chips span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  font-size:12px;
  border-radius:999px;
  color:#e9d9ff;
  border:1px solid rgba(176,38,255, 0.35);
  background:rgba(176,38,255, 0.10);
  transition:.25s ease;
  user-select:none;
}

.chips span:hover{
  background:rgba(176,38,255, 0.18);
  box-shadow:0 0 14px rgba(176,38,255, 0.35);
  transform:translateY(-1px);
}

/* ===== PROJECTS ===== */
.info-pro{
  padding-top:20px;
  text-align:center;
  margin-bottom:20px;
}

.info-pro p{
  color:#bdbdbd;
  max-width:760px;
}

.projects-container{
  width:100%;
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}

.project-card{
  background:rgba(255, 255, 255, 0.04);
  border:1px solid rgba(176,38,255, 0.22);
  padding:22px;
  border-radius:18px;
  backdrop-filter:blur(12px);
  box-shadow:0 0 25px rgba(176,38,255, 0.12);
  transition:.35s ease;
  position:relative;
  overflow:hidden;
}

.project-card::after{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 20% 20%, rgba(176,38,255,0.28), transparent 45%),
    radial-gradient(circle at 80% 40%, rgba(109,28,255,0.22), transparent 48%),
    radial-gradient(circle at 55% 85%, rgba(176,38,255,0.18), transparent 55%);
  opacity:0;
  transform:rotate(8deg);
  transition:opacity .35s ease;
  pointer-events:none;
  mix-blend-mode:screen;
}

.project-card:hover::after{
  opacity:1;
  animation:stageSweep 1.35s ease-in-out infinite alternate;
}

.project-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 0 38px rgba(176,38,255, 0.28);
}

.project-card img{
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:15px;
  border:1px solid rgba(176,38,255, 0.20);
}

.project-card h3{
  color:#e9d9ff;
  margin-bottom:8px;
  line-height:1.4;
}

.project-card p{
  color:#d1d1d1;
  font-size:.92rem;
  margin-bottom:15px;
  line-height:1.7;
}

.project-card .skills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.project-card .skills a{
  display:inline-block;
  padding:6px 12px;
  font-size:11px;
  border-radius:20px;
  color:#e9d9ff;
  border:1px solid rgba(176,38,255, 0.35);
  background:rgba(176,38,255, 0.10);
  text-decoration:none;
}

.project-card .btns{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.project-card .btn{
  padding:9px 14px;
  border-radius:20px;
  font-size:13px;
  color:#fff;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  text-decoration:none;
  transition:.3s ease;
  border:1px solid rgba(255,255,255,0.08);
}

.project-card .btn i{
  color:#fff;
}

.project-card .btn:hover{
  box-shadow:0 0 18px rgba(176,38,255, 0.55);
  transform:translateY(-2px);
}

/* ===== SERVICES ===== */
.services-content{
  max-width:1300px;
  margin:0 auto;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
  width:100%;
  max-width:1100px;
}

.service-card{
  background:rgba(255, 255, 255, 0.04);
  border:1px solid rgba(176,38,255, 0.22);
  border-radius:22px;
  padding:2rem;
  text-align:center;
  backdrop-filter:blur(14px);
  transition:.4s ease;
  position:relative;
  overflow:hidden;
  box-shadow:0 0 25px rgba(176,38,255, 0.12);
}

.service-card::before{
  content:'';
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(176,38,255, 0.22), transparent);
  transition:.6s;
}
.service-card:hover::before{
  left:120%;
}

.service-card::after{
  content:"";
  position:absolute;
  inset:-35%;
  background:
    radial-gradient(circle at 25% 25%, rgba(176,38,255,0.22), transparent 45%),
    radial-gradient(circle at 80% 55%, rgba(109,28,255,0.18), transparent 52%);
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
  mix-blend-mode:screen;
}
.service-card:hover::after{
  opacity:1;
  animation:stageSweep 1.35s ease-in-out infinite alternate;
}

.service-card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 0 40px rgba(176,38,255, 0.30);
}

.service-icon{
  width:85px;
  height:85px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 1.5rem;
  font-size:2.2rem;
  color:#fff;
  box-shadow:0 0 25px rgba(176,38,255, 0.45);
}

.service-card h3{
  font-size:1.35rem;
  margin-bottom:1rem;
  color:#e9d9ff;
  line-height:1.4;
}

.service-card p{
  color:#d0d0d0;
  line-height:1.7;
  margin-bottom:1.5rem;
  padding-bottom:0;
}

.service-features{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  justify-content:center;
}

.service-features span{
  background:rgba(176,38,255, 0.12);
  color:#e9d9ff;
  padding:.35rem .9rem;
  border-radius:20px;
  font-size:.85rem;
  border:1px solid rgba(176,38,255, 0.28);
}

/* ===== CONTACT ===== */
#contact{
  width:100%;
  padding:120px 0;
  display:flex;
  justify-content:center;
  align-items:center;
}

.section-title{
  font-family:"Orbitron", sans-serif;
  color:#e9d9ff;
  margin-bottom:2rem;
  text-align:left;
}

.contact-content{
  width:100%;
  max-width:1100px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  margin:auto;
}

.contact-info p{
  color:#cfcfcf;
  margin-bottom:30px;
  line-height:1.9;
}

.contact-details{
  margin-bottom:30px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
  color:#d0d0d0;
}

.contact-item a{
  color:#f0e8ff;
  text-decoration:none;
}

.contact-item a:hover{
  color:#fff;
  text-shadow:0 0 10px rgba(176,38,255,0.45);
}

.contact-item svg,
.contact-item i{
  color:var(--accent);
  filter:drop-shadow(0 0 6px rgba(176,38,255,0.55));
}

.social-links{
  display:flex;
  gap:20px;
}

.social-link{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(176,38,255, 0.10);
  border:1px solid rgba(176,38,255, 0.28);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#e9d9ff;
  transition:.3s ease;
  text-decoration:none;
}

.social-link:hover{
  transform:scale(1.15);
  color:#fff;
  box-shadow:0 0 25px rgba(176,38,255, 0.55);
}

.contact-form{
  background:rgba(255, 255, 255, 0.04);
  border:1px solid rgba(176,38,255, 0.22);
  border-radius:18px;
  padding:35px;
  backdrop-filter:blur(12px);
  box-shadow:0 0 30px rgba(176,38,255, 0.16);
}

.form-group{
  margin-bottom:22px;
}

.form-group input,
.form-group textarea{
  width:100%;
  padding:15px;
  background:rgba(0, 0, 0, 0.35);
  border:1px solid rgba(176,38,255, 0.26);
  border-radius:10px;
  color:#f2f2f2;
  transition:.3s;
  font-family:inherit;
  resize:vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color:#a7a7a7;
}

.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:rgba(176, 38, 255, 0.05);
  box-shadow:
    0 0 0 4px rgba(176, 38, 255, 0.1),
    0 0 20px rgba(176, 38, 255, 0.2);
  transform:translateY(-2px);
}

/* ===== FOOTER ===== */
.footer{
  padding:30px 20px 40px;
  text-align:center;
  border-top:1px solid rgba(176,38,255,0.18);
  background:rgba(255,255,255,0.02);
}

.footer p{
  color:#c8c8c8;
  font-size:14px;
  line-height:1.8;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px){
  .projects-container,
  .services-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px){
  :root{
    --section-x:80px;
  }

  .home-container{
    gap:3rem;
  }

  .info-home h1{
    font-size:58px;
  }

  .info-home h3{
    font-size:24px;
  }
}

@media (max-width: 1024px){
  :root{
    --section-x:60px;
    --section-y:140px;
  }

  .content{
    gap:34px;
  }

  .left h1{
    font-size:42px;
  }

  .desc{
    max-width:100%;
  }

  .skills-grid,
  .projects-container,
  .services-grid{
    max-width:100%;
  }
}

@media (max-width: 900px){
  :root{
    --section-x:18px;
    --section-y:120px;
  }

  .card{
    padding:26px;
  }

  .content{
    flex-direction:column;
    gap:28px;
  }

  .left h1{
    font-size:38px;
  }

  .buttons{
    flex-wrap:wrap;
  }

  .btn{
    justify-content:center;
  }

  .right{
    padding:22px;
  }

  .orbit-box{
    width:210px;
    height:210px;
  }

  .home-container{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:22px;
  }

  .home-section{
    width:100%;
  }

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

  .info-home h1,
  .info-home h3,
  .info-p,
  .info-p2{
    text-align:center;
  }

  .info-home h1{
    font-size:44px;
    line-height:1.1;
  }

  .info-home h3{
    font-size:20px;
  }

  .home img{
    order:-1;
    width:100%;
    max-width:300px;
    margin:0 auto 22px;
  }

  .btnn{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }

  .btn-home1,
  .btn-home2{
    width:100%;
    text-align:center;
  }

  .follow{
    justify-content:center;
  }

  .follow ul{
    justify-content:center;
  }

  .about-info2{
    flex-direction:column;
    gap:22px;
  }

  .photo-container img{
    width:100%;
    max-width:320px;
  }

  .skills-grid,
  .projects-container,
  .services-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .skills-card,
  .service-card{
    padding:22px;
  }

  .project-card .btns{
    flex-direction:column;
    align-items:stretch;
  }

  .project-card .btn{
    text-align:center;
    justify-content:center;
  }

  .contact-content{
    grid-template-columns:1fr;
    gap:30px;
    text-align:center;
    padding:0 6px;
  }

  .section-title{
    text-align:center;
  }

  .contact-item{
    justify-content:center;
  }

  .social-links{
    justify-content:center;
  }
}

@media (max-width: 650px){
  .div-list{
    padding:14px 0;
  }

  .ul-list{
    gap:14px;
    padding:10px 12px;
    border-radius:22px;
    max-width:calc(100vw - 20px);
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    justify-content:flex-start;
  }

  .ul-list::-webkit-scrollbar{
    display:none;
  }

  .ul-list li{
    padding:10px 12px;
  }

  .ul-list li a{
    font-size:13px;
  }

  .info-home h1{
    font-size:38px;
  }

  .left h1{
    font-size:34px;
  }

  .top-tags span{
    font-size:10px;
  }

  .top-tags{
    gap:10px;
  }

  .info-home h3{
    font-size:18px;
  }

  .skills-card h3{
    font-size:1.1rem;
  }

  .chips span{
    font-size:11px;
    padding:7px 11px;
  }

  .contact-form{
    padding:24px;
  }
}

@media (hover:none) and (pointer:coarse){
  .btn,
  .ul-list li,
  .social-link,
  .btn-home1,
  .btn-home2{
    min-height:44px;
  }
}