/* ==========================================================================
   GoatSpace 2006 Vintage MySpace Theme Stylesheet
   Faithfully recreated from vintage myspace.png (800x980 pixel-accurate)
   ========================================================================== */

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

body {
  background-color: #e5e5e5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #000000;
  line-height: 1.25;
  -webkit-font-smoothing: subpixel-antialiased;
}

a {
  color: #003399;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Main 800px fixed width layout */
#container {
  width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  position: relative;
}

/* ==========================================================================
   TOP HEADER (Dark Blue #003399, height 85px)
   ========================================================================== */
#header {
  background-color: #003399;
  height: 85px;
  position: relative;
  padding: 0;
}

#top-links {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 11px;
  color: #ffffff;
  z-index: 10;
}

#top-links a {
  color: #ffffff;
  text-decoration: none;
}

#top-links a:hover {
  text-decoration: underline;
}

#top-links .pipe {
  color: #ffffff;
  margin: 0 3px;
}

#header-row {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 0 14px 10px 14px;
}

#logo-link {
  display: block;
  margin-bottom: 2px;
  cursor: pointer;
}

#logo-img {
  width: 220px;
  height: 50px;
  display: block;
}

#search-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
}

#search-tabs {
  font-size: 10.5px;
  color: #ffffff;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
}

.search-tab.selected {
  background-color: #ffffff;
  color: #003399;
  font-weight: bold;
  padding: 2px 6px 1px 6px;
  border-radius: 2px 2px 0 0;
  display: inline-block;
}

.tab-pipe {
  color: #ffffff;
  margin: 0 3px;
  font-size: 10px;
}

.search-tab-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 10.5px;
}

.search-tab-link:hover {
  text-decoration: underline;
}

.orange-arrow {
  color: #ff6600;
  font-size: 8px;
  margin-left: 1px;
}

#search-form {
  display: flex;
  align-items: center;
}

#search-input {
  width: 365px;
  height: 20px;
  border: 1px solid #7f9db9;
  padding: 1px 4px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  background-color: #ffffff;
  outline: none;
}

#search-button {
  margin-left: 3px;
  height: 20px;
  padding: 0 6px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  background: #ece9d8 linear-gradient(#ffffff, #ece9d8);
  border: 1px solid #7f9db9;
  border-radius: 1px;
  color: #000000;
  cursor: pointer;
}

#search-button:active {
  background: #dcd8c8;
}

#powered-by {
  margin-left: 6px;
  display: flex;
  align-items: center;
}

#google-logo {
  width: 105px;
  height: 32px;
  display: block;
}

/* ==========================================================================
   SECONDARY SUBNAV BAR (Medium Blue #6698cb, height 23px)
   ========================================================================== */
#subnav {
  background-color: #6698cb;
  height: 23px;
  line-height: 23px;
  text-align: center;
}

.subnav-links {
  font-size: 10.5px;
  white-space: nowrap;
}

.subnav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: normal;
}

.subnav-links a:hover {
  text-decoration: underline;
}

.subnav-pipe {
  color: #ffffff;
  opacity: 0.8;
  margin: 0 2px;
}

/* ==========================================================================
   TWO-COLUMN MAIN BODY
   ========================================================================== */
#main-content {
  display: flex;
  padding: 10px 14px 0 14px;
}

#left-column {
  width: 456px;
  padding-right: 14px;
  border-right: 1px dotted #d8e2f7;
}

#right-column {
  width: 302px;
  padding-left: 14px;
}

.section-container {
  margin-bottom: 12px;
}

/* Section Title Rows */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.section-title-bold {
  font-size: 12px;
  font-weight: bold;
  color: #000000;
}

.uploaded-count {
  font-size: 11px;
  font-weight: bold;
  color: #003399;
}

.uploaded-normal {
  font-weight: normal;
  color: #003399;
}

/* Cool New Videos Grid (4 Columns, ~90px wide each) */
.video-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.video-card {
  width: 95px;
  text-align: center;
  cursor: pointer;
}

.thumbnail-wrapper {
  width: 90px;
  height: 70px;
  margin: 0 auto;
  border: 1px solid #777777;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  right: 2px;
  bottom: 2px;
  pointer-events: none;
}

.play-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  color: #ffffff;
  font-size: 8px;
  margin-left: 1px;
}

.video-title {
  font-size: 11px;
  font-weight: bold;
  color: #003399;
  margin-top: 3px;
  line-height: 1.15;
}

