:root {
  --aws-squid-ink: #232f3e;
  --aws-dark: #161e2d;
  --aws-orange: #ff9900;
  --aws-orange-light: #ffb84d;
  --gap: 2vw;
}

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

html,
body {
  height: 100%;
}

body {
  background: radial-gradient(ellipse at top, var(--aws-squid-ink) 0%, var(--aws-dark) 70%);
  color: #fff;
  font-family: "Amazon Ember", "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Prominent AWS logo across the top */
.brand {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vh var(--gap) 0;
}

.brand-logo {
  height: clamp(60px, 11vh, 140px);
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 153, 0, 0.35));
}

/* Two equal columns filling the remaining viewport */
.showcase {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  padding: 1.5vh var(--gap) var(--gap);
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.panel-title {
  flex: 0 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.6vh;
}

/* Discreet secondary link under a title; same height on both panels */
.panel-sublink {
  flex: 0 0 auto;
  text-align: center;
  font-size: clamp(0.8rem, 1vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1vh;
}

.panel-sublink a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 153, 0, 0.5);
  transition: color 0.2s ease;
}

.panel-sublink a:hover,
.panel-sublink a:focus-visible {
  color: var(--aws-orange);
}

.panel-title::after {
  content: "";
  display: block;
  width: 4em;
  height: 4px;
  margin: 0.4em auto 0;
  border-radius: 2px;
  background: var(--aws-orange);
}

/* AWS-themed frame: orange gradient border with glow */
.video-frame {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  position: relative;
  border: 6px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, var(--aws-orange), var(--aws-orange-light) 40%, var(--aws-squid-ink) 60%, var(--aws-orange)) border-box;
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-frame:hover,
.video-frame:focus-visible {
  transform: scale(1.01);
  box-shadow: 0 0 40px rgba(255, 153, 0, 0.6);
  outline: none;
}

/* Fill the frame without cropping the recordings */
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Stack vertically on narrow/portrait screens */
@media (max-aspect-ratio: 1/1) {
  .showcase {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
