/* 2008 Era Web Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  background-color: #000;
  color: #ccc;
  cursor: url("cursor.cur"), auto;
  position: relative;
}

.background-split {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: space-between;
}

.bg-left,
.bg-right {
  width: calc((100% - 800px) / 2);
  height: 100%;
  background-image: url("assets/images/Riley Staircase.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 20% 60%;
}

#wrapper {
  width: 800px;
  margin: 0 auto;
  background-color: rgba(26, 26, 26, 0.95);
  border: 2px solid #333;
  box-shadow: 0 0 20px #666;
  position: relative;
  z-index: 1;
}

/* Header */
#header {
  background: linear-gradient(to bottom, #000, #1a1a1a);
  padding: 0;
  text-align: center;
  border-bottom: 3px solid #333;
  position: relative;
  overflow: hidden;
  height: auto;
}

.header-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.2) brightness(0.9);
  display: block;
}

.blink-text {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff;
  animation: blink 1.5s infinite;
  font-family: "Courier New", monospace;
  letter-spacing: 3px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

.last-updated {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  color: #999;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3px 8px;
}

/* Navigation */
#nav {
  background-color: #1a1a1a;
  padding: 0;
  border-bottom: 1px solid #333;
}

.nav-link {
  display: inline-block;
  padding: 10px 20px;
  color: #ccc;
  text-decoration: none;
  border-right: 1px solid #333;
  transition: all 0.3s;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-link:hover,
.nav-link.active {
  background-color: #333;
  color: #fff;
  text-shadow: 0 0 5px #fff;
}

/* Main Content */
#main-content {
  display: flex;
  min-height: 600px;
}

.sidebar {
  width: 200px;
  background-color: #0a0a0a;
  padding: 15px;
  border-right: 1px solid #333;
}

.widget {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #1a1a1a;
  border: 1px solid #333;
}

.widget h3 {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter {
  text-align: center;
  font-family: "Courier New", monospace;
}

.counter-text {
  font-size: 16px;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
  margin-top: 5px;
}

.days-missing {
  font-size: 28px;
  color: #fff;
  font-weight: bold;
  display: block;
}

.updates-list {
  list-style: none;
  font-size: 10px;
}

.updates-list li {
  padding: 3px 0;
  border-bottom: 1px dotted #333;
  color: #999;
  font-size: 12px;
}

.sidebar-photo {
  width: 100%;
  height: auto;
  filter: sepia(0.3) contrast(1.1) brightness(0.9);
  margin: 10px 0;
}

.photo-date {
  font-size: 12px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* Content Area */
.content {
  flex: 1;
  padding: 20px;
}

.post {
  background-color: #0f0f0f;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #333;
}

.post h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.post-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  font-style: italic;
}

.post p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #ccc;
}

.warning-box {
  background-color: #1a1a1a;
  border: 2px solid #666;
  padding: 10px;
  margin: 20px 0;
  text-align: center;
}

