:root {
    --bg: #101014;
    --text: #e0e0e0;
    --accent: #00ff99;
    --highlight: #ff55b8;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

html { font-size: 16px; scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    padding: clamp(1rem, 2vw, 1.5rem) 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 220px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px var(--shadow-color));
    animation: bounce 3s ease-in-out infinite;
    transition: transform 0.2s ease;
}
.logo:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); } 10% { transform: translate(-1px, -2px) rotate(-1deg); } 20% { transform: translate(-3px, 0px) rotate(1deg); } 30% { transform: translate(3px, 2px) rotate(0deg); } 40% { transform: translate(1px, -1px) rotate(1deg); } 50% { transform: translate(-1px, 2px) rotate(-1deg); } 60% { transform: translate(-3px, 1px) rotate(0deg); } 70% { transform: translate(3px, 1px) rotate(-1deg); } 80% { transform: translate(-1px, -1px) rotate(1deg); } 90% { transform: translate(1px, 2px) rotate(0deg); } 100% { transform: translate(1px, -2px) rotate(-1deg); }
}


.header-text { text-align: left; }

h2 {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--highlight);
    line-height: 1.1;
}

main { padding: 0 1rem clamp(1rem, 5vw, 3rem); flex: 1; }

h1 {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--highlight);
    line-height: 1.1;
}

.warning {
    max-width: 1300px; margin: 0 auto 3rem auto;
    background: #000;
    border-left: 4px solid var(--highlight);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
    text-align: left;
    color:#999;
}
.warning p {
    margin: 0;
}
.warning .warning-bold {
font-weight:bold;
color:#ff009b;
font-size: 1.3rem;

}

.search-container {
    position: relative;
    max-width: 700px;
    margin: 2rem auto 0 auto;
}
#searchInput {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.1);
    background-color: #0c0c10;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}
#searchInput::placeholder {
    color: rgba(255,255,255,0.4);
}
#searchInput:focus {
    outline: none;
    border-color: var(--highlight);
}
.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
}
#noResultsMessage {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
}
#noResultsMessage h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}
#noResultsMessage p {
    font-family: 'Comic Neue', cursive;
    font-size: 1.2rem;
    margin-top: 1rem;
}
#noResultsMessage a {
    color: var(--highlight);
    text-decoration: none;
    font-weight: bold;
}
 #noResultsMessage a:hover {
    text-decoration: underline;
}


.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 380px);
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wallet-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    padding: 1.5rem; border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; border: 2px solid transparent; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex; flex-direction: column; align-items: center;
}
.wallet-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px; padding: 2px;
    background: linear-gradient(45deg, var(--color1, var(--accent)), var(--color2, var(--highlight)));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0.5; transition: opacity 0.3s ease; pointer-events: none;
}
.wallet-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.wallet-card:hover::before { opacity: 1; }

.wallet-card::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 250%; height: 250%;
    background: radial-gradient(circle, var(--color1) 0%, transparent 45%);
    opacity: 0; transition: opacity 0.5s ease; z-index: 0;
}
.wallet-card:hover::after { opacity: 0.15; }

.wallet-card.copied {
    animation: card-flash 0.6s ease-out;
}
@keyframes card-flash {
    0% { box-shadow: 0 0 25px 8px var(--color1, var(--accent)); }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
}

