@font-face {
    font-family: neu;
    src: url(./fonts/NeueHaasDisplayMediu.ttf);
}

@font-face {
    font-family: neu;
    font-weight: 100;
    src: url(./fonts/NeueHaasDisplayLight.ttf);
}

@font-face {
    font-family: neu;
    font-weight: 200;
    src: url(./fonts/NeueHaasDisplayRoman.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: neu;
}

html {
    scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
    height: 100%;
    width: 100%;
    font-family: neu;
    background-color: #D84040;
}

#loader {
    height: 100%;
    width: 100%;
    background-color: black;
    position: fixed;
    z-index: 999;
    top: 0;
    transition: all ease 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader h1 {
    font-size: 5vw;
    color: transparent;
    background: linear-gradient(to right, #8E1616, #D84040);
    -webkit-background-clip: text;
    background-clip: text;
    position: absolute;
    opacity: 0;
    animation-name: load;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-timing-function: linear;
}

#loader h1:nth-child(2) {
    animation-delay: 2s;
}

@keyframes load {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width:600px) {

    #loader h1 {
        font-size: 9vw;
    }
}

/* Hide banner social logos on mobile */
@media (max-width: 768px) {
  #banner .floating-logo {
    display: none !important;

  }
}


#page1 {

    background-color: #EEEEEE;
 

}

nav {
    padding: 2vw 0vw;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    justify-content: space-between;
}

#nav-left {
    display: flex;
    align-items: center;
    gap: 2vw;
}

#nav-social {
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

#nav-right {
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

/* Social media links (left side) */
#nav-social h4 {
    padding: 8px 16px;
    border: 1px solid #D84040;
    border-radius: 50px;
    font-weight: 500;
    color: #000000bb;
    transition: all ease 0.4s;
    position: relative;
    font-size: 16px;
    overflow: hidden;
}

#nav-social h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #1D1616;
    left: 0;
    bottom: -100%;
    border-radius: 50%;
    transition: all ease 0.4s;
}

#nav-social h4:hover::after {
    bottom: 0;
    border-radius: 0;
}

#nav-social h4 a {
    color: #1D1616;
    text-decoration: none;
    position: relative;
    z-index: 9;
    transition: all 0.3s ease;
}

#nav-social h4:hover a {
    color: #D84040;
}

/* Navigation buttons (right side) */
#nav-right h4 {
    background: #1D1616;
    border: 2px solid #D84040;
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-right: 10px;
}

#nav-right h4 a {
    color: #D84040;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

#nav-right h4:hover {
    background: #D84040;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(216, 64, 64, 0.4);
}

#nav-right h4:hover a {
    color: #EEEEEE;
}



#banner {
    position: relative;
    margin: 0;
    padding: 0;
    right: 0;
    left: 0;
    width: 100%;
 
    overflow: hidden;
    background:  linear-gradient(to top, #D84040 80%, #1D1616 100% );
}

.floating-logo {
    position: absolute;
    width: 90px;
    /* adjust size */
    height: auto;
}




.tg {
    top: 60%;
    left: 5%;
    animation: float 4.5s ease-in-out infinite;
}

.tg:hover {
    cursor: pointer;
    scale: 130%;
}


.x {
    display: block;
    right: 5%;
    rotate: 15deg;
    transform: rotate(15deg);
    animation: float 4.5s ease-in-out infinite;
}



.x:hover {
    cursor: pointer;
    scale: 110%;
}

.dex {
    bottom: 35%;
    right: 30%;
    left: 90%;
    rotate: -20deg;
    border-radius: 30%;
    animation: float 4.5s ease-in-out infinite;
}

.dex:hover {
    cursor: pointer;
    scale: 110%;
}

.tg {
    transform: rotate(-10deg);
}



.dex {
    transform: rotate(-10deg);
    scale: 130%;
}

.reply-text {
    position: relative;
    left: 45% !important;
    transform: translateX(-50%) !important;
    bottom: 55px;
    animation: float 4.5s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}


@media (max-width: 720px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix moving text on mobile */
  #moving-text {
    max-width: none;
    width: 100vw;
  }
  
  .con {
    max-width: none;
  }
  
  /* Center HOW TO BUY cards on mobile */
  .htb-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
  }
  
  .htb-card {
    transform: none !important;
    margin: 10px auto !important;
    width: 90% !important;
    max-width: 400px !important;
    display: block !important;
  }
  
  .htb-card:nth-child(1):hover,
  .htb-card:nth-child(2):hover,
  .htb-card:nth-child(3):hover,
  .htb-card:nth-child(4):hover {
    transform: translateY(-5px) !important;
  }
  
  nav {
    position: relative;
    padding: 15px 20px;
  }
  
  #nav-right {
    display: none;
  }
  
  #nav-social {
    display: none;
  }
  
  /* Mobile Hamburger Menu */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #D84040;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(216, 64, 64, 0.5);
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Mobile Menu Overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 238, 238, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu.show {
    display: flex;
    opacity: 1;
  }
  
  .mobile-menu-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #D84040;
  }
  
  .mobile-menu-logo {
    width: 60px;
    height: auto;
  }
  
  .mobile-menu-close {
    background: none;
    border: none;
    color: #1D1616;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
  }
  
  .mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .mobile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(216, 64, 64, 0.1);
    border: 2px solid #D84040;
    border-radius: 12px;
    color: #1D1616;
    text-decoration: none;
    font-family: neu;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-item:hover {
    background: rgba(216, 64, 64, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(216, 64, 64, 0.3);
  }
  
  .menu-icon {
    font-size: 20px;
  }

  /* Mobile layout: Reply text at top center, social logos in line underneath */
  .reply-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 350px;
    height: auto;
    scale: 1;
    margin-left: 0;
    z-index: 10;
    /* Ensure proper centering on mobile */
    text-align: center;
  }

  /* Social logos container for mobile */
  .mobile-social-container {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
  }

  /* Hide desktop floating logos on mobile */
  .desktop-only {
    display: none;
  }

  /* Show mobile social container */
  .mobile-social-container {
    display: flex;
  }

  /* Mobile floating logos positioning - arranged in line under reply text */
  .mobile-social-container .x {
    opacity: 1;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 50px;
    height: auto;
    transform: none;
    animation: float 4.5s ease-in-out infinite;
  }
  
  .mobile-social-container .dex {
    opacity: 1;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 45px;
    height: auto;
    transform: none;
    animation: float 4.5s ease-in-out infinite;
  }
  
  .mobile-social-container .tg {
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 50px;
    height: auto;
    transform: none;
    animation: float 4.5s ease-in-out infinite;
  }

  /* Improve banner overall on mobile */
  #banner {
 
    overflow: hidden;
  }

  /* Better spacing for mobile navigation */
  #nav-left {
    gap: 1vw;
  }

  #logo-img {
    width: 40px;
    height: auto;
  }

  /* Full screen modals on mobile */
  .rg-modal1:target,
  .rg-modal2:target,
  .rg-modal3:target,
  .rg-modal4:target,
  .rg-modal5:target,
  .rg-modal6:target,
  .rg-modal7:target,
  .rg-modal8:target,
  .rg-modal9:target,
  .rg-modal10:target {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .rg-card1,
  .rg-card2,
  .rg-card3,
  .rg-card4,
  .rg-card5,
  .rg-card6,
  .rg-card7,
  .rg-card8,
  .rg-card9,
  .rg-card10 {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 20px !important;
  }
}


  
  .reply-text {
    top: 120px;
    left: 20px;
    width: 100%;
    max-width: 90vw;
  }

  .x {
    scale: 100%;
    top: 44%;
  }

  .x:hover {
    scale: 110%;
  }
  
  .dex {
    top: 270px;
    right: 18%;
    left: auto;
    scale: 90%;
  }
  
  .dex:hover {
    scale: 110%;
  }
  
  .tg {
    top: 59% !important;
    left: 5% !important;
    scale: 120%;
    animation: float 4.5s ease-in-out infinite;
  }


