/* ========================================
   GLOBAL STYLES & RESET
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles are now handled in typography.css */

/* ========================================
   MAIN CONTENT
======================================== */
.main-content {
  margin-top: 80px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  min-height: 100vh;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  padding: 15px 30px;
  background-color: #A8A6A1;
  color: #000000;
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  transition: all 0.3s ease;
  border: 2px solid #A8A6A1;
}

.btn:hover {
  background-color: transparent;
  color: #A8A6A1;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes borderAnimation {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 166, 161, 0), 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 30px 5px rgba(168, 166, 161, 0.4), 0 15px 40px rgba(0, 0, 0, 0.7);
  }

  100% {
    box-shadow: 0 0 40px 8px rgba(168, 166, 161, 0.6), 0 20px 50px rgba(0, 0, 0, 0.8);
  }
}

@keyframes borderPulse {

  0,
  100% {
    border-color: #38383B;
    box-shadow: 0 0 0 0 rgba(168, 166, 161, 0), 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  50% {
    border-color: #A8A6A1;
    box-shadow: 0 0 25px 3px rgba(168, 166, 161, 0.5), 0 15px 40px rgba(0, 0, 0, 0.7);
  }
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.get-started-content.animate-in {
  animation: fadeInLeft 0.8s ease forwards;
}

.video-container.animate-in {
  animation: fadeInRight 0.8s ease forwards;
}

.upcoming-events-section.animate-in {
  animation: fadeInScale 0.8s ease forwards;
}

/* Progressive enhancement: cards start visible, animation is bonus */
.feature-card:not(.animate-in) {
  /* Cards are visible by default */
  opacity: 1;
  transform: translateY(0);
}

.feature-card.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card.animate-in:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card.animate-in:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card.animate-in:nth-child(3) {
  animation-delay: 0.3s;
}

/* For JavaScript-enhanced animation */
.js .feature-card {
  opacity: 0;
  transform: translateY(30px);
}

.js .feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.user-logged-in #block-artifactinfo-primary-local-tasks {
  margin-top: 80px;
}

.messages {
  margin-bottom: 30px;
  padding: 20px 25px;
  border-radius: 8px;
  border-left: 5px solid;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.messages::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.messages {
  padding-left: 60px;
}

/* Success Messages */
.messages,
.messages .messages--status {
  background-color: #38383B;
  border-left-color: #A8A6A1;
  color: #DFE0E1;
}

.messages a {
  color: #DFE0E1;
}

.messages::before,
.messages .messages--status::before {
  content: '✓';
  background-color: #A8A6A1;
  color: #000000;
}

/* Warning Messages */
.messages .messages--warning {
  background-color: #38383B;
  border-left-color: #FFA500;
  color: #DFE0E1;
}

.messages .messages--warning::before {
  content: '⚠';
  background-color: #FFA500;
  color: #000000;
}

/* Error Messages */
.messages .messages--error {
  background-color: #38383B;
  border-left-color: #FF6B6B;
  color: #DFE0E1;
}

.messages .messages--error::before {
  content: '✕';
  background-color: #FF6B6B;
  color: #FFFFFF;
}

/* Info Messages */
.messages .messages--info {
  background-color: #38383B;
  border-left-color: #0066CC;
  color: #DFE0E1;
}

.messages .messages--info::before {
  content: 'i';
  background-color: #0066CC;
  color: #FFFFFF;
}

/* Hover Effects */
.messages:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .messages {
    padding: 15px 20px 15px 50px;
    font-size: 15px;
  }

  .messages::before {
    width: 20px;
    height: 20px;
    left: 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .messages {
    padding: 12px 15px 12px 45px;
    font-size: 14px;
  }

  .messages::before {
    width: 18px;
    height: 18px;
    left: 10px;
    font-size: 11px;
  }
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #38383B;
  color: #DFE0E1;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid #A8A6A1;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.back-button:hover {
  background-color: #A8A6A1;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(168, 166, 161, 0.3);
}

.back-button:active {
  transform: translateY(0);
}

.back-button::before {
  content: '←';
  font-size: 16px;
  font-weight: bold;
}

/* Focus styles for accessibility */
.back-button:focus-visible {
  outline: 2px solid #A8A6A1;
  outline-offset: 2px;
}
