/* Custom Fonts */ .font-rye { font-family: 'Rye', serif; } .font-cinzel { font-family: 'Cinzel', serif; } .font-playfair { font-family: 'Playfair Display', serif; } /* Custom Cursor */ .custom-cursor { width: 20px; height: 20px; border: 2px solid #d97706; border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.15s ease, opacity 0.15s ease; mix-blend-mode: difference; } .cursor-follower { width: 40px; height: 40px; background: rgba(217, 119, 6, 0.1); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transition: transform 0.3s ease, opacity 0.3s ease; } /* Hide default cursor */ @media (pointer: fine) { * { cursor: none !important; } } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #0c0a09; } ::-webkit-scrollbar-thumb { background: #78350f; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #92400e; } /* Selection */ ::selection { background: rgba(185, 28, 28, 0.3); color: #fef3c7; } /* Text Shadow Effects */ .text-glow { text-shadow: 0 0 20px rgba(217, 119, 6, 0.3); } /* Grain Overlay */ .grain-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); } /* Parallax Layers */ .parallax-layer { will-change: transform; } /* Hero Animations */ @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px rgba(185, 28, 28, 0.3); } 50% { box-shadow: 0 0 40px rgba(185, 28, 28, 0.6); } } /* Feature Card Hover Effects */ .feature-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.1), transparent); transition: left 0.5s ease; } .feature-card:hover::before { left: 100%; } /* Gallery Slider */ .gallery-slider { mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); } /* Edition Card Shine */ .edition-card { position: relative; overflow: hidden; } .edition-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient( 45deg, transparent 30%, rgba(217, 119, 6, 0.1) 50%, transparent 70% ); transform: rotate(45deg) translateY(-100%); transition: transform 0.6s ease; } .edition-card:hover::after { transform: rotate(45deg) translateY(100%); } /* Button Ripple Effect */ .ripple { position: absolute; border-radius: 50%; background: rgba(254, 243, 199, 0.3); transform: scale(0); animation: ripple-animation 0.6s ease-out; pointer-events: none; } @keyframes ripple-animation { to { transform: scale(4); opacity: 0; } } /* Loading Animation */ .loading-spinner { width: 50px; height: 50px; border: 3px solid #451a03; border-top-color: #d97706; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Reveal Animation Classes */ .reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; } .reveal-up.revealed { opacity: 1; transform: translateY(0); } .reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; } .reveal-left.revealed { opacity: 1; transform: translateX(0); } .reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; } .reveal-scale.revealed { opacity: 1; transform: scale(1); } /* Dust Canvas */ #dustCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Responsive Adjustments */ @media (max-width: 768px) { .custom-cursor, .cursor-follower { display: none; } * { cursor: auto !important; } } /* Reduced Motion */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .parallax-layer { transform: none !important; } } /* Chinese Font Support */ [lang="zh"] { font-family: 'Noto Serif SC', 'Cinzel', serif; } /* Language-specific adjustments */ [lang="zh"] .font-rye { font-family: 'Noto Serif SC', 'Rye', serif; font-weight: 700; } [lang="zh"] .font-cinzel { font-family: 'Noto Serif SC', 'Cinzel', serif; } [lang="zh"] .font-playfair { font-family: 'Noto Serif SC', 'Playfair Display', serif; } /* Russian Font Support */ [lang="ru"] { font-family: 'Playfair Display', 'Cinzel', serif; } [lang="ru"] .font-rye { font-family: 'Playfair Display', 'Rye', serif; font-weight: 700; letter-spacing: 0.05em; }