/* Efeito onda animada no header-name */
.header-name {
  display: flex;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
}
.header-name .wave {
  display: inline-block;
  animation: wave-bounce 1.8s cubic-bezier(.4,0,.2,1) infinite;
  animation-delay: calc(var(--i, 0) * 0.16s);
}
/* Definir delays individuais para cada letra */
.header-name .wave:nth-child(1) { --i: 0; }
.header-name .wave:nth-child(2) { --i: 1; }
.header-name .wave:nth-child(3) { --i: 2; }
.header-name .wave:nth-child(4) { --i: 3; }
.header-name .wave:nth-child(5) { --i: 4; }
.header-name .wave:nth-child(6) { --i: 5; }
.header-name .wave:nth-child(7) { --i: 6; }
.header-name .wave:nth-child(8) { --i: 7; }

@keyframes wave-bounce {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-18px); }
  40% { transform: translateY(0); }
}

/* Animação de entrada para menu + logo */
.header-hero {
    animation: hero-fade-in 1.2s cubic-bezier(.68,-0.55,.27,1.55);
    will-change: opacity, transform;
}
@keyframes hero-fade-in {
    0% { opacity: 0; transform: translateY(-40px) scale(0.95); }
    60% { opacity: 1; transform: translateY(8px) scale(1.04); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Carousel Styles */
/* Botões do carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 8px #bbb5;
    font-size: 1.5em;
    color: #444;
    cursor: pointer;
    opacity: 0.92;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.carousel-btn.prev {
    left: 0;
}
.carousel-btn.next {
    right: 0;
}
.carousel-btn:hover {
    background: #f3f3f3;
    color: #111;
    box-shadow: 0 4px 16px #bbb5;
}
/* Carousel Card Item e Caption */
.carousel-item {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 18px 8px 18px 8px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
    z-index: 0;
    pointer-events: none;
}
.carousel-item.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}
.carousel-item .carousel-img {
    display: block;
    margin: 0 auto;
    max-width: 96%;
    max-height: 160px;
    height: auto;
    margin-bottom: 18px;
    flex-shrink: 0;
    flex-grow: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}
.carousel-caption {
    font-size: 1.08em;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    text-align: center;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 4px 10px 2px 10px;
    box-shadow: 0 1px 6px #bbb2;
    letter-spacing: 0.5px;
    max-width: 95%;
    animation: fade-in-down 0.7s;
}
.carousel {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.carousel {
    opacity: 0;
    transform: scale(0.92);
    animation: carousel-in 1.1s 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes carousel-in {
    0% { opacity: 0; transform: scale(0.92); }
    60% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
.carousel-images {
    width: 100%;
    position: relative;
    min-height: 260px;
}
.carousel-img {
    width: 100%;
    max-width: 380px;
    height: 280px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
    position: static;
    margin: 0 auto 0 auto;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff url('../img/backgroud-meme.jpg') repeat fixed;
    background-size: contain;
    color: #111;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
/* Responsividade */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 24px 8vw;
    aspect-ratio: unset;
    min-height: 100vh;
    margin-top: 0 !important;
  }
  .carousel {
    max-width: 98vw;
  }
  .carousel-images {
    min-height: 220px;
  }
  .carousel-img {
    max-width: 90vw;
    height: 150px !important;
  }
  .logo {
    width: 80px;
  }
  .btn-group {
    flex-direction: column;
    gap: 4px;
    margin-top: 0 !important;
  }
  .cta {
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
  }
  .memedepot{
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
  }
 .desc {
    font-size: 0.99em;
    margin-bottom: 6px;
    margin-top: 0;
 }
}

@media (max-width: 600px) {
  .carousel {
    max-width: 100vw;
    gap: 0;
    padding: 0 8px;
    min-height: unset;
    position: relative;
  }
  .carousel-images {
    min-height: 180px;
    height: 200px;
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .carousel-item {
    max-width: 98vw;
    min-height: 120px;
    padding: 10px 2px 10px 2px;
    border-radius: 14px;
  }
  .carousel-item .carousel-img, .carousel-img {
    max-width: 92vw;
    height: 150px !important;
    margin-bottom: 10px;
    border-radius: 4px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1em;
    top: 50%;
    transform: translateY(-50%);
    left: 2px;
    right: 2px;
    z-index: 3;
  }
  .carousel-btn.prev {
    left: 2px;
    right: auto;
  }
  .carousel-btn.next {
    right: 2px;
    left: auto;
  }
  .container {
    padding: 2px 1vw 8px 1vw;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    margin-top: 0 !important;
    max-height: 100vh;
    overflow-y: auto;
  }
  .header-hero {
    margin-bottom: 6px;
  }
  .desc {
    font-size: 0.95em;
    margin-bottom: 6px;
    margin-top: 0;
  }
  .ca-highlight {
    font-size: 0.92em;
    padding: 6px 2px;
    margin: 6px 0 10px 0;
  }
  .carousel {
    margin: 4px auto 6px auto;
    padding: 0 2px;
    max-width: 100vw;
    min-height: unset;
  }
  .btn-group {
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .cta, .memedepot {
    font-size: 0.92em;
    padding: 7px 0;
    margin-top: 4px;
  }
  .video-section {
    margin: 0 auto 0 auto;
  }
  .video-section video {
    max-width: 98vw;
    max-height: 70px;
    border-radius: 6px;
    margin: 0 auto;
  }
  .logo {
    width: 56px;
  }
  .desc {
    font-size: 1em;
  }
  h1 {
    font-size: 1.2em;
  }
  .ca-highlight {
    font-size: 0.95em;
    padding: 2px 4px;
  }
  .btn-group {
    gap: 6px;
  }
  .cta {
    font-size: 0.98em;
    padding: 10px 0;
  }
  .memedepot {
    font-size: 0.98em;
    padding: 10px 0;
  }
}
}

.container {
    width: 100%;
    max-width: 794px;
    margin: 24px auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 36px 0 rgba(0,0,0,0.13), 0 2px 0 #eee inset;
    border: 1.5px solid #e0e0e0;
    padding: 4px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    min-height: 95vh;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
  .container {
    max-width: 100vw;
    aspect-ratio: unset;
    min-height: 100vh;
    margin-top: 0 !important;
  }
  .carousel {
    max-width: 98vw;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 18px 2vw;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
  .carousel {
    max-width: 100vw;
    gap: 4px;
  }
  .carousel-images {
    min-height: 2000px;
  }
  .carousel-img {
    max-width: 98vw;
    height: 200px;
    border-radius: 6px;
  }
  .logo {
    width: 56px;
  }
  .desc {
    font-size: 1em;
  }
  h1 {
    font-size: 1.2em;
  }
  .ca-highlight {
    font-size: 0.95em;
    padding: 8px 4px;
  }
  .btn-group {
    gap: 6px;
  }
  .cta {
    font-size: 0.98em;
    padding: 10px 0;
  }
  .memedepot {
    font-size: 0.98em;
    padding: 10px 0;
  }
}


.logo {
    width: 120px;
    max-width: 180px;
    height: auto;
    margin-bottom: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: logo-pop 1.2s cubic-bezier(.68,-0.55,.27,1.55), fade-in-down 1.2s 0.1s both, logo-head-move 4.5s cubic-bezier(.4,0,.2,1) infinite alternate;
}

@keyframes logo-head-move {
  0%   { transform: rotate(-4deg) scale(1.01) translateY(0); }
  10%  { transform: rotate(-2deg) scale(1.02) translateY(-2px); }
  20%  { transform: rotate(0deg) scale(1.03) translateY(-4px); }
  30%  { transform: rotate(2deg) scale(1.02) translateY(-2px); }
  40%  { transform: rotate(4deg) scale(1.01) translateY(0); }
  50%  { transform: rotate(2deg) scale(1.02) translateY(2px); }
  60%  { transform: rotate(0deg) scale(1.03) translateY(4px); }
  70%  { transform: rotate(-2deg) scale(1.02) translateY(2px); }
  80%  { transform: rotate(-4deg) scale(1.01) translateY(0); }
  100% { transform: rotate(-4deg) scale(1.01) translateY(0); }
}

@media (min-width: 1100px) {
  .logo {
    width: 120px;
    max-width: 180px;
  }
}

h1 {
    color: #111;
    margin-top: 5px;
    margin-bottom: 10px;
    animation: fade-in-down 1s 0.3s both;
}
.solana {
    color: #111;
    font-weight: bold;
}
.desc {
    font-size: 1.2em;
    margin-bottom: 10px;
    animation: fade-in-up 1s 0.5s both;
}
.cta {
    display: inline-block;
    background: linear-gradient(90deg, #f3f3f3 0%, #e0e0e0 100%);
    color: #222;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 16px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    animation: fade-in-up 1s 1.1s both;
    box-shadow: 0 2px 8px 0 #bbb3;
    border: none;
}
.cta.buy {
    animation: fade-in-up 1s 1.1s both, buy-pulse 1.2s 2.2s infinite;
}
.memedepot {
     display: inline-block;
    background: linear-gradient(90deg, #f3f3f3 0%, #e0e0e0 100%);
    color: #222;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 16px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    animation: fade-in-up 1s 1.1s both;
    box-shadow: 0 2px 8px 0 #bbb3;
    border: none;
}
.desc p {
    margin: 2px 0;
    line-height: 1.15;
}
@keyframes buy-pulse {
    0% { box-shadow: 0 0 0 0 #bbb3; }
    60% { box-shadow: 0 0 0 12px #e0e0e033; }
    100% { box-shadow: 0 0 0 0 #bbb0; }
}
.cta:hover {
    background: linear-gradient(90deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #111;
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 4px 16px #bbb5;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.memedepot:hover {
    background: linear-gradient(90deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #111;
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 4px 16px #bbb5;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.trollface {
    font-size: 3em;
    margin-bottom: 10px;
}
.trollface img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fade-in-up 1.2s 1.1s both, troll-bounce 2.2s 2.2s 1;
}
.ca-highlight {
    background: #f3f3f3;
    color: #111;
    border: 2px dashed #111;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 10px;
    margin: 10px 0 24px 0;
    word-break: break-all;
    animation: fade-in-up 1s 0.7s both, pulse-border 2.5s 1.5s 2, ca-pulse 1.8s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes ca-pulse {
  0% { box-shadow: 0 0 0 0 #bbb8, 0 0 0 0 #8884; }
  60% { box-shadow: 0 0 0 8px #bbb4, 0 0 0 16px #8882; }
  100% { box-shadow: 0 0 0 0 #bbb0, 0 0 0 0 #8880; }
}
.btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
    animation: fade-in-up 1.2s 1.5s both;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
  .btn-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cta {
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
    min-width: unset;
  }
  .memedepot{
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
  }
}

@media (max-width: 600px) {
  .btn-group {
    gap: 6px;
    width: 100%;
  }
  .cta {
    font-size: 0.98em;
    padding: 10px 0;
    width: 100%;
    min-width: unset;
  }
  .memedepot {
    font-size: 0.98em;
    padding: 10px 0;
    width: 100%;
    min-width: unset;
  }
}
@keyframes logo-pop {
    0% { transform: scale(0.7) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.1) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes pulse-border {
    0% { border-color: #111; }
    50% { border-color: #888; box-shadow: 0 0 12px #bbb; }
    100% { border-color: #111; }
}
@keyframes troll-bounce {
    0% { transform: scale(1) translateY(0); }
    20% { transform: scale(1.08) translateY(-12px); }
    40% { transform: scale(0.95) translateY(6px); }
    60% { transform: scale(1.03) translateY(-4px); }
    80% { transform: scale(0.98) translateY(2px); }
    100% { transform: scale(1) translateY(0); }
}
