:root {
    /* Dark theme colors */
    --primary-color: #00ffff;
    --secondary-color: #7000ff;
    --accent-color: #ff00ff;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #00ffff, #0099ff);
    --secondary-gradient: linear-gradient(135deg, #7000ff, #ff00ff);
    --accent-gradient: linear-gradient(135deg, #ff00ff, #ff0099);
    
    /* Glass effects */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-bg-lighter: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur-amount: 12px;
    
    /* Background */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    
    /* Thêm màu mới cho hiệu ứng */
    --cyber-blue: rgba(0, 255, 255, 0.15);
    --cyber-purple: rgba(112, 0, 255, 0.15);
    --cyber-pink: rgba(255, 0, 255, 0.15);
    --grid-color: rgba(0, 255, 255, 0.1);
}

/* Animated Background */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-darker);
    color: #e2e8f0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.15;
    animation: moveGlow 20s infinite alternate;
}

.glow-1 { top: 20%; left: 20%; width: 60vh; height: 60vh; }
.glow-2 { top: 60%; left: 70%; width: 40vh; height: 40vh; }
.glow-3 { top: 40%; left: 40%; width: 50vh; height: 50vh; }

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

/* Enhanced Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

/* Navigation */
.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 0.5rem 0;
}

.logo-container {
    position: relative;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.logo-text {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.logo-sekai {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.logo-z {
    color: var(--accent-color);
    position: relative;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.logo-z::after {
    content: 'Z';
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    animation: glitchZ 3s infinite;
}

.logo-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(0, 255, 255, 0.1) 50%,
        transparent 55%
    );
    background-size: 200% 200%;
    animation: glitchMove 3s ease-in-out infinite;
    z-index: 1;
}

.logo-scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.2),
        transparent
    );
    animation: scanline 2s linear infinite;
    z-index: 3;
}

@keyframes glitchZ {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 1px); }
    66% { transform: translate(2px, -1px); }
}

@keyframes glitchMove {
    0% { background-position: -100% -100%; }
    50% { background-position: 100% 100%; }
    100% { background-position: -100% -100%; }
}

@keyframes scanline {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* Hover Effects */
.logo-container:hover .logo-sekai {
    animation: pulseText 1.5s infinite;
}

.logo-container:hover .logo-z {
    animation: pulseTextZ 1.5s infinite;
}

@keyframes pulseText {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }
}

@keyframes pulseTextZ {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 0, 255, 0.3); }
    50% { text-shadow: 0 0 20px rgba(255, 0, 255, 0.6); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-text {
        font-size: 20px;
    }
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.contact-btn {
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 0.5rem 1.5rem !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%,
        rgba(112, 0, 255, 0.1) 50%,
        rgba(255, 0, 255, 0.1) 100%
    );
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-darker), var(--bg-darker)), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.hero-image {
    position: relative;
}

.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    top: -50px;
    right: -50px;
    opacity: 0.3;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-gradient);
    bottom: -30px;
    left: -30px;
    opacity: 0.2;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 3s infinite;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes moveGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .glow-effect {
        opacity: 0.1;
    }
}

/* Cyber Grid Effect */
.cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

/* Floating Orbs */
.cyber-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--cyber-blue);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--cyber-purple);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--cyber-pink);
    top: 30%;
    right: 30%;
    animation-delay: -10s;
}

/* Digital Rain Effect */
.digital-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.rain-column {
    position: absolute;
    width: 1px;
    top: -100%;
    background: linear-gradient(
        180deg,
        transparent,
        var(--primary-color),
        transparent
    );
    animation: digitalRain 8s infinite;
    opacity: 0.1;
}

/* Pulse Rings */
.pulse-ring {
    position: absolute;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    animation: pulseRing 4s linear infinite;
    opacity: 0;
}

/* Animation Keyframes */
@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes digitalRain {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Page Cards */
.page-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.page-card:hover {
    transform: translateY(-5px);
}

.page-card:hover::before {
    opacity: 0.1;
}

.page-card img {
    border: 2px solid var(--glass-border);
    padding: 2px;
    transition: all 0.3s ease;
}

.page-card:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.stats-summary {
    background: linear-gradient(to right, var(--glass-bg), var(--glass-bg-lighter));
    border: 1px solid var(--glass-border);
}

.stat-item i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fanpage Card Styles */
.fanpage-icon img {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.fanpage-icon img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.glass-card:hover .fanpage-icon img {
    border-color: var(--accent-color);
}

/* Cyber Sphere Styles */
.cyber-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    margin: auto;
    perspective: 1000px;
}

.sphere-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: sphereRotate 20s linear infinite;
}

.sphere-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-color: var(--primary-color);
}

.ring-2 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    border-color: var(--secondary-color);
    animation-delay: -1s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    border-color: var(--accent-color);
    animation-delay: -2s;
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--primary-color);
    animation: corePulse 2s ease-in-out infinite;
}

.sphere-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sphere-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-cube {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    transform-style: preserve-3d;
    animation: floatingCube 10s linear infinite;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    transform: rotate(45deg);
    animation: lineRotate 20s linear infinite;
}

/* Animations */
@keyframes sphereRotate {
    0% { transform: rotateY(0) rotateX(0); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1) rotateX(0); opacity: 0.5; }
    50% { transform: scale(1.1) rotateX(180deg); opacity: 0.8; }
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes floatingCube {
    0% { transform: translate(0, 0) rotate(0); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

@keyframes lineRotate {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(225deg) scale(1.2); }
    100% { transform: rotate(405deg) scale(1); }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .cyber-sphere {
        width: 300px;
        height: 300px;
    }
    
    .ring-3 {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
    }
}

/* Tech Visualization Styles */
.tech-visualization {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.tech-circle {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--primary-color);
    animation: coreGlow 3s ease-in-out infinite;
}

.tech-orbits {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation: orbitRotate 15s linear infinite;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation: orbitRotate 20s linear infinite reverse;
}

.orbit-3 {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    animation: orbitRotate 25s linear infinite;
}

.orbit-dot {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color);
}