.video-author {
  font-size: 11px;
  color: #000000;
  line-height: 1.15;
}

/* 4-Column Category Box (Border #d1e3fd) */
#category-box {
  border: 1px solid #d1e3fd;
  padding: 5px 10px;
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}

.cat-col {
  display: flex;
  flex-direction: column;
  width: 24%;
}

.cat-col a {
  font-size: 11px;
  color: #003399;
  text-decoration: none;
  line-height: 1.55;
}

.cat-col a:hover {
  text-decoration: underline;
}

.badge-new {
  color: #cc0000;
  font-size: 9px;
  font-weight: bold;
}

/* Flat Bar Header (#b5ccfb) */
.pill-header {
  background-color: #b5ccfb;
  height: 20px;
  padding: 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pill-title {
  font-size: 12px;
  font-weight: bold;
  color: #000000;
}

.pill-more {
  font-size: 11px;
  color: #003399;
  text-decoration: none;
}

.pill-more:hover {
  text-decoration: underline;
}

/* Music & Specials Feature Content */
.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-photo-wrap {
  flex-shrink: 0;
}

.feature-photo {
  width: 100px;
  height: 105px;
  object-fit: cover;
  border: 1px solid #777777;
  display: block;
}

.special-photo {
  width: 110px;
  height: 118px;
}

.feature-info {
  flex-grow: 1;
  font-size: 11px;
  line-height: 1.3;
}

.feature-info.full-width {
  width: 100%;
}

.artist-name a {
  font-size: 13px;
  font-weight: bold;
  color: #003399;
}

.artist-genre, .artist-location {
  font-size: 11px;
  color: #000000;
  margin-top: 1px;
}

.feature-desc {
  font-size: 11px;
  color: #000000;
  margin: 5px 0 4px 0;
  line-height: 1.3;
}

.special-headline {
  font-size: 12px;
  font-weight: bold;
  color: #003399;
}

.body-link {
  font-weight: bold;
  color: #003399;
}

.action-link-row {
  margin-top: 3px;
}

.action-arrows {
  color: #cc3300;
  font-weight: bold;
  font-size: 12px;
  margin-right: 2px;
}

.action-link {
  color: #003399;
  font-weight: bold;
  font-size: 11px;
}

.exclusive-badge-wrap {
  flex-shrink: 0;
  width: 125px;
  margin-top: 2px;
}

.exclusive-badge {
  width: 125px;
  height: auto;
  display: block;
}

/* ==========================================================================
   RIGHT COLUMN (Login, Cool People, Videos)
   ========================================================================== */

/* Member Login Box */
#login-box {
  border: 1px solid #003399;
  margin-bottom: 12px;
}

#login-header {
  background-color: #003399;
  color: #ffffff;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 8px;
}

#login-body {
  padding: 10px 10px 8px 10px;
}

.login-field-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 5px;
}

.login-field-row label {
  font-size: 11px;
  margin-right: 6px;
  color: #000000;
  width: 65px;
  text-align: right;
}

.login-field-row input {
  width: 145px;
  height: 19px;
  border: 1px solid #7f9db9;
  padding: 1px 3px;
  font-size: 11px;
  font-family: Arial, sans-serif;
  outline: none;
}

.login-checkbox-row {
  margin-left: 71px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
}

.login-checkbox-row input {
  margin: 0 4px 0 0;
}

.remember-label {
  font-size: 11px;
  color: #000000;
}

.login-buttons-row {
  margin-left: 71px;
  display: flex;
  gap: 7px;
  align-items: center;
}

#btn-login {
  background: #ece9d8 linear-gradient(#ffffff, #ece9d8);
  border: 1px solid #7f9db9;
  border-radius: 1px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #003399;
  cursor: pointer;
}

#btn-signup {
  background: linear-gradient(#ff7700, #ff4400);
  border: 1px solid #cc3300;
  border-radius: 1px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.forgot-row {
  text-align: right;
  margin-top: 8px;
}

.forgot-link {
  font-size: 11px;
  font-weight: bold;
  color: #003399;
}

/* Cool New People / Cool New Goats */
#cool-people-box {
  margin-bottom: 12px;
}

#cool-people-header {
  background-color: #ffcc99;
  color: #000000;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 6px;
}

#cool-people-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

.person-card {
  width: 95px;
  text-align: center;
}

.person-name {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #003399;
  margin-bottom: 2px;
}

