/* Forum Page Specific Styles */

/* Page Header */
.page-header {
  padding: 4rem 0 4rem;
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(30, 58, 138, 0.9));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="forum-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><rect x="45" y="45" width="10" height="10" fill="%23FFD700" opacity="0.1"/><circle cx="25" cy="75" r="3" fill="%2300F5FF" opacity="0.1"/><polygon points="75,25 85,35 75,45 65,35" fill="%23FF6B6B" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23forum-pattern)"/></svg>');
  animation: forumPattern 25s linear infinite;
  z-index: -1;
}

@keyframes forumPattern {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(100px) translateY(100px); }
}

.page-title {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: forumTitleGlow 4s ease-in-out infinite;
}

@keyframes forumTitleGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    transform: scale(1);
  }
  50% { 
    filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.8));
    transform: scale(1.01);
  }
}

.page-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Quick Comparison */
.quick-comparison {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--dark-card);
  border-radius: 25px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  overflow: hidden;
}

.comparison-card.winner {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, var(--dark-card), rgba(255, 215, 0, 0.05));
}

.comparison-card.winner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0.03;
  animation: winnerGlow 3s ease-in-out infinite;
}

@keyframes winnerGlow {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

.comparison-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.card-header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-light);
}

.winner-badge {
  background: var(--gradient-1);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  animation: badgePulse 2s ease-in-out infinite;
}

.loser-badge {
  background: var(--text-gray);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.7;
}

@keyframes badgePulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
  }
}

.comparison-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.comparison-card:hover img {
  transform: scale(1.05);
}

.comparison-stats {
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.stat:last-child {
  border-bottom: none;
}

.stat-label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.winner-stat {
  color: var(--accent-green);
  font-weight: 700;
}

.loser-stat {
  color: var(--accent-red);
}

/* Detailed Comparison Table */
.detailed-comparison {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark-bg), rgba(26, 26, 53, 0.8));
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table {
  width: 100%;
  background: var(--dark-card);
  border-collapse: collapse;
  border-radius: 20px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.comparison-table th {
  background: var(--gradient-2);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
}

.comparison-table th.highlight {
  background: var(--gradient-1);
  color: var(--dark-bg);
  position: relative;
}

.comparison-table th.highlight::after {
  content: '👑';
  position: absolute;
  top: -5px;
  right: 10px;
  font-size: 1.2rem;
}

.comparison-table td {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.comparison-table tr:hover td {
  background: rgba(255, 215, 0, 0.05);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(30, 58, 138, 0.1);
}

.comparison-table td:first-child i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
}

.comparison-table .winner {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(5, 150, 105, 0.1));
  color: var(--accent-green);
  font-weight: 700;
  position: relative;
}

.comparison-table .winner i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
  animation: crownSpin 3s ease-in-out infinite;
}

@keyframes crownSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

.comparison-table .average {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.comparison-table .poor {
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-red);
}

/* Why Choose Section */
.why-choose {
  padding: 5rem 0;
  background: var(--dark-card);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.reason-card {
  background: var(--dark-bg);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.reason-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.reason-card:hover::before {
  opacity: 0.05;
}

.reason-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.reason-card:hover .reason-icon {
  background: var(--gradient-1);
  transform: scale(1.1) rotate(360deg);
}

.reason-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.reason-bangla {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.reason-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reason-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reason-features .feature {
  background: rgba(255, 215, 0, 0.2);
  color: var(--primary-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Community Reviews */
.community-reviews {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--dark-card), var(--dark-bg));
}

.section-description {
  text-align: center;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 215, 0, 0.1);
}

.review-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.reviewer-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-light);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.rating {
  display: flex;
  gap: 0.2rem;
}

.rating i {
  color: var(--primary-gold);
  font-size: 1rem;
  animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.review-text {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-topic {
  background: var(--accent-green);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.forum-actions {
  margin-top: 2rem;
}

.forum-actions .btn {
  margin: 0 0.5rem;
  padding: 1rem 1.5rem;
}

/* Responsible Gaming Notice */
.responsible-gaming {
  padding: 3rem 0;
  background: rgba(220, 38, 38, 0.1);
}

.notice-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 2px solid var(--accent-red);
  max-width: 800px;
  margin: 0 auto;
}

.notice-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  animation: noticeGlow 3s ease-in-out infinite;
}

@keyframes noticeGlow {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
}

.notice-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-red);
}

.notice-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .comparison-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comparison-table-wrapper {
    margin: 0 1rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .notice-card {
    flex-direction: column;
    text-align: center;
    margin: 0 1rem;
  }
  
  .forum-actions .btn {
    display: block;
    margin: 0.5rem auto;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .comparison-card {
    padding: 1.5rem;
  }
  
  .card-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 0.3rem;
    font-size: 0.7rem;
  }
  
  .reason-card {
    padding: 1.5rem;
  }
  
  .reason-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .reviewer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .review-header {
    flex-direction: column;
    gap: 1rem;
  }
}
