html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    font-family: "gesta", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em;
}

i{
    font-style: italic;
}

b{
    font-weight: 700;
}



:root{
    --dark: rgb(11, 12, 12);
    --text-light: rgb(234, 238, 234);
    --dark-link: rgb(180, 233, 208);
    --dark-link-hover: rgb(150, 187, 170);
}

/* Popup container */
#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Start hidden */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6); /* darken everything behind */
  z-index: 9999;
}

/* Card */
#popup .popup-card {
  background: var(--text-light);
  border-radius: 8px;
  padding: 2rem;
  max-width: 90%;
  width: 400px;
  box-shadow: inset -2px -2px 5px rgba(255,255,255,0.6),
              inset 2px 2px 5px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}


main{
    background-color: var(--text-light);
}


.main-header {
    color: var(--text-light);
    padding: 16px 0px;
    position: relative;
    background: linear-gradient(135deg, #231141, #2c3d55, #062924, #43275e);
    background-size: 300% 300%;
    animation: headerGlow 12s ease infinite;
    z-index: 1;
    overflow: hidden;
}

@keyframes headerGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.main-header a{
    color: var(--dark-link);
    transition: all ease-in 100ms;
}

.main-header a:hover{
    color: var(--dark-link-hover);
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.home-grid > div {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    padding: 2rem;
}

.main{
    width: 40%;
    margin-left: 30%;
    box-shadow: 0px 0px 8px #000;
}

.youtube-card{
    box-shadow: 0px 0px 8px #000;
    border: 3px solid #fff;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    background-color: var(--dark);
    color: var(--text-light);
    margin: 0px 20%;
    align-items: center;
}

.youtube-card:hover {
    cursor: pointer;
}

/* MOBILE FORMATTING */
@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .main{
        width: 100%;
        margin-left: 0;
        box-shadow: none;
    }
    .youtube-card{
        margin: 0px 10%;
    }
}

.home html, .home body {
    height: 100%;
    margin: 0;
}

.home body {
    display: flex;
    flex-direction: column;
}

.home main {
    flex-grow: 1;
}

.youtube-card img{
    width: 100px;
    border-radius: 50%;
}

.home-grid > div:first-child {
    background: linear-gradient(-45deg, #43207c, #4a648b, #8048b4, #0d574d);
    background-size: 400% 400%;
    color: white;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    font-family: 'gesta', sans-serif;
}

.home-grid > div:first-child:hover{
    cursor: pointer;
}

.home-grid > div:last-child:hover{
    cursor: pointer;
}


@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.music-line {
    font-family: 'Noto Music';
    position: absolute;
    white-space: nowrap;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    animation: floatSymbols 12s linear infinite;
}

.music-line:nth-child(1) {
    top: 10%;
    animation-delay: -0s;
}
.music-line:nth-child(2) {
    top: 20%;
    animation-delay: -2s;
}
.music-line:nth-child(3) {
    top: 35%;
    animation-delay: -4s;
}
.music-line:nth-child(4) {
    top: 50%;
    animation-delay: -6s;
}
.music-line:nth-child(5) {
    top: 75%;
    animation-delay: -8s;
}

@keyframes floatSymbols {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}




.home-grid > div:last-child {
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5364, #00ffcc);
    background-size: 400% 400%;
    color: #d9ffe6;
    animation: codePulse 18s ease infinite;
    text-shadow: 0 0 10px #00ffcc88;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

@keyframes codePulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Binary line 1 - bottom */
.home-grid > div:last-child::before {
    content: '01001001 00100000 01101100 01101111 01110110 01100101 00100000 01100011 01101111 01100100 01100101';
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: 0.85rem;
    color: #00ffcc71;
    opacity: 0.3;
    pointer-events: none;
    animation: binaryScroll 10s linear infinite;
    white-space: nowrap;
}

/* Binary line 2 - top */
.home-grid > div:last-child::after {
    content: '01000011 01101111 01100100 01100101 00100000 01101001 01110011 00100000 01101100 01101001 01100110 01100101';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.85rem;
    color: #00ffcc69;
    opacity: 0.3;
    pointer-events: none;
    animation: binaryScroll 15s linear infinite;
    white-space: nowrap;
}

/* Centered scrolling binary line */
.home-grid > div:last-child .binary-line-center {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #00ffcc65;
    opacity: 0.3;
    pointer-events: none;
    white-space: nowrap;
    animation: binaryScroll 12s linear infinite;
}

@keyframes binaryScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

button {
    font-family: 'Gesta', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 2rem;
    border: 2px solid #4a648b;
    border-radius: 50px;
    background: linear-gradient(135deg, #43207c, #0d574d);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0px rgba(0, 255, 204, 0), 0 0 0px rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
}

button::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle at center, #00ffcc44 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

button:hover {
    border-color: #00ffcc;
    color: #00ffcc;
    background: linear-gradient(135deg, #4a648b, #43207c);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3), 0 0 24px rgba(67, 32, 124, 0.4);
}

button:hover::before {
    opacity: 0.2;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(0%, 0%) scale(1.1);
    }
    100% {
        transform: translate(50%, 50%) scale(1);
    }
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Gesta', sans-serif;
    background: linear-gradient(-45deg, #1f1c2c, #4a648b, #0d574d, #43207c);
    background-size: 400% 400%;
    animation: backgroundShift 20s ease infinite;
}
  
@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

form {
    background: #e4e2e2;
    color: #1f1c2c;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: auto;
    font-family: 'Gesta', sans-serif;
}

form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: #f1f1f4;
    color: #1f1c2c;
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    background: #e5e5f1;
    box-shadow: 0 0 0 3px #8048b455;
}

form input[type="checkbox"],
form input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

form .checkbox-group,
form .radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

form button {
    background: #43207c;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Gesta', sans-serif;
}

form button:hover {
    background: #8048b4;
    box-shadow: 0 0 12px #8048b480;
}


.card {
  background-color: #1f1f2e;      /* Dark navy-ish background */
  color: #e0e0e0;                 /* Light gray text */
  width: 80%;
  max-width: 800px;               /* Optional max width for large screens */
  margin: 2rem auto;              /* Vertically spaced & horizontally centered */
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  font-family: 'Gesta', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .card {
    width: 90%;
    padding: 1rem 1.25rem;
  }
}

.long-img-wrapper {
  position: relative;
  display: block;
  width: 80%;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  background-color: #1a1a2b;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.long-img-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.long-img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}



.img-caption {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 8px;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  text-shadow: 2px 2px 4px black;
  font-family: 'Gesta', sans-serif;
}

.duple-to-single{
    display: grid;
    grid-template-columns: 1fr 1fr;
}


@media (max-width: 600px) {
  .long-img-wrapper {
    width: 95%;
  }

  .duple-to-single{
    grid-template-columns: 1fr;
  }
}



#music-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f1f2e;
    color: #fff;
    width: 90%;
    max-width: 900px;
    padding: 1rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-family: 'Gesta', sans-serif;
    z-index: 1000;
  }

  .music-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    cursor: pointer;
    border-top: 1px solid #333;
  }

  .music-track:first-child {
    border-top: none;
  }

  .track-info {
    flex: 1;
    font-size: 1rem;
  }

  .waveform {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    height: 20px;
    margin-left: 1rem;
    flex: 2;
    justify-content: flex-end;
  }

  .bar {
    width: 4px;
    background: #777;
    border-radius: 2px;
    height: 100%;
    opacity: 0.6;
    transition: background 0.3s, opacity 0.3s;
  }

  .bar.active {
    background: #00ffcc;
    opacity: 1;
  }


.music-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: #1f1f2e;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  margin: 4px auto;
  max-width: 800px;
  cursor: pointer;
  transition: background 0.3s;
}

.music-track:hover {
  background: #2b2b3c;
}

.track-info {
  font-size: 1rem;
  flex: 1;
}

.waveform {
  display: flex;
  gap: 3px;
  height: 20px;
  margin-left: 1rem;
  flex: 2;
  justify-content: flex-end;
}

.bar {
  width: 4px;
  background: #666;
  border-radius: 2px;
  height: 100%;
  opacity: 0.5;
  transition: background 0.3s, opacity 0.3s;
}

.bar.active {
  background: #00ffd0;
  opacity: 1;
}

#music-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 900px;
  background: linear-gradient(to right, #2b2b3c, #1f1f2e);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  backdrop-filter: blur(10px);
}

#music-player audio {
  width: 100%;
  height: 36px;
  accent-color: #00ffd0;
  background-color: transparent;
  border: none;
  outline: none;
}

.product-card{
    background: none;
    padding: 12px;
}

.product-card:hover{
    cursor: pointer;
}

.product-img-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin: 1rem 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a2b;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover .product-img-wrapper{
  transform: scale(1.02);
}

.product-img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}