.person-photo-wrap {
  width: 90px;
  height: 74px;
  margin: 0 auto;
  border: 1px solid #777777;
  overflow: hidden;
  cursor: pointer;
}

.person-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Videos Box (Red Border #990033) */
#right-videos-box {
  border: 1px solid #990033;
  margin-bottom: 12px;
}

#right-videos-header {
  background-color: #990033;
  color: #ffffff;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rv-title {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
}

.rv-more {
  font-size: 11px;
  color: #ffffff;
  text-decoration: none;
}

.rv-more:hover {
  text-decoration: underline;
}

#right-video-content {
  padding: 6px;
  display: flex;
  gap: 7px;
}

.rv-photo-wrap {
  width: 125px;
  height: 95px;
  flex-shrink: 0;
  border: 1px solid #777777;
  overflow: hidden;
  cursor: pointer;
}

.rv-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-info {
  flex-grow: 1;
}

.rv-headline a {
  font-size: 11.5px;
  font-weight: bold;
  color: #003399;
  line-height: 1.2;
}

.rv-desc {
  font-size: 11px;
  color: #000000;
  margin: 3px 0 4px 0;
  line-height: 1.25;
}

/* ==========================================================================
   BOTTOM 4 FEATURE PROMO BOXES (#b5ccfb)
   ========================================================================== */
#bottom-cards-grid {
  margin: 12px 14px 14px 14px;
  border: 2px solid #003399;
  background-color: #b5ccfb;
  display: flex;
}

.bottom-card {
  flex: 1;
  padding: 8px 9px 6px 9px;
  border-right: 1px solid #003399;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bottom-card.last-card {
  border-right: none;
}

.bc-title {
  font-size: 11.5px;
  font-weight: bold;
  color: #003399;
  margin-bottom: 3px;
  line-height: 1.2;
}

.bc-text {
  font-size: 10.5px;
  color: #000000;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 48px;
}

.bc-link-row {
  text-align: right;
  margin-top: 2px;
}

.bc-link {
  font-size: 10.5px;
  font-weight: bold;
  color: #003399;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  text-align: center;
  margin: 14px 0 20px 0;
  padding-bottom: 10px;
}

#footer-links {
  font-size: 11px;
  font-weight: bold;
}

#footer-links a {
  color: #003399;
  text-decoration: none;
  margin: 0 1px;
}

#footer-links a:hover {
  text-decoration: underline;
}

.footer-pipe {
  color: #003399;
  margin: 0 3px;
  font-weight: normal;
}

#copyright {
  font-size: 11px;
  color: #000000;
  margin-top: 8px;
}

/* ==========================================================================
   INTERACTIVE RETRO MODAL (2006 Style Pop-up)
   ========================================================================== */
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#modal-overlay.hidden {
  display: none;
}

#modal-window {
  width: 420px;
  background-color: #ece9d8;
  border: 2px solid #003399;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
  font-family: Arial, Tahoma, sans-serif;
  overflow: hidden;
}

#modal-header {
  background-color: #003399;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#modal-close {
  cursor: pointer;
  font-size: 12px;
  padding: 0 4px;
}

#modal-close:hover {
  background: #cc0000;
}

#modal-body {
  padding: 14px;
  font-size: 11.5px;
  background-color: #ffffff;
  color: #000000;
}

/* Custom Modal Components */
.modal-profile-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-profile-pic {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 1px solid #777777;
}

.modal-details {
  line-height: 1.4;
}

.modal-details h3 {
  font-size: 14px;
  color: #003399;
  margin-bottom: 4px;
}

.modal-details .sub {
  color: #666666;
  font-size: 10.5px;
  margin-bottom: 6px;
}

.modal-buttons {
  margin-top: 12px;
  text-align: right;
}

.modal-btn {
  background: #ece9d8;
  border: 1px solid #7f9db9;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 6px;
}

.modal-btn.primary {
  background: #003399;
  color: #ffffff;
  border-color: #002266;
}

/* Retro Video / Music Player styling */
.retro-player {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px;
  text-align: center;
}

.retro-player-screen {
  width: 100%;
  height: 220px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.retro-player-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-controls {
  background: #333333;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.player-play-btn {
  background: #003399;
  color: #ffffff;
  border: 1px solid #6698cb;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}

.player-scrubber {
  flex-grow: 1;
  height: 6px;
  background: #555;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.player-progress {
  width: 45%;
  height: 100%;
  background: #ff6600;
}

.player-time {
  font-size: 10px;
  font-family: monospace;
}
