/* نوشته تغییر صدا با هوش مصنوعی */
#ai-text {
margin: 20px 0;
font-size: 2em;
color: #fff;
text-align: center;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
animation: textGlow 3s infinite alternate;
position: relative;
z-index: 2;
}
@keyframes textGlow {
from {
text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
to {
text-shadow: 0 0 20px rgba(255, 255, 255, 1);
}
}
/* دکمه شروع تغییر صدا با تم هوش مصنوعی */
.start-button {
display: inline-block;
margin: 20px auto;
padding: 10px 30px;
font-size: 1.5em;
background: linear-gradient(90deg, #0fbcf9, #0be881);
color: #fff;
border: 2px solid #fff;
border-radius: 50px;
cursor: pointer;
animation: buttonGlow 2s infinite ease-in-out, borderAnimation 3s infinite;
transition: transform 0.3s ease, background 0.3s ease;
box-shadow: 0 0 15px rgba(15, 188, 249, 0.7);
position: relative;
z-index: 2;
text-decoration: none;
text-align: center;
}
@keyframes borderAnimation {
0%, 100% {
border-color: transparent;
}
50% {
border-color: #fff;
}
}
.start-button:hover {
transform: scale(1.1);
background: linear-gradient(90deg, #0be881, #0fbcf9);
}
@keyframes buttonGlow {
0%, 100% {
box-shadow: 0 0 10px rgba(15, 188, 249, 0.7);
}
50% {
box-shadow: 0 0 20px rgba(11, 232, 129, 1);
}
}
/* دکمههای جدید با انیمیشن */
.animated-button, .night-sky-button {
width: 300px; /* اندازه یکسان برای هر دو دکمه */
background-color: #1a1a2e;
padding: 16px 32px;
border-radius: 8px;
color: white;
font-size: 20px;
border: none;
cursor: pointer;
position: relative;
overflow: hidden;
display: inline-block;
text-align: center;
margin: 20px 10px;
}
/* استایل مخصوص دکمه چت با هوش مصنوعی */
.animated-button {
animation: pulse 1s infinite;
}
.animated-button span {
position: relative;
z-index: 3;
}
.animated-button a {
color: white;
text-decoration: none;
}
/* افکت آب در داخل دکمه */
.animated-button::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(15, 188, 249, 0.5);
z-index: 1;
animation: calmWave 4s ease-in-out, strongWave 4s ease-in-out 4s forwards, calmWave 4s ease-in-out 8s forwards infinite;
}
/* افکت نور پشت دکمه */
.animated-button::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent); /* کاهش شدت نور */
animation: wind 20s linear infinite; /* کندتر کردن انیمیشن نور */
z-index: 0;
}
@keyframes wind {
0% {
transform: translateX(0) translateY(0) rotate(0deg);
}
100% {
transform: translateX(100%) translateY(-100%) rotate(360deg);
}
}
/* انیمیشن موجهای آرام */
@keyframes calmWave {
0%, 100% {
clip-path: polygon(0% 70%, 10% 73%, 20% 70%, 30% 73%, 40% 70%, 50% 73%, 60% 70%, 70% 73%, 80% 70%, 90% 73%, 100% 70%, 100% 100%, 0% 100%);
}
50% {
clip-path: polygon(0% 72%, 10% 75%, 20% 72%, 30% 75%, 40% 72%, 50% 75%, 60% 72%, 70% 75%, 80% 72%, 90% 75%, 100% 72%, 100% 100%, 0% 100%);
}
}
/* انیمیشن موجهای شدید */
@keyframes strongWave {
0% {
clip-path: polygon(0% 70%, 10% 73%, 20% 70%, 30% 73%, 40% 70%, 50% 73%, 60% 70%, 70% 73%, 80% 70%, 90% 73%, 100% 70%, 100% 100%, 0% 100%);
}
25% {
clip-path: polygon(0% 60%, 10% 65%, 20% 60%, 30% 65%, 40% 60%, 50% 65%, 60% 60%, 70% 65%, 80% 60%, 90% 65%, 100% 60%, 100% 100%, 0% 100%);
}
50% {
clip-path: polygon(0% 50%, 10% 55%, 20% 50%, 30% 55%, 40% 50%, 50% 55%, 60% 50%, 70% 55%, 80% 50%, 90% 55%, 100% 50%, 100% 100%, 0% 100%);
}
75% {
clip-path: polygon(0% 60%, 10% 65%, 20% 60%, 30% 65%, 40% 60%, 50% 65%, 60% 60%, 70% 65%, 80% 60%, 90% 65%, 100% 60%, 100% 100%, 0% 100%);
}
100% {
clip-path: polygon(0% 70%, 10% 73%, 20% 70%, 30% 73%, 40% 70%, 50% 73%, 60% 70%, 70% 73%, 80% 70%, 90% 73%, 100% 70%, 100% 100%, 0% 100%);
}
}
.animated-button:hover {
background-color: #0fbcf9;
transform: scale(1.05);
box-shadow: 0 0 20px rgba(15, 188, 249, 0.5);
}
/* انیمیشن لرزش */
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
/* کشتی و مرد */
.ship {
position: absolute;
bottom: 25%;
left: -20%;
width: 30px;
height: 30px;
z-index: 2;
animation: shipMove 16s linear infinite;
}
.boat {
position: absolute;
bottom: 0;
left: 5px;
width: 20px;
height: 10px;
background: sienna;
border-radius: 0 0 5px 5px;
}
.sail {
position: absolute;
bottom: 10px;
left: 7px;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 12px solid white;
}
.man {
position: absolute;
bottom: 10px;
left: 12px;
width: 5px;
height: 10px;
background: black;
}
.paddle {
position: absolute;
bottom: 5px;
left: 15px;
width: 15px;
height: 2px;
background: brown;
transform-origin: left center;
animation: paddleMove 1s linear infinite;
}
@keyframes paddleMove {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(45deg);
}
100% {
transform: rotate(0deg);
}
}
@keyframes shipMove {
0% {
left: -20%;
}
100% {
left: 100%;
}
}
/* بخش دانلود برنامه */
#download {
padding: 30px 20px;
text-align: center;
background-color: #1a1a2e;
position: relative;
overflow: hidden;
border-radius: 3%;
margin-top: 40px;
}
/* افکت نورانی در بخش دانلود */
#download::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: radial-gradient(circle at center, rgba(15, 188, 249, 0.2), transparent);
animation: glowEffect 5s infinite alternate;
}
@keyframes glowEffect {
from {
transform: scale(1);
opacity: 0.5;
}
to {
transform: scale(1.5);
opacity: 1;
}
}
#download h2 {
font-size: 2em;
color: #0fbcf9;
text-shadow: 0 0 10px rgba(15, 188, 249, 0.7);
animation: fadeIn 2s ease-in-out;
position: relative;
z-index: 1;
margin-bottom: 10px;
}
#download p {
position: relative;
z-index: 1;
margin-bottom: 20px;
}
/* استایل برای آیکن و متن جدید */
#download .extra-text {
font-size: 1em;
color: #fff;
margin-top: 10px;
position: relative;
z-index: 1;
}
#download .logo-image {
width: 80px;
height: auto;
margin-top: 10px;
position: relative;
z-index: 1;
border-radius: 5%;
animation: float 3s infinite ease-in-out;
}
/* انیمیشن شناور لوگو */
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(0);
}
}
.download-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
margin-top: 20px;
position: relative;
z-index: 1;
}
.download-button {
width: 180px;
padding: 10px 0;
font-size: 1em;
background: linear-gradient(90deg, #0be881, #0fbcf9);
background-size: 200% 200%;
color: #0d0d2b;
border: none;
border-radius: 5px;
cursor: pointer;
animation: gradientShift 4s ease infinite;
transition: background-color 0.3s ease, transform 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
text-decoration: none;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.download-button:hover {
background-color: #0fbcf9;
transform: scale(1.05);
}
/* افکت محو شدن متن */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* دکمه آسمان پرستاره با سیارات متعدد */
.night-sky-button {
background-color: #000033;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.night-sky-button a {
color: #ffffff;
text-decoration: none;
position: relative;
z-index: 2;
}
/* ایجاد پسزمینه آسمان پرستاره با سیارات متعدد */
.night-sky-button::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: url('data:image/svg+xml;charset=utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><radialGradient id="planetGradient1"><stop offset="0%" stop-color="%23ff4500"/><stop offset="100%" stop-color="%23ffff00"/></radialGradient><radialGradient id="planetGradient2"><stop offset="0%" stop-color="%238a2be2"/><stop offset="100%" stop-color="%234b0082"/></radialGradient><radialGradient id="planetGradient3"><stop offset="0%" stop-color="%2300ced1"/><stop offset="100%" stop-color="%231e90ff"/></radialGradient><radialGradient id="planetGradient4"><stop offset="0%" stop-color="%23ff1493"/><stop offset="100%" stop-color="%23ff69b4"/></radialGradient><radialGradient id="planetGradient5"><stop offset="0%" stop-color="%2300ff7f"/><stop offset="100%" stop-color="%237fff00"/></radialGradient><radialGradient id="planetGradient6"><stop offset="0%" stop-color="%23dc143c"/><stop offset="100%" stop-color="%23ff4500"/></radialGradient><radialGradient id="planetGradient7"><stop offset="0%" stop-color="%23ffd700"/><stop offset="100%" stop-color="%23ffa500"/></radialGradient><radialGradient id="planetGradient8"><stop offset="0%" stop-color="%2300bfff"/><stop offset="100%" stop-color="%231e90ff"/></radialGradient><radialGradient id="planetGradient9"><stop offset="0%" stop-color="%23adff2f"/><stop offset="100%" stop-color="%237fff00"/></radialGradient><radialGradient id="planetGradient10"><stop offset="0%" stop-color="%23ff69b4"/><stop offset="100%" stop-color="%23ff1493"/></radialGradient></defs><g fill="%23ffffff"><circle cx="10" cy="20" r="0.9"/><circle cx="20" cy="40" r="1"/><circle cx="30" cy="60" r="0.8"/><circle cx="40" cy="80" r="0.9"/><circle cx="50" cy="100" r="1"/><circle cx="60" cy="120" r="0.8"/><circle cx="70" cy="140" r="0.9"/><circle cx="80" cy="160" r="1"/><circle cx="90" cy="40" r="0.8"/><circle cx="100" cy="60" r="0.9"/><circle cx="110" cy="80" r="1"/><circle cx="120" cy="100" r="0.8"/><circle cx="130" cy="120" r="0.9"/><circle cx="140" cy="140" r="1"/><circle cx="150" cy="60" r="0.8"/><circle cx="160" cy="80" r="0.9"/><circle cx="170" cy="100" r="1"/><circle cx="180" cy="120" r="0.8"/><circle cx="190" cy="140" r="0.9"/></g><animateTransform attributeName="transform" type="translate" from="0 0" to="-200 0" dur="50s" repeatCount="indefinite"/><g><circle cx="250" cy="50" r="5" fill="url(%23planetGradient1)"><animateMotion dur="30s" repeatCount="indefinite" path="M -250 0 C -150 -50 150 50 250 0"/></circle><circle cx="-50" cy="80" r="4" fill="url(%23planetGradient2)"><animateMotion dur="35s" repeatCount="indefinite" path="M 250 0 C 150 50 -150 -50 -250 0"/></circle><circle cx="250" cy="110" r="5" fill="url(%23planetGradient3)"><animateMotion dur="40s" repeatCount="indefinite" path="M -250 0 C -150 50 150 -50 250 0"/></circle><circle cx="-50" cy="140" r="4" fill="url(%23planetGradient4)"><animateMotion dur="32s" repeatCount="indefinite" path="M 250 0 C 150 -50 -150 50 -250 0"/></circle><circle cx="250" cy="70" r="5" fill="url(%23planetGradient5)"><animateMotion dur="38s" repeatCount="indefinite" path="M -250 0 C -150 -50 150 50 250 0"/></circle><circle cx="-50" cy="100" r="4" fill="url(%23planetGradient6)"><animateMotion dur="42s" repeatCount="indefinite" path="M 250 0 C 150 50 -150 -50 -250 0"/></circle><circle cx="250" cy="130" r="5" fill="url(%23planetGradient7)"><animateMotion dur="36s" repeatCount="indefinite" path="M -250 0 C -150 50 150 -50 250 0"/></circle><circle cx="-50" cy="160" r="4" fill="url(%23planetGradient8)"><animateMotion dur="40s" repeatCount="indefinite" path="M 250 0 C 150 -50 -150 50 -250 0"/></circle><circle cx="250" cy="90" r="5" fill="url(%23planetGradient9)"><animateMotion dur="34s" repeatCount="indefinite" path="M -250 0 C -150 -50 150 50 250 0"/></circle><circle cx="-50" cy="120" r="4" fill="url(%23planetGradient10)"><animateMotion dur="44s" repeatCount="indefinite" path="M 250 0 C 150 50 -150 -50 -250 0"/></circle></g><line x1="0" y1="0" x2="15" y2="0" stroke="%23ffffff" stroke-width="1"><animateMotion dur="15s" repeatCount="indefinite" path="M 200 200 L -200 -200" begin="5s"/></line></svg>') repeat;
background-size: 200px 200px;
animation: twinkling 50s linear infinite;
z-index: 1;
}
/* انیمیشن حرکت ستارهها */
@keyframes twinkling {
from {
transform: translate3d(0, 0, 0);
}
to {
transform: translate3d(-200px, 0, 0);
}
}
.night-sky-button:hover {
background-color: #000044;
transform: scale(1.05);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}
/* مدیا کوئری برای حالت موبایل */
@media (max-width: 768px) {
.start-button, .animated-button, .night-sky-button {
width: 80%;
font-size: 1em;
}
.download-button {
width: 140px;
padding: 8px 0;
font-size: 0.9em;
}
}