.wallet-card.btc   { --color1: #f7931a; --color2: #ffb900; }
.wallet-card.eth   { --color1: #627eea; --color2: #87ceeb; }
.wallet-card.sol   { --color1: #00ffbd; --color2: #9945ff; }
.wallet-card.bnb   { --color1: #f3ba2f; --color2: #f8dc7a; }
.wallet-card.xrp   { --color1: #23a7e0; --color2: #89d6fa; }
.wallet-card.doge  { --color1: #d2a73c; --color2: #ffe99b; }
.wallet-card.ada   { --color1: #0058f2; --color2: #3484f2; }
.wallet-card.shibarium { --color1: #ff4a0d; --color2: #ff8a5a; }
.wallet-card.avax  { --color1: #E84142; --color2: #F07171; }
.wallet-card.ton   { --color1: #0098EA; --color2: #74BFF4; }
.wallet-card.dot   { --color1: #E6007A; --color2: #FF4DA6; }
.wallet-card.trx   { --color1: #ec082a; --color2: #ff4d6a; }
.wallet-card.bch   { --color1: #4CC94F; --color2: #92E294; }
.wallet-card.ltc   { --color1: #A6A9AB; --color2: #D3D3D3; }
.wallet-card.pol   { --color1: #8247E5; --color2: #A475F2; }
.wallet-card.near  { --color1: #00D09B; --color2: #5FF3C7; }
.wallet-card.atom  { --color1: #6B44A9; --color2: #A07ED8; }
.wallet-card.kas   { --color1: #00A79D; --color2: #00E0D2; }
.wallet-card.xlm   { --color1: #09005F; --color2: #5037E9; }
.wallet-card.xmr   { --color1: #ff6600; --color2: #fca424; }
.wallet-card.sui   { --color1: #4FA2E8; --color2: #81C3F7; }
.wallet-card.apt   { --color1: #00E29B; --color2: #64F5C9; }
.wallet-card.hbar  { --color1: #16F2A5; --color2: #6BFFC9; }
.wallet-card.fil   { --color1: #0090FF; --color2: #5CC8FF; }
.wallet-card.tao   { --color1: #913FE9; --color2: #BE8CFF; }
.wallet-card.algo  { --color1: #00A8DF; --color2: #68D0F5; }
.wallet-card.xtz   { --color1: #3670F7; --color2: #6AA0FF; }
.wallet-card.snc   { --color1: #6A3AD7; --color2: #A57FFB; }
.wallet-card.zec   { --color1: #F3B72D; --color2: #FCD93A; }
.wallet-card.celo  { --color1: #35D07F; --color2: #7CF3B3; }
.wallet-card.etn   { --color1: #25B6E9; --color2: #6CD2F1; }
.wallet-card.vet   { --color1: #15BDFF; --color2: #6AEFFF; }
.wallet-card.iota  { --color1: #45E5C1; --color2: #1ECCA4; }
.wallet-card.eos   { --color1: #575757; --color2: #999999; }
.wallet-card.neo   { --color1: #58BF00; --color2: #A4E869; }
.wallet-card.mina  { --color1: #C3CADC; --color2: #A0B2D4; }
.wallet-card.ar    { --color1: #22F26B; --color2: #D9FF59; }
.wallet-card.icp   { --color1: #5929E2; --color2: #9F83F5; }
.wallet-card.theta { --color1: #2AB8E3; --color2: #82DDF4; }
.wallet-card.egld  { --color1: #A746FC; --color2: #D4A3FE; }
.wallet-card.kaia  { --color1: #7A42FF; --color2: #C09EFF; }
.wallet-card.cfx   { --color1: #3375FF; --color2: #80A9FF; }
.wallet-card.flow  { --color1: #00EF8B; --color2: #60FFB8; }
.wallet-card.rose  { --color1: #D94A7C; --color2: #F08EAF; }
.wallet-card.kda   { --color1: #ED098F; --color2: #F86CB8; }
.wallet-card.ckb   { --color1: #46D4A5; --color2: #86E6C5; }
.wallet-card.scrt  { --color1: #00B2E5; --color2: #6BD7F7; }
.wallet-card.one   { --color1: #00AEE9; --color2: #68D2F3; }
.wallet-card.stx   { --color1: #5546FF; --color2: #8C82FF; }
.wallet-card.zil   { --color1: #49C3B5; --color2: #86E1D7; }
.wallet-card.core  { --color1: #F4BE03; --color2: #FAD86B; }

.coin-name {
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 1rem; font-size: 2rem; font-weight: 700;
    margin-bottom: 1.5rem; color: #fff; width: 100%; position: relative; z-index: 1;
}
.coin-name img { width: 80px; height: 80px; }

.wallet-address {
    font-family: monospace; background: rgba(0,0,0,0.4); padding: 0.75rem 1rem;
    border-radius: 8px; word-break: break-all; font-size: 1.1rem;
    cursor: pointer; transition: background 0.3s ease, color 0.3s ease;
    position: relative; width: 100%; z-index: 1;
}
.wallet-address:hover { background: rgba(0,0,0,0.6); color: var(--accent); }

.copy-feedback {
    height: 1.5em; display: flex; align-items: center; justify-content: center;
    margin-top: 0.75rem; font-family: 'Comic Neue', cursive; font-weight: 700;
    font-size: 1.1rem; position: relative; z-index: 1;
}
.copy-notification { opacity: 0; transition: opacity 0.3s ease; color: var(--accent); }
.wallet-address.copied + .copy-feedback .copy-notification { opacity: 1; }

.network-notes {
    font-size: 1rem; opacity: 0.9; margin-top: 1rem; background: rgba(0,0,0,0.2);
    padding: 0.75rem; border-radius: 8px; border-left: 3px solid var(--color1, var(--accent));
    text-align: left; width: 100%; font-family: 'Comic Neue', cursive; position: relative; z-index: 1;
}
.network-notes ul { list-style: none; padding-left: 0; margin: 0; }
.network-notes li { margin-bottom: 0.5rem; line-height: 1.5; }
.network-notes strong { color: #fff; font-family: 'Poppins', sans-serif; }
.network-notes .lore { font-style: italic; opacity: 0.8; margin-bottom: 0.75rem; display: block;}
.network-notes .token-list {
    font-style: italic; opacity: 0.8; display: block;
    margin-top: 0.25rem; font-size: 0.9em;
}

.explorer-link {
    color: var(--text); text-decoration: none; opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease; margin-top: auto;
    padding-top: 1.5rem; position: relative; z-index: 1;
}
.explorer-link:hover { opacity: 1; color: var(--highlight); text-decoration: underline; }
.explorer-link .fa-external-link-alt { font-size: 0.8em; margin-left: 0.5em; }

footer {
    background: #0c0c10; padding: 2rem 1rem; font-size: 0.9rem;
    opacity: 0.8; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1);
}

.confetti {
    position: fixed; width: 10px; height: 10px; background-color: var(--highlight);
    opacity: 0; pointer-events: none; animation: confetti-fall 7s linear forwards;
}
@keyframes confetti-fall {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(var(--x-end, 0), 100vh) rotate(720deg); opacity: 0; }
}


#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #181818;
  color: #b0b0b0;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  z-index: 1000;
  transition: transform 0.5s ease-in-out;
  transform: translateY(0%);
  font-family: 'Poppins', sans-serif;
}

#cookie-banner.hidden {
  transform: translateY(120%);
}

#cookie-banner p {
  margin: 0;
  text-align: center;
}

#cookie-banner .banner-buttons {
  display: flex;
  gap: 15px;
}

#cookie-banner button {
  border: 1px solid #555;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s;
}

#reject-cookies-btn {
  background-color: transparent;
  color: #ccc;
}

#reject-cookies-btn:hover {
  background-color: #333;
}

#accept-cookies-btn {
  background-color: #4CAF50;
  color: #ffffff;
  border-color: #4CAF50;
}

#accept-cookies-btn:hover {
  background-color: #5cb85c;
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 0.5rem; }
    .header-text { text-align: center; }
}

@media (max-width: 420px) {
    .wallet-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
