/* SWANKY ARTS Custom Styles */

/* Hologram & 3D Printer Theme Animations */

/* Base hologram effects */
.hologram-section {
    position: relative;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(5px);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.8) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.hologram-section.hologram-active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0px);
    animation: hologramMaterialize 1s ease-out var(--delay, 0s);
}

.hologram-card {
    position: relative;
    opacity: 0;
    transform: translateZ(-100px) rotateY(15deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(3px);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.hologram-card.hologram-active {
    opacity: 1;
    transform: translateZ(0) rotateY(0deg);
    filter: blur(0px);
    animation: hologramCardMaterialize 0.8s ease-out var(--card-delay, 0s);
}

/* Hologram materialization animations */
@keyframes hologramMaterialize {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(20deg) scale(0.8);
        filter: blur(10px) hue-rotate(180deg);
    }
    30% {
        opacity: 0.3;
        filter: blur(5px) hue-rotate(90deg);
    }
    60% {
        opacity: 0.7;
        transform: translateY(-10px) rotateX(-5deg) scale(1.02);
        filter: blur(2px) hue-rotate(45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0px) hue-rotate(0deg);
    }
}

@keyframes hologramCardMaterialize {
    0% {
        opacity: 0;
        transform: translateZ(-200px) rotateY(45deg) scale(0.5);
        filter: blur(15px);
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    }
    25% {
        opacity: 0.4;
        filter: blur(8px);
    }
    50% {
        opacity: 0.7;
        transform: translateZ(-50px) rotateY(10deg) scale(1.05);
        filter: blur(4px);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    }
    75% {
        transform: translateZ(10px) rotateY(-2deg) scale(1.02);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateZ(0) rotateY(0deg) scale(1);
        filter: blur(0px);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(212, 175, 55, 0.2);
    }
}

/* Hologram scanning effect */
.hologram-scanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    animation: hologramScan 2s ease-in-out;
    z-index: 10;
}

@keyframes hologramScan {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Hologram glitch effect */
.hologram-glitch {
    animation: hologramGlitch 0.2s ease-in-out;
}

@keyframes hologramGlitch {
    0%, 100% {
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translateX(-2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translateX(2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translateX(-1px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translateX(1px);
        filter: hue-rotate(360deg);
    }
}

/* 3D Printer Background */
.printer-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
    overflow: hidden;
}

.printer-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(60deg) rotateY(45deg);
    width: 300px;
    height: 300px;
    border: 2px solid #D4AF37;
    animation: printerRotate 20s linear infinite;
}

.printer-bed {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 20px;
    background: linear-gradient(45deg, #D4AF37, transparent, #D4AF37);
    animation: printerBedMove 4s ease-in-out infinite alternate;
}

.printer-extruder {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #D4AF37;
    border-radius: 50%;
    animation: printerExtruderMove 3s ease-in-out infinite;
}

.printer-rails {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-left: 1px solid #D4AF37;
    border-right: 1px solid #D4AF37;
    opacity: 0.5;
}

.print-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    animation: printLinesGrow 2s ease-in-out infinite;
}

@keyframes printerRotate {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateY(45deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateY(405deg); }
}

@keyframes printerBedMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

@keyframes printerExtruderMove {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    25% { transform: translateX(-30%) translateY(-5px); }
    50% { transform: translateX(-70%) translateY(-10px); }
    75% { transform: translateX(-40%) translateY(-5px); }
}

@keyframes printLinesGrow {
    0% { 
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Scanning lines */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    z-index: 2;
    opacity: 0.7;
    box-shadow: 0 0 10px #D4AF37;
}

/* Particle effects */
.hologram-particle {
    animation: particleFloat 1s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-50px);
    }
}

/* 3D Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

@keyframes glow {
    from { 
        box-shadow: 0 0 20px #D4AF37; 
    }
    to { 
        box-shadow: 0 0 30px #D4AF37, 0 0 40px #D4AF37; 
    }
}

@keyframes rotate-3d {
    0% { 
        transform: rotateY(0deg) rotateX(0deg); 
    }
    100% { 
        transform: rotateY(360deg) rotateX(360deg); 
    }
}

@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Glass Effect */
.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-effect:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(26, 26, 26, 0.9);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #D4AF37, #F4E4BC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8941F;
}

/* 3D Model Viewer Styles */
#viewer-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

