/* Meme Section */
.memes-section {
  background: radial-gradient(ellipse at top, #050505 0%, #000000 100%);
  padding: 7rem 0;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.meme-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.meme-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(251, 191, 36, 0.25);
}

.meme-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #111 0%, #050505 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.meme-placeholder {
  font-size: 4rem;
  opacity: 0.7;
  animation: floatEmoji 3s ease-in-out infinite;
}

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

.meme-content-text {
  padding: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.meme-hashtags {
  padding: 0 1.25rem 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meme-hashtags span {
  font-size: 0.75rem;
  color: var(--accent-primary);
  opacity: 0.8;
}

.meme-actions {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.meme-action-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.meme-action-btn:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: var(--border-color);
  color: var(--accent-primary);
  transform: scale(1.05);
}

/* Learn Section */
.learn-section {
  background: radial-gradient(ellipse at top, #000000 0%, #050505 100%);
  padding: 7rem 0;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.learn-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.learn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.learn-card:hover::before {
  transform: translateX(0);
}

.learn-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(251, 191, 36, 0.2);
}

.learn-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
}

.learn-card p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.learn-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* F&O Warning Section */
.fo-warning-section {
  background: radial-gradient(ellipse at center, #0a0000 0%, #000000 100%);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.warning-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
  z-index: 0;
  animation: warningPulse 8s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.warning-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.warning-badge {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(249, 115, 22, 0.4);
  letter-spacing: -0.02em;
}

.warning-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  margin-bottom: 2rem;
  color: #fca5a5;
  font-weight: 700;
}

.warning-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.warning-highlight {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 2rem 0;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.warning-steps {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 600;
}

.sebi-stats {
  margin: 3rem 0;
}

.stats-card {
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.trader-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
  min-height: 60px;
}

.trader-icon {
  font-size: 1.75rem;
  animation: floatTrader 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.trader-icon.win {
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

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

.stats-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.highlight-red {
  color: #f87171;
  font-weight: 700;
}

.stats-note {
  color: var(--text-tertiary);
  font-size: 1rem;
}

/* IPO Section */
.ipo-section {
  background: radial-gradient(ellipse at top, #000000 0%, #050505 100%);
  padding: 7rem 0;
}

.ipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.ipo-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-md);
}

.ipo-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(251, 191, 36, 0.2);
}

.ipo-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.ipo-company {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.ipo-subtitle {
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.ipo-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.ipo-info-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.ipo-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ipo-info-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.ipo-fundamentals {
  margin-bottom: 1.25rem;
}

.ipo-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.fundamental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.fundamental-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  font-size: 0.8rem;
}

.fundamental-label {
  color: var(--text-tertiary);
}

.fundamental-value {
  color: var(--text-primary);
  font-weight: 600;
}

.ipo-highlights {
  margin-bottom: 1.25rem;
}

.ipo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ipo-list li {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.ipo-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.ipo-actions {
  display: flex;
  gap: 0.625rem;
}

.ipo-actions .btn {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

/* Market Section */
.market-section {
  background: radial-gradient(ellipse at top, #050505 0%, #000000 100%);
  padding: 7rem 0;
}

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

.market-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-md);
}

.market-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 18px rgba(251, 191, 36, 0.18);
}

.market-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.market-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.market-item {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
}

.market-item:last-child {
  border-bottom: none;
}

.market-name {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.market-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.market-change.up {
  color: var(--success);
}

.market-change.down {
  color: var(--danger);
}

/* Community Section */
.community-section {
  background: radial-gradient(ellipse at top, #000000 0%, #050505 100%);
  padding: 7rem 0;
}

.community-content {
  max-width: 900px;
  margin: 0 auto;
}

.bengaluru-map {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.skyline-illustration {
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.vidhana-large {
  width: 60px;
  height: 120px;
  background: linear-gradient(to top, var(--accent-primary), transparent);
  position: relative;
  opacity: 0.6;
}

.vidhana-large::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(to top, var(--accent-gold), transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.tag {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.community-message {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Promise Section */
.promise-section {
  background: radial-gradient(ellipse at top, #050505 0%, #000000 100%);
  padding: 7rem 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.promise-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-md);
}

.promise-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 18px rgba(251, 191, 36, 0.18);
}

.promise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.promise-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Brand Quotes Marquee */
.brand-quotes {
  background: rgba(251, 191, 36, 0.08);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}

.quote-marquee {
  display: flex;
  gap: 2rem;
  animation: quoteMarquee 30s linear infinite;
  white-space: nowrap;
  font-size: 0.95rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes quoteMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Contact Section */
.contact-section {
  background: radial-gradient(ellipse at top, #000000 0%, #050505 100%);
  padding: 7rem 0;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.form-group label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: rgba(239, 68, 68, 0.1);
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1.25rem 0;
  position: relative;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: #fecaca;
  line-height: 1.6;
  text-align: center;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, #000000 0%, #050505 100%);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  line-height: 1;
}

.footer-brand .bullish {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .bengaluru {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  color: var(--text-primary);
  margin-top: 0.375rem;
}

.footer-tagline {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}

.footer-desc {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.link-group a {
  display: block;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
  transition: all 0.2s ease;
}

.link-group a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.social-link:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--border-color);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.made-with {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  color: #000000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow-soft);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px) scale(1.1);
}