/* Truth Social BTC Giveaway Styles */
:root {
  --primary-color: #6366F1;
  --secondary-color: #f8f9fa;
  --text-color: #1a1a1a;
  --secondary-text: #6b7280;
  --border-color: #e5e7eb;
  --accent-color: #ff375f;
  --background-color: #ffffff;
  --hover-color: #f3f4f6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --btc-color: #f7931a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8b5cf6 100%);
  --gradient-btc: linear-gradient(135deg, #f7931a 0%, #ff9500 100%);
}

/* Animated Background */
#stars, #stars2, #stars3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

#stars {
  background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.3"/></svg>') repeat top center;
  animation: move-stars 50s linear infinite;
}

#stars2 {
  background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></svg>') repeat top center;
  animation: move-stars 100s linear infinite;
}

#stars3 {
  background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat top center;
  animation: move-stars 150s linear infinite;
}

@keyframes move-stars {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* Main Container */
.truth-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.truth-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.truth-logo {
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.header-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  background: var(--secondary-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-item i {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
}

.stat-item span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  display: block;
}

.stat-item label {
  font-size: 12px;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Content */
.truth-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.hero-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-btc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title i {
  margin-right: 15px;
  color: var(--btc-color);
}

.hero-description {
  font-size: 18px;
  color: var(--secondary-text);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.feature i {
  color: var(--success-color);
  font-size: 18px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btc-animation {
  width: 200px;
  height: 200px;
  background: var(--gradient-btc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  box-shadow: 0 0 50px rgba(247, 147, 26, 0.3);
}

.btc-animation i {
  font-size: 80px;
  color: white;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Calculator Section */
.calculator-section {
  margin-bottom: 40px;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
  text-align: center;
  margin-bottom: 30px;
}

.card-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.card-header p {
  color: var(--secondary-text);
  font-size: 16px;
}

.calculator-body {
  max-width: 600px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.input-wrapper input::placeholder {
  color: var(--secondary-text);
  opacity: 0.6;
  filter: blur(0.3px);
  font-style: italic;
} 

.input-field {
  flex: 1;
  background: var(--secondary-color);
  border-radius: 16px;
  padding: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.input-field:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.input-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.input-field label i {
  color: var(--primary-color);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}

.currency-icon {
  width: 24px;
  height: 24px;
}

.input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 600;
  background: transparent;
}

.currency-label {
  font-weight: 600;
  color: var(--btc-color);
  font-size: 14px;
}

.exchange-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  margin: 0;
  box-shadow: var(--shadow-md);
}

.exchange-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.address-field {
  margin-bottom: 30px;
}

.address-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.address-field label i {
  color: var(--primary-color);
}

.address-field input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.address-field input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.generate-btn {
  width: 100%;
  padding: 18px 30px;
  background: var(--gradient-btc);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.generate-btn:active {
  transform: translateY(0);
}

.warning-message {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.warning-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.warning-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Progress Section */
.progress-section {
  margin-bottom: 40px;
}

.progress-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.progress-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-header h3 i {
  color: var(--primary-color);
}

.progress-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.progress-stats span {
  font-size: 14px;
  color: var(--secondary-text);
}

.progress-percentage {
  font-weight: 700;
  color: var(--btc-color) !important;
}

.progress-bar-container {
  background: var(--secondary-color);
  border-radius: 12px;
  height: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.progress-bar {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 12px;
  transition: width 0.5s ease;
  position: relative;
  width: 70%; /* Default width for 3500/5000 */
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Instructions Section */
.instructions-section {
  margin-bottom: 40px;
}

.instructions-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.instructions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.instruction-step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.instruction-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.step-content p {
  color: var(--secondary-text);
  line-height: 1.6;
}

/* Transactions Section */
.transactions-section {
  margin-bottom: 40px;
}

.transactions-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.transactions-table th {
  background: var(--secondary-color);
  padding: 16px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
}

.transactions-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--secondary-text);
}

.transactions-table tr:hover {
  background: var(--hover-color);
}

/* Footer */
.truth-footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.footer-section p {
  color: var(--secondary-text);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--secondary-text);
  font-size: 14px;
}

/* Payment Modal */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 i {
  color: var(--primary-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary-text);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: var(--hover-color);
  color: var(--text-color);
}

.modal-body {
  padding: 30px;
}

.qr-section {
  text-align: center;
  margin-bottom: 30px;
}

.qr-container {
  display: inline-block;
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 16px;
  border: 2px solid var(--border-color);
}

.qr-code img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.qr-status {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--warning-color);
  font-weight: 600;
}

.loading-spinner {
  margin-top: 15px;
}

.payment-details {
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item label {
  font-weight: 600;
  color: var(--text-color);
}

.detail-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--secondary-text);
  word-break: break-all;
}

.copy-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  transform: scale(1.05);
}

.timer-section {
  text-align: center;
}

.timer-display {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: var(--gradient-btc);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to { 
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .truth-header {
    padding: 28px 0 22px 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .header-content {
    flex-direction: column;
    gap: 18px;
    padding: 0 8px;
  }
  .logo-section {
    gap: 14px;
  }
  .truth-logo {
    height: 54px;
    max-width: 90vw;
  }
  .page-title {
    font-size: 28px;
    text-align: center;
  }
  .header-stats {
    gap: 10px;
    width: 100%;
    justify-content: space-around;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 28px;
  }
  .input-group {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .exchange-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .instructions-list {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  .modal-header,
  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .truth-header {
    padding: 18px 0 12px 0;
    border-radius: 0 0 12px 12px;
  }
  .header-content {
    gap: 10px;
    padding: 0 2px;
  }
  .truth-logo {
    height: 38px;
  }
  .page-title {
    font-size: 18px;
  }
  .header-stats {
    gap: 6px;
  }
  .truth-main {
    padding: 10px 2px;
  }
  .hero-section,
  .calculator-card,
  .progress-card,
  .instructions-card,
  .transactions-card {
    padding: 10px;
    border-radius: 10px;
  }
  .hero-title {
    font-size: 18px;
  }
  .btc-animation {
    width: 100px;
    height: 100px;
  }
  .btc-animation i {
    font-size: 36px;
  }
  .input-field {
    padding: 10px;
    border-radius: 8px;
  }
  .input-wrapper {
    padding: 6px 8px;
    border-radius: 6px;
  }
  .input-wrapper input {
    font-size: 14px;
  }
  .address-field input {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
  }
  .generate-btn {
    font-size: 14px;
    padding: 10px 0;
    border-radius: 8px;
  }
  .card-header h3 {
    font-size: 18px;
  }
  .card-header p {
    font-size: 12px;
  }
  .progress-header h3 {
    font-size: 16px;
  }
  .footer-content {
    gap: 10px;
  }
  .modal-content {
    width: 99vw;
    margin: 2px;
    padding: 5px;
    border-radius: 10px;
  }
  .modal-header, .modal-body {
    padding: 10px;
  }
  .transactions-table {
    font-size: 12px;
    min-width: 600px;
  }
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 15px;
  }
  .btc-animation {
    width: 70px;
    height: 70px;
  }
  .btc-animation i {
    font-size: 24px;
  }
  .card-header h3, .progress-header h3 {
    font-size: 14px;
  }
  .generate-btn {
    font-size: 12px;
    padding: 8px 0;
  }
} 