html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: black;
  font-family: 'Courier New', monospace;
  cursor: url('kursor.png'), auto;
}

#intro {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: black url('3dgifmaker05433.gif') center center no-repeat;
  background-size: contain;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#intro-text {
  color: red;
  font-size: 1.5em;
  margin-top: 20px;
  animation: blink 1s infinite;
}

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

#main {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.5s ease-in-out;
}

video#bgvid {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

nav {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

nav button {
  color: white;
  margin: 0 15px;
  background: none;
  border: none;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
}

#logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#logo img {
  max-width: 300px;
  cursor: url('kursor.png'), auto;
}

.button-container {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2;
}

.btn {
  padding: 10px 20px;
  border: 2px solid red;
  background: black;
  color: red;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: red;
  color: black;
}

.dollar {
  position: absolute;
  top: -20px;
  color: red;
  font-size: 1.2em;
  font-weight: bold;
  animation: float 10s linear forwards;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}

.volume-control {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border: 1px solid red;
  border-radius: 10px;
}

.volume-control input[type="range"] {
  width: 150px;
  appearance: none;
  background: red;
  height: 5px;
  border-radius: 5px;
  outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 1px solid red;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 5;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: black;
  border: 2px solid red;
  padding: 20px;
  max-width: 90vw;
  max-height: 80vh;
  width: 100%;
  overflow-y: auto;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.squad-card {
  background: black;
  border: 1px solid red;
  padding: 10px;
  text-align: center;
  width: 150px;
  flex: 0 1 150px;
}

.squad-card h3 {
  color: rgb(255, 255, 255);
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

.squad-card a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid red;
  color: red;
  text-decoration: none;
  font-size: 0.9em;
  transition: 0.3s;
}

.squad-card a:hover {
  background: red;
  color: black;
}

.squad-card p {
  color: white;
  font-size: 0.85em;
  margin-top: 8px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: red;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 10;
}

.star {
  position: absolute;
  color: red;
  font-size: 1.5em;
  animation: floatStar 3s linear forwards;
  pointer-events: none;
  user-select: none;
  z-index: 999;
}

@keyframes floatStar {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.wallpaper-list a {
  display: block;
  color: red;
  font-size: 1.2em;
  margin: 10px 0;
  text-align: center;
  text-decoration: none;
}

.wallpaper-list a:hover {
  text-decoration: underline;
}

#finance-widget {
  position: fixed;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid red; 
  border-radius: 10px;
  padding: 15px;
  z-index: 4;
  text-align: right;
  min-width: 280px; 
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.finance-row {
  margin: 8px 0;
  font-size: 0.85em;
  color: #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.finance-row .label {
  color: white;
  font-weight: bold;
  margin-right: 10px;
}

.finance-row .value {
  color: red;
  font-weight: bold;
  text-shadow: 0 0 2px red;
}

.finance-divider {
  height: 1px;
  background: red;
  margin: 10px 0;
  opacity: 0.5;
}

#steam-widget {
  position: fixed;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid red; 
  border-radius: 10px;
  padding: 15px;
  z-index: 4;
  text-align: center;
  min-width: 260px; 
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

#steam-widget h3 {
  color: red;
  margin: 0 0 15px 0;
  text-align: center;
  font-size: 1.1em;
  text-transform: uppercase;
  border-bottom: 1px solid red;
  padding-bottom: 5px;
}

.meme-input-group {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

#meme-input {
    background: black;
    border: 1px solid red;
    color: white;
    font-family: 'Courier New', monospace;
    padding: 5px;
    width: 140px;
    outline: none;
}

#meme-input::placeholder {
    color: #666;
}

#meme-btn {
    background: red;
    color: black;
    border: none;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
}

#meme-btn:hover {
    background: white;
}

#meme-result {
    text-align: left;
    color: white;
    font-size: 0.85em;
    min-height: 20px;
}

.meme-row {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
    border-bottom: 1px dashed #333;
}

.meme-row span:last-child {
    color: red;
    font-weight: bold;
}

.meme-avatar {
    display: block;
    margin: 0 auto 10px auto;
    width: 60px;
    height: 60px;
    border: 2px solid red;
    border-radius: 5px;
    background: #111;
}

.meme-error {
    color: red;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

#view-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid red;
  border-radius: 10px;
  padding: 10px 15px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

#view-widget svg {
  filter: drop-shadow(0 0 2px red);
  animation: pulseEye 3s infinite;
}

@keyframes pulseEye {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.7; transform: scale(1); }
}

#visit-count {
  color: red;
  font-weight: bold;
  font-size: 1.2em;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 5px red;
}

.meme-avatar {
    cursor: zoom-in;
    transition: transform 0.2s;
}

.meme-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px red;
}

.meme-profile-link {
    display: block;
    margin-top: 10px;
    text-align: center;
    
    color: red;
    background: black;
    border: 1px solid red;
    
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    padding: 8px 0;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meme-profile-link:hover {
    background: red;
    color: white; 
    box-shadow: 0 0 10px red;
    border-color: white;
}