:root {
    --light-gray: #E3E3E3;
    --dark-gray: #575757;
    --mid-gray: #949494;
    --neon-pink: #F504CC;
    --dark-purple: #270148;
}

/* ========== FONT-FACES ========== */
@font-face {
  font-family: 'East Sea Dokdo';
  src: url('/fonts/EastSeaDokdo-Regular.woff2') format('woff2'),
       url('/fonts/EastSeaDokdo-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========== GLOBAL STYLES ========== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'East Sea Dokdo', cursive;
    background-color: var(--dark-purple);
    color: var(--light-gray);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* stack header, main, footer vertically */
}

/* Ensure all form elements inherit site font */
button,
input,
textarea,
select,
label {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}


/* Main wrapper to center content vertically */
.main-wrapper {
    flex: 1;                      /* take all available space */
    display: flex;
    justify-content: center;       /* horizontal centering */
    align-items: center;           /* vertical centering */
    padding: 20px;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}
    
.container2 {
  max-width: 600px;
  margin: 0 auto;           /* center horizontally */
  padding: 30px 20px;
  text-align: center;        /* center buttons and labels */
}

.container2 h2 {
  font-size: 2.5rem;
  color: var(--neon-pink);
  margin-bottom: 20px;
}

.container2 form {
  margin-bottom: 30px;      /* space between the two forms */
}

.container2 label {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--light-gray);
}

.container2 .input-field {
  width: 100%;
  padding: 15px;            /* smaller padding for better look */
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
    padding: 20px;
}

.logo {
    display: block;
    margin: 20px auto 10px auto;
    width: 700px;
    max-width: 100%;
    margin-bottom: 10px;
}

/* ========== MAIN SECTION ========== */
h1 {
    display: none;
    font-size: 3.5rem;
    color: var(--light-gray);
    margin: 0;
}

.tagline {
    font-size: 2rem;
    color: var(--light-gray);
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--neon-pink);
}

.intro-section p {
    font-size: 2rem;
    color: var(--mid-gray);
}

/* ========== SOCIAL ICONS ========== */
.social-section h3 {
    font-size: 2rem;
    color: var(--light-gray);
    margin-top: 40px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--light-gray);
    font-size: 2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--neon-pink);
}

/* ========== Bricklink SHOP ========== */
.gif-container {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

.gif-container img {
    width: 100%;
    max-width: 200px; /* Adjust size as needed */
    height: auto;
    border-radius: 10px;
}

.gif-container a {
    text-decoration: none;
    color: inherit; /* keeps caption color controlled by .caption */
}

.shop-link {
    text-decoration: none;
    color: inherit;
    display: inline-block; /* ensures hover works on whole block */
}

.caption {
    font-size: 1.5rem;
    color: var(--neon-pink);
    margin-top: 10px;
    text-decoration: none; /* force remove underline */
}

/* Hover effect for image + caption */
.shop-link:hover img {
    filter: drop-shadow(0 0 15px var(--neon-pink));
}

.shop-link:hover .caption {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* ========== SKULL LINE ========== */
.skull-line {
    white-space: nowrap;
    overflow: hidden;
}

.skull {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    filter: brightness(0) invert(1);
}


/* ========== LINE ========== */
.X-line {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 50px; /* adjust based on your footer height */
    white-space: nowrap;
    overflow: hidden;
}

.X {
    display: inline-block;
    transform: rotate(0deg);
    font-size: 30px; /* size of the X */
    color: var(--neon-pink);
    margin: 30px 5px; /* spacing between Xs */
}

/* -------- Button Wrapper -------- */
.button-wrapper {
  margin: 30px 0;
  text-align: center;
}

/* -------- Button -------- */
.button {
  display: flex;
  justify-content: center;     /* horizontal centering */
  align-items: center;         /* vertical centering */
  background-color: var(--light-gray);
  color: var(--dark-purple);
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 20px;            /* top/bottom handled by flex */
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 120px;
  height: 50px;
}

.button:hover {
  background-color: var(--dark-purple);
  color: var(--neon-pink);
  box-shadow: 0 0 0 5px var(--neon-pink);
}

/* -------- Small Buttons (ZIP + Back) -------- */
.button-small {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light-gray);
  color: var(--dark-purple);
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 15px;
  font-size: 1.2rem;
  height: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.button-small:hover {
  background-color: var(--dark-purple);
  color: var(--neon-pink);
  box-shadow: 0 0 0 3px var(--neon-pink);
}


/* -------- Download Buttons Layout -------- */
.download-buttons {
  display: flex;
  flex-wrap: wrap;            /* allow wrapping on smaller screens */
  justify-content: center;    /* center buttons */
  gap: 15px;                  /* spacing between buttons */
  margin-top: 20px;
}

.download-buttons .button {
  flex: 0 1 180px;            /* fixed width buttons that wrap nicely */
  margin: 0;
}

/* -------- Downloads Section Titles -------- */
.downloads h3 {
  font-size: 2rem;           /* increase size of "Download Parts:" */
  color: var(--neon-pink);
  margin-bottom: 15px;
}

/* -------- Download Note -------- */
.note {
  font-size: 1.6rem;         /* increase size of "💡 You can also download..." text */
  color: var(--light-gray);
  padding: 15px;
  margin-top: 25px;
  border-radius: 6px;
  line-height: 1.4;
}


/* -------- Tooltip -------- */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1rem;
  position: absolute;
  bottom: 125%;       /* above the button */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* -------- Input Fields (Cleaned) -------- */
.input-field,
.input-field2 {
  width: 100%;
  padding: 20px;
  border-radius: 6px;
  border: 2px solid var(--light-gray);
  font-family: 'East Sea Dokdo', cursive;
  font-size: 2rem;
  background-color: var(--dark-purple);
  color: var(--light-gray);
  resize: vertical;
  box-sizing: border-box;
}

.input-field:focus,
.input-field2:focus {
  border-color: var(--neon-pink);
  outline: none;
}

/* -------- Downloads Section -------- */
.downloads {
  margin: 20px;
}

.split-files {
    font-family: 'East Sea Dokdo', cursive;
    font-size: 2rem;
    color: var(--light-gray);
    margin: 20px 0;
}


/* -------- Notes -------- */
.note {
  padding: 10px;
  margin-top: 15px;
  border-radius: 6px;
}


/* ========== TOOLTIPS ========== */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  color: #fff;
  z-index: 10;
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 10px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-25%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*
.center-line {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: red;
  z-index: 9999;
  pointer-events: none;
}*/


/* ========== FOOTER ========== */
.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    color: #ccc;
    position: relative;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--neon-pink);
}

/* ========== RESPONSIVE STYLES FOR MOBILE ========== */
@media (max-width: 768px) {
    .logo {
        width: 90%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .container {
        padding: 15px;
    }
}

