:root {
	--color:  80deg;
    --primary: #00109A;
    --secondary: #1010EA;
    --accent: #1010FA;
    --dark: #000000;
    --light: #000000; 
}

body {
    background: linear-gradient(135deg, #f6f9fc 0%, #e8f1f8 100%);
    min-height: 97vh;
    font-family: "Vazirmatn";
    transition: all 1s ease;
    filter: hue-rotate(var(--color));
}

.btn {
    text-decoration: none;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer; 
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease; /* تغییر از 3s به 0.3s */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* برای居中 شدن */
}

.btn:hover {
    transform: translateY(-9px) scale(1.1);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
    background: linear-gradient(45deg, var(--accent), var(--primary));
}

.btn:active {
    transform: scale(0.8);
}

/* بقیه استایل‌ها بدون تغییر */
.profile-container {
    perspective: 1000px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0px 30px rgba(45,50,255,0.2);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.profile-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 1rem 1rem;
    text-align: center;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content:center;
    overflow: hidden;
    position: relative;
}

.profile-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 1s ease;
    z-index: 2;
    filter: hue-rotate(calc(360deg - var(--color)));
}


.profile-img:hover {
    transform: perspective(400px) rotateY(180deg) rotateX(180deg) rotateZ(180deg) scale(1.1);
    border-radius: 20px;
}

.profile-title {
    color: white;
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.profile-content {
    padding: 3rem;
    display:flex;
    flex-direction:column;
    align-items: center; /* اضافه شده برای居中 کردن دکمه */
}

.profile-description {
    color: var(--dark);
    font-size: 1.1rem;
    text-align:center;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-description::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    margin: 0.5rem auto;
    border-radius: 3px;
    animation: des 8s infinite;
}

@keyframes des{
  0% {width: 100px;}
  50% {width: 170px;}
  100%{width: 100px;}
}

.links{
  display: flex;
  flex-direction:column;
  align-items: center; /* اضافه کردن این خط */
  justify-content: center; /* اضافه کردن این خط */
  margin: 0 auto; /* برای وسط‌چین کردن کل container */
  width: 60%;
}
.links:not(:empty)::before {
  margin-top: 20px; 
  opacity: 30%;
  color: blue;
  text-shadow: 0 0 2px white;
  font-weight: bold;
  content: "- لینک ها -";
}
.link{
	width: 100%;
	white-space: nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
    margin: 7px;
    text-align: center;
    font-weight: bold;
	
	font-size: 1em;
	color: white;
    background: linear-gradient(to top right, #0000F0, #6060FF);
    box-shadow: 0px 3px 10px #AAAAFF;
	text-decoration: none;
	border-radius:20px;
	padding:7px;
	
	transition: all 0.2s ease;
}
.link:hover{
  filter: brightness(140%);
  box-shadow: 0px 5px 10px #AAAAFF;
  text-overflow: clip;
  overflow: scroll;
  transform: scale(1.1);
}
.link:active{
	transform: scale(0.9);
}



@media (max-width: 768px) {
    .profile-content {
        padding: 2rem 1.5rem;
    }
    
    .profile-title {
        font-size: 1.8rem;
    }
} 


