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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.mute-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: none;
}

.mute-button:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.mute-icon {
    width: 100%;
    height: 100%;
    fill: #fff;
    transition: all 0.3s ease;
}

.intro-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-content {
    text-align: center;
    z-index: 10;
}

.intro-logo {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -5px;
    margin-bottom: 60px;
    text-shadow: 
        -4px -4px 0 #000,  
         4px -4px 0 #000,
        -4px  4px 0 #000,
         4px  4px 0 #000,
        -3px -3px 0 #000,  
         3px -3px 0 #000,
        -3px  3px 0 #000,
         3px  3px 0 #000,
        -2px -2px 0 #000,  
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

.ready-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: linear-gradient(
        45deg,
        #A65FFF 0%,
        #A65FFF 16.66%,
        #FF5F5F 16.66%,
        #FF5F5F 33.33%,
        #FFA533 33.33%,
        #FFA533 50%,
        #FFE933 50%,
        #FFE933 66.66%,
        #5FFF73 66.66%,
        #5FFF73 83.33%,
        #33D6FF 83.33%,
        #33D6FF 100%
    );
    background-size: 800px 800px;
    animation: stripeMoveIntro 8s linear infinite;
    border-radius: 50px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ready-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
}

.ready-box .pill-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.ready-box .ready-text {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-subtitle {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.intro-prompt {
    font-size: 20px;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

.intro-footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-family: monospace;
    text-align: center;
}

.contract-address {
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contract-address:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.copied-message {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff88;
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.copied-message.show {
    opacity: 1;
}

.background-stripes {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        #A65FFF 0%,
        #A65FFF 16.66%,
        #FF5F5F 16.66%,
        #FF5F5F 33.33%,
        #FFA533 33.33%,
        #FFA533 50%,
        #FFE933 50%,
        #FFE933 66.66%,
        #5FFF73 66.66%,
        #5FFF73 83.33%,
        #33D6FF 83.33%,
        #33D6FF 100%
    );
    background-size: 800px 800px;
    animation: stripeMoveGame 3s linear infinite;
    z-index: -1;
    transform: rotate(45deg);
    display: none;
}

@keyframes stripeMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 800px 800px;
    }
}

@keyframes stripeMoveIntro {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 800px 800px;
    }
}

@keyframes stripeMoveGame {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 800px 800px;
    }
}

.background-stripes-bw {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        #666 0%,
        #666 16.66%,
        #888 16.66%,
        #888 33.33%,
        #999 33.33%,
        #999 50%,
        #aaa 50%,
        #aaa 66.66%,
        #bbb 66.66%,
        #bbb 83.33%,
        #ccc 83.33%,
        #ccc 100%
    );
    background-size: 800px 800px;
    animation: stripeMoveIntro 8s linear infinite;
    z-index: -1;
    transform: rotate(45deg);
}

.landing-page, .main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 
        -3px -3px 0 #000,  
         3px -3px 0 #000,
        -3px  3px 0 #000,
         3px  3px 0 #000,
        -2px -2px 0 #000,  
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

.token-id-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.token-id {
    font-size: 14px;
    opacity: 0.7;
    font-family: monospace;
    word-break: break-all;
    max-width: 400px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.token-id:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.main-copied-message {
    color: #00ff88;
    font-weight: 300;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.main-copied-message.show {
    opacity: 1;
}

nav {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

nav a:hover {
    border-bottom: 1px solid #fff;
}

.character-container {
    position: absolute;
    /* Adjust these values to position the character */
    top: 67.5%;  /* Change this to move up/down (e.g., 30%, 70%) */
    left: 50%; /* Change this to move left/right (e.g., 20%, 80%) */
    transform: translate(-50%, -50%) scale(1.5); /* Add scale value here (e.g., scale(0.5) for half size, scale(2) for double size) */
    z-index: 10;
}

.character-container img {
    /* Adjust this value to change character size */
    width: 400px; /* Change this to make character bigger/smaller */
    height: auto;
}

/* Scale up character for higher resolutions */
@media (min-width: 1440px) {
    .character-container img {
        width: 500px;
    }
}

@media (min-width: 1920px) {
    .character-container img {
        width: 600px;
    }
}

@media (min-width: 2560px) {
    .character-container img {
        width: 800px;
    }
}

.character-container.bouncing {
    animation: characterBounce 0.4s ease-in-out infinite;
}


@keyframes characterBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1.5);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px) scale(1.62);
    }
}

.enter-prompt {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pnl-popup {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.85) 100%);
    border: 2px solid rgba(0, 255, 136, 0.8);
    border-radius: 16px;
    padding: 24px 32px;
    display: none;
    z-index: 100;
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    min-width: 280px;
    opacity: 0;
    animation: pnlFadeIn 0.5s ease-out forwards;
}

@keyframes pnlFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.pnl-popup.fade-out {
    animation: pnlFadeOut 0.5s ease-in forwards;
}

@keyframes pnlFadeOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.pnl-popup .pnl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.pnl-popup .pnl-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnl-popup .user-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #333, #555);
    border: 1px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pnl-popup .pnl-values {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pnl-popup .pnl-value {
    font-size: 28px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    line-height: 1;
}

.pnl-popup .pnl-percent {
    font-size: 14px;
    color: #00ff88;
    opacity: 0.8;
    line-height: 1;
}

.pnl-popup .menu-icon {
    font-size: 24px;
    color: #888;
    cursor: pointer;
}

.whatsapp-messages {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
}

.whatsapp-message {
    background: #fff;
    color: #000;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.5s ease-out;
    position: relative;
}

.whatsapp-message::before {
    content: '💬';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-message .sender {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #25d366;
}

.whatsapp-message .text {
    font-size: 16px;
    line-height: 1.4;
}

.community-quotes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.community-quote {
    background: #1a1a1a;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.5s ease-out;
    border: 1px solid #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.community-quote .user {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #1DA1F2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-quote .user::before {
    content: '';
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #FF5F5F, #A65FFF);
    border-radius: 50%;
    display: inline-block;
}

.community-quote .message {
    font-size: 16px;
    line-height: 1.4;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}