/* Contract Address (CA) Styling */
.ca-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 22, 22, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #D84040;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: neu;
    position: fixed;
    z-index: 1000;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Desktop: Show floating logos, hide mobile container */
.desktop-only {
  display: block;
}

.mobile-social-container {
  display: none;
}

/* CA Animation - Pure CSS */
.ca-container {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(100vh);
    animation: caSlideDown 6s ease-in-out forwards;
    animation-delay: 3.2s; /* Start right after loader finishes */
}

/* Mobile CA positioning */
@media (max-width: 768px) {
  .ca-container {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(100vh);
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .ca-address {
    font-size: 10px;
    min-width: 120px;
  }
  
  .ca-label {
    font-size: 12px;
  }
}

@keyframes caSlideDown {
    0% {
        transform: translateX(-50%) translateY(calc(100vh + 120px));
        opacity: 0;
    }
    
    10% {
        transform: translateX(-50%) translateY(calc(100vh - 60px));
        opacity: 1;
    }
    
    20% {
        transform: translateX(-50%) translateY(calc(100vh - 60px));
        opacity: 1;
    }
    
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.ca-container:hover {
    transform: translateX(-50%) scale(1.1);
    border-color: #EEEEEE;
    box-shadow: 0 6px 20px rgba(216, 64, 64, 0.4);
}

.ca-container.initial-position:hover,
.ca-container.animated-position:hover {
    transform: translate(-50%, -50%) scale(1.1);
    border-color: #EEEEEE;
    box-shadow: 0 6px 20px rgba(216, 64, 64, 0.4);
}

.ca-label {
    color: #D84040;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: neu;
}

.ca-address {
    color: #EEEEEE;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-family: neu;
    min-width: 180px;
}

.ca-copied-text {
    color: #4CAF50;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-family: neu;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    position: absolute;
    top: 5%;
    right: -100px;
    transform: translateY(5px);
    background: rgba(29, 22, 22, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    border: 2px solid #4CAF50;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
}

.ca-container.copied .ca-copied-text {
    opacity: 1;
    transform: translateY(0);
    animation: copiedPulse 0.5s ease-in-out;
}

.ca-container.copied {
    border-color: #4CAF50;
    background: rgba(29, 22, 22, 0.9);
    animation: copiedGlow 2s ease-in-out;
}

@keyframes copiedPulse {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes copiedGlow {
    0% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.reply-guy {
    position: absolute;
    top: 70%;
    left: 50%;
    /* center horizontally */
    transform: translateX(calc(-50% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    /* perfect centering + hidden behind page 2 initially */
    width: 200px;
    /* adjust size */
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy:hover {
    cursor: pointer;
    transform: translateX(calc(-50% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-2 {
    position: absolute;
    top: 70%;
    left: 60%;
    transform: translateX(calc(-60% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 200px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-2:hover {
    cursor: pointer;
    transform: translateX(calc(-60% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-3 {
    position: absolute;
    top: 70%;
    left: 70%;
    transform: translateX(calc(-70% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 200px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-3:hover{
    cursor: pointer;
    transform: translateX(calc(-70% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-4{
    position: absolute;
    top: 80.5%;
    left: 80%;
    transform: translateX(calc(-80% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 180px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-4:hover{
    cursor: pointer;
    transform: translateX(calc(-80% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-5{
    position: absolute;
    top: 72%;
    left: 90%;
    transform: translateX(calc(-90% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 190px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-5:hover{
    cursor: pointer;
    transform: translateX(calc(-90% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-6{
    position: absolute;
    top: 71.5%;
    left: 40%;
    transform: translateX(calc(-40% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 190px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-6:hover{
    cursor: pointer;
    transform: translateX(calc(-40% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-7{
    position: absolute;
    top: 76.5%;
    left: 31%;
    transform: translateX(calc(-30% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 150px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-7:hover{
    cursor: pointer;
    transform: translateX(calc(-30% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-8{
    position: absolute;
    top: 73%;
    left: 22%;
    transform: translateX(calc(-20% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 180px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-8:hover{
    cursor: pointer;
    transform: translateX(calc(-20% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-9{
    position: absolute;
    top: 78%;
    left: 13.5%;
    transform: translateX(calc(-12% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 190px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-9:hover{
    cursor: pointer;
    transform: translateX(calc(-12% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

.reply-guy-10{
    position: absolute;
    top: 71.5%;
    left: 7.5%;
    transform: translateX(calc(-6.5% + var(--dx, 0px))) translateY(var(--ty, 100vh));
    width: 120px;
    height: auto;
    transition: transform 0.1s ease;
}

.reply-guy-10:hover{
    cursor: pointer;
    transform: translateX(calc(-6.5% + var(--dx, 0px))) translateY(var(--ty, 100vh)) scale(1.1);
}

@media (max-width: 768px) {
  .reply-guy{
    z-index: 1;
    top: 65%;
    left: 50%;
    width: 80px;
    height: auto;
    transform: translateX(-50%) translateY(var(--ty, 100vh));
  }

  .reply-guy-2{
 top: 65%;
    left: 60%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-60%) translateY(var(--ty, 100vh));
  }

  .reply-guy-3{
  top: 65%;
    left: 70%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-70%) translateY(var(--ty, 100vh));
  }

  .reply-guy-4{
    top: 67%;
    left: 80%;    z-index: 1;
    width: 70px;
    height: auto;
    transform: translateX(-80%) translateY(var(--ty, 100vh));
  }

  .reply-guy-5{
     top: 65%;
    left: 90%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-90%) translateY(var(--ty, 100vh));
  }

  .reply-guy-6{
   top: 65%;
    left: 40%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-40%) translateY(var(--ty, 100vh));
  }

  .reply-guy-7{
  top: 65%;
    left: 30%;    z-index: 1;
    width: 70px;
    height: auto;
    transform: translateX(-30%) translateY(var(--ty, 100vh));
  }

  .reply-guy-8{
   top: 65%;
    left: 20%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-20%) translateY(var(--ty, 100vh));
  }

  .reply-guy-9{
 top: 65%;
    left: 10%;    z-index: 1;
    width: 80px;
    height: auto;
    transform: translateX(-10%) translateY(var(--ty, 100vh));
  }

  .reply-guy-10{
 top: 65%;
    left: 5%;
    width: 60px;    z-index: 1;
    height: auto;
    transform: translateX(-5%) translateY(var(--ty, 100vh));
  }







  
}


/* overlay hidden by default */
.rg-modal1{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal1:target{ display: flex; }

/* modal card */
.rg-card1{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #FF9AD1;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close1{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration1{ display: flex; align-items: center; justify-content: center; }
.rg-illustration1 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy1 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy1 p{ line-height:1.5; opacity:.95; }
.rg-note1{ margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card1{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration1 { order: 1; }
  .rg-copy1 { order: 2; }
}





/* overlay hidden by default */
.rg-modal2{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal2:target{ display: flex; }

/* modal card */
.rg-card2{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #2FA6A2;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close2{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration2{ display: flex; align-items: center; justify-content: center; }
.rg-illustration2 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy2 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy2 p{ line-height:1.5; opacity:.95; }
.rg-note2{ margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card2{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration2 { order: 1; }
  .rg-copy2 { order: 2; }
}



/* overlay hidden by default */
.rg-modal3{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal3:target{ display: flex; }

/* modal card */
.rg-card3{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #6E4A45;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close3{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration3{ display: flex; align-items: center; justify-content: center; }
.rg-illustration3 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy3 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy3 p{ line-height:1.5; opacity:.95; }
.rg-note3{ margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card3{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration3 { order: 1; }
  .rg-copy3 { order: 2; }
}


/* overlay hidden by default */
.rg-modal4{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal4:target{ display: flex; }

/* modal card */
.rg-card4{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close4{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration4{ display: flex; align-items: center; justify-content: center; }
.rg-illustration4 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy4 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy4 p{ line-height:1.5; opacity:.95; }
.rg-note4 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card4{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration4 { order: 1; }
  .rg-copy4 { order: 2; }
}


/* overlay hidden by default */
.rg-modal5{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal5:target{ display: flex; }

/* modal card */
.rg-card5{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #F1F1F1;
  color: #1D1616;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close5{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration5{ display: flex; align-items: center; justify-content: center; }
.rg-illustration5 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy5 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy5 p{ line-height:1.5; opacity:.95; }
.rg-note5 { margin-top:18px; background: rgba(29,22,22,.15); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card5{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration5 { order: 1; }
  .rg-copy5 { order: 2; }
}


/* overlay hidden by default */
.rg-modal6{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal6:target{ display: flex; }

/* modal card */
.rg-card6{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #8F7AD8;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close6{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration6{ display: flex; align-items: center; justify-content: center; }
.rg-illustration6 img{ width:70%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy6 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy6 p{ line-height:1.5; opacity:.95; }
.rg-note6 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card6{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration6 { order: 1; }
  .rg-copy6 { order: 2; }
}

/* overlay hidden by default */
.rg-modal7{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal7:target{ display: flex; }

/* modal card */
.rg-card7{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #3A3E47;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close7{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration7{ display: flex; align-items: center; justify-content: center; }
.rg-illustration7 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy7 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy7 p{ line-height:1.5; opacity:.95; }
.rg-note7 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card7{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration7 { order: 1; }
  .rg-copy7 { order: 2; }
}

/* overlay hidden by default */
.rg-modal8{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal8:target{ display: flex; }

/* modal card */
.rg-card8{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #0E63C9;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close8{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration8{ display: flex; align-items: center; justify-content: center; }
.rg-illustration8 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy8 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy8 p{ line-height:1.5; opacity:.95; }
.rg-note8 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card8{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration8 { order: 1; }
  .rg-copy8 { order: 2; }
}

/* overlay hidden by default */
.rg-modal9{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal9:target{ display: flex; }

/* modal card */
.rg-card9{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #D8A24D;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close9{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration9{ display: flex; align-items: center; justify-content: center; }
.rg-illustration9 img{ width:100%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy9 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy9 p{ line-height:1.5; opacity:.95; }
.rg-note9 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card9{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration9 { order: 1; }
  .rg-copy9 { order: 2; }
}

/* overlay hidden by default */
.rg-modal10{
  position: fixed; inset: 0;
  display: none;                      /* hidden until targeted */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
/* show when URL hash matches #rg-modal */
.rg-modal10:target{ display: flex; }

/* modal card */
.rg-card10{
  position: relative;
  width: min(1000px, 92vw);
  height: min(600px, 80vh);
  background: #86A9C2;
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: min(420px, 40%) 1fr;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* close button */
.rg-close10{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; text-decoration:none;
  font-size: 22px; line-height: 0;
}

/* left image */
.rg-illustration10{ display: flex; align-items: center; justify-content: center; }
.rg-illustration10 img{ width:70%; height:auto; border-radius:12px; display:block; }

/* right copy */
.rg-copy10 h2{ font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 10px; letter-spacing:1px; }
.rg-copy10 p{ line-height:1.5; opacity:.95; }
.rg-note10 { margin-top:18px; background: rgba(255,255,255,.08); border-radius:10px; padding:12px 14px; }

/* mobile */
@media (max-width:740px){ 
  .rg-card10{ 
    grid-template-columns:1fr; 
    grid-template-rows: auto 1fr;
  }
  .rg-illustration10 { order: 1; }
  .rg-copy10 { order: 2; }
}

#page2{
    margin: 0;
    padding: 0;
    background-color: #D84040;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* === REPLY GUYS GRID === */
.rg-cards{ padding:56px 2vw; color:#fff; font-family:neu,sans-serif; position:relative; z-index:1; }
.rg-wrap{ max-width:1200px; margin:0 auto; }
.rg-title{ text-align:center; font-weight:800; letter-spacing:.5px; font-size:clamp(22px,3vw,36px); }
.rg-sub{ text-align:center; opacity:.9; margin:10px auto 28px; max-width:750px; }

/* Grid: 5 → 4 → 3 → 2 → 1 columns */
.rg-grid{
  display:grid;
    grid-template-columns: repeat(5, 250px);
  gap:30px;
  column-gap: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}
@media (max-width:1200px){ .rg-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); } }
@media (max-width:960px) { .rg-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:720px) { .rg-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:420px) { .rg-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* Card */
.rg-card{
  position:relative;
  max-width: 400px;
  display:block;
  background:var(--bg,#333);
  border-radius:16px;
  padding:16px;
  margin: 0px;
  color:#fff;
  border:3px solid transparent;       /* prevents layout shift on hover */
  aspect-ratio:2.2/1;                  /* consistent height */
  overflow:hidden;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  z-index:0;
  align-items: center;
  justify-content: center;
}
.rg-card:hover{
  transform:translateY(-3px) scale(1.02);
  border-color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  z-index:2;                           /* float above neighbors (no dark strip) */
  cursor: pointer;
}

/* Name */
.rg-name{
  position:absolute; top:12px; left:16px;
  font-weight:800; letter-spacing:.6px;
  color:var(--name,#fff);
}

/* Character art INSIDE the card (bottom-right) */
.rg-card img{
  position:absolute;
  right:10px; 
  top: 50%;
  transform: translateY(-50%);
  height:75%; width:auto;
  object-fit:contain;
  pointer-events:none;                 /* so hover stays on the card */
}

@media(max-width:768px) {
  .rg-card img {
    height: 65%; 
    width: auto;
  }
}






#moving-text{
    overflow: hidden;
    white-space: nowrap;
    font-family: neu;
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

#moving-text::-webkit-scrollbar{
    display: none;
}

.con{
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    animation-name: move;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    flex-shrink: 0;
    min-width: 100vw;
}

#moving-text h1{
    font-size: 9vw;
    display: inline-block;
    color: #EEEEEE;
    margin: 0;
    padding: 0 1vw;
}

.gola{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: inline-block;
    background-color: #1D1616;
    margin: 0 2vw;
    flex-shrink: 0;
}

@keyframes move{
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* How to Buy Section */
#how-to-buy {
    background: #1D1616 url('./assets/how-to-buy-bg.png') center center/cover no-repeat;
    padding: 80px 20px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.htb-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.htb-title {
  font-family: neu;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 80px;
  font-weight: 800;
  color: #EEEEEE;
  letter-spacing: 2px;
  text-shadow: 3px 3px 2px #D84040;
}

@media (max-width: 762px){
  .htb-title{
    margin-bottom: 50px;
  }
}

.htb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 150px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.htb-card {
    background: #EEEEEE;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Individual card positioning */
.htb-card:nth-child(1) {
    transform: translateX(-80px);
}

.htb-card:nth-child(2) {
    transform: translateX(80px);
}

.htb-card:nth-child(3) {
    transform: translateX(-80px);
}

.htb-card:nth-child(4) {
    transform: translateX(80px);
}

  


.htb-card:nth-child(1):hover {
    transform: translateX(-80px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.htb-card:nth-child(2):hover {
    transform: translateX(80px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.htb-card:nth-child(3):hover {
    transform: translateX(-80px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.htb-card:nth-child(4):hover {
    transform: translateX(80px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.htb-number {
    background: #D84040;
    color: #EEEEEE;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: neu;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 15px;
}

.htb-card h3 {
    font-family: neu;
    font-size: 20px;
    font-weight: 600;
    color: #1D1616;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.htb-card p {
    font-family: neu;
    font-size: 14px;
    color: #1D1616;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

.htb-character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.htb-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
    cursor: pointer;
}

.htb-character img:hover {
    transform: rotate(-8deg) scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .htb-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        max-width: 400px;
    }
    
    .htb-character {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 40px auto;
        width: 300px;
        height: 300px;
    }
    
    #how-to-buy {
        padding: 60px 20px;
    }
}

/* Live Price Chart Widget */
#price-chart-section {
    background: #D84040;
    padding: 80px 20px;
    position: relative;
}

.price-chart-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.price-chart-window {
    background: #EEEEEE;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 3px solid #1D1616;
}

.window-header {
    background: #1D1616;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #1D1616;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control-btn.close {
    background: #ff5f57;
}

.control-btn.minimize {
    background: #ffbd2e;
}

.control-btn.maximize {
    background: #28ca42;
}

.window-title {
    color: #EEEEEE;
    font-family: neu;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
}

.price-chart-content {
    padding: 24px;
    background: #EEEEEE;
}

.price-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1D1616;
}

.token-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-symbol {
    font-family: neu;
    font-weight: 800;
    font-size: 24px;
    color: #D84040;
    letter-spacing: 1px;
}

.token-name {
    font-family: neu;
    font-weight: 500;
    font-size: 14px;
    color: #1D1616;
    opacity: 0.8;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.current-price {
    font-family: neu;
    font-weight: 700;
    font-size: 28px;
    color: #1D1616;
}

.price-change {
    font-family: neu;
    font-weight: 600;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 6px;
}

.price-change.positive {
    background: #4CAF50;
    color: #EEEEEE;
}

.price-change.negative {
    background: #f44336;
    color: #EEEEEE;
}

.price-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    background: #1D1616;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #1D1616;
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    font-family: neu;
    font-size: 12px;
    color: #EEEEEE;
    opacity: 0.8;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-family: neu;
    font-weight: 700;
    font-size: 16px;
    color: #D84040;
}

.chart-container {
    background: #1D1616;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dexscreener-widget {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}


.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #EEEEEE;
    font-family: neu;
    font-size: 14px;
    opacity: 0.8;
    display: none;
}

.chart-loading.show {
    display: block;
}

.chart-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: neu;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.action-btn.primary {
    background: #D84040;
    color: #EEEEEE;
}

.action-btn.primary:hover {
    background: #8E1616;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 64, 64, 0.3);
}

.action-btn.secondary {
    background: transparent;
    color: #1D1616;
    border: 2px solid #1D1616;
}

.action-btn.secondary:hover {
    background: #1D1616;
    color: #EEEEEE;
    transform: translateY(-2px);
}

/* Sidebar */
.chart-sidebar {
    background: #EEEEEE;
    border-radius: 12px;
    padding: 24px;
    border: 3px solid #1D1616;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.sidebar-content h3 {
    font-family: neu;
    font-weight: 800;
    font-size: 24px;
    color: #1D1616;
    margin-bottom: 16px;
    text-align: center;
}

.sidebar-content p {
    font-family: neu;
    font-size: 14px;
    color: #1D1616;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.8;
}

.feature-list {
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-family: neu;
    font-weight: 600;
    color: #1D1616;
}

.feature-icon {
    font-size: 18px;
    width: 26px;
  height: 26px;
  vertical-align: middle;
  display: inline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    background: #1D1616;
    color: #EEEEEE;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: neu;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #D84040;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 64, 64, 0.3);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Responsive Design for Price Chart */
@media (max-width: 1024px) {
    .price-chart-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .price-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .price-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-actions {
        flex-direction: column;
    }
    
    .price-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .price-info {
        align-items: flex-start;
    }
}

/* Roadmap Section */
#roadmap-section {
    background: #1D1616;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

#roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(216, 64, 64, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(142, 22, 22, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vision-header {
    text-align: center;
    margin-bottom: 80px;
}

.vision-title {
    font-family: neu;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #D84040;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(216, 64, 64, 0.3);
}

.vision-subtitle {
    font-family: neu;
    font-size: 18px;
    color: #EEEEEE;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.vision-card {
    background: linear-gradient(135deg, #8E1616 0%, #D84040 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 22, 22, 0.1) 0%, rgba(238, 238, 238, 0.05) 100%);
    z-index: 1;
}

.vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #EEEEEE;
    box-shadow: 0 20px 40px rgba(216, 64, 64, 0.3);
}

.vision-icon {
    scale: 0.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.vision-card-title {
    font-family: neu;
    font-size: 1.5rem;
    font-weight: 700;
    color: #EEEEEE;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.vision-card-description {
    font-family: neu;
    font-size: 16px;
    color: #EEEEEE;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.vision-footer {
    text-align: center;
    margin-top: 40px;
}

.vision-message {
    font-family: neu;
    font-size: 1.2rem;
    font-weight: 600;
    color: #D84040;
    background: linear-gradient(135deg, #1D1616 0%, #2a1f1f 100%);
    padding: 20px 40px;
    border-radius: 50px;
    border: 2px solid #D84040;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(216, 64, 64, 0.3);
}

.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #D84040 0%, #8E1616 50%, #1D1616 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(216, 64, 64, 0.3);
}

.roadmap-phase {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.phase-marker {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.phase-marker:hover {
    transform: scale(1.1);
}

.marker-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: neu;
    font-weight: 800;
    font-size: 24px;
    color: #EEEEEE;
}

.phase-marker.completed {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: 4px solid #EEEEEE;
}

.phase-marker.completed .marker-inner {
    background: rgba(255, 255, 255, 0.1);
}

.phase-marker.current {
    background: linear-gradient(135deg, #D84040, #8E1616);
    border: 4px solid #EEEEEE;
    animation: pulse-glow 2s ease-in-out infinite;
}

.phase-marker.current .marker-inner {
    background: rgba(255, 255, 255, 0.1);
}

.phase-marker.pending {
    background: linear-gradient(135deg, #1D1616, #2a1f1f);
    border: 4px solid #EEEEEE;
}

.phase-marker.pending .marker-inner {
    background: rgba(238, 238, 238, 0.1);
}

.phase-content {
    flex: 1;
    background: #EEEEEE;
    border-radius: 20px;
    padding: 30px;
    border: 3px solid #1D1616;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.phase-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #D84040, #8E1616);
}

.phase-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.phase-title {
    font-family: neu;
    font-size: 24px;
    font-weight: 800;
    color: #1D1616;
    margin: 0;
    letter-spacing: 1px;
}

.phase-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-family: neu;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.phase-status.completed {
    background: #4CAF50;
    color: #EEEEEE;
}

.phase-status.current {
    background: #D84040;
    color: #EEEEEE;
    animation: pulse-status 2s ease-in-out infinite;
}

.phase-status.pending {
    background: #1D1616;
    color: #EEEEEE;
}

.phase-description {
    margin-bottom: 25px;
}

.phase-description p {
    font-family: neu;
    font-size: 16px;
    color: #1D1616;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

.phase-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: neu;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.feature-item.completed {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    border: 2px solid #4CAF50;
}

.feature-item.current {
    background: rgba(216, 64, 64, 0.1);
    color: #8E1616;
    border: 2px solid #D84040;
}

.feature-item.pending {
    background: rgba(29, 22, 22, 0.1);
    color: #1D1616;
    border: 2px solid #1D1616;
    opacity: 0.6;
}

.feature-icon {
    font-size: 18px;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(216, 64, 64, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(216, 64, 64, 0.6);
    }
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design for Roadmap */
@media (max-width: 768px) {
    .roadmap-phase {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .phase-marker {
        width: 80px;
        height: 80px;
    }
    
    .marker-inner {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .timeline-line {
        left: 40px;
        width: 3px;
    }
    
    .phase-content {
        padding: 20px;
    }
    
    .phase-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .phase-features {
        grid-template-columns: 1fr;
    }
    
    .roadmap-title {
        font-size: 2.5rem;
    }
    
    .roadmap-subtitle {
        font-size: 16px;
    }
}

/* Responsive Design for Vision */
@media (max-width: 768px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vision-card {
        padding: 30px 20px;
    }
    
    .vision-icon {
        font-size: 2.5rem;
    }
    
    .vision-card-title {
        font-size: 1.3rem;
    }
    
    .vision-card-description {
        font-size: 14px;
    }
    
    .vision-title {
        font-size: 2.5rem;
    }
    
    .vision-subtitle {
        font-size: 16px;
    }
    
    .vision-message {
        font-size: 1rem;
        padding: 15px 30px;
    }
}

/* Advanced Meme Generator Styles */
#meme-generator-page {
  min-height: 100vh;
  background: #1D1616;
  color: #EEEEEE;
}

.meme-header {
  background: linear-gradient(135deg, #D84040, #8E1616);
  padding: 40px 20px;
  text-align: center;
}

.meme-nav {
  max-width: 1200px;
  margin: 0 auto;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #EEEEEE;
  text-decoration: none;
  font-family: neu;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #EEEEEE;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.back-btn:hover {
  background: #EEEEEE;
  color: #D84040;
  transform: translateY(-2px);
}

.meme-title {
  font-family: neu;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #EEEEEE;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.meme-subtitle {
  font-family: neu;
  font-size: 18px;
  color: #EEEEEE;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.meme-generator-section {
  padding: 60px 20px;
  background: #1D1616;
}

.generator-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.generator-sidebar {
  background: #EEEEEE;
  border-radius: 20px;
  padding: 30px;
  border: 3px solid #D84040;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 20px;
}

.generator-sidebar h3 {
  font-family: neu;
  font-size: 24px;
  font-weight: 800;
  color: #1D1616;
  margin-bottom: 25px;
  text-align: center;
}

.control-group {
  margin-bottom: 25px;
}

.control-group label {
  display: block;
  font-family: neu;
  font-weight: 600;
  color: #1D1616;
  margin-bottom: 10px;
  font-size: 14px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.character-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #1D1616;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #EEEEEE;
}

.character-option:hover {
  border-color: #D84040;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216, 64, 64, 0.2);
}

.character-option.active {
  border-color: #D84040;
  background: rgba(216, 64, 64, 0.1);
  box-shadow: 0 8px 20px rgba(216, 64, 64, 0.3);
}

.character-option img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}

.character-option span {
  font-family: neu;
  font-size: 12px;
  font-weight: 600;
  color: #1D1616;
  text-align: center;
}

.control-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #1D1616;
  border-radius: 8px;
  font-family: neu;
  font-size: 14px;
  background: #EEEEEE;
  color: #1D1616;
  transition: all 0.3s ease;
}

.control-group input:focus {
  outline: none;
  border-color: #D84040;
  box-shadow: 0 0 0 3px rgba(216, 64, 64, 0.1);
}

.template-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.template-btn {
  padding: 10px 12px;
  border: 2px solid #1D1616;
  border-radius: 8px;
  background: #EEEEEE;
  color: #1D1616;
  font-family: neu;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.template-btn:hover {
  border-color: #D84040;
  background: rgba(216, 64, 64, 0.1);
  transform: translateY(-1px);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  padding: 15px 20px;
  border-radius: 8px;
  font-family: neu;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: #D84040;
  color: #EEEEEE;
}

.btn-primary:hover {
  background: #8E1616;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216, 64, 64, 0.3);
}

.btn-secondary {
  background: #1D1616;
  color: #EEEEEE;
  border: 2px solid #1D1616;
}

.btn-secondary:hover {
  background: #EEEEEE;
  color: #1D1616;
  transform: translateY(-2px);
}

.meme-canvas-container {
  background: #EEEEEE;
  border-radius: 20px;
  padding: 30px;
  border: 3px solid #1D1616;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.meme-canvas {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: #1D1616;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  display: none;
}

.meme-image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  z-index: 1;
}

.meme-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.meme-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: neu;
  font-weight: 800;
  font-size: 24px;
  color: #EEEEEE;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
  max-width: 90%;
  word-wrap: break-word;
}

.meme-text.top-text {
  top: 20px;
}

.meme-text.bottom-text {
  bottom: 20px;
}

.canvas-placeholder {
  text-align: center;
  color: #1D1616;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.placeholder-icon {
  font-size: 4rem;
}

.placeholder-content h3 {
  font-family: neu;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.placeholder-content p {
  font-family: neu;
  font-size: 16px;
  opacity: 0.7;
  margin: 0;
}

/* Gallery Section */
.meme-gallery {
  background: #2a1f1f;
  padding: 80px 20px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-container h2 {
  font-family: neu;
  font-size: 2.5rem;
  font-weight: 800;
  color: #D84040;
  margin-bottom: 15px;
}

.gallery-container p {
  font-family: neu;
  font-size: 18px;
  color: #EEEEEE;
  opacity: 0.8;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.gallery-meme {
  background: #EEEEEE;
  border-radius: 15px;
  padding: 20px;
  border: 3px solid #1D1616;
  transition: all 0.3s ease;
}

.gallery-meme:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.meme-preview {
  position: relative;
  background: #1D1616;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meme-preview img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.7;
}

.preview-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: neu;
  font-weight: 800;
  font-size: 14px;
  color: #EEEEEE;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.preview-text.top {
  top: 10px;
}

.preview-text.bottom {
  bottom: 10px;
}

.meme-actions {
  text-align: center;
}

.use-template {
  background: #D84040;
  color: #EEEEEE;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: neu;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.use-template:hover {
  background: #8E1616;
  transform: translateY(-1px);
}

/* Footer */
.meme-footer {
  background: #1D1616;
  padding: 40px 20px;
  border-top: 3px solid #D84040;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  font-family: neu;
  color: #EEEEEE;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}


.footer-links a {
  color: #EEEEEE;
  text-decoration: none;
  font-family: neu;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #D84040;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .generator-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .generator-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .template-buttons {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Character name tooltip */
.character-tooltip {
  position: absolute;
  background: #1D1616;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: neu, sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.character-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.character-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1D1616;
}

/* Footer Styles */
.main-footer {
  background: #1D1616;
  color: #EEEEEE;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(216, 64, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(142, 22, 22, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #1D1616 0%, #2a1f1f 50%, #1D1616 100%);
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-family: neu;
  font-size: 2.5rem;
  font-weight: 800;
  color: #D84040;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(216, 64, 64, 0.3);
}

.footer-description {
  font-family: neu;
  font-size: 16px;
  line-height: 1.6;
  color: #EEEEEE;
  opacity: 0.9;
  margin: 0;
}

.footer-heading {
  font-family: neu;
  font-size: 1.2rem;
  font-weight: 700;
  color: #EEEEEE;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-link {
  color: #EEEEEE;
  text-decoration: none;
  font-family: neu;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #D84040;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #D84040;
  transform: translateX(5px);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 2px solid rgba(216, 64, 64, 0.2);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left,
.footer-bottom-right {
  font-family: neu;
  font-size: 14px;
  color: #EEEEEE;
  opacity: 0.8;
}

.footer-bottom-left p,
.footer-bottom-right p {
  margin: 0;
}

#heart-emoji {
  width: 16px;
  height: 16px;
  margin-top: -3px;
  vertical-align: middle;
  display: inline;
}

#rocket-emoji{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

#two-people{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

#money-bag{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

#rising-chart{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

#lighting-strike{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

#phone-emoji{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(216, 64, 64, 0.9);
  color: #EEEEEE;
  border: 2px solid #EEEEEE;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 8px 25px rgba(216, 64, 64, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #8E1616;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(216, 64, 64, 0.4);
}

.back-to-top:active {
  transform: translateY(-1px);
}

.back-to-top img{
  scale: 70%;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 40px 0 15px;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-logo {
    font-size: 2rem;
  }
  
  .footer-description {
    font-size: 14px;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .footer-link {
    font-size: 14px;
  }
}

/* Modal Text Overlay - positioned like BEANZ logo */
.modal-text-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 1001;
  max-width: 120px;
  height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* Mobile responsive for modal text overlay */
@media (max-width: 720px) {
  .modal-text-overlay {
    top: 6px;
    left: 6px;
    max-width: 100px;
    transform: rotate(-3deg);
  }
}

/* PFP Generator Styles */
.pfp-header {
  background: linear-gradient(135deg, #D84040 0%, #8E1616 100%);
  color: #EEEEEE;
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pfp-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(216, 64, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(142, 22, 22, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.pfp-header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pfp-title {
  font-family: neu;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #EEEEEE;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.pfp-breadcrumb {
  position: absolute;
  top: 20px;
  right: 20px;
}

.pfp-breadcrumb-link {
  display: inline-block;
  background: #EEEEEE;
  color: #1D1616;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border: 2px solid #1D1616;
  transition: all 0.3s ease;
}

.pfp-breadcrumb-link:hover {
  background: #1D1616;
  color: #EEEEEE;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pfp-subtitle {
  font-family: neu;
  font-size: 1.2rem;
  color: #EEEEEE;
  opacity: 0.9;
  margin-bottom: 0;
  font-weight: 300;
}

.pfp-main {
  background: #D84040;
  height: calc(100vh - 200px);
  padding: 40px 0;
  display: flex;
  align-items: center;
}

.pfp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.pfp-reply-guy-left {
  position: absolute;
  left: -300px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: auto;
  z-index: 1;
}

.pfp-reply-guy-right {
  position: absolute;
  right: -300px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: auto;
  z-index: 1;
}

.pfp-reply-guy-bottom {
  display: none;
}

.pfp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.pfp-subtitle {
  font-family: neu;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #EEEEEE;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.pfp-description {
  font-family: neu;
  font-size: 18px;
  color: #EEEEEE;
  opacity: 0.8;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pfp-upload-section {
  margin-bottom: 50px;
}

.pfp-upload-area {
  border: 3px dashed #D84040;
  border-radius: 20px;
  padding: 60px 40px;
  background: #EEEEEE;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.pfp-upload-area:hover {
  border-color: #EEEEEE;
  background: rgba(0, 0, 0, 0.616);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 64, 64, 0.2);
}

.pfp-upload-area.drag-over {
  border-color: #8E1616;
  background: rgba(216, 64, 64, 0.1);
  transform: scale(1.02);
}

.pfp-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pfp-upload-icon {
  font-size: 4rem;
  opacity: 0.7;
}


.pfp-upload-content h3 {
  font-family: neu;
  font-size: 24px;
  font-weight: 700;
  color: #1D1616;
  margin: 0;
}

.pfp-upload-content:hover h3{
  color: #EEEEEE;
}

.pfp-upload-content p {
  font-family: neu;
  font-size: 16px;
  color: #1D1616;
  opacity: 0.7;
  margin: 0;
}

.pfp-upload-content:hover p{
  color: #EEEEEE;
}

.pfp-file-input {
  display: none;
}

.pfp-upload-btn {
  background: #D84040;
  color: #EEEEEE;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-family: neu;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(216, 64, 64, 0.3);
}

.pfp-upload-btn:hover {
  background: #8E1616;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 64, 64, 0.4);
}

.pfp-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1D1616;
  color: #EEEEEE;
  padding: 15px 20px;
  border-radius: 25px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pfp-file-name {
  font-family: neu;
  font-size: 16px;
  font-weight: 500;
}

.pfp-remove-btn {
  background: #D84040;
  color: #EEEEEE;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfp-remove-btn:hover {
  background: #8E1616;
  transform: scale(1.1);
}

.pfp-preview-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: -20px;
}


.pfp-preview-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #1D1616;
}

.pfp-preview-placeholder {
  width: 100%;
  height: 100%;
  background: #1D1616;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
}

.pfp-placeholder-content {
  text-align: center;
  color: #EEEEEE;
}

.pfp-placeholder-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.pfp-placeholder-content h3 {
  font-family: neu;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.pfp-placeholder-content p {
  font-family: neu;
  font-size: 16px;
  opacity: 0.7;
  margin: 0;
}

.pfp-canvas {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  display: block;
}

.pfp-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.pfp-download-btn,
.pfp-regenerate-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 25px;
  font-family: neu;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pfp-download-btn {
  background: #D84040;
  color: #EEEEEE;
}

.pfp-download-btn:hover {
  background: #8E1616;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 64, 64, 0.4);
}

.pfp-regenerate-btn {
  background: #1D1616;
  color: #EEEEEE;
  border: 2px solid #1D1616;
}

.pfp-regenerate-btn:hover {
  background: #EEEEEE;
  color: #1D1616;
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 18px;
}

/* Responsive Design for PFP Generator */
@media (max-width: 768px) {
  .pfp-header {
    padding: 40px 0 30px;
  }
  
  .pfp-title {
    font-size: 2.5rem;
  }
  
  .pfp-breadcrumbs {
    font-size: 14px;
    flex-wrap: wrap;
  }
  
  .pfp-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pfp-main {
    height: auto;
    min-height: 100vh;
    padding: 40px 0;
    display: block;
  }
  
  .pfp-upload-area {
    padding: 40px 20px;
  }
  
  .pfp-preview-section {
    margin-top: 0;
  }
  
  .pfp-reply-guy-left,
  .pfp-reply-guy-right {
    display: none;
  }
  
  .pfp-reply-guy-bottom {
    display: block;
    width: 250px;
    height: auto;
    margin: 20px auto 0;
    opacity: 0.8;
  }
  
  .pfp-preview-container {
    width: 300px;
    height: 300px;
  }
  
  .pfp-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .pfp-download-btn,
  .pfp-regenerate-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pfp-container {
    padding: 0 15px;
  }
  
  .pfp-upload-area {
    padding: 30px 15px;
  }
  
  .pfp-preview-container {
    width: 100%;
    height: 250px;
    margin-top: -40px;
  }

  
  .pfp-subtitle {
    font-size: 1.8rem;
  }
  
  .pfp-description {
    font-size: 16px;
  }
}

/* make the container a positioning context for the bubble */
.music-player{
  position: fixed; left: 18px; bottom: 18px; z-index: 1200;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 14px; font-family: neu, sans-serif;
  color: #fff; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transition: opacity 0.5s ease;
}

/* + / − bubble in the corner */
.mp-toggle{
  position: absolute; top: -12px; right: -12px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(216,64,64,.9); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; cursor: pointer;
  font-size: 22px; line-height: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .15s ease, filter .15s ease;
}
.mp-toggle:hover{ transform: scale(1.06); filter: brightness(1.05); }
.mp-toggle:active{ transform: scale(.96); }

/* collapsed state */
.music-player.collapsed{ padding: 8px; }
.music-player.collapsed .mp-meta{ display: none; }  /* hide text/controls */
.music-player.collapsed .mp-cover{ width: 110px; height: 84px; } /* show just art */

/* defaults (keep yours if you already set them) */
.mp-cover{ width: 68px; height: 68px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.mp-controls{ display: flex; gap: 10px; margin-top: 8px; }
.mp-btn{ appearance: none; border: 0; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.14); width: 34px; height: 34px; border-radius: 8px; font-size: 16px; }
.mp-play{ width: 35px; height: 35px; font-size: 18px; }
.mp-btn:hover{ background: rgba(255,255,255,.22); }
.mp-progress{ margin-top: 8px; }
.mp-bar{ width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.mp-fill{ display:block; width:0%; height:100%; background:#fff; opacity:.95; transition: width .1s linear; }

.footer-community{
  align-items: right;
  justify-content: right;
  margin-left: 130px;
  margin-top: -27px;
}

.footer-heading{
  font-size: 25px;
  margin-left: -5px;
}

@media (max-width: 720px){
  .footer-community{
    align-items: right;
    justify-content: right;
    margin-left: -1px;
    margin-top: -27px;
  }
  
}

/* Advanced Meme Generator New Styles */

/* Background Options */
.background-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bg-option {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.bg-option.active {
  border-color: #D84040;
  transform: scale(1.1);
}

.bg-option:hover {
  transform: scale(1.05);
}

/* Text Elements */
.text-elements {
  margin-bottom: 20px;
}

.btn-add-text {
  background: #D84040;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 15px;
}

.btn-add-text:hover {
  background: #8E1616;
  transform: translateY(-2px);
}

  .text-element-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #EEEEEE;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1D1616;
    border: 1px solid #D84040;
  }

.text-element-item button {
  background: #D84040;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

.text-element-item button:hover {
  background: #8E1616;
}

/* Text Controls */
.text-controls {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.text-input-group {
  margin-bottom: 15px;
}

.text-input-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #EEEEEE;
}

.text-input-group input,
.text-input-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #1D1616;
  color: #EEEEEE;
  font-size: 14px;
}

.text-input-group input[type="range"] {
  padding: 0;
}

.text-input-group input[type="color"] {
  width: 50px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-delete {
  background: #8E1616;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.btn-delete:hover {
  background: #6b0f0f;
  transform: translateY(-2px);
}

/* Stickers */
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.sticker-option {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 2px solid #D84040;
}

.sticker-option:hover {
  background: #EEEEEE;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 64, 64, 0.3);
}

/* Meme Canvas Enhancements */
.meme-canvas {
  position: relative;
  min-height: 500px;
  background: #1D1616;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #D84040;
}

.meme-text-element {
  position: absolute;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s ease;
  will-change: transform, left, top;
  backface-visibility: hidden;
  transform-origin: center;
}

.meme-text-element:hover {
  transform: scale(1.05);
}

.meme-text-element.selected {
  position: relative;
}

.meme-text-element.selected::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px dashed #D84040;
  border-radius: 4px;
  pointer-events: none;
  z-index: -1;
}

.meme-text-element.dragging {
  transition: none !important;
  z-index: 20 !important;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 64, 64, 0.3);
}

.meme-sticker {
  position: absolute;
  cursor: move;
  user-select: none;
  transition: all 0.2s ease;
  will-change: transform, left, top;
  backface-visibility: hidden;
  transform-origin: center;
}

.meme-sticker:hover {
  transform: scale(1.1);
}

.meme-sticker.dragging {
  transition: none !important;
  z-index: 20 !important;
  transform: scale(1.2);
  box-shadow: 0 8px 25px rgba(212, 64, 64, 0.3);
}

/* Text Effects */
.text-neon {
  animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  from {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
  }
  to {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

.text-3d {
  text-shadow: 
    1px 1px 0 #000,
    2px 2px 0 #000,
    3px 3px 0 #000,
    4px 4px 0 #000,
    5px 5px 0 #000;
}

/* Responsive Design for Advanced Features */
@media (max-width: 768px) {
  .generator-container {
    flex-direction: column;
    padding: 10px;
    gap: 20px;
  }
  
  .generator-sidebar {
    width: 100%;
    margin-bottom: 0;
    padding: 15px;
    background: #F5F5F5;
    border-radius: 12px;
    border: 2px solid #D84040;
    color: #1D1616;
  }
  
  .meme-canvas-container {
    width: 100%;
    order: -1; /* Move canvas to top on mobile */
  }
  
  .meme-canvas {
    min-height: 300px;
    max-height: 400px;
  }
  
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .character-option {
    padding: 8px;
    text-align: center;
    background: #F5F5F5;
    border: 1px solid #D84040;
    color: #1D1616;
  }
  
  .character-option.active {
    background: #EEEEEE;
    border: 2px solid #D84040;
  }
  
  .character-option img {
    width: 40px;
    height: 40px;
  }
  
  .character-option span {
    font-size: 12px;
    margin-top: 5px;
  }
  
  .sticker-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 15px;
    justify-items: center;
  }
  
  .sticker-option {
    width: 45px;
    height: 45px;
    font-size: 20px;
    background: #F5F5F5;
    border: 2px solid #D84040;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .sticker-option:hover {
    background: #EEEEEE;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 64, 64, 0.3);
  }
  
  .sticker-option:active {
    transform: scale(0.95);
  }
  
  .background-options {
    justify-content: center;
    gap: 8px;
  }
  
  .bg-option {
    width: 35px;
    height: 35px;
  }
  
  .text-controls {
    padding: 15px;
    margin-top: 15px;
    background: #EEEEEE;
    border-radius: 8px;
    border: 1px solid #D84040;
  }
  
  .text-input-group input,
  .text-input-group select {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 10px 12px;
    background: #F5F5F5;
    color: #1D1616;
    border: 1px solid #D84040;
  }
  
  .template-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .template-btn {
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
  }
  
  .action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .text-element-item {
    padding: 10px;
    font-size: 13px;
    color: #1D1616;
  }
  
  .text-element-item button {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .btn-add-text {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .control-group {
    margin-bottom: 20px;
  }
  
  .control-group label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1D1616;
  }
}

@media (max-width: 480px) {
  .generator-container {
    padding: 5px;
  }
  
  .generator-sidebar {
    padding: 10px;
  }
  
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .character-option {
    padding: 6px;
  }
  
  .character-option img {
    width: 35px;
    height: 35px;
  }
  
  .character-option span {
    font-size: 11px;
  }
  
  .sticker-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  
  .sticker-option {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .template-buttons {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .template-btn {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .meme-canvas {
    min-height: 250px;
    max-height: 300px;
  }
  
  .text-controls {
    padding: 10px;
  }
  
  .text-input-group {
    margin-bottom: 12px;
  }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .meme-generator-section {
    padding: 10px 0;
  }
  
  .meme-generator-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .meme-generator-section p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  /* Improve touch targets */
  .character-option,
  .sticker-option,
  .bg-option,
  .template-btn,
  .btn-primary,
  .btn-secondary {
    min-height: 44px; /* iOS recommended touch target */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Better spacing for mobile */
  .control-group {
    margin-bottom: 25px;
  }
  
  .control-group:last-child {
    margin-bottom: 0;
  }
  
  /* Improve text input on mobile */
  .text-input-group input[type="text"],
  .text-input-group input[type="range"],
  .text-input-group select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
  }
  
  .text-input-group input[type="range"] {
    height: 6px;
    background: #444;
    outline: none;
  }
  
  .text-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #D84040;
    cursor: pointer;
  }
  
  .text-input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #D84040;
    cursor: pointer;
    border: none;
  }
  
  /* Improve color picker on mobile */
  .text-input-group input[type="color"] {
    width: 60px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid #444;
  }
  
  /* Better visual hierarchy */
  .generator-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #D84040;
  }
  
  .generator-sidebar .control-group label {
    color: #1D1616;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
  }
  
  /* Stickers section specific styling */
  .generator-sidebar .control-group:has(.sticker-grid) label {
    margin-bottom: 15px;
  }
  
  /* Improve canvas visibility on mobile */
  .meme-canvas-container {
    position: relative;
    margin-bottom: 20px;
  }
  
  .canvas-placeholder {
    padding: 20px;
  }
  
  .canvas-placeholder h3 {
    font-size: 18px;
  }
  
  .canvas-placeholder p {
    font-size: 14px;
  }
  
  /* Better button states */
  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.95);
  }
  
  .character-option:active,
  .sticker-option:active,
  .bg-option:active {
    transform: scale(0.9);
  }
}

/* Additional mobile improvements for smaller screens */
@media (max-width: 480px) {
  /* Even smaller floating logos in mobile container */
  .mobile-social-container .x, 
  .mobile-social-container .tg, 
  .mobile-social-container .dex {
    width: 40px;
    height: auto;
  }
  
  /* Adjust mobile social container for smaller screens */
  .mobile-social-container {
    gap: 15px;
    top: 22%;
  }
  
  /* Fix reply text centering for smaller screens ONLY */
  .reply-text {
    top: 8%;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95%;
    max-width: 280px;
    text-align: center;
  }
  
  /* Smaller reply guys */
  .reply-guy, .reply-guy-2, .reply-guy-3, .reply-guy-5, .reply-guy-6, .reply-guy-8 {
    width: 60px;
  }
  
  .reply-guy-4, .reply-guy-7, .reply-guy-9 {
    width: 50px;
  }
  
  .reply-guy-10 {
    width: 45px;
  }
  
  
  /* Contract address adjustments */
  .ca-container {
    bottom: 5px;
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .ca-address {
    font-size: 8px;
    min-width: 100px;
  }
  
  .ca-label {
    font-size: 10px;
  }
  
  /* Navigation improvements */
  nav {
    padding: 10px 15px;
  }
  
  #logo-img {
    width: 35px;
  }
  
  .mobile-menu-toggle {
    width: 25px;
    height: 25px;
    right: 15px;
  }
  
  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
  }
}










































/* Mobile banner adjustments */
@media (max-width: 768px) {
  /* Hide floating social logos */
  #banner .floating-logo {
    display: none !important;
  }

  /* Stack banner text + reply guys closer together */
  #banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* space between text and guys */
    padding: 12px;
  }

  .reply-text {
    max-width: 80%; /* scale banner text down */
    height: auto;
    margin-bottom: 8px;
  }

  /* Make reply guys smaller + wrap nicely */
  .reply-guy,
  .reply-guy-2,
  .reply-guy-3,
  .reply-guy-4,
  .reply-guy-5,
  .reply-guy-6,
  .reply-guy-7,
  .reply-guy-8,
  .reply-guy-9,
  .reply-guy-10 {
    max-width: 60px;
    height: auto;
    margin: 4px;
  }

  /* Put reply guys in a grid instead of scattered positions */
  #banner a {
    display: inline-block;
  }
  #banner {
    flex-wrap: wrap;
    justify-content: center;
  }
}



































/* === Default (Desktop First) === */
#banner {
  right: 0;
  position: relative;
  left: 0;
  width: 100%;

  min-height: 10vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === Tablet (up to 1024px) === */
@media (max-width: 1024px) {
  #banner {
    height: 130vh;          /* shorter banner */
    padding: 10px;         /* add some breathing space */
  }
}

/* === Mobile (up to 768px) === */
@media (max-width: 768px) {
  #banner {
    height: auto;          /* let content size naturally */
    min-height: 30vh;     /* still fills screen if content is short */
    padding: 0;            /* remove extra padding */
    margin: 0;             /* no margins */
    display: flex;         
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;              /* small spacing between items */
  }




  
}


























