/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* ========== BASE STYLES ========== */
body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #D2B48C;
  font-family: 'Times New Roman', Times, serif;
}

/* ========== TOP BANNER ========== */
.top-banner {
  width: 98%;
  max-width: 1400px;
  background: linear-gradient(to right, #DAA520 0%, #B8860B 50%, #DAA520 100%);
  border: 3px solid #8B4513;
  margin: 8px auto 4px;
  padding: 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 15px;
  font-family: 'Cinzel', serif;
}

.banner-amount {
  font-size: 1.1em;
  font-weight: bold;
  color: #F4E0C0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-separator {
  color: #F4E0C0;
  font-size: 1.2em;
  opacity: 0.7;
}

.banner-status {
  font-size: 1em;
  color: #F4E0C0;
  letter-spacing: 0.5px;
}

.banner-status a {
  color: #F4E0C0;
  text-decoration: none;
  border-bottom: 1px solid #F4E0C0;
  transition: all 0.3s ease;
}

.banner-status a:hover {
  color: #FFE4B5;
  border-color: #FFE4B5;
}

/* ========== NAVIGATION ========== */
nav {
  width: 98%;
  max-width: 1400px;
  background-color: #F4E0C0;
  border: 4px solid #8B4513;
  margin: 4px auto 8px;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

nav li {
  margin: 0;
  flex: 1;
  min-width: 120px;
  border-right: 2px solid #8B4513;
}

nav li:last-child {
  border-right: none;
}

nav a {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  text-decoration: none;
  padding: 12px 18px;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  background: linear-gradient(to bottom, #F4E0C0 0%, #EDD9B3 100%);
}

nav a:hover {
  background: linear-gradient(to bottom, #EDD9B3 0%, #E6D2A6 100%);
  color: #B8860B;
  border-bottom-color: #B8860B;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a.active {
  background: linear-gradient(to bottom, #DAA520 0%, #B8860B 100%);
  color: #F4E0C0;
  border-bottom-color: #8B4513;
  font-weight: bold;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  text-align: center;
  margin: 15px 0 10px;
  font-size: 2.4vw;
}

h2 {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  font-size: 1.8em;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid #B8860B;
  text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.1);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #DAA520, transparent);
}

h3 {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  font-size: 1.3em;
}

h4 {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  margin: 0 0 15px 0;
}

a {
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
}

p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #5A4A3A;
}

strong {
  color: #8B4513;
  font-weight: 700;
}

/* ========== GENERAL CONTAINERS ========== */
.container {
  text-align: center;
  background: linear-gradient(135deg, #F4E0C0 0%, #F0DDB8 100%);
  border: 4px solid #8B4513;
  padding: 30px 35px;
  position: relative;
  z-index: 1;
  margin: 12px 0;
  width: 80%;
  box-sizing: border-box;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.container::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(184, 134, 11, 0.3);
  pointer-events: none;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 98%;
  margin: 0 auto;
}

.left-column, .right-column {
  width: 48%;
}

.single-column {
  width: 98%;
  max-width: 1400px;
  margin: 0 auto;
}

.summary, .timeline, .media-coverage, .video-section, .skeptics-section, .faq-section, .key-facts, .potential-impact {
  background: linear-gradient(to bottom, #F4E0C0 0%, #F0DDB8 100%);
  border: 4px solid #8B4513;
  padding: 20px;
  margin: 12px 0;
  text-align: left;
  color: #654321;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
}

.summary::before, .timeline::before, .media-coverage::before, .video-section::before,
.skeptics-section::before, .faq-section::before, .key-facts::before, .potential-impact::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  pointer-events: none;
}

.left-container {
  width: 100%;
}

/* ========== COUNTER AND LABEL ========== */
.counter {
  font-family: 'Cinzel', serif;
  font-size: 3vw;
  margin: 10px 0;
  color: #8B4513;
  letter-spacing: 2px;
}

.label {
  font-size: 1.8vw;
  margin-top: 15px;
  max-width: 80vw;
  word-wrap: break-word;
  color: #654321;
}

.btc {
  font-size: 0.7em;
  margin-left: 0.2em;
}

/* ========== LINKS ========== */
.proposal-link {
  color: #B8860B;
  text-decoration: none;
  border-bottom: 1px solid #B8860B;
  position: relative;
  z-index: 2;
}

.proposal-link:hover {
  color: #DAA520;
  border-color: #DAA520;
}

.event-date a, .media-date a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid;
}

.event-date a:hover, .media-date a:hover {
  color: #DAA520;
  border-color: #DAA520;
}

/* ========== TIMELINE & MEDIA SECTIONS ========== */
.timeline-event, .media-event, .skeptic-event, .faq-item {
  margin-bottom: 10px;
  padding: 8px 10px 8px 20px;
  border-left: 3px solid #8B4513;
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 4px 4px 0;
  transition: all 0.2s ease;
}

.timeline-event:hover, .media-event:hover, .skeptic-event:hover, .faq-item:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(3px);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.timeline-event::before, .media-event::before, .skeptic-event::before, .faq-item::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #F4E0C0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.timeline-event::before {
  background: radial-gradient(circle, #A0522D, #8B4513);
}

.media-event::before {
  background: radial-gradient(circle, #DAA520, #B8860B);
}

.skeptic-event::before {
  background: radial-gradient(circle, #CD5C5C, #B22222);
}

.faq-item::before {
  background: radial-gradient(circle, #F0E68C, #DAA520);
}

.event-date {
  font-weight: bold;
  color: #8B4513;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.media-date {
  font-weight: bold;
  color: #B8860B;
}

/* ========== FAQ SECTION ========== */
.faq-item h3 {
  color: #8B4513;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.faq-item p {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.key-facts ul {
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.key-facts li {
  margin-bottom: 12px;
  line-height: 1.7;
  padding-left: 30px;
  position: relative;
}

.key-facts li::before {
  content: '◆';
  position: absolute;
  left: 8px;
  color: #B8860B;
  font-size: 1.2em;
}

.potential-impact p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ========== BITCOIN ACT TRACKER ========== */
.bitcoin-act-section {
  background: linear-gradient(to bottom, #F4E0C0 0%, #F0DDB8 100%);
  border: 4px solid #8B4513;
  padding: 20px;
  margin: 12px 0;
  text-align: left;
  color: #654321;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
}

.bitcoin-act-section::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  pointer-events: none;
}

.tracker-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 40px 0;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  flex-wrap: wrap;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 100px;
}

.tracker-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.3em;
  font-weight: bold;
  border: 3px solid #8B4513;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.tracker-step.completed .tracker-icon {
  background: radial-gradient(circle, #DAA520, #B8860B);
  color: #F4E0C0;
}

.tracker-step.pending .tracker-icon {
  background: #F4E0C0;
  color: #8B4513;
}

.tracker-label {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #8B4513;
  margin-top: 10px;
  font-size: 0.95em;
  text-align: center;
}

.tracker-date {
  font-size: 0.85em;
  color: #654321;
  margin-top: 5px;
  font-style: italic;
}

.tracker-connector {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #8B4513, #A0522D);
  margin: 0 -10px;
  align-self: flex-start;
  margin-top: 25px;
}

.act-details {
  margin-top: 25px;
}

.act-details h3 {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 2px solid #B8860B;
  padding-bottom: 5px;
}

.act-details p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #5A4A3A;
}

.resource-links {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.resource-links li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.resource-links li::before {
  content: '▸';
  position: absolute;
  left: 5px;
  color: #B8860B;
  font-size: 1.2em;
}

.resource-links a {
  color: #B8860B;
  text-decoration: none;
  border-bottom: 1px solid #B8860B;
  transition: all 0.3s ease;
  font-weight: 600;
}

.resource-links a:hover {
  color: #DAA520;
  border-color: #DAA520;
}

/* ========== TAB SYSTEM ========== */
.tab-container {
  background-color: #F4E0C0;
  border: 4px solid #8B4513;
  margin: 12px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tab-nav {
  display: flex;
  background-color: #F4E0C0;
  padding: 0;
  margin: 0;
}

.tab-button {
  font-family: 'Cinzel', serif;
  background: linear-gradient(to bottom, #F4E0C0 0%, #EDD9B3 100%);
  border: none;
  border-right: 2px solid #8B4513;
  border-bottom: 3px solid transparent;
  padding: 18px 30px;
  font-size: 16px;
  color: #8B4513;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex: 1;
  position: relative;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button:hover {
  background: linear-gradient(to bottom, #EDD9B3 0%, #E6D2A6 100%);
  color: #B8860B;
  border-bottom-color: #B8860B;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-button.active {
  background: linear-gradient(to bottom, #DAA520 0%, #B8860B 100%);
  color: #F4E0C0;
  border-bottom-color: #8B4513;
  font-weight: bold;
}

.tab-content {
  display: none;
  padding: 0;
  animation: fadeIn 0.4s ease-in;
}

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

.tab-content .summary,
.tab-content .key-facts,
.tab-content .potential-impact {
  border: none;
  margin: 0;
  border-top: 3px solid #8B4513;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== VIDEO SECTION ========== */
/* Video Container - Holds All Video Items */
.video-container {
  margin-top: 12px;
}

/* Individual Video Item */
.video-item {
  background-color: #F5E6CA;
  border: 2px solid #8B4513;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
}

/* Content Area - Title and Description */
.video-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-family: 'Cinzel', serif;
  color: #8B4513;
  font-size: 1.4em;
  margin: 0 0 15px 0;
  font-weight: bold;
}

.video-description {
  color: #654321;
  line-height: 1.6;
  margin: 0;
  font-size: 1em;
}

/* Video Thumbnail and Play Button */
.video-thumbnail {
  position: relative;
  width: 178px;
  height: auto;
  flex-shrink: 0;
  cursor: pointer;
  align-self: center; 
  border: 1px solid #8B4513;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(139, 69, 19, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.play-button:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #F4E0C0;
  margin-left: 5px;
}

.video-thumbnail:hover .play-button {
  background-color: rgba(184, 134, 11, 0.8);
}

/* ========== FOOTER ========== */
.footer {
  width: 100%;
  background-color: #8B4513;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-content {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  color: #F4E0C0;
  font-family: 'Cinzel', serif;
  font-size: 0.5vw;
}

.footer-link {
  color: #F4E0C0;
  text-decoration: none;
  border-bottom: 1px solid #F4E0C0;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #DAA520;
  border-color: #DAA520;
}

/* ========== RESPONSIVE STYLES ========== */
/* Desktop Styles (Large screens) */
@media (min-width: 1025px) {
  .left-column, .right-column {
    width: 48%;
  }

  .left-column .summary,
  .left-column .timeline,
  .left-column .key-facts,
  .left-column .potential-impact,
  .left-column .faq-section,
  .right-column .video-section,
  .right-column .media-coverage,
  .right-column .skeptics-section {
    width: 100%;
  }

  .left-container .counter {
    font-size: 1.4vw;
  }

  .left-container .label {
    font-size: 0.8vw;
  }

  .summary p,
  .timeline p,
  .media-coverage p,
  .video-description {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Tablet Styles (Medium screens) */
@media (min-width: 769px) and (max-width: 1024px) {
  .content-container,
  .left-column,
  .right-column {
    width: 90%;
    margin: 0 auto;
  }

  .summary,
  .timeline,
  .key-facts,
  .potential-impact,
  .faq-section,
  .media-coverage,
  .video-section,
  .skeptics-section {
    width: 100%;
    margin: 20px 0;
  }

  .counter {
    font-size: 28px;
  }

  .label {
    font-size: 20px;
  }

  h1 {
    font-size: 32px;
  }

  .summary p,
  .timeline p,
  .media-coverage p,
  .video-description {
    font-size: 16px;
  }

  .video-item {
    padding: 12px;
  }

  .video-thumbnail {
    width: 150px;
  }

  .footer-text {
    font-size: 16px;
  }
}

/* Mobile Styles (Small screens) */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 20px 10px;
    border-width: 4px;
    margin: 10px 0;
  }

  .container.left-container {
    padding: 15px;
    border-width: 4px;
    box-sizing: border-box;
  }

  .counter {
    font-size: 20px;
    margin: 5px 0;
  }

  .label {
    font-size: 16px;
    margin-top: 10px;
  }

  h1 {
    font-size: 24px;
    margin: 15px 0;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .left-container,
  .left-column,
  .right-column,
  .summary,
  .timeline,
  .key-facts,
  .potential-impact,
  .faq-section,
  .media-coverage,
  .video-section,
  .skeptics-section {
    width: 95%;
    margin: 10px auto;
    box-sizing: border-box;
  }

  .summary p,
  .timeline p,
  .media-coverage p {
    font-size: 16px;
    line-height: 1.4;
  }

  .video-item {
    flex-direction: column;
    padding: 12px;
  }

  .video-title {
    margin-bottom: 10px;
    font-size: 1.3em;
    text-align: left;
  }

  .video-description {
    margin-bottom: 15px;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
  }

  .video-thumbnail {
    width: 178px;
    margin: 0 auto;
  }

  .timeline-event,
  .media-event,
  .skeptic-event,
  .faq-item {
    padding-left: 15px;
  }

  .timeline-event::before,
  .media-event::before,
  .skeptic-event::before,
  .faq-item::before {
    width: 12px;
    height: 12px;
    left: -7px;
  }

  .footer-content {
    max-width: 90%;
    flex-direction: column;
  }

  .footer-logo {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer-text {
    font-size: 14px;
  }

  nav {
    width: 95%;
  }

  nav li {
    flex: 1 1 auto;
    min-width: 100px;
  }

  nav a {
    font-size: 14px;
    padding: 12px 10px;
    letter-spacing: 0.3px;
  }

  .tab-button {
    font-size: 14px;
    padding: 12px 15px;
  }

  .single-column {
    width: 95%;
  }
}
