/* GentisTrust Custom Styles */

/* ============================================
   Custom Animations
   ============================================ */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    }
    to {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* ============================================
   Smooth Scrolling
   ============================================ */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ============================================
   Selection Styling
   ============================================ */

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: white;
}

/* ============================================
   Custom Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: #2a2a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* ============================================
   Glass Card Effect
   ============================================ */

.glass-card {
    background: rgba(26, 26, 36, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(42, 42, 58, 0.5);
}

/* ============================================
   Gradient Text
   ============================================ */

.gradient-text-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Button Styles
   ============================================ */

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    color: #0a0a0f;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border: 2px solid #2a2a3a;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

/* ============================================
   Card Hover Effects
   ============================================ */

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-hover:hover .card-icon {
    transform: scale(1.1);
}

.card-icon {
    transition: transform 0.3s ease;
}

/* ============================================
   Shimmer Effect for Loading States
   ============================================ */

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(42, 42, 58, 0.3) 25%,
        rgba(212, 175, 55, 0.1) 50%,
        rgba(42, 42, 58, 0.3) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   Contract Address Styling
   ============================================ */

.contract-address {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    word-break: break-all;
}

/* ============================================
   Pulse Dot Animation
   ============================================ */

.pulse-dot {
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* ============================================
   Gradient Border Effect
   ============================================ */

.gradient-border {
    position: relative;
    background: #0a0a0f;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #D4AF37, #3B82F6, #8B5CF6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ============================================
   Step Connector Lines
   ============================================ */

.step-connector {
    position: absolute;
    top: 3rem;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
}

/* ============================================
   Responsive Typography
   ============================================ */

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* ============================================
   Focus States for Accessibility
   ============================================ */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================
   Reduce Motion for Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Dark Mode Enhancements
   ============================================ */

@media (prefers-color-scheme: dark) {
    /* Already dark theme - no changes needed */
}

/* ============================================
   High Contrast Mode
   ============================================ */

@media (prefers-contrast: high) {
    .glass-card {
        border-color: #D4AF37;
    }
    
    .text-gray-400 {
        color: #e5e5e5;
    }
}

