/* ==========================================
   AKINF2P FEATURES & COMPONENT STYLES
========================================== */

/* Buttons */
.gold-btn {
  background: linear-gradient(135deg, #866e43 0%, #6e5a35 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(134, 110, 67, 0.35);
  filter: brightness(1.08);
}

.gold-btn:active {
  transform: translateY(0);
}

.mini-btn {
  background: var(--gold);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mini-btn:hover {
  background: var(--gold-hover);
}

.mini-btn.danger {
  background: #e74c3c;
  color: #fff;
}

.mini-btn.danger:hover {
  background: #c0392b;
}

.outline-btn {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.outline-btn:hover {
  background: var(--gold);
  color: #000;
}

.link-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
}

/* Auth / Account Modal */
.account-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

.account-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 24px 24px 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  margin: auto;
  box-sizing: border-box;
  overflow: visible;
}

@media (max-width: 767px) {
  .account-box {
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .account-box::-webkit-scrollbar {
    display: none;
  }
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10;
}

.close-modal:hover {
  color: #fff;
}

.account-logo {
  height: 50px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 12px;
}

.account-box h2 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.account-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* Account Tabs */
.account-tabs {
  display: flex;
  background: var(--bg-input);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid rgba(134, 110, 67, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--gold);
  color: #000000;
}

/* Tab Content */
.tab-content {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.tab-content.active {
  display: flex;
}

.tab-content input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid rgba(134, 110, 67, 0.25);
  border-radius: 10px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.tab-content input:focus {
  border-color: var(--gold);
}

.password-field-wrap {
  position: relative;
  width: 100%;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.auth-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  min-height: 18px;
  text-align: center;
  margin-top: -2px;
}

/* Investment Page Component */
.investments-page, .vip-page {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-heading {
  text-align: center;
  margin-bottom: 40px;
}

.page-heading h1 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-heading p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.investment-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.investment-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.player-image img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 12px;
}

.player-details h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.player-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.buy-status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.buy-status.status-buy {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
}

.buy-status.status-sell {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.buy-status.status-hold {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.5);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.25);
}

.buy-status.status-active {
  background: rgba(224, 179, 81, 0.2);
  color: #fef08a;
  border: 1px solid rgba(224, 179, 81, 0.5);
}

.buy-status.status-sold,
.buy-status.status-coming {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Membership Plans */
.membership-plans {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin-bottom: 60px;
}

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(224, 179, 81, 0.15);
}

.plan-card h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.plan-card h3 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
}

.plan-card h3 span {
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card li {
  color: #e0d7c6;
  font-size: 0.95rem;
}

/* VIP Lock */
.vip-lock {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--gold-border);
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto 60px;
}

.vip-lock i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.vip-lock h2 {
  color: #fff;
  margin-bottom: 10px;
}

.vip-lock p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Feature Toasts */
.feature-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.feature-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   TESTIMONIALS & COMMUNITY RESULTS SECTION
   ========================================== */

.testimonials-section {
  padding: 60px 20px;
  background: var(--bg-dark);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.testimonials-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.testimonials-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: 'Cinzel', serif;
}

.testimonials-section .section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonial Controls */
.testimonials-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.testimonial-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.test-pill {
  background: var(--bg-input);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-pill:hover,
.test-pill.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text-primary);
}

.open-testimonial-modal-btn {
  width: auto !important;
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
}

/* Empty Testimonials Placeholder */
.empty-testimonials-card {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px dashed var(--gold-border);
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.empty-testimonials-card .empty-icon {
  font-size: 2.8rem;
  margin-bottom: 4px;
}

.empty-testimonials-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.empty-testimonials-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
  line-height: 1.5;
}

/* Testimonials Cards Grid — simple, ecommerce-style review list */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--gold);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.testimonial-tip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-weight: 600;
  width: fit-content;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-border);
}

.testimonial-user-info {
  display: flex;
  flex-direction: column;
}

.testimonial-username {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-verified {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-verified i {
  color: var(--gold);
}

.testimonial-profit-badge {
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.testimonial-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 12px;
}

.testimonial-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.upvote-helpful-btn {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.upvote-helpful-btn:hover,
.upvote-helpful-btn.voted {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}

/* TESTIMONIAL SUBMISSION MODAL */
.testimonial-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.testimonial-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.testimonial-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.close-testimonial-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-testimonial-modal:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gold);
  background: var(--gold-light);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.testimonial-modal-box h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.testimonial-modal-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.testimonial-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 500px) {
  .testimonial-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-light);
}

.badge-select-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-select-btn {
  background: var(--bg-input);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.badge-select-btn.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text-primary);
}

/* Investments Mobile Responsiveness Overrides */
@media (max-width: 768px) {
  .investments-page, .vip-page {
    padding: 85px 12px 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .investment-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .investment-card {
    padding: 14px 12px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .player-image img {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
  }

  .player-details h3 {
    font-size: 1.02rem;
  }

  .player-details p {
    font-size: 0.82rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .investment-grid {
    grid-template-columns: 1fr;
  }
}

