/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Inter', sans-serif;
  background: #f2f6f9;
  color: #1a1a1a;
  scroll-behavior: smooth;
  transition: background 0.3s ease, color 0.3s ease;
}
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-title {
  display: flex;
  align-items: center;
}
.logo {
  width: 45px;
  height: 45px;
}
header h1 {
  margin-left: 10px;
  font-size: 1.6rem;
  color: #333;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}
nav a:hover, nav a.active {
  background: #0066cc;
  color: #fff;
}
#darkToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Section & Layout */
main {
  max-width: 1100px;
  margin: 120px auto 60px;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
}
h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #0066cc;
}
p, li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Highlights Cards */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.card h3 {
  margin-bottom: 12px;
  color: #1a1a1a;
}
.card p {
  font-size: 0.98rem;
}

/* Lists */
ul {
  list-style: disc;
  margin-left: 20px;
}
li strong {
  color: #0066cc;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}
input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #0066cc;
}
button[type="submit"] {
  width: fit-content;
  background: #0066cc;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
button[type="submit"]:hover {
  background: #0055aa;
}

/* Footer */
footer {
  background: #ffffff;
  padding: 25px 20px;
  text-align: center;
  color: #555;
  border-top: 1px solid #eee;
}

/* Dark Mode */
body.dark {
  background: #121212;
  color: #e0e0e0;
}
body.dark header {
  background: #1f1f1f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
body.dark nav a {
  color: #ccc;
}
body.dark nav a:hover, body.dark nav a.active {
  background: #0055aa;
}
body.dark main {
  background: none;
}
body.dark .card {
  background: #1e1e1e;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}
body.dark footer {
  background: #1f1f1f;
  color: #aaa;
  border-top-color: #333;
}
body.dark input, body.dark textarea {
  background: #222;
  color: #e0e0e0;
  border-color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    margin-top: 100px;
  }
  h2 {
    font-size: 2rem;
  }
  .logo-title h1 {
    font-size: 1.3rem;
  }
}

/* === Donation Page Enhanced Styles === */

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 32px;
  margin-top: 40px;
  padding-bottom: 40px;
}

.crypto-grid .card {
  background: linear-gradient(135deg, #ffffff, #f9faff);
  border-radius: 18px;
  box-shadow:
    0 8px 20px rgba(0, 105, 255, 0.12),
    0 2px 6px rgba(0, 45, 255, 0.08);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s;
  cursor: default;
  border: 1px solid transparent;
  user-select: text;
}

.crypto-grid .card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 14px 35px rgba(0, 105, 255, 0.25),
    0 6px 12px rgba(0, 45, 255, 0.2);
  border-color: #007bff;
}

.crypto-grid .card h3 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #003cb3;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.crypto-grid .card img {
  max-width: 180px;
  margin-bottom: 22px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.07));
  border-radius: 12px;
}

.crypto-grid .card p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem;
  background: #e8f0ff;
  padding: 14px 18px;
  border-radius: 12px;
  word-break: break-word;
  user-select: all;
  transition: background 0.3s ease;
  color: #002766;
}

.crypto-grid .card p:hover {
  background: #cde1ff;
  cursor: pointer;
}

body.dark .crypto-grid .card {
  background: linear-gradient(135deg, #1e1e1e, #232323);
  box-shadow:
    0 8px 20px rgba(0, 75, 180, 0.3),
    0 2px 6px rgba(0, 45, 100, 0.25);
  border: 1px solid #003eff;
}

body.dark .crypto-grid .card:hover {
  box-shadow:
    0 14px 35px rgba(0, 105, 255, 0.45),
    0 6px 12px rgba(0, 75, 180, 0.45);
  border-color: #3399ff;
}

body.dark .crypto-grid .card p {
  background: #00294d;
  color: #aaddff;
}

body.dark .crypto-grid .card p:hover {
  background: #004aad;
}

.strike-button {
  display: inline-block;
  background: linear-gradient(45deg, #334e68, #3e88b8);
  color: #e1f0ff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow:
    0 5px 12px rgba(62, 136, 184, 0.6),
    inset 0 -3px 12px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  user-select: none;
  margin: 40px auto 0;
  display: block;
  max-width: 320px;
  text-align: center;
  cursor: pointer;
}

.strike-button:hover,
.strike-button:focus {
  background: linear-gradient(45deg, #3e88b8, #4badd8);
  box-shadow:
    0 8px 18px rgba(78, 168, 229, 0.85),
    inset 0 -4px 14px rgba(255, 255, 255, 0.3);
  outline: none;
  transform: scale(1.05);
}

body.dark .strike-button {
  background: linear-gradient(45deg, #23445e, #3a7bb1);
  box-shadow:
    0 5px 15px rgba(58, 123, 177, 0.8),
    inset 0 -3px 12px rgba(255, 255, 255, 0.15);
}

body.dark .strike-button:hover {
  background: linear-gradient(45deg, #3a7bb1, #599ad6);
  box-shadow:
    0 10px 20px rgba(89, 154, 214, 0.95),
    inset 0 -4px 14px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Smooth text selection highlight */
.crypto-grid .card p::selection {
  background-color: #8bb7ff;
  color: white;
}

body.dark .crypto-grid .card p::selection {
  background-color: #4a86e8;
  color: white;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .crypto-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .strike-button {
    max-width: 100%;
    padding: 16px 20px;
  }
}
