/* =========================================================================
   MST3K Fanlisting CSS - Full Fixed Version
   ========================================================================= */

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Comme", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    background: #000000 url("background.png") repeat;
    color: #aabbcf;
}

/* Bubbles layer */
.bubbles {
    position: absolute;
    top: 12px;
    left: 380px;
    width: 989px;
    height: 486px;
    background: url("bubbles2.png") no-repeat;
}

/* Title image */
.title {
    position: absolute;
    top: 0;
    left: 0;
    width: 446px;
    height: 600px;
    background: url("title.png") no-repeat;
    z-index: 3;
}

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
    position: absolute;
    z-index: 6;
}

.nav a {
    display: block;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.nav a img.main {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.nav a img.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 50%;
}

/* Nav text center + line breaks */
.nav a::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;          /* change from 100% to auto */
    max-width: 90%;       /* optional, to keep text inside the circle */
    padding: 0 5px;
    font-family: "Syne Mono", monospace;
    font-weight: 400;
    font-style: normal;
    background: rgba(0,0,0,0);
    color: white;
    text-align: center;   /* centers multiple lines */
    font-size: 24px;
    white-space: pre-wrap;
    line-height: 1.2em;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}


.nav a:hover::before,
.nav a:hover::after {
    opacity: 1;
}

/* Nav positions */
.nav-home {
    left: 460px;
    top: 90px;
    width: 150px;
    height: 150px;
}

.nav-about {
    left: 630px;
    top: 20px;
    width: 140px;
    height: 140px;
}

.nav-join {
    left: 1040px;
    top: 10px;
    width: 110px;
    height: 110px;
}

.nav-watch {
    left: 900px;
    top: 90px;
    width: 120px;
    height: 120px;
}

.nav-list {
    left: 750px;
    top: 150px;
    width: 100px;
    height: 100px;
}

.nav-linkback {
    left: 1170px;
    top: 70px;
    width: 130px;
    height: 130px;
}

.nav-links {
    left: 1090px;
    top: 220px;
    width: 90px;
    height: 90px;
}

/* =========================================================================
   Content + Footer
   ========================================================================= */
.content-wrapper {
    position: absolute;
    top: 250px;
    left: 500px;
    width: 600px;
}

.content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow:
        #FFF 0px 0px 4px,
        #FFF 0px 0px 5px,
        #FF2D95 0px 0px 8px,
        #061767 0px 0px 20px,
        #061767 0px 0px 50px,
        #061767 0px 0px 75px;
    z-index: 5;
    color: #aabbcf;
    border-radius: 30px;
}

.footer {
    margin-top: 50px;
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.7);
    padding: 1px;
    box-shadow: #061767 0px 0px 20px;
    border-radius: 20px;
}

/* Headings */
h1,
h2,
h3 {
    font-family: "Syne Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: #a575d6;
    margin-bottom: 20px;
    text-transform: lowercase;
    text-align: center;
}


h1 {
  font-size: 24px;
  font-weight: bold;
}

h2 {
  font-size: 22px;
  font-weight: 400;
}

h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
}



/* Paragraphs & Links */
p {
    font-family: "Comme", sans-serif;
    font-size: 16px;
    margin: 20px;
    color: #aabbcf;
}

p a {
    color: #d662bc;
}

p a:hover {
    color: #a575d6;
}

.stats {
    font-family: "Comme", sans-serif;
    font-size: 16px;
    padding-bottom: 10px;
    color: #aabbcf;
}

.stats a {
    color: #d662bc;
}

.stats a:hover {
    color: #a575d6;
}

b { 
  color: #54a0cc; 
  font-style: normal; 
  font-weight: 500; 
} 
i { 
  color: #69aa61; 
  font-style: normal; 
  font-weight: 500; 
} 
.small { 
  color: #b08b39; 
  font-style: italic; 
  font-size: 14px; 
  font-weight: 400; 
}

/* =========================================================================
   Forms (Original intact)
   ========================================================================= */
.custom_input {
    display: flex;
    align-items: center;
    margin-bottom: 5px !important;
}

.custom_input label {
    width: 120px;
    margin-right: 10px;
    display: inline-block;
    text-align: right;
    color: #aabbcf;
}

.custom_input .input,
form[class^="show_"] input[type="text"],
form[class^="show_"] input[type="email"],
form[class^="show_"] input[type="password"],
form[class^="show_"] input[type="url"],
form[class^="show_"] select,
form[class^="show_"] textarea {
    width: 300px;
    margin-bottom: 5px;
    margin-top: 10px !important;
    padding: 10px 20px;
    font-size: 20px;
    color: #aabbcf;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
    outline: none;
    transition: 0.3s ease;
    box-sizing: border-box;
    box-shadow:
        #FFF 0px 0px 2px,
        #FF2D95 0px 0px 8px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px,
        #061767 0px 0px 15px;
    border-radius: 30px;
}

