* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* HEADER */
.site-header {
  background: white;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

/* MAIN */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card a {
  text-decoration: none;
  color: inherit;
}

.card img,
.card iframe {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card iframe {
  height: 180px;
  border: none;
}

.site-footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  background: white;
}


/* Viral buttons */
.button-group {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn.primary {
  background: #007bff;
  color: white;
}

.btn.secondary {
  background: #28a745;
  color: white;
}

.btn:hover {
  opacity: 0.85;
}


/* ball column */
.video-stack {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Responsive 16:9 container */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.video-item p {
  margin-top: 10px;
}