:root {
  --color-dark-gold: #31972e;
  --color-gold-light: #45CC41;
  --color-gold-dark: #459743;
  --color-light-black: #1A1A1A;
  --color-dark-gray: #2D2D2D;
  --color-medium-gray: #444;
  --color-light-gray: #F5F5F5;
  --color-white: #FFFFFF;
  --color-overlay: rgba(26, 26, 26, 0.85);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* html {
  font-size: 22px;
} */

/* body {
  margin: 0;
  padding: 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
} */

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-light-gray);
  background-color: var(--color-light-black);
}

article {
  max-width: 68ch;
  margin: 4rem auto;
  padding: 0 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

article img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  object-fit: cover;

  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  margin-top: 2rem;
  margin-bottom: 2rem;

  border-radius: 4px;
  /* optional soft rounding */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  /* subtle news-site style shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}



h1,
h2,
h3 {
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 1rem 0;
}

ul,
ol {
  margin: 1rem 0 1rem 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin: 0.4rem 0;
}

a {
  color: #0070f3;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

pre {
  background: #f6f6f6;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 6px;
}

code {
  font-family: monospace;
  font-size: 0.95em;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 3px solid #ccc;
  color: #555;
}


/* HEADER */

.main-header {
  position: relative;
  min-height: 100vh;
  /* Changed from 70vh to 100vh */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-header h1,
.main-header h2,
.main-header h3,
.main-header p {
  margin: 0;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Already 100% but making sure */
  z-index: -2;
}

.gif-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Already 100% but making sure */
  background-image: url('./images/cult-token.gif');
  background-size: cover;
  background-position: center;
  animation: backgroundAnimation 30s infinite alternate;
}

@keyframes backgroundAnimation {
  0% {
    transform: scale(1);
    filter: brightness(0.8) contrast(1);
  }

  100% {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Already 100% but making sure */
  background: var(--color-overlay);
  z-index: -1;
}

.header-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  /* Changed from auto auto auto since nav removed */
  gap: 2.5rem;
  z-index: 10;
}

/* Brand Section */
.brand-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.titles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.cult-c {
  color: var(--color-gold-light);
}

.subtitle {
  font-size: 1.3rem;
  color: var(--color-gold-light);
  font-weight: 300;
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.contract-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contract-container {
  display: flex;
  max-width: 700px;
  background-color: var(--color-light-black);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-dark-gold);
}

.contract-address-display {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0.3rem 1rem;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent);
  min-width: 0;
  /* Allows text truncation */
}

.contract-icon {
  width: 30px;
  height: 30px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contract-address {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--color-gold-light);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
  user-select: all;
  -webkit-user-select: all;
}

.copy-button {
  background-color: var(--color-dark-gold);
  color: var(--color-light-black);
  border: none;
  padding: 0 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.copy-button:hover {
  background-color: var(--color-gold-light);
}

.copy-button.copied {
  background-color: var(--color-gold-light);
}

.contract-hint {
  font-size: 0.9rem;
  color: var(--color-gold-light);
  margin-left: 0.5rem;
}