body {
    margin: 0;
    padding: 0;
    font-family: 'VT323', monospace; 
    font-size: 20px;
    overflow: hidden; 
    background-color: #111; 
    color: white;
  }

  .cursor {
    cursor: url('/cursor/pointer.png'), auto !important;
  }

  #term {
    position: fixed; 
    top: 50px; 
    left: 50px; 
    width: 600px; 
    height: 400px; 
    background-color: rgba(20, 20, 25, 0.95); 
    color: #ffdae0; 
    border-radius: 15px; 
    z-index: 1000; 
    border: 2px solid #ffb7b2; 
    box-shadow: 0 0 20px rgba(255, 183, 178, 0.3), 0 4px 12px rgba(0,0,0,0.5); 
  }

  @media screen and (max-width: 600px) {
    #term {
        max-width: 90%; 
        left: 5% !important; 
        top: 15% !important;
        height: 300px;
    }
  }

  #term-head {
    background-color: rgba(255, 183, 178, 0.1); 
    border-bottom: 1px solid #ffb7b2;
    border-top-left-radius: 13px; 
    border-top-right-radius: 13px; 
    padding: 10px 15px; 
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
  }

  #win-btns {
    display: flex; 
    gap: 8px; 
  }

  .circle-btn {
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: transform 0.2s;
  }

  .circle-btn:hover {
    transform: scale(1.2);
  }

  #close { background-color: #ff6961; }
  #min { background-color: #fdfd96; }
  #max { background-color: #77dd77; }

  #term-body {
    padding: 25px; 
    height: calc(100% - 50px); 
    overflow-y: hidden; 
    user-select: none; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
  }

  #console-txt {
    margin: 0;
    padding: 0;
    font-size: 28px; 
    line-height: 1.2; 
    white-space: pre-wrap; 
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 218, 224, 0.5); 
  }

  #videobg {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    z-index: -1; 
  }

  #videobg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, transparent 50%, rgba(0,0,0,0.6) 100%),
        repeating-linear-gradient(to bottom, rgba(255, 182, 193, 0.03) 0, rgba(255, 182, 193, 0.03) 1px, transparent 1px, transparent 2px);
    z-index: 1;
    pointer-events: none;
  }

  #bgvid {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
    pointer-events: none;
  }

  #blurbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px; 
    max-width: 90%;
    min-height: 400px; 
    background-color: rgba(20, 20, 20, 0.4); 
    border-radius: 25px; 
    border: 2px solid rgba(255, 183, 178, 0.6); 
    box-shadow: 0 0 30px rgba(255, 183, 178, 0.2), inset 0 0 20px rgba(255, 183, 178, 0.1); 
    backdrop-filter: blur(5px); 
    z-index: 999; 
    display: none; 
    padding: 35px 25px; 
    text-align: center; 
    transition: opacity 0.5s ease;
    flex-direction: column;
    align-items: center;
  }

  #pfp {
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    border: 3px solid rgba(255, 183, 178, 0.8);
    box-shadow: 0 0 15px rgba(255, 183, 178, 0.4);
    display: block; 
    object-fit: cover;
  }

  #frame {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 120%; 
    height: 120%; 
    z-index: 1000; 
    pointer-events: none; 
    display: none; 
  }

  .desc {
    margin: 15px 0;
    min-height: 44px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .desc p {
    margin: 0;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background-color 0.3s;
    font-size: 16px; 
    color: #ffdae0;
  }

  .desc:hover p {
    background-color: rgba(255, 183, 178, 0.15);
    box-shadow: 0 0 10px rgba(255, 183, 178, 0.1);
  }

  #username {
    color: #fff; 
    font-weight: normal; 
    font-size: 32px !important; 
    margin: 5px 0;
    text-shadow: 2px 2px 0px rgba(255, 111, 97, 0.5); 
  }

  #status {
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
    height: auto; 
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0.9;
    transition: opacity 0.3s;
  }
  
  #status:hover {
    opacity: 1;
  }

  .links {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
  }

  .links a {
    color: #ffdae0; 
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 183, 178, 0.15);
    border-radius: 12px;
    padding: 12px 0;
    display: flex; 
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    font-size: 24px;
  }

  .links a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .links a:hover {
    color: #fff;
    background-color: rgba(255, 183, 178, 0.15);
    border-color: rgba(255, 183, 178, 0.5);
    transform: translateY(-4px) scale(1.05); 
    text-shadow: 0 0 15px #ffb7b2;
    box-shadow: 0 5px 15px rgba(255, 183, 178, 0.2);
  }


  .linksline {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 183, 178, 0.4), transparent);
    margin: 25px 0 15px 0;
  }

  .viewbox {
    font-family: 'VT323', monospace;
    font-size: 20px;
    color: #ffdae0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.9;
  }

  .viewbox svg {
    height: 24px;
    width: 24px;
    fill: none;
    stroke: #ffb7b2;
    filter: drop-shadow(0 0 5px #ffb7b2);
  }
