/* =========================================
   HERO BACKGROUND (MTG CINEMATIC)
   ========================================= */

.homepage-hero {
  position: relative;
  padding: 140px 20px 120px;
  text-align: center;
  background: url('../images/background2.jpg') center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

/* Make homepage hero break out of Bootstrap container */

/* Dark overlay for readability */
.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================
   HERO TEXT
   ========================================= */

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 45px;
}


/* =========================================
   GLASS SEARCH CONTAINER
   ========================================= */

.homepage-search-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}


/* =========================================
   TOGGLE (Dark Mode)
   ========================================= */

.search-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.12);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 25px;
}

.search-toggle button {
  border: none;
  background: transparent;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.75);
}

.search-toggle button:hover {
  background: rgba(255,255,255,0.15);
}

.search-toggle button.active {
  background: #e94c13;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}


/* =========================================
   SEARCH INPUT
   ========================================= */

.search-input-wrap {
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  height: 60px;
  padding: 0 22px;
  font-size: 1.05rem;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  color: #111;
}

.search-input-wrap input:focus {
  outline: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


/* =========================================
   SEARCH BUTTON
   ========================================= */

.search-submit {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 48px;
  width: 48px;
  border: none;
  border-radius: 10px;
  background: #e94c13;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-submit:hover {
  background: #c83c1b;
}


/* =========================================
   HOMEPAGE FEATURE IMAGE ROW
   ========================================= */

/*.homepage-image {
  width: 100%;
  max-width: 240px;
  height: auto;
}*/
.homepage-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  transition: transform .2s ease;
}

.homepage-image:hover {
  transform: scale(1.03);
}

.img-row-title {
  font-weight: 600;
  margin-bottom: 10px;
}


/* =========================================
   Deck meta - viewing page
   ========================================= */

.deck-header {
  margin-top: 25px;
  margin-bottom: 30px;
}


/* Title */

.deck-title__item {
  margin-bottom: 6px;
}


/* Buttons */

.deck-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}


/* Banners */

.deck-header .alert,
.deck-header .development-message {
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 900px;
}


/* Deck info */

.deck-info__container {
  margin-top: 14px;
  margin-bottom: 12px;
}


.deck-info {
  margin-bottom: 4px;
  font-size: 17px;
  color: #555;
}


.deck-info--edited {
  font-size: 16px;
  color: #777;
}


/* Mana row */

.deck-mana {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}


/* Mana spacing */

.deck-mana .mana-orb {
  margin-right: 6px;
}