#viewer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top: 3px solid #D4AF37;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File Upload Styles */
.file-upload-area {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.file-upload-area:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Button Hover Effects */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.btn-3d:hover {
    transform: translateY(-2px) rotateX(10deg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-3d:active {
    transform: translateY(0) rotateX(0deg);
    box-shadow: 0 5px 10px rgba(212, 175, 55, 0.2);
}

/* Card Hover Effects */
.card-3d {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #F4E4BC);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Status Badges */
.status-badge {
    position: relative;
    overflow: hidden;
}

.status-badge::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: left 0.5s ease;
}

.status-badge:hover::before {
    left: 100%;
}

/* Form Styles */
.form-input {
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Table Styles */
.table-row {
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

/* Modal Styles */
.modal-backdrop {
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Progress Bar */
.progress-bar {
    background: linear-gradient(90deg, #D4AF37, #F4E4BC);
    height: 4px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-effect {
        backdrop-filter: blur(5px);
    }
    
    .card-3d:hover {
        transform: translateY(-2px);
    }
    
    .btn-3d:hover {
        transform: translateY(-1px);
    }
}

/* Print Styles */
@media print {
    .glass-effect {
        background: white !important;
        border: 1px solid #ccc !important;
    }
    
    .text-gradient {
        color: #D4AF37 !important;
        -webkit-text-fill-color: #D4AF37 !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .glass-effect {
        background: rgba(26, 26, 26, 0.9);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .glass-effect {
        border-color: #D4AF37;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .text-gradient {
        color: #D4AF37;
        -webkit-text-fill-color: #D4AF37;
    }
}

/* Advanced 3D Viewer Styles */
.slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #D4AF37 0%, #D4AF37 20%, #2A2A2A 20%, #2A2A2A 100%);
    outline: none;
    border-radius: 15px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #D4AF37;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #D4AF37;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Enhanced Material Selection */
.material-radio:checked + .material-content .w-2 {
    opacity: 1 !important;
}

.material-radio:checked + .material-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: #D4AF37 !important;
    transform: scale(1.02);
}

/* Color Selection */
.color-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.color-option.active {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

/* Advanced Animations */
@keyframes modelLoad {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(-90deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9) rotateY(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.model-loaded {
    animation: modelLoad 1s ease-out;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.notification.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

/* Enhanced Loading States */
.loading-overlay {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.loading-spinner {
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top: 4px solid #D4AF37;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Advanced Button Effects */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Enhanced Card Effects */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #D4AF37, #F4E4BC, #D4AF37, #F4E4BC);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: gradientBorder 3s ease infinite;
}

.card-glow:hover::before {
    opacity: 1;
}

/* Progress Indicators */
.progress-circle {
    transform: rotate(-90deg);
}

.progress-circle circle {
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 0.5s ease-in-out;
}

/* Tooltip System */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    color: #D4AF37;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(26, 26, 26, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .glass-effect {
        backdrop-filter: blur(8px);
        background: rgba(26, 26, 26, 0.9);
    }
    
    .card-hover:hover {
        transform: translateY(-5px);
    }
    
    .btn-3d:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .text-gradient {
        background-size: 100% 100%;
        animation: none;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .glass-effect {
        background: rgba(10, 10, 10, 0.95);
        border-color: rgba(212, 175, 55, 0.4);
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none;
    }
    
    .particle {
        display: none;
    }
}

/* Print Optimizations */
@media print {
    .glass-effect {
        background: white !important;
        border: 2px solid #D4AF37 !important;
        color: black !important;
    }
    
    .text-gradient {
        color: #D4AF37 !important;
        -webkit-text-fill-color: #D4AF37 !important;
    }
    
    .btn-3d {
        background: #D4AF37 !important;
        color: black !important;
    }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
    .glass-effect {
        border-color: #D4AF37;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .text-gradient {
        color: #D4AF37;
        -webkit-text-fill-color: #D4AF37;
    }
    
    .btn-3d {
        border: 2px solid #D4AF37;
    }
}

/* Focus States for Accessibility */
.btn-3d:focus,
.material-radio:focus + .material-content,
.color-option:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Enhanced Scroll Animations */
.animate-in {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #B8941F);
    border-radius: 6px;
    border: 2px solid #1A1A1A;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F4E4BC, #D4AF37);
}

/* Selection Styling */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #F4E4BC;
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: #F4E4BC;
}

/* Team Section Styles */
#team {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    position: relative;
    overflow: hidden;
}

#team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.team-member-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.team-member-card:hover::before {
    opacity: 1;
}

.team-member-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
}

.team-avatar {
    position: relative;
    transition: all 0.3s ease;
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #D4AF37, #F4E4BC, #D4AF37);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-avatar::after {
    opacity: 1;
}

.team-social-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.team-social-link:hover::before {
    width: 40px;
    height: 40px;
}

.team-name {
    background: linear-gradient(45deg, #D4AF37, #F4E4BC, #D4AF37);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-position {
    position: relative;
}

.team-position::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.team-member-card:hover .team-position::after {
    width: 100%;
}

.team-bio {
    position: relative;
    overflow: hidden;
}

.team-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-member-card:hover .team-bio::before {
    left: 100%;
}

/* Staggered Animation for Team Members */
.team-member-card:nth-child(1) {
    animation-delay: 0s;
}

.team-member-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member-card:nth-child(3) {
    animation-delay: 0.4s;
}

.team-member-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
    .team-member-card:hover {
        transform: translateY(-2px);
    }
    
    .team-avatar {
        width: 120px !important;
        height: 120px !important;
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive hologram effects */
@media (max-width: 768px) {
    .hologram-section {
        transform: translateY(30px) rotateX(5deg);
    }
    
    .hologram-card {
        transform: translateZ(-50px) rotateY(10deg);
    }
    
    .printer-background {
        opacity: 0.05;
    }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hologram-section,
    .hologram-card,
    .glass-effect,
    .btn-3d,
    .nav-link {
        animation: none;
        transition: opacity 0.3s ease;
    }
    
    .printer-background {
        display: none;
    }
}