body {
  margin: 0;
  background: #000;
}

.bracket-container {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: auto;
}

.bracket-img {
  width: 100%;
  display: block;
}

.team,
.champion {
  position: absolute;
  background: rgba(0,0,0,.85);
  border: 1px solid #c99736;
  color: gold;
  font-weight: bold;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 20;
  width: 12%;
  height: 2.8%;
  cursor: pointer;
}

.team:empty {
  display: none;
}

/* GROUP A ROUND 1 */

.a-r1-m1-t1 { left: 4.5%; top: 32.8%; }
.a-r1-m1-t2 { left: 4.5%; top: 35.8%; }

.a-r1-m2-t1 { left: 4.5%; top: 47.2%; }
.a-r1-m2-t2 { left: 4.5%; top: 50.2%; }

/* GROUP A WINNERS ROUND 2 */

.a-win-t1 { left: 20.0%; top: 38.5%; }
.a-win-t2 { left: 20.0%; top: 41.5%; }

/* GROUP A LOSERS MATCH */

.a-lose-t1 { left: 5.5%; top: 78.0%; }
.a-lose-t2 { left: 5.5%; top: 81.0%; }

/* GROUP A LAST CHANCE MATCH */

.a-final-lose-t1 { left: 22.0%; top: 78.0%; }
.a-final-lose-t2 { left: 22.0%; top: 81.0%; }

/* GROUP A SEMIFINAL */

.a-semi-t1 { left: 27%; top: 55%; }
.a-semi-t2 { left: 27%; top: 58%; }

/* GROUP B ROUND 1 */

.b-r1-m1-t1 { left: 83.5%; top: 32.8%; }
.b-r1-m1-t2 { left: 83.5%; top: 35.8%; }

.b-r1-m2-t1 { left: 83.5%; top: 47.2%; }
.b-r1-m2-t2 { left: 83.5%; top: 50.2%; }

/* GROUP B WINNERS ROUND 2 */

.b-win-t1 { left: 67.5%; top: 39.0%; }
.b-win-t2 { left: 67.5%; top: 42.0%; }

/* GROUP B LOSERS MATCH */

.b-lose-t1 { left: 83.5%; top: 78.0%; }
.b-lose-t2 { left: 83.5%; top: 81.0%; }

/* GROUP B LAST CHANCE MATCH */

.b-final-lose-t1 { left: 67.0%; top: 78.0%; }
.b-final-lose-t2 { left: 67.0%; top: 81.0%; }

/* GROUP B SEMIFINAL */

.b-semi-t1 { left: 60%; top: 55%; }
.b-semi-t2 { left: 60%; top: 58%; }

/* GRAND FINALS */

.grand-t1 {
  left: 44%;
  top: 52%;
}

.grand-t2 {
  left: 44%;
  top: 55%;
}

.champion {
  left: 43%;
  top: 62.5%;
  width: 14%;
  height: 3.5%;
}
.social-icons {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 9999;
}

.social-icons a {
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  padding: 10px;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.15);
}

.social-icons img {
  width: 100%;
  height: 100%;
  filter: invert(1);
}
.tavern-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    position: static;
}

.tavern-sign::before,
.tavern-sign::after {
    content: "";
    position: absolute;
    top: -18px;
    width: 2px;
    height: 18px;
    background: #c8c8c8;
}

.tavern-sign::before {
    left: 20px;
}

.tavern-sign::after {
    right: 20px;
}

.tavern-sign {
    position: relative;
    display: block;
    min-width: 180px;
    text-align: center;
    text-decoration: none;
    padding: 16px 24px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f5e7b5;

    background: linear-gradient(
        to bottom,
        #8f5a22 0%,
        #6d3f14 50%,
        #3d220c 100%
    );

    border: 4px solid #c89b3c;
    border-radius: 10px;

    text-shadow:
        0 0 5px rgba(255,215,0,0.4),
        0 0 10px rgba(255,215,0,0.2);

    box-shadow:
        0 0 15px rgba(0,0,0,0.5),
        inset 0 0 15px rgba(255,255,255,0.08);

    transition: all 0.25s ease;
    transform-origin: top center;
}

.tavern-sign:hover {
    animation: swing 0.8s ease-in-out;
    box-shadow:
        0 0 25px rgba(255,215,0,0.6),
        0 0 50px rgba(255,215,0,0.25);
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
