/* Khối bọc ngoài cùng – Nhốt toàn bộ hiệu ứng bên trong */
.tech-box-container {
position: relative;
width: 100%;
max-width: 800px; /* Chiều rộng tối đa để form không bị bè ngang */
margin: 0 auto; /* Căn giữa toàn bộ khối này trên trang web */
min-height: 400px; /* Chiều cao cố định để tạo không gian */
display: flex;
justify-content: center; /* Căn giữa hộp kính theo chiều ngang */
align-items: center; /* Căn giữa hộp kính theo chiều dọc */
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(-45deg, #02000d, #0d0626, #1a0b2e, #04122b);
background-size: 400% 400%;
animation: techBgShift 15s ease infinite;
/* Cực kỳ quan trọng: Giữ mọi thứ trong viền bo góc */
border-radius: 16px;
overflow: hidden;
border: 1px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 255, 255, 0.1);
}
@keyframes techBgShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Lớp hạt năng lượng (Chỉ bay bên trong khối) */
.tech-particles {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
z-index: 1; pointer-events: none;
}
.tech-particles::after {
content: ”; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
background-image:
radial-gradient(2px 2px at 20px 30px, #00ffff, transparent),
radial-gradient(2px 2px at 50px 160px, #b450ff, transparent),
radial-gradient(2px 2px at 130px 80px, #00ffff, transparent),
radial-gradient(2px 2px at 250px 360px, #ffffff, transparent);
background-repeat: repeat; background-size: 300px 300px;
animation: techSparkle 4s infinite alternate; opacity: 0.5;
}
@keyframes techSparkle {
0% { opacity: 0.2; transform: scale(0.9); }
100% { opacity: 1; transform: scale(1.1); }
}
/* Hộp kính nội dung */
.tech-message-glass {
position: relative;
z-index: 2; /* Nổi lên trên lớp nền và hạt */
background: rgba(10, 10, 25, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(0, 255, 255, 0.3);
border-radius: 16px;
padding: 40px 30px;
text-align: center; /* Căn giữa chữ */
width: 90%;
max-width: 600px;
box-shadow: 0 0 30px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(180, 80, 255, 0.2);
}
/* Biểu tượng sét */
.tech-icon {
font-size: 55px;
margin-bottom: 15px;
animation: iconPulse 2s infinite;
}
@keyframes iconPulse {
0%, 100% { transform: scale(1); text-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
50% { transform: scale(1.1); text-shadow: 0 0 25px #0ff, 0 0 40px rgba(180, 80, 255, 0.8); }
}
/* Text */
.tech-title {
font-size: 26px;
font-weight: 700;
margin: 0 0 15px 0;
letter-spacing: 1px;
text-transform: uppercase;
color: #ffffff;
text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}
.tech-desc {
font-size: 18px;
line-height: 1.6;
color: #d1e8ff;
margin: 5px 0;
text-shadow: 0 0 10px rgba(180, 80, 255, 0.5);
}