.custom_input .input:focus,
form[class^="show_"] input:focus,
form[class^="show_"] select:focus,
form[class^="show_"] textarea:focus {
    background-color: rgba(0, 0, 0, 1);
    box-shadow:
        #FFF 0px 0px 3px,
        #FF2D95 0px 0px 10px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px,
        #061767 0px 0px 15px;
}

.custom_input .input::placeholder,
form[class^="show_"] ::placeholder {
    color: #000;
}

.custom_input input[type="submit"],
form[class^="show_"] input[type="submit"],
form[class^="show_"] input[type="reset"] {
    width: auto;
    margin-top: 10px;
    padding: 10px 20px;
    color: #aabbcf;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow:
        #FFF 0px 0px 2px,
        #FF2D95 0px 0px 8px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px,
        #061767 0px 0px 15px;
}

.custom_input input[type="submit"]:hover,
form[class^="show_"] input[type="submit"]:hover,
form[class^="show_"] input[type="reset"]:hover {
    /* Add hover effects if needed */
}











.footer p {

    font-family: "Syne Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: #a575d6;
    text-transform: lowercase;
    text-align: center;
    font-size: 12px !important;
}



/* =========================================================================
   Sample Link & Copy Button
   ========================================================================= */

.samplelink {
    width: 400px;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #000000;
    background-color: #000000;
    color: #aabbcf;
    font-family: "Comme", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    box-shadow:
        #FFF 0px 0px 2px,
        #FF2D95 0px 0px 8px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px,
        #061767 0px 0px 15px;
}

.copy-button {
    width: 100px;
    margin: 10px auto 0 auto !important;
    padding: 10px !important;
    border: 1px solid #000000;
    background-color: #000000;
    color: #aabbcf;
    font-family: "Comme", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    text-align: center;
    transition: background 0.2s;
    box-shadow:
        #FFF 0px 0px 2px,
        #FF2D95 0px 0px 8px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px,
        #061767 0px 0px 15px;
}

.copy-button:hover {
    background-color: #000000;
    color: #54a0cc;
}


#codes {
    width: 550px;
    margin: 0 auto;
    text-align: center;
}

#codes img {
    display: inline-block;
    margin: 6px;
    padding: 1px;
    box-shadow:
        #ffffff 0px 0px 2px,
        #061767 0px 0px 10px,
        #061767 0px 0px 15px
}

.codesort ul {
    text-align: center;
    margin: 0;
    padding: 0;
}

.codesort li {
    display: inline;
}



.show_sort_list,
.codesort a {
  color: #d662bc;
}

.show_sort_list:hover,
.codesort a:hover {
  color: #a575d6;
}

.show_sort_list {
    font-family: "Comme", sans-serif;
    font-size: 16px;
  margin-left: 100px; /* indent */
  list-style: none;
  padding: 0;
}

.show_sort_list li {
  margin: 5px 0;
}

.show_sort_list a, .listinfo a {
  color: #d662bc;
  text-decoration: none;
}

.show_sort_list a:hover, .listinfo a:hover {
  color: #a575d6;
  text-decoration: underline;
}

.listcontainer {
  position: relative;
  width: 430px;
  height: 100px;
  display: flex;
  align-items: center; /* vertically centers text block */
  font-family: "Comme", sans-serif;
  margin: 0 auto;
}

.listimages {
  position: relative;
  width: 115px; /* space reserved for images */
  height: 100%;
}

.listimage-era {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 70px;
  height: 70px;
}

.listimage-bot {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 55px;
  height: 55px;
}

.listinfo {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.listname {
    font-family: "Syne Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: #a575d6;
    font-size: 20px;
}

.listcontact {
    font-family: "Comme", sans-serif;
    font-size: 16px;
}

.listfav {
    font-family: "Comme", sans-serif;
    font-size: 16px;
}

/* =========================================================================
   WEBRINGS
   ========================================================================= */
#fanlistings {
  font-family: "Comme", sans-serif;
  font-size: 10px;
  font-weight: 500;
  font-style: normal;
  font-optical-sizing: auto;
  margin: 20px;
}



/* ======================================================
   HIDE EMPTY OPTIONAL FIELDS
====================================================== */
/* usage (can be repeated):
<span class="opt">
Favorite Song(s): <span class="value">$$fan_favorite_song$$</span>
</span>
*/

.opt:has(.value:empty) {
  display: none;
}

.value:empty {
  display: none;
}

.opt {
  display: block;
}