/* Custom styles for Near Ukraine Guild Community Showcase */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Ubuntu:wght@300;400;500;700&display=swap');

body {
    font-family: 'Inter', 'Ubuntu', sans-serif;
    background-color: #111827;
    color: #ffffff;
}

/* Ukrainian flag inspired gradients */
.ukraine-gradient {
    background: linear-gradient(135deg, #0057B8 0%, #FFD700 100%);
}

/* Berrry Computer themed gradients */
.berrry-gradient {
    background: linear-gradient(135deg, #8B5CF6 0%, #20B4FF 50%, #FFD700 100%);
}

/* Background pattern for hero section */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(32, 180, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Vibecheck animation */
@keyframes vibecheck {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.vibecheck-animate {
    animation: vibecheck 3s ease-in-out infinite;
}

/* Loading skeleton for community content */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading-skeleton {
    animation: shimmer 1.2s ease-in-out infinite;
    background: linear-gradient(to right, #1f2937 8%, #374151 18%, #1f2937 33%);
    background-size: 800px 104px;
}

/* Custom scrollbar with Ukrainian colors */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0057B8, #FFD700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #004494, #E6C200);
}

/* Enhanced transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Focus states with Ukrainian theme */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.1);
}

/* Twitter-style card effects */
.twitter-card {
    background: linear-gradient(135deg, #1DA1F2 0%, #14171A 100%);
    border-left: 4px solid #1DA1F2;
}

/* Success story highlighting */
.success-glow {
    animation: success-pulse 3s ease-in-out infinite;
}

@keyframes success-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Berrry Computer brand colors */
.berrry-purple {
    color: #8B5CF6;
}

.bg-berrry-purple {
    background-color: #8B5CF6;
}

/* Community engagement animations */
.engagement-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Live status indicators */
.status-live {
    position: relative;
}

.status-live::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Ukrainian pride elements */
.ukraine-flag {
    background: linear-gradient(to bottom, #0057B8 50%, #FFD700 50%);
}

/* App showcase cards */
.app-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border: 1px solid #4B5563;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.1), 0 10px 10px -5px rgba(139, 92, 246, 0.04);
    border-color: #8B5CF6;
}

/* Community stats counters */
.stat-counter {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Text effects */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-glow {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Interactive mention generator */
.mention-generator {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 2px solid #8B5CF6;
}

/* Social verification badges */
.verified-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 2px 6px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column;
    }
    
    .mobile-center {
        text-align: center;
    }
    
    .mobile-full {
        width: 100%;
    }
    
    .text-responsive-lg {
        font-size: 1.25rem;
    }
    
    .text-responsive-xl {
        font-size: 1.5rem;
    }
}

/* Dark theme enhancements */
.bg-gray-750 {
    background-color: #374151;
}

.bg-gray-850 {
    background-color: #1F2937;
}

/* Form styling */
textarea {
    resize: vertical;
    min-height: 80px;
}

input[type="text"],
textarea {
    background-color: #374151;
    border-color: #4B5563;
    color: #ffffff;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Loading states */
.loading-berrry {
    background: linear-gradient(
        90deg,
        #8B5CF6 25%,
        #20B4FF 50%,
        #8B5CF6 75%
    );
    background-size: 200% 100%;
    animation: loading-wave 1.5s infinite;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ukraine-blue {
        color: #60A5FA;
    }
    
    .ukraine-yellow {
        color: #FCD34D;
    }
    
    .berrry-purple {
        color: #A78BFA;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Feature highlights */
.feature-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(32, 180, 255, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Community showcase grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Success story card special styling */
.success-story-card {
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Inspiration from original design */
.pool-stats-style {
    background: #1f2937;
    border-top: 4px solid;
}

.pool-stats-style.near {
    border-top-color: #FFD700;
}

.pool-stats-style.delegators {
    border-top-color: #20B4FF;
}

.pool-stats-style.apy {
    border-top-color: #10B981;
}