/* CODE ĐƯỢC VIẾT BỞI NC HOÀI FACEBOOK: NGUYỄN CAO HOAI(ĐEN) TELEGRAM: @nguyencaohoai77 */ #music-popup { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #1c1c1e; border-radius: 12px; padding: 14px 18px; box-shadow: 0 4px 15px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 12px; z-index: 9999; max-width: 95%; width: 600px; animation: fadeIn 0.3s ease-in-out; } #music-popup img { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; } #music-popup span { flex: 1; font-size: 15px; color: white; line-height: 1.4; } #music-popup a { color: #9b9b9b; text-decoration: none; font-size: 13px; display: inline-block; margin-top: 4px; } #music-popup button { background: #3a42d1; color: white; border: none; border-radius: 20px; padding: 8px 14px; cursor: pointer; font-size: 14px; white-space: nowrap; } @media (max-width: 480px) { #music-popup { flex-direction: column; align-items: flex-start; padding: 16px; } #music-popup img { width: 32px; height: 32px; margin-bottom: 10px; } #music-popup button { width: 100%; text-align: center; margin-top: 10px; } } @keyframes fadeIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 0.8s ease; } #page { display: flex; justify-content: center; align-items: center; } #container { display: flex; justify-content: center; align-items: center; position: relative; } #h3 { color: var(--text-muted); font-size: 1.2em; font-weight: 600; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; } #ring { width: 190px; height: 190px; border: 1px solid transparent; border-radius: 50%; position: absolute; } #ring:nth-child(1) { border-bottom: 8px solid rgb(240, 42, 230); animation: rotate1 2s linear infinite; } @keyframes rotate1 { from { transform: rotateX(50deg) rotateZ(110deg); } to { transform: rotateX(50deg) rotateZ(470deg); } } #ring:nth-child(2) { border-bottom: 8px solid rgb(240, 19, 67); animation: rotate2 2s linear infinite; } @keyframes rotate2 { from { transform: rotateX(20deg) rotateY(50deg) rotateZ(20deg); } to { transform: rotateX(20deg) rotateY(50deg) rotateZ(380deg); } } #ring:nth-child(3) { border-bottom: 8px solid rgb(3, 170, 170); animation: rotate3 2s linear infinite; } @keyframes rotate3 { from { transform: rotateX(40deg) rotateY(130deg) rotateZ(450deg); } to { transform: rotateX(40deg) rotateY(130deg) rotateZ(90deg); } } #ring:nth-child(4) { border-bottom: 8px solid rgb(207, 135, 1); animation: rotate4 2s linear infinite; } @keyframes rotate4 { from { transform: rotateX(70deg) rotateZ(270deg); } to { transform: rotateX(70deg) rotateZ(630deg); } } .loading-spinner { display: none; } .loading-text { display: none; } .slide-in-left { opacity: 0; transform: translateX(-60px) scale(0.8) rotateY(-15deg); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); } .slide-in-right { opacity: 0; transform: translateX(60px) scale(0.8) rotateY(15deg); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); } .slide-in-up { opacity: 0; transform: translateY(60px) scale(0.7) rotateX(15deg); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); } .animate-in { opacity: 1 !important; transform: translateX(0) translateY(0) scale(1) rotateX(0) rotateY(0) !important; } .scroll-animate { opacity: 0; transform: translateY(80px) scale(0.6) rotateX(25deg); transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: blur(8px); will-change: transform, opacity, filter; } .scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); } .profile-header.scroll-animate { transform: translateY(50px) scale(0.8) rotateZ(-5deg); transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .profile-header.scroll-animate.animate-in { transform: translateY(0) scale(1) rotateZ(0); } .social-link.scroll-animate { transform: translateX(-80px) scale(0.5) rotateZ(-10deg); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition-delay: var(--delay, 0s); } .social-link.scroll-animate.animate-in { transform: translateX(0) scale(1) rotateZ(0); } .service-card.scroll-animate { opacity: 0; transform: translateY(100px) scale(0.4) rotateX(30deg) rotateY(20deg); transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition-delay: var(--delay, 0s); filter: blur(10px); } .service-card.scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateX(0) rotateY(0); filter: blur(0); } .bank-item.scroll-animate { opacity: 0; transform: translateY(60px) scale(0.6) rotateZ(10deg); transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition-delay: var(--delay, 0s); } .bank-item.scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateZ(0); } .code-terminal.scroll-animate { opacity: 0; transform: translateY(120px) scale(0.3) rotateX(45deg); transition: all 1.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: blur(15px); } .code-terminal.scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); } .section-title.scroll-animate { opacity: 0; transform: translateY(40px) scale(0.7) rotateZ(-3deg); transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .section-title.scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateZ(0); } .bank-title.scroll-animate { opacity: 0; transform: translateY(40px) scale(0.8) rotateZ(5deg); transition: all 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .bank-title.scroll-animate.animate-in { opacity: 1; transform: translateY(0) scale(1) rotateZ(0); } .scroll-animate.animate-in:hover { animation: gentle-bounce 0.6s ease-in-out; } @keyframes gentle-bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-8px) scale(1.05); } 60% { transform: translateY(-4px) scale(1.02); } } .scroll-animate.animate-in::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: shimmer 1.5s ease-in-out; pointer-events: none; z-index: 1; } @keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } } * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-color: #2563eb; --secondary-color: #1e40af; --bg-color: #ffffff; --card-bg: #f8fafc; --text-color: #1f2937; --text-muted: #6b7280; --border-color: #e5e7eb; --shadow-color: rgba(37, 99, 235, 0.1); --terminal-bg: #0f172a; --terminal-text: #22c55e; --success-color: #10b981; --error-color: #ef4444; } [data-theme="dark"] { --primary-color: #3b82f6; --secondary-color: #2563eb; --bg-color: #020617; --card-bg: #1e293b; --text-color: #f1f5f9; --text-muted: #94a3b8; --border-color: #334155; --shadow-color: rgba(59, 130, 246, 0.2); --terminal-bg: #0f172a; --terminal-text: #22c55e; } body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-color); color: var(--text-color); min-height: 100vh; padding: 20px; transition: all 0.3s ease; position: relative; } .theme-toggle { position: fixed; top: 20px; right: 20px; z-index: 1000; background: var(--card-bg); border: 2px solid var(--border-color); border-radius: 50px; padding: 12px 16px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px var(--shadow-color); display: flex; align-items: center; gap: 8px; } .theme-toggle:hover { transform: scale(1.05); box-shadow: 0 6px 20px var(--shadow-color); } .theme-toggle i { font-size: 1.2em; color: var(--primary-color); transition: all 0.3s ease; } .container { max-width: 480px; margin: 0 auto; background: var(--card-bg); border-radius: 16px; padding: 40px 30px; box-shadow: 0 8px 32px var(--shadow-color); border: 1px solid var(--border-color); transition: all 0.3s ease; } .profile-header { text-align: center; margin-bottom: 40px; } .profile-image-wrapper { position: relative; width: 200px; height: 200px; margin: 0 auto 25px; display: flex; justify-content: center; align-items: center; } .profile-frame { position: absolute; width: 100%; height: 100%; background-image: url('/img/logo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; z-index: 1; } .profile-image-container { position: relative; width: 170px; height: 150px; border-radius: 50%; overflow: hidden; display: flex; justify-content: center; align-items: center; } .profile-image { width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-color); transition: all 0.3s ease; } .profile-image:hover { transform: scale(1.05); } .profile-name { font-size: 2.2em; font-weight: 700; margin-bottom: 10px; color: var(--text-color); } .profile-description { color: var(--text-muted); font-size: 1.1em; line-height: 1.6; margin-bottom: 35px; } .section-title { font-size: 1.4em; font-weight: 600; text-align: center; margin-bottom: 25px; color: var(--text-color); position: relative; } .section-title::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--primary-color); border-radius: 2px; } .social-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 35px; } .social-link { display: flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: 12px; text-decoration: none; color: white; font-weight: 500; font-size: 1.1em; transition: all 0.3s ease; background: var(--primary-color); position: relative; overflow: hidden; } .social-link:hover { background: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow-color); } .bank-info { background: var(--card-bg); border-radius: 12px; padding: 25px; margin-bottom: 35px; border: 1px solid var(--border-color); box-shadow: 0 4px 12px var(--shadow-color); } .bank-title { font-size: 1.4em; font-weight: 600; margin-bottom: 20px; text-align: center; color: var(--text-color); } .bank-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .bank-item { background: var(--bg-color); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); transition: all 0.3s ease; } .bank-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px var(--shadow-color); border-color: var(--primary-color); } .bank-item h4 { color: var(--text-color); margin-bottom: 12px; font-size: 1.1em; font-weight: 600; display: flex; align-items: center; gap: 10px; } .bank-item img { width: 24px; height: 24px; object-fit: contain; } .bank-item p { color: var(--text-muted); margin: 6px 0; font-size: 0.95em; } .code-line { margin: 2px 0; opacity: 0; animation: fadeIn 0.5s ease-in-out forwards; } @keyframes fadeIn { to { opacity: 1; } } .code-output { color: #22c55e; font-weight: 500; } .code-error { color: #ef4444; } .code-comment { color: #6b7280; } .code-keyword { color: #3b82f6; } .code-string { color: #f59e0b; } .cursor { display: inline-block; width: 8px; height: 16px; background: var(--terminal-text); animation: blink 1s infinite; margin-left: 2px; } @keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } } @media (max-width: 768px) { .container { padding: 30px 20px; margin: 10px; } .profile-name { font-size: 1.8em; } .social-link { padding: 14px 20px; font-size: 1em; } .theme-toggle { top: 10px; right: 10px; padding: 8px 16px; } } .footer { background: linear-gradient(135deg, #667eea 0%, #4ba276 100%); padding: 20px 0; text-align: center; position: relative; overflow: hidden; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); } .footer::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shimmer 3s infinite; } @keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } } .nchoai-bq { margin: 0; color: #ffffff; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,0.3); position: relative; z-index: 1; } .nchoai-bq::before { content: "⚡"; margin-right: 8px; font-size: 16px; animation: pulse 2s infinite; } .nchoai-bq::after { content: "⚡"; margin-left: 8px; font-size: 16px; animation: pulse 2s infinite 1s; } @keyframes pulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } } .footer:hover .nchoai-bq { transform: scale(1.05); transition: all 0.3s ease; } @media (max-width: 768px) { .footer { padding: 15px 0; } .nchoai-bq { font-size: 12px; letter-spacing: 0.5px; } } html { scroll-behavior: smooth; } .services-section { margin-bottom: 35px; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 25px; } .service-card { background: var(--bg-color); border-radius: 12px; padding: 25px; border: 1px solid var(--border-color); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease-out forwards; } .service-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 40px var(--shadow-color); border-color: var(--primary-color); } .service-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: left 0.5s ease; } .service-card:hover::before { left: 0; } .service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: all 0.3s ease; } .service-icon i { font-size: 24px; color: white; } .service-card:hover .service-icon { transform: rotateY(180deg); } .service-title { font-size: 1.3em; font-weight: 600; color: var(--text-color); margin-bottom: 12px; } .service-description { color: var(--text-muted); font-size: 0.95em; line-height: 1.6; margin-bottom: 15px; } .service-price { font-size: 1.1em; font-weight: 700; color: var(--primary-color); margin-bottom: 15px; } .service-features { list-style: none; margin-bottom: 20px; } .service-features li { color: var(--text-muted); font-size: 0.9em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; } .service-features li::before { content: '✓'; color: var(--success-color); font-weight: bold; } .service-btn { width: 100%; padding: 12px; background: var(--primary-color); color: white; border: none; border-radius: 8px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; text-align: center; } .service-btn:hover { background: var(--secondary-color); transform: translateY(-2px); } .floating-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 8px 25px var(--shadow-color); cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1000; opacity: 0; transform: scale(0); } .floating-btn.show { opacity: 1; transform: scale(1); } .floating-btn:hover { transform: scale(1.1) rotate(15deg); box-shadow: 0 12px 35px var(--shadow-color); } @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } } .service-card:nth-child(1) { animation-delay: 0.1s; } .service-card:nth-child(2) { animation-delay: 0.2s; } .service-card:nth-child(3) { animation-delay: 0.3s; } .scroll-indicator { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(37, 99, 235, 0.1); z-index: 1001; } .scroll-progress { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); width: 0%; transition: width 0.3s ease; } @media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; gap: 15px; } .service-card { padding: 20px; } .floating-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 20px; } } @keyframes ripple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(6); opacity: 0; } } @keyframes pulse { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } } .scroll-animate.animate-in.shimmer-active::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: shimmer 1.5s ease-in-out; pointer-events: none; z-index: 1; } .scroll-animate.animate-in.shimmer-complete::before { display: none !important; } @keyframes shimmer { 0% { left: -100%; opacity: 1; } 99% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; visibility: hidden; } } .service-card, .social-link, .bank-item { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; } .service-icon { transition: all 0.3s ease !important; } .service-features li { transition: all 0.2s ease !important; } .bank-item img { transition: all 0.3s ease !important; } .skills-section { margin: 3rem 0; padding: 2rem; background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05)); border-radius: 20px; backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); } .skills-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent); pointer-events: none; animation: shimmer 3s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 2rem; color: var(--text-primary); text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 2rem 0; } .skill-card { background: rgba(255,255,255,0.12); border-radius: 15px; padding: 2rem; border: 1px solid rgba(255,255,255,0.15); transition: all 0.4s ease; position: relative; overflow: hidden; cursor: pointer; backdrop-filter: blur(10px); } .skill-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); transform: scale(0); transition: transform 0.6s ease; } .skill-card:hover::before { transform: scale(1); } .skill-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.3); } .skill-card[data-skill="html"]:hover { border-color: #e34f26; box-shadow: 0 20px 40px rgba(227,79,38,0.3); } .skill-card[data-skill="css"]:hover { border-color: #1572b6; box-shadow: 0 20px 40px rgba(21,114,182,0.3); } .skill-card[data-skill="js"]:hover { border-color: #f7df1e; box-shadow: 0 20px 40px rgba(247,223,30,0.3); } .skill-icon { font-size: 3rem; margin-bottom: 1rem; text-align: center; position: relative; z-index: 2; } .skill-card[data-skill="html"] .skill-icon { color: #e34f26; } .skill-card[data-skill="css"] .skill-icon { color: #1572b6; } .skill-card[data-skill="js"] .skill-icon { color: #f7df1e; } .skill-content { position: relative; z-index: 2; } .skill-name { font-size: 1.5rem; margin-bottom: 1rem; text-align: center; color: var(--text-primary); font-weight: 600; } .skill-progress { background: rgba(255,255,255,0.15); border-radius: 10px; height: 8px; margin-bottom: 1rem; overflow: hidden; position: relative; } .skill-bar { height: 100%; border-radius: 10px; position: relative; width: 0%; transition: width 2s ease; } .skill-card[data-skill="html"] .skill-bar { background: linear-gradient(90deg, #e34f26, #ff6b47); } .skill-card[data-skill="css"] .skill-bar { background: linear-gradient(90deg, #1572b6, #42a5f5); } .skill-card[data-skill="js"] .skill-bar { background: linear-gradient(90deg, #f7df1e, #ffd54f); } .skill-percent { position: absolute; right: 10px; top: -25px; font-size: 0.8rem; color: var(--text-primary); font-weight: bold; } .skill-description { text-align: center; color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.9rem; } .skill-stats { display: flex; justify-content: center; gap: 1rem; } .stat-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-size: 0.85rem; } .stat-item i { font-size: 1rem; } .skills-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .summary-item { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 1.5rem; text-align: center; border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease; backdrop-filter: blur(10px); } .summary-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.15); box-shadow: 0 10px 30px rgba(0,0,0,0.1); } .summary-icon { font-size: 2rem; margin-bottom: 1rem; color: #64b5f6; } .summary-content h4 { color: var(--text-primary); margin-bottom: 0.5rem; font-size: 1rem; font-weight: 600; } .summary-number { font-size: 2rem; font-weight: bold; color: #64b5f6; display: block; } @media (max-width: 768px) { .skills-section { padding: 1.5rem; margin: 2rem 0; } .section-title { font-size: 2rem; } .skills-grid { grid-template-columns: 1fr; gap: 1.5rem; } .skill-card { padding: 1.5rem; } .skill-icon { font-size: 2.5rem; } .skills-summary { grid-template-columns: 1fr; gap: 1rem; } .summary-item { padding: 1rem; } } .skill-card.animate .skill-bar { animation: fillBar 2s ease forwards; } @keyframes fillBar { from { width: 0%; } to { width: var(--target-width); } } .summary-number.counting { animation: none; } @keyframes floatParticle { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; } } .nchoai { font-size: 16px; color: #666; min-height: 40px; display: flex; align-items: center; justify-content: center; border-right: 2px solid #4CAF50; animation: blink 1s infinite; } @keyframes blink { 0%, 50% { border-color: #4CAF50; } 51%, 100% { border-color: transparent; } } .nchoai { border-right: 2px solid #4CAF50; } .nc-hoai { position: relative; padding-left: 20px; font-size: 1.2rem; font-weight: 600; color: #333; margin-bottom: 20px; display: flex; align-items: center; } .nc-hoai::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 24px; background: #007bff; border-radius: 2px; } [data-theme="dark"] .nc-hoai { color: #fff; } .social-link { display: inline-block; margin-bottom: 10px; margin-right: 10px; padding: 8px 16px; background: #f8f9fa; color: #333; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; font-size: 0.9rem; font-weight: 500; } .social-link:hover { background: #007bff; color: #fff; transform: translateY(-2px); } .snowflake { position: fixed; top: -50px; z-index: 1000; user-select: none; pointer-events: none; color: rgba(255, 255, 255, 0.8); font-size: 16px; animation: snowfall linear infinite; will-change: transform; } @keyframes snowfall { 0% { transform: translateY(-50px) translateX(0px) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(calc(100vh + 50px)) translateX(0px) rotate(360deg); opacity: 0; } } .snowflake.sway { animation: snowfallSway linear infinite; } @keyframes snowfallSway { 0% { transform: translateY(-50px) translateX(0px) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 25% { transform: translateY(25vh) translateX(30px) rotate(90deg); } 50% { transform: translateY(50vh) translateX(-30px) rotate(180deg); } 75% { transform: translateY(75vh) translateX(20px) rotate(270deg); } 90% { opacity: 1; } 100% { transform: translateY(calc(100vh + 50px)) translateX(0px) rotate(360deg); opacity: 0; } } body.dark-mode .snowflake { color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); } body:not(.dark-mode) .snowflake { color: rgba(135, 206, 235, 0.8); text-shadow: 0 0 5px rgba(135, 206, 235, 0.5); } .nchoai-click { position: fixed; pointer-events: none; z-index: 9999; font-size: 13px; font-weight: bold; color: #4ecdc4; text-shadow: 0 0 10px rgba(78, 205, 196, 0.5); animation: clickTextAnimation 2s ease-out forwards; user-select: none; } @keyframes clickTextAnimation { 0% { opacity: 1; transform: translateY(0px) scale(1); } 50% { opacity: 1; transform: translateY(-30px) scale(1.1); } 100% { opacity: 0; transform: translateY(-60px) scale(0.8); } } .nchoai-click.gold { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); } .nchoai-click.green { color: #00ff00; text-shadow: 0 0 10px rgba(0, 255, 0, 0.5); } .nchoai-click.pink { color: #ff69b4; text-shadow: 0 0 10px rgba(255, 105, 180, 0.5); } .nchoai-click.purple { color: #9370db; text-shadow: 0 0 10px rgba(147, 112, 219, 0.5); } .nchoai-click.red { color: #ff4757; text-shadow: 0 0 10px rgba(255, 71, 87, 0.5); } .verified-icon { width: 24px; height: 24px; animation: verifiedPulse 2s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.6)); transition: all 0.3s ease; } .verified-icon:hover { transform: scale(1.2) rotate(360deg); filter: drop-shadow(0 0 15px rgba(78, 205, 196, 0.8)); } @keyframes verifiedPulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.6)); } 50% { transform: scale(1.1); filter: drop-shadow(0 0 12px rgba(78, 205, 196, 0.8)); } } /* CODE ĐƯỢC VIẾT BỞI NC HOÀI FACEBOOK: NGUYỄN CAO HOAI(ĐEN) TELEGRAM: @nguyencaohoai77 */