webmania-3d-studio / style.css
omid2010's picture
صفحه ورود خیلی طولانیه
c3165a8 verified
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts.css');
/* Base Styles */
body {
font-family: 'Vazirmatn', 'Inter', sans-serif;
line-height: 1.6;
overflow-x: hidden;
}
/* 3D Background Canvas */
#three-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
#three-bg canvas {
display: block;
}
/* Cyberpunk Loading Animation */
.cyber-loader {
perspective: 1000px;
}
.cyber-circle {
position: absolute;
width: 100%;
height: 100%;
border: 3px solid transparent;
border-radius: 50%;
border-top-color: #00D9FF;
animation: spin 2s linear infinite;
}
.cyber-circle:nth-child(1) {
width: 100%;
height: 100%;
animation-delay: 0.1s;
}
.cyber-circle:nth-child(2) {
width: 70%;
height: 70%;
top: 15%;
left: 15%;
border-top-color: #8B5CF6;
animation-direction: reverse;
animation-delay: 0.2s;
}
.cyber-circle:nth-child(3) {
width: 40%;
height: 40%;
top: 30%;
left: 30%;
border-top-color: #00D9FF;
animation-delay: 0.3s;
}
.cyber-center {
position: absolute;
width: 20%;
height: 20%;
top: 40%;
left: 40%;
display: flex;
justify-content: center;
align-items: center;
}
.cyber-dot {
width: 6px;
height: 6px;
background: #00D9FF;
border-radius: 50%;
margin: 0 2px;
animation: pulse 1.5s ease-in-out infinite;
}
.cyber-dot:nth-child(1) {
animation-delay: 0s;
}
.cyber-dot:nth-child(2) {
animation-delay: 0.5s;
}
.cyber-dot:nth-child(3) {
animation-delay: 1s;
}
.cyber-progress {
width: 200px;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
margin: 0 auto;
overflow: hidden;
}
.cyber-progress-bar {
height: 100%;
width: 0;
background: linear-gradient(90deg, #00D9FF, #8B5CF6);
animation: progress 3s ease-in-out forwards;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.5); opacity: 0.7; }
}
@keyframes progress {
0% { width: 0; }
100% { width: 100%; }
}
/* Typing Animation */
#typing-text {
border-right: 2px solid #00D9FF;
animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #00D9FF; }
}
/* Text Gradients */
.gradient-text {
background: linear-gradient(90deg, #00D9FF, #8B5CF6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
display: inline-block;
}
/* Buttons */
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 2rem;
background: linear-gradient(90deg, #00D9FF, #8B5CF6);
color: white;
border-radius: 9999px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 2rem;
border: 2px solid #00D9FF;
color: #00D9FF;
border-radius: 9999px;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: rgba(0, 217, 255, 0.1);
transform: translateY(-2px);
}
.btn-secondary:active {
transform: translateY(0);
}
/* Navigation */
.nav-link {
position: relative;
padding: 0.5rem 0;
color: rgba(226, 232, 240, 0.8);
transition: color 0.3s ease;
}
.nav-link:hover {
color: #00D9FF;
}
.nav-link.active {
color: #00D9FF;
}
.nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, #00D9FF, #8B5CF6);
border-radius: 2px;
}
/* Feature Cards */
.feature-card {
background: rgba(18, 18, 26, 0.7);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 1rem;
padding: 2rem;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 25px rgba(0, 217, 255, 0.1);
border-color: rgba(0, 217, 255, 0.3);
}
.feature-icon {
width: 3.5rem;
height: 3.5rem;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 217, 255, 0.1);
border-radius: 50%;
margin-bottom: 1.5rem;
}
.feature-icon i {
width: 1.5rem;
height: 1.5rem;
stroke: #00D9FF;
}
.feature-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
color: white;
}
.feature-description {
color: rgba(226, 232, 240, 0.7);
font-size: 0.95rem;
}
/* Footer Links */
.footer-link {
color: rgba(226, 232, 240, 0.7);
transition: color 0.2s ease;
}
.footer-link:hover {
color: #00D9FF;
}