:root {
  --bg: #050505;
  --surface: #111111;
  --surface-light: #1a1a1a;
  --primary: #ccff00;
  --primary-glow: rgba(204, 255, 0, 0.4);
  --text-main: #ffffff;
  --text-muted: #888888;
  --border: #222222;
  --success: #00ff94;
  --success-light: #00ff9444;
  --danger: #ff4444;
  --accent-blue: #1da1f2;
  --accent-purple: #9146ff;
  --accent-orange: #ff6b35;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(#222 1px, transparent 1px);
  background-size: 30px 30px;
}

.matrix-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    black 0%,
    transparent 20%
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    black 0%,
    transparent 20%
  );
  pointer-events: none;
  opacity: 0.6;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-color: var(--primary);
}

.toast.error {
  border-color: var(--danger);
}

.toast i {
  font-size: 0.9rem;
}

.toast.success i {
  color: var(--primary);
}

.toast.error i {
  color: var(--danger);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--surface-light);
  border-color: var(--primary);
}

.nav-btn.primary {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.nav-btn.primary:hover {
  box-shadow: 0 0 15px var(--primary-glow);
}

.profile-header {
  padding: 1.5rem 5%;
}

.profile-card {
  background: linear-gradient(
    145deg,
    rgba(17, 17, 17, 0.8) 0%,
    rgba(5, 5, 5, 0.9) 100%
  );
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(204, 255, 0, 0.1) 0%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
}

.avatar-section {
  position: relative;
  z-index: 1;
}

.avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #aaff00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.3);
  margin: 0 auto;
}

.avatar {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  border: 3px solid #000;
}

.profile-info {
  position: relative;
  z-index: 1;
  width: 100%;
}

.profile-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.username-tag {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.username-tag i {
  color: var(--accent-blue);
  font-size: 0.9rem;
}

.profile-bio {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.action-btn {
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.action-btn:hover {
  border-color: var(--primary);
}

.action-btn.primary {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  font-weight: 800;
}

.action-btn.primary:hover {
  box-shadow: 0 5px 15px var(--primary-glow);
}

.stryke-section {
  padding: 1rem 5% 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stryke-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: none;
  overflow-y: visible;
}

@media (max-width: 768px) {
  .stryke-card {
    padding: 1.25rem;
  }

  .amount-display {
    padding: 0.75rem 1rem;
  }

  #amountInput {
    font-size: 1.6rem;
  }

  .preset-btn {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

.amount-selector {
  margin-bottom: 1.5rem;
}

.amount-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.amount-display {
  display: flex;
  align-items: center;
  background: #000;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: 0.3s;
}

.amount-display:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 8px;
}

#amountInput {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: 800;
  outline: none;
  min-width: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

#amountInput::placeholder {
  color: var(--text-muted);
}

.amount-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .amount-presets {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .amount-presets {
    grid-template-columns: repeat(5, 1fr);
  }
}

.preset-btn {
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  font-size: 0.9rem;
  border: none;
}

.preset-btn:hover {
  border-color: var(--primary);
}

.preset-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.preset-btn.custom {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .preset-btn.custom {
    grid-column: span 1;
  }
}

.stryke-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.stryke-btn {
  background: var(--text-main);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
  margin-top: 0.5rem;
  width: 100%;
}

.stryke-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.stryke-btn:active {
  transform: translateY(0);
}

.security-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.anonymous-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
}

.checkbox-container {
  position: relative;
  width: 20px;
  height: 20px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: 0.2s;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.goals-section {
  padding: 1rem 5% 2rem;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .goals-grid {
    grid-template-columns: 1fr;
  }
}

.goal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: 0.3s;
}

.goal-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
}

