/* Roshtein-style Layout CSS */

/* Main layout structure */
.roshtein-layout {
  display: flex;
  min-height: 100vh;
}

.roshtein-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.roshtein-main {
  flex-grow: 1;
}

/* Card layouts */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Animated elements */
.animated-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animated-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Neon effects */
.neon-text {
  text-shadow: 0 0 5px rgba(61, 204, 142, 0.7), 0 0 10px rgba(61, 204, 142, 0.5);
}

.neon-box {
  box-shadow: 0 0 10px rgba(61, 204, 142, 0.3), 0 0 20px rgba(61, 204, 142, 0.2);
  border: 1px solid rgba(61, 204, 142, 0.3);
}

.neon-box:hover {
  box-shadow: 0 0 15px rgba(61, 204, 142, 0.5), 0 0 30px rgba(61, 204, 142, 0.3);
  border: 1px solid rgba(61, 204, 142, 0.5);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { 
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(61, 204, 142, 0.3), 0 0 20px rgba(61, 204, 142, 0.2);
  }
  50% { 
    opacity: 1;
    box-shadow: 0 0 15px rgba(61, 204, 142, 0.5), 0 0 30px rgba(61, 204, 142, 0.3);
  }
}

.pulse-animation {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Gradient overlays */
.gradient-overlay {
  background: linear-gradient(to bottom, 
    rgba(17, 24, 39, 0) 0%, 
    rgba(17, 24, 39, 0.8) 50%, 
    rgba(17, 24, 39, 1) 100%);
}

/* Enhanced cards */
.content-card {
  background-color: rgba(31, 41, 55, 0.95);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.5);
  transition: all 0.3s ease;
}

.content-card:hover {
  border-color: rgba(61, 204, 142, 0.5);
  box-shadow: 0 0 20px rgba(61, 204, 142, 0.2);
}

/* Interactive elements */
.interactive-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.interactive-button: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: all 0.6s ease;
}

.interactive-button:hover:before {
  left: 100%;
}

/* Mobile optimizations */
@media (max-width: 1023px) {
  .roshtein-layout {
    flex-direction: column;
  }
  
  .roshtein-sidebar {
    width: 100%;
    height: auto;
  }
}