.orbit-text {
    position: absolute;
    left: 20px;
    top: -10px;
    color: var(--primary-color);
    font-size: 0.9rem;
    white-space: nowrap;
    text-shadow: 0 0 10px var(--primary-color);
}

.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.connecting-lines::before,
.connecting-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform-origin: left center;
    animation: lineRotate 10s linear infinite;
}

.connecting-lines::after {
    animation: lineRotate 10s linear infinite reverse;
    transform: rotate(120deg);
}

@keyframes coreGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes orbitRotate {
    0% { transform: rotateZ(0) rotateY(0); }
    100% { transform: rotateZ(360deg) rotateY(360deg); }
}

@keyframes lineRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .tech-visualization {
        height: 400px;
    }
    
    .orbit-3 {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
    }
}

/* Enhanced About Section Styles */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    font-weight: 500;
}

.section-badge span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    font-size: 1.5rem;
}

.achievement-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-info p {
    margin: 0;
    opacity: 0.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    font-size: 1.5rem;
}

.core-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.core-rings {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: coreRingPulse 2s infinite;
}

.orbit-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: particlePulse 4s infinite;
}

@keyframes coreRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes particlePulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Stats Section Styles */
.stat-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulseRing 2s infinite;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Counter Animation */
.stat-number {
    transition: all 0.3s ease;
}

/* Media Projects Section */
.media-project-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.media-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
}

.media-project-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.media-project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.media-project-card:hover .project-overlay {
    opacity: 1;
}

.media-project-card:hover .media-project-image img {
    transform: scale(1.1);
}

.project-category {
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

.project-actions {
    align-self: flex-end;
}

.project-title {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
}

.project-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

/* Why Choose Us Section */
.feature-card {
    padding: 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-badge {
    background: rgba(0, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.achievement-card {
    padding: 2rem;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.achievement-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-card:hover .feature-icon,
.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .feature-card,
    .achievement-card {
        text-align: center;
    }
    
    .feature-icon,
    .achievement-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-stats {
        justify-content: center;
    }
}

/* Footer Styles */
.footer-section {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    opacity: 0.05;
    z-index: -1;
}

.footer-brand .logo-container {
    display: inline-block;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-newsletter .newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.5rem 1rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Partner Section Styles */
.partner-showcase {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.partner-item {
    position: relative;
    padding: 2rem;
    transition: all 0.4s ease;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.partner-logo {
    transition: all 0.4s ease;
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

.partner-item:hover .partner-logo {
    transform: scale(1.05);
}

.partner-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.8));
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-item:hover .partner-overlay {
    bottom: 0;
}

.partner-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.partner-role {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.partner-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
}

.partner-description p {
    margin: 0;
}

.text-gradient {
    background: linear-gradient(45deg, #6e45e2, #88d3ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fanpage-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
}

.fanpage-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.avatar-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.fanpage-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(5px);
}

.fanpage-info {
    flex: 1;
}

.page-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.page-id {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.stats-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-box i {
    font-size: 24px;
    margin-right: 10px;
    color: #4facfe;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.visit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
    color: white;
}

.visit-btn i {
    transition: transform 0.3s ease;
}

.visit-btn:hover i {
    transform: translateX(5px);
}

.fanpage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.zalo-icon {
    width: 48px;
    height: 48px;
    background: #0068ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 104, 255, 0.3);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.zalo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.4);
}

/* Button View Details */
.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    color: white;
}

.btn-view:hover::before {
    opacity: 1;
}

.btn-view::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-view:hover::after {
    transform: translateX(4px);
}

/* Portfolio Card Back Content */
.portfolio-card .card-back .content-wrapper {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    flex-grow: 1;
}

.portfolio-card .feature-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 20px;
}

.portfolio-card .feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00BCD4;
    font-weight: bold;
}

/* Tech Icons */
.tech-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.tech-icons i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.tech-icons i:hover {
    color: #00BCD4;
    transform: translateY(-2px);
}

/* Tooltip for tech icons */
.tech-icons i[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-icons i[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

/* Glass Card Hover Effects */
.glass-card.portfolio-card {
    transition: all 0.3s ease;
}

.glass-card.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Contact Section Styles */
.contact-card {
    padding: 0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card-content {
    display: flex;
    padding: 2rem;
    gap: 1.5rem;
    height: 100%;
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon i {
    font-size: 32px;
}

.contact-icon .zalo-icon {
    font-size: 28px;
    font-weight: bold;
    color: #0068ff;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.contact-info {
    flex-grow: 1;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.contact-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contact-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btn-connect {
    width: 100%;
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .contact-features li {
        justify-content: center;
    }
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    line-height: 44px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

#back-to-top i {
    font-size: 20px;
    line-height: 44px;
}

/* Team Section Styles */
.team-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.member-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.avatar-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.member-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 0;
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.member-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Cập nhật CSS cho member-image */
.member-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

/* Điều chỉnh kích thước cho responsive */
@media (max-width: 768px) {
    .avatar-circle {
        width: 120px;
        height: 120px;
    }
}

.member-email {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.member-email:hover {
    color: var(--primary-color);
}

.member-email i {
    font-size: 1rem;
    vertical-align: middle;
}

.navbar-toggler {
    border: none;
    background-color: transparent;
    color: #fff; /* Ensure the icon is visible */
}

.navbar-toggler .toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #fff; /* Ensure the icon is visible */
    display: block;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}
