/* Theater, Memories & Footer Styles */
.theater-section {
  padding: 52px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: linear-gradient(160deg, rgba(29, 19, 54, 0.95), rgba(15, 10, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.video-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #ffffff;
}

.video-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.video-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
}

.video-tag {
  background: #ffe600;
  color: #0b0716;
  padding: 4px 10px;
  border-radius: 6px;
}

.video-vibe {
  color: #00f0ff;
}

.video-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-frame-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-card-footer {
  margin-top: 16px;
  display: flex;
}

.btn-channel-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-channel-link:hover {
  background: #00f0ff;
  color: #0b0716;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

/* MEMORIES & SQUAD CODE SECTION */
.memories-section {
  padding: 52px 0 32px;
}

.memories-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 36px;
}

.rules-panel h2 {
  font-family: 'Bungee', cursive, sans-serif;
  font-size: 30px;
  margin: 6px 0 22px;
  color: #ffffff;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 16px;
  border-radius: 14px;
  border-left: 3px solid #ffe600;
}

.rule-num {
  font-family: 'Bungee', cursive, sans-serif;
  color: #ff2a85;
  font-size: 16px;
}

.rule-text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.polaroid-panel {
  display: flex;
  justify-content: center;
}

.polaroid-card {
  position: relative;
  background: #fdfbf7;
  color: #1a1a1a;
  padding: 14px 14px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  transform: rotate(-2.5deg);
  max-width: 340px;
  width: 100%;
  transition: transform 0.25s ease;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.polaroid-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.polaroid-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 110px;
  height: 26px;
  background: rgba(255, 230, 0, 0.75);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.polaroid-caption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.polaroid-caption strong {
  font-size: 16px;
  color: #111;
}

.polaroid-caption span {
  font-size: 12px;
  color: #555;
}

/* FOOTER */
.sss-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Bungee', cursive, sans-serif;
  font-size: 16px;
  color: #ffe600;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
}

.back-top {
  color: #00f0ff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.back-top:hover {
  background: #00f0ff;
  color: #0b0716;
}

@media (max-width: 1100px) {
  .video-grid,
  .memories-grid {
    grid-template-columns: 1fr;
  }
}
