/* CTA-themed Blog Table Styles */
.blog-table.cta-themed {
  background: linear-gradient(135deg, #671E75 0%, #981D97 100%);
  position: relative;
  overflow: hidden;
}

.blog-table.cta-themed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="star" viewBox="0 0 25 25" width="25" height="25" patternUnits="userSpaceOnUse"><polygon fill="rgba(255,255,255,0.05)" points="12.5,2 15.5,8.5 22,8.5 17,12.5 18.5,19 12.5,15.5 6.5,19 8,12.5 3,8.5 9.5,8.5"/></pattern></defs><rect width="100" height="100" fill="url(%23star)"/></svg>');
  opacity: 0.1;
}

.blog-table.cta-themed .blog-content {
  position: relative;
  z-index: 1;
}

.blog-table.cta-themed .blog-header {
  font-family: 'Amatic SC', cursive;
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-bottom: 1rem;
}

.blog-table.cta-themed > .blog-content > p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(135deg, #671E75 0%, #981D97 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="star" viewBox="0 0 25 25" width="25" height="25" patternUnits="userSpaceOnUse"><polygon fill="rgba(255,255,255,0.05)" points="12.5,2 15.5,8.5 22,8.5 17,12.5 18.5,19 12.5,15.5 6.5,19 8,12.5 3,8.5 9.5,8.5"/></pattern></defs><rect width="100" height="100" fill="url(%23star)"/></svg>');
  opacity: 0.1;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cta-header h2 {
  font-family: 'Amatic SC', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-header p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.cta-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-card h3 {
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-card p {
  font-family: 'Raleway', sans-serif;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-btn {
  background: linear-gradient(135deg, #47D7AC 0%, #A8D5BA 100%);
  color: #333;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(71, 215, 172, 0.4);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #671E75;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.cta-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #FFB81C;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(10deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-stats {
  position: absolute;
  bottom: -10px;
  left: 1rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(5px);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.social-btn.discord:hover {
  background: #5865F2;
}

.social-btn.twitter:hover {
  background: #1DA1F2;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #F56040, #F77737, #FCAF45, #FFDC80);
}

/* Floating CTA Styles */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-btn {
  background: linear-gradient(135deg, #671E75, #981D97);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(103, 30, 117, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(103, 30, 117, 0.4);
}

.float-btn.active {
  transform: rotate(180deg);
}

.floating-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.float-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: none;
  background: transparent;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 0.5rem;
}

.float-item:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .cta-header h2 {
    font-size: 2.5rem;
  }
  
  .blog-table.cta-themed .blog-header {
    font-size: 2.5rem;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-card {
    padding: 1.5rem;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .float-btn {
    padding: 0.8rem 1rem;
  }
  
  .float-text {
    display: none;
  }
}

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

.cta-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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