/* 
* hashtag-symbols.css
* Custom styling for Hashtag Symbols page
* Created: May 2025
*/

:root {
  --hashtag-primary: #1565c0;
  --hashtag-secondary: #5433FF;
  --hashtag-accent: #00acc1;
  --hashtag-dark: #121212;
  --hashtag-light: #f8f9fc;
  --hashtag-gradient-start: #00acc1;
  --hashtag-gradient-mid: #4680ff;
  --hashtag-gradient-end: #9c27b0;
  --hashtag-shadow: rgba(0, 0, 0, 0.2);
  --hashtag-text: #333333;
  --hashtag-card: #ffffff;
  --hashtag-border: #e1e4ed;
  --hashtag-animation-time: 0.3s;
}

/* Typography enhancements */
.hashtag-title {
  background: linear-gradient(135deg, var(--hashtag-gradient-start), var(--hashtag-gradient-mid), var(--hashtag-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hashtag-accent {
  font-size: 1.2em;
  letter-spacing: 2px;
  vertical-align: middle;
}

/* Banner styling */
.hashtag-banner {
  background: linear-gradient(135deg, #00acc1, #4680ff);
  border-radius: 20px;
  padding: 20px 40px;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 172, 193, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1) inset;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hashtag-banner:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('https://thecoolsymbols.com/img/hashtag-pattern.png');
  background-size: 200px;
  opacity: 0.12;
  z-index: 0;
  animation: subtle-move 60s linear infinite;
}

.hashtag-banner:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  z-index: 0;
}

@keyframes subtle-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 300px 300px;
  }
}

.hashtag-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hashtag-banner h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  font-weight: 800;
}

.hashtag-banner p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.95;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hashtag-banner-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.hashtag-button {
  background-color: #00acc1;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 172, 193, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hashtag-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 172, 193, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.15);
  background-color: #00c2d8;
}

.hashtag-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 172, 193, 0.3);
}

/* Pulse animation */
.pulse-animation {
  animation: pulse 1.5s infinite;
  position: relative;
}

.pulse-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 172, 193, 0.4);
  border-radius: 50px;
  z-index: -1;
  animation: ripple 1.8s infinite ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.3), 0 0 0 0 rgba(0, 172, 193, 0.5);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 172, 193, 0.5), 0 0 0 10px rgba(0, 172, 193, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.3), 0 0 0 0 rgba(0, 172, 193, 0);
  }
}

@keyframes ripple {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  60% {
    opacity: 0.2;
    transform: scale(1.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Categories section */
.hashtag-categories {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.hashtag-category {
  background-color: var(--hashtag-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(225, 228, 237, 0.8);
  position: relative;
  overflow: hidden;
}

.hashtag-category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--hashtag-gradient-start), var(--hashtag-gradient-mid));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hashtag-category:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.hashtag-category:hover::after {
  opacity: 1;
}

.category-title {
  font-size: 1.7rem;
  margin-bottom: 25px;
  color: var(--hashtag-primary);
  border-bottom: 2px solid rgba(21, 101, 192, 0.1);
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.category-title i {
  color: var(--hashtag-accent);
  background: rgba(0, 172, 193, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2em;
}

/* Symbol grid */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 15px;
}

.symbol-item {
  background-color: var(--hashtag-light);
  border-radius: 12px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--hashtag-border);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.symbol-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.symbol-item:hover {
  background: linear-gradient(135deg, var(--hashtag-gradient-start), var(--hashtag-gradient-mid));
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.3);
}

.symbol-item:hover::after {
  opacity: 1;
}

.symbol-item:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, var(--hashtag-gradient-mid), var(--hashtag-gradient-start));
  transition: all 0.1s ease-out;
}

.symbol-item:active::after {
  opacity: 0.8;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 40%);
}

/* Clicked animation */
.symbol-item.clicked {
  animation: click-feedback 0.3s ease-out;
  background: linear-gradient(135deg, var(--hashtag-gradient-mid), var(--hashtag-gradient-start));
  color: white;
  border-color: rgba(255,255,255,0.3);
}

@keyframes click-feedback {
  0% {
    transform: scale(0.95);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
}

/* Featured sections */
.hashtag-featured {
  margin: 40px 0;
}

.featured-title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--hashtag-primary);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.featured-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--hashtag-gradient-start), var(--hashtag-gradient-mid));
  border-radius: 2px;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.featured-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(225, 228, 237, 0.8);
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--hashtag-gradient-start), var(--hashtag-gradient-mid));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card .symbol {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.featured-card .label {
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Pro Tips Section */
.hashtag-tips {
  margin: 50px 0;
}

.tips-container {
  background-color: var(--hashtag-card);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(225, 228, 237, 0.8);
  position: relative;
  background-image: linear-gradient(to bottom right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
  backdrop-filter: blur(10px);
}

.tips-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--hashtag-accent);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
}

.tips-container h3 {
  font-size: 1.7rem;
  margin-bottom: 25px;
  color: var(--hashtag-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  border-bottom: 2px solid rgba(21, 101, 192, 0.1);
  padding-bottom: 15px;
}

.tips-container h3 i {
  color: var(--hashtag-accent);
  font-size: 1.4em;
}

.tips-content ul {
  padding-left: 20px;
  list-style-type: none;
}

.tips-content li {
  margin-bottom: 18px;
  position: relative;
  padding-left: 25px;
}

.tips-content li::before {
  content: '#';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hashtag-accent);
  font-weight: bold;
}

.tips-content strong {
  color: var(--hashtag-primary);
}

.tips-content code {
  background-color: #f5f7f9;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: var(--hashtag-accent);
  font-size: 0.9em;
}

/* Copy notification styling */
.copy-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--hashtag-primary);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.copy-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Popular symbol highlighting */
.popular-symbol {
  position: relative;
  overflow: hidden;
}

.popular-symbol::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.2), rgba(70, 128, 255, 0.2));
  z-index: -1;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .symbol-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 992px) {
  .symbol-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .featured-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .symbol-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .hashtag-banner {
    height: auto;
    padding: 30px 20px;
  }
  
  .hashtag-banner h2 {
    font-size: 1.5rem;
  }
  
  .featured-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 576px) {
  .symbol-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hashtag-category {
    padding: 20px;
  }
  
  .category-title {
    font-size: 1.4rem;
  }
  
  .symbol-item {
    height: 50px;
    font-size: 24px;
  }
}