.goal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.goal-icon {
  width: 40px;
  height: 40px;
  background: rgba(29, 161, 242, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.goal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
}

.goal-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.goal-progress {
  margin-bottom: 15px;
}

.goal-progress-bar {
  height: 8px;
  background: var(--surface-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.goal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4444, #ffa500, #00ff94);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.goal-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.goal-amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.goal-percentage {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.goal-contribute-btn {
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: 0.3s;
}

.goal-contribute-btn:hover {
  background: #1a91da;
  transform: translateY(-2px);
}

.inventory-section {
  padding: 1rem 5% 2rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

@media (min-width: 480px) {
  .inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (min-width: 768px) {
  .inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.inventory-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
}

.inventory-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.item-icon {
  width: 40px;
  height: 40px;
  background: rgba(204, 255, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.item-price {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.supporters-section {
  padding: 1rem 5% 2rem;
}

.supporters-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.supporter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: 0.3s;
}

.supporter-card:hover {
  border-color: var(--primary);
}

.supporter-avatar {
  width: 40px;
  height: 40px;
  background: var(--surface-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.supporter-info {
  flex: 1;
  min-width: 0;
}

.supporter-info h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supporter-message {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supporter-time {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.supporter-amount {
  font-weight: 700;
  color: var(--success);
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.payment-modal.active {
  display: flex;
}

.payment-card {
  background: linear-gradient(145deg, #111 0%, #050505 100%);
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
  overflow: hidden;
  max-height: 80vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .payment-modal {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 20px;
  }

  .payment-card {
    max-height: 85vh;
    padding: 1.25rem;
    border-radius: 16px;
  }
}

.payment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 80%,
    rgba(204, 255, 0, 0.05) 0%,
    transparent 50%
  );
  z-index: 0;
  pointer-events: none;
}

.payment-content {
  position: relative;
  z-index: 1;
}

.payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.payment-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-header h3 i {
  color: var(--primary);
}

.close-payment {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: 0.3s;
}

.close-payment:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.payment-amount-display {
  text-align: center;
  margin-bottom: 2rem;
}

.payment-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.payment-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.payment-type {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.paystack-button {
  background: var(--primary) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  font-weight: 800 !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: 0.3s !important;
  margin-top: 0.5rem !important;
}

.paystack-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 20px rgba(204, 255, 0, 0.3) !important;
}

.paystack-button:active {
  transform: translateY(0) !important;
}

.paystack-button i {
  font-size: 1rem !important;
}

.transfer-btn {
  padding: 1rem;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 0.75rem;
}

.transfer-btn.primary {
  background: var(--primary);
  color: #000;
}

.transfer-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(204, 255, 0, 0.3);
}

.transfer-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.transfer-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 5%;
  text-align: center;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.made-by {
  margin-top: 0.5rem;
}

.made-by a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.made-by a:hover {
  text-decoration: underline;
}

.loading-screen,
.error-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hidden {
  display: none !important;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.share-overlay.active {
  display: flex;
}

.share-card {
  background: #050505;
  width: 90%;
  max-width: 350px;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  color: #fff;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid #222;
  overflow: hidden;
}

.share-content {
  position: relative;
  z-index: 1;
}

.share-logo {
  margin-bottom: 20px;
  font-weight: 900;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-logo svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 480px) {
  .share-logo svg {
    width: 28px;
    height: 28px;
  }
}

.share-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #000;
  margin: 0 auto;
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.3);
}

.qr-box {
  margin: 20px auto;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  display: inline-block;
  border: 5px solid #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-width: 180px;
  max-height: 180px;
  overflow: hidden;
}

#shareQr canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 160px;
  max-height: 160px;
}

.share-name {
  font-size: 1.6rem;
  margin: 15px 0 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.verified-badge {
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-left: 5px;
  display: none;
}

.verified-badge.show {
  display: inline-block;
}

.share-handle {
  color: #aaa;
  margin-bottom: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#shareQr canvas {
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

.share-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.share-btn {
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
}

.share-btn.primary {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.share-btn.primary:hover {
  background: #e5ff66;
  border-color: #e5ff66;
  color: #000;
  transform: translateY(-2px);
}

.share-btn.secondary {
  background: var(--surface-light);
  color: #fff;
  border-color: var(--border);
}

.share-btn.secondary:hover {
  background: #222;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Confetti Celebration Modal */
.celebration-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.celebration-modal.active {
  display: flex;
}

.celebration-card {
  background: linear-gradient(145deg, #111 0%, #050505 100%);
  width: 90%;
  max-width: 400px;
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--primary);
  overflow: hidden;
}

.celebration-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(204, 255, 0, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.celebration-content {
  position: relative;
  z-index: 1;
}

.celebration-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.celebration-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
}

.celebration-message {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.celebration-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.5);
}

.celebration-btn {
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  margin-top: 1rem;
}

.celebration-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(204, 255, 0, 0.3);
}

@media (max-width: 480px) {
  .payment-card {
    padding: 1.25rem;
  }

  .payment-amount {
    font-size: 2.5rem;
  }

  .share-card {
    padding: 20px;
  }

  .share-avatar {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
  }
}

@media (min-width: 768px) {
  .nav {
    padding: 1.5rem 5%;
  }

  .logo {
    font-size: 1.8rem;
  }

  .logo-svg {
    width: 45px;
    height: 45px;
  }

  .nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .profile-header {
    padding: 2rem 5% 3rem;
  }

  .profile-card {
    flex-direction: row;
    text-align: left;
    padding: 2.5rem;
    gap: 2rem;
  }

  .avatar-container {
    width: 120px;
    height: 120px;
  }

  .avatar {
    width: 112px;
    height: 112px;
    font-size: 2.5rem;
  }

  .profile-info h1 {
    font-size: 2.2rem;
  }

  .username-tag {
    justify-content: flex-start;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .stryke-section,
  .goals-section,
  .inventory-section,
  .supporters-section {
    padding: 2rem 5% 3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .stryke-card {
    padding: 2rem;
  }

  .amount-display {
    padding: 1rem 1.5rem;
  }

  #amountInput {
    font-size: 2.2rem;
  }

  .inventory-grid {
    gap: 1.5rem;
  }

  .share-card {
    max-width: 350px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .action-btn:hover,
  .preset-btn:hover,
  .inventory-item:hover,
  .supporter-card:hover,
  .stryke-btn:hover,
  .goal-card:hover,
  .goal-contribute-btn:hover,
  .transfer-btn:hover,
  .share-btn:hover {
    transform: none;
  }

  .stryke-btn:active,
  .transfer-btn:active {
    opacity: 0.8;
  }
}

@media only screen and (max-width: 1px) {
  .share-actions {
    display: none !important;
  }
}

/* Add this to ensure buttons don't appear in download */
html2canvas-ignore {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .share-card {
    padding: 20px;
    max-width: 320px;
  }

  .share-avatar {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
  }

  .share-name {
    font-size: 1.4rem;
  }

  .share-handle {
    font-size: 0.9rem;
  }

  .qr-box {
    padding: 8px;
    max-width: 160px;
    max-height: 160px;
  }

  #shareQr canvas {
    max-width: 140px;
    max-height: 140px;
  }
}

@media (max-width: 480px) {
  .share-card {
    padding: 15px;
    max-width: 280px;
  }

  .share-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .share-name {
    font-size: 1.2rem;
  }

  .share-handle {
    font-size: 0.85rem;
  }

  .qr-box {
    padding: 6px;
    max-width: 140px;
    max-height: 140px;
  }

  #shareQr canvas {
    max-width: 120px;
    max-height: 120px;
  }

  .share-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

.verified-badge {
  display: none !important;
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-left: 5px;
}

.verified-badge.show {
  display: inline-block !important;
}

.made-by {
  margin-top: 0.5rem;
}

.made-by a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* --- CENTERED LAYOUT UPDATE --- */
.profile-header,
.stryke-section,
.goals-section,
.inventory-section,
.supporters-section,
.footer {
  max-width: 1000px; /* Controls how wide the content gets */
  width: 100%;
  margin-left: auto; /* Centers the block */
  margin-right: auto; /* Centers the block */
  padding-left: 20px; /* Consistent side spacing */
  padding-right: 20px;
}

.nav {
  justify-content: center; /* Helper to center the inner content if needed */
}

.nav > * {
  /* This ensures logo and buttons spread out but stay within a reasonable width */
  width: 100%;
  max-width: 650px;
  display: flex;
}

/* Fix Nav Actions alignment since we wrapped them in the rule above */
.nav-actions {
  justify-content: flex-end;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
  }
}