.warning-box marquee {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.video-embed {
  margin: 20px 0;
  text-align: center;
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: auto;
  background: linear-gradient(to bottom, #3a3a3a, #1a1a1a);
  border: 4px solid #555;
  border-radius: 0;
  padding: 8px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 1px 2px rgba(255,255,255,0.1);
  overflow: hidden;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(to bottom, #a7a7a7, #888888);
  border-bottom: 1px solid #111;
  z-index: 1;
  pointer-events: none;
}

.video-placeholder::after {
  content: "MEDIA PLAYER";
  position: absolute;
  top: 4px;
  left: 10px;
  color: #000;
  font-size: 10px;
  font-family: "Trebuchet MS", sans-serif;
  font-weight: bold;
  text-shadow: none;
  z-index: 2;
  pointer-events: none;
}

.video-placeholder video {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 17px;
  background: #000;
  border: 2px solid #111;
}

/* Exact YouTube classic player controls */
.custom-controls {
  position: relative;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
  border: 1px solid #999;
  border-bottom: 1px solid #666;
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-top: -1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.play-btn {
  width: 16px;
  height: 16px;
  background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
  border: 1px solid #999;
  border-radius: 0px;
  color: #000;
  font-size: 8px;
  cursor: pointer;
  margin-right: 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-weight: bold;
}

.play-btn:hover {
  background: linear-gradient(to bottom, #fff, #e8e8e8);
  border-color: #777;
}

.play-btn:active {
  background: linear-gradient(to bottom, #e0e0e0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
}

.rewind-btn {
  width: 16px;
  height: 16px;
  background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
  border: 1px solid #999;
  border-radius: 0px;
  color: #000;
  font-size: 8px;
  cursor: pointer;
  margin-right: 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-weight: bold;
}

.rewind-btn:hover {
  background: linear-gradient(to bottom, #fff, #e8e8e8);
  border-color: #777;
}

.rewind-btn:active {
  background: linear-gradient(to bottom, #e0e0e0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
}

.fullscreen-btn {
  width: 16px;
  height: 16px;
  background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
  border: 1px solid #999;
  border-radius: 0px;
  color: #000;
  font-size: 10px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.fullscreen-btn:hover {
  background: linear-gradient(to bottom, #fff, #e8e8e8);
  border-color: #777;
}

.fullscreen-btn:active {
  background: linear-gradient(to bottom, #e0e0e0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
}

.progress-container {
  flex: 1;
  height: 6px;
  background: linear-gradient(to bottom, #999, #bbb);
  border: 1px solid #666;
  border-radius: 0px;
  margin: 0 4px;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to bottom, #7db46c, #5a9147);
  border-radius: 0px;
  position: relative;
}

.progress-bar::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -1px;
  width: 4px;
  height: 8px;
  background: linear-gradient(to bottom, #f8f8f8, #d0d0d0);
  border: 1px solid #777;
  border-radius: 0px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  cursor: pointer;
}

.time-display {
  background: #000;
  color: #fff;
  font-size: 11px;
  font-family: "Courier New", monospace;
  margin: 0 3px;
  min-width: 50px;
  font-weight: normal;
  padding: 1px 3px;
  border: 1px solid #666;
  border-radius: 0px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.8);
  text-align: center;
}

.time-display span:last-child {
  color: #ff0000;
}

.volume-container {
  display: flex;
  align-items: center;
  margin-left: 2px;
}

.volume-btn {
  width: 14px;
  height: 14px;
  background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
  border: 1px solid #999;
  border-radius: 0px;
  font-size: 8px;
  cursor: pointer;
  margin-right: 2px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.volume-btn:hover {
  background: linear-gradient(to bottom, #fff, #e8e8e8);
}

.volume-slider {
  width: 40px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to bottom, #999, #bbb);
  border: 1px solid #666;
  border-radius: 0px;
  outline: none;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
  position: relative;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 3px;
  height: 12px;
  background: linear-gradient(to bottom, #f8f8f8, #d0d0d0);
  border: 1px solid #777;
  border-radius: 0px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.volume-slider::-moz-range-thumb {
  width: 3px;
  height: 12px;
  background: linear-gradient(to bottom, #f8f8f8, #d0d0d0);
  border: 1px solid #777;
  border-radius: 0px;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.custom-controls::after {
  content: "⚏ ⚐";
  font-size: 8px;
  color: #666;
  margin-left: 3px;
  cursor: pointer;
}

.video-placeholder img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.play-button {
  position: relative;
  font-size: 48px;
  color: #fff;
  text-shadow: 0 0 10px #000;
  z-index: 1;
}

.video-caption {
  margin-top: 10px;
  font-style: italic;
  color: #999;
}

.signature {
  text-align: right;
  font-style: italic;
  color: #666;
  margin-top: 20px;
}

/* Guestbook */
.guestbook {
  background-color: #0a0a0a;
  padding: 15px;
  border: 1px solid #333;
}

.guestbook h3 {
  color: #999;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.guestbook-entry {
  background-color: #1a1a1a;
  padding: 8px;
  margin-bottom: 10px;
  border-left: 3px solid #444;
  font-size: 10px;
}

.guest-name {
  color: #ccc;
  font-weight: bold;
}

.guestbook-form {
  margin-top: 15px;
}

.guest-input,
.guest-message {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #ccc;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.guest-message {
  height: 60px;
  resize: none;
}

.guestbook-form button {
  background-color: #333;
  color: #fff;
  border: 1px solid #666;
  padding: 5px 15px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}

.guestbook-form button:hover {
  background-color: #555;
  text-shadow: 0 0 5px #fff;
}

/* Footer */
#footer {
  background-color: #000;
  padding: 15px;
  text-align: center;
  border-top: 1px solid #333;
  font-size: 10px;
  color: #666;
}

#footer a {
  color: #999;
  text-decoration: none;
}

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

.webring {
  margin-top: 10px;
  font-size: 9px;
}

/* Easter Eggs for ARG */
::selection {
  background-color: #fff;
  color: #000;
}

/* Hidden elements that can be revealed */
.hidden-message {
  display: none;
  color: #111;
  font-size: 8px;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 #fff, -0.05em -0.025em 0 #999, 0.025em 0.05em 0 #666;
  }
  15% {
    text-shadow: 0.05em 0 0 #fff, -0.05em -0.025em 0 #999, 0.025em 0.05em 0 #666;
  }
  16% {
    text-shadow: -0.05em -0.025em 0 #fff, 0.025em 0.025em 0 #999,
      -0.05em -0.05em 0 #666;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #fff, 0.025em 0.025em 0 #999,
      -0.05em -0.05em 0 #666;
  }
  50% {
    text-shadow: 0.025em 0.05em 0 #fff, 0.05em 0 0 #999, 0 -0.05em 0 #666;
  }
  99% {
    text-shadow: 0.025em 0.05em 0 #fff, 0.05em 0 0 #999, 0 -0.05em 0 #666;
  }
  100% {
    text-shadow: -0.025em 0 0 #fff, -0.025em -0.025em 0 #999,
      -0.025em -0.05em 0 #666;
  }
}

/* Signup Form Styles */
.signup-form {
  margin-top: 30px;
  padding: 20px;
  background: #1a1a1a;
  border: 1px solid #444;
}

.signup-form h3 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.signup-description {
  color: #ccc;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
}

.newsletter-form {
  font-size: 14px;
}

.form-group {
  margin-bottom: 15px;
}

.signup-input {
  width: 100%;
  padding: 8px;
  background: #000;
  border: 1px solid #444;
  color: #ccc;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
}

.signup-input:focus {
  outline: none;
  border-color: #666;
  background: #111;
}

.signup-message {
  width: 100%;
  height: 60px;
  padding: 8px;
  background: #000;
  border: 1px solid #444;
  color: #ccc;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  resize: vertical;
}

.signup-message:focus {
  outline: none;
  border-color: #666;
  background: #111;
}

.signup-submit {
  width: 100%;
  background: #8b0000;
  color: #fff;
  border: 1px solid #660000;
  padding: 10px 15px;
  cursor: pointer;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.signup-submit:hover {
  background: #aa0000;
  border-color: #770000;
}

.signup-submit:active {
  background: #660000;
}

.signup-note {
  color: #666;
  font-size: 10px;
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* Landing Page Styles */
.status-box {
  text-align: center;
  padding: 15px;
  background: #8b0000;
  color: #fff;
  margin: 10px 0;
}

.status-label {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.status-years {
  display: block;
  font-size: 14px;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.8;
}

.facts-list li {
  padding: 2px 0;
}

.site-info {
  font-size: 11px;
  line-height: 1.4;
  margin: 8px 0;
  color: #444;
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.action-list li {
  padding: 8px 0;
  font-size: 14px;
}

.action-list a {
  color: #8b0000;
  font-weight: bold;
}

.warning-box {
  background: #ffeeee;
  border: 2px solid #cc0000;
  padding: 15px;
  margin: 30px 0;
  text-align: center;
}

.warning-box p {
  margin: 0;
  color: #660000;
  font-size: 12px;
}

.recent-activity {
  margin-top: 30px;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.recent-activity h3 {
  font-size: 14px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.activity-entry {
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px dotted #ccc;
}

.activity-entry:last-child {
  border-bottom: none;
}

.activity-date {
  font-weight: bold;
  color: #666;
}
