body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f5f5f5;
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-branding h1 {
  margin: 0;
  font-size: 28px;
  color: #2c3e50;
}

.site-branding p {
  margin: 5px 0 0 0;
  color: #7f8c8d;
  font-size: 14px;
}

/* Navigation Buttons */
.nav-button {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.nav-button:hover {
  background: #2980b9;
}

/* Video Container */
.video-container {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Ad Spaces */
.ad-space {
  background: #e8e8e8;
  border: 2px dashed #bdc3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.ad-header {
  min-height: 90px;
  flex: 1;
  max-width: 728px;
}

.ad-sidebar {
  min-height: 600px;
  margin-bottom: 20px;
}

.ad-banner {
  min-height: 250px;
  margin: 20px 0;
}

.ad-square {
  min-height: 250px;
}

.ad-footer {
  min-height: 90px;
}

/* Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  margin-bottom: 20px;
}

.content-area {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-area h2 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 32px;
}

.content-area p {
  color: #34495e;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Bottom Ad Grid */
.bottom-ads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .ad-header {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ad-header {
    width: 100%;
  }

  .bottom-ads {
    grid-template-columns: 1fr;
  }
}