:root {
    --primary-color: #ffffff;
    --secondary-color: #00BFFF;
    --border-color: #00BFFF;
    --container-color: #22c8ff;
    --dark-color: #1a1a1a;
    --dark-accent: rgba(26, 26, 26, 0.9);
    --third-color: #ff66a3;
    --fourth-color: #ff9ec5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

body {
    background-color: var(--third-color);
    color: var(--secondary-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

body::before,
body::after {
    position: fixed;
    font-size: 24px;
    color: var(--fourth-color);
    opacity: 0.5;
    font-family: 'Press Start 2P', cursive;
    pointer-events: none;
    animation: float 20s linear infinite;
    z-index: -1;
}

body::before {
    top: 10%;
    left: 5%;
    animation: float 15s linear infinite;
}

body::after {
    content: ":)";
    bottom: 15%;
    right: 8%;
    animation: float 18s linear infinite reverse;
}

/* Tambahan pattern :D menggunakan spans */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    letter-spacing: -0.2em;
    z-index: -1;
    pointer-events: none;
}

.bg-pattern span {
    position: absolute;
    content: ":V";
    font-family: 'Press Start 2P', cursive;
    letter-spacing: -0.2em;
    color: var(--fourth-color);
    opacity: 0.3;
    font-size: 16px;
}

/* Baris 1 */
.bg-pattern span:nth-child(1) { content: ":V"; top: 8%; left: 15%; animation: float 22s linear infinite; }
.bg-pattern span:nth-child(2) { content: ":0"; top: 12%; left: 45%; animation: float 19s linear infinite reverse; }
.bg-pattern span:nth-child(3) { content: ":)"; top: 15%; right: 20%; animation: float 25s linear infinite; }
.bg-pattern span:nth-child(4) { content: ":D"; top: 20%; left: 30%; animation: float 21s linear infinite reverse; }
.bg-pattern span:nth-child(5) { content: ":V"; top: 25%; right: 35%; animation: float 23s linear infinite; }

/* Baris 2 */
.bg-pattern span:nth-child(6) { content: ":0"; top: 35%; left: 8%; animation: float 24s linear infinite; }
.bg-pattern span:nth-child(7) { content: ":)"; top: 40%; right: 15%; animation: float 20s linear infinite reverse; }
.bg-pattern span:nth-child(8) { content: ":D"; top: 45%; left: 35%; animation: float 26s linear infinite; }
.bg-pattern span:nth-child(9) { content: ":V"; top: 48%; right: 40%; animation: float 22s linear infinite reverse; }
.bg-pattern span:nth-child(10) { content: ":0"; top: 52%; left: 22%; animation: float 21s linear infinite; }

/* Baris 3 */
.bg-pattern span:nth-child(11) { content: ":)"; top: 65%; right: 25%; animation: float 23s linear infinite; }
.bg-pattern span:nth-child(12) { content: ":D"; top: 70%; left: 40%; animation: float 19s linear infinite reverse; }
.bg-pattern span:nth-child(13) { content: ":V"; top: 75%; right: 10%; animation: float 24s linear infinite; }
.bg-pattern span:nth-child(14) { content: ":0"; top: 80%; left: 15%; animation: float 22s linear infinite reverse; }
.bg-pattern span:nth-child(15) { content: ":)"; top: 85%; right: 30%; animation: float 25s linear infinite; }

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(90deg);
    }
    50% {
        transform: translate(-15px, 25px) rotate(180deg);
    }
    75% {
        transform: translate(15px, 20px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    padding-top: 15px;
}

header.scrolled {
    background: rgba(255, 102, 163);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

header.scrolled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.logo-container {
    max-width: 1200px;
    padding: 5px 0;
    text-align: center;
}

.logo {
    font-size: 32px;
    color: var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 
        2px 2px 0 #0074e9,
        4px 4px 0 #005fbe,
        6px 6px 0 #004C99,
        8px 8px 8px rgba(0, 0, 0, 0.2);
    margin-top: -5px;
}

.logo span {
    position: relative;
    z-index: 3;
}

.logo:hover {
    transform: translateY(-2px);
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 0 20px;
}

/* Hapus style pixel-border karena tidak digunakan */
.pixel-border::before {
    display: none;
}

/* Token Info Styles */
.vote-container, .token-info {
    margin: 30px 0;
    padding: 20px;
    background: var(--secondary-color);
    border: 4px solid var(--dark-color);
    box-shadow:10px 10px 0 var(--dark-color);
}

.token-info h3 {
    font-size: 14px;
    font-weight: 900;
    width: calc(100% + 40px);  /* tambah 2x padding container */
    background: var(--primary-color);
    padding: 12px 15px;
    color: var(--dark-color);
    border-bottom: 4px solid var(--dark-color);
    margin: -20px -20px 20px -20px;  /* negatif padding container */
}

.token-info-content {
    padding: 20px;
}

.token-info .pixel-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.token-button {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
    font-weight: 750;
    background: var(--fourth-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--dark-color);
    text-align: center;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.token-button:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--dark-color);
}

.token-button:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.pixel-text {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark-color);
    font-family: 'Jersey 10', sans-serif;
    font-size: 18px;
}

/* Pastikan heading tetap menggunakan font pixel */
h2.pixel-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
}

h3.pixel-text {
    font-family: 'Press Start 2P', cursive;
}

/* Hapus duplikasi font-family di h2 dan h3 umum */
h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: var(--dark-color);
    font-size: 12px;
    font-family: 'Jersey 10', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

footer p a {
    text-decoration: none;
}

footer p img {
    height: 1em;      /* Set image height to match the text size */
    width: auto;      /* Maintain aspect ratio */
    vertical-align: -0.1em; /* Slightly nudge vertically to align with baseline */
    display: inline-block;
    top: -2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotating Emoji Styles */
.rotating-emoji {
    display: inline-block;
    margin-right: 5px;
    font-family: 'Press Start 2P', cursive;
    animation: rotateEmoji 1s steps(1) infinite;
    letter-spacing: -0.2em;
    vertical-align: middle;
}

@keyframes rotateEmoji {
    0% {
        content: ":V";
    }
    6.67% {
        content: ":0";
    }
    13.33% {
        content: ":)";
    }
    20% {
        content: ":D";
    }
    26.67% {
        content: "XD";
    }
    33.33% {
        content: "UwU";
    }
    40% {
        content: "OwO";
    }
    46.67% {
        content: "^_^";
    }
    53.33% {
        content: "^-^";
    }
    60% {
        content: "^w^";
    }
    66.67% {
        content: ";D";
    }
    73.33% {
        content: "B)";
    }
    80% {
        content: ":3";
    }
    86.67% {
        content: ":P";
    }
    100% {
        content: ":V";
    }
}

/* Token Grid Styles */
.token-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.token-data-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: var(--primary-color);
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-data-item:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0 var(--dark-color);
}

.token-data-item .label {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-color);
    opacity: 0.8;
}

.token-data-item .value {
    font-family: 'Jersey 10', sans-serif;
    font-size: 16px;
    color: var(--dark-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-change {
    font-size: 14px;
    font-weight: normal;
}

.token-data-item .positive {
    color: #006400; /* Dark green */
}

.token-data-item .negative {
    color: #8B0000; /* Dark red */
}

.contract-address {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 15px 8px 8px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .container {
        margin: 100px auto 20px;
    }

    .content-section {
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 4px 4px 0 var(--dark-color);
    }

    h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .pixel-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .vote-container, .token-info {
        padding: 15px;
    }

    .token-info h3 {
        width: calc(100% + 30px);
        margin: -15px -15px 15px -15px;
        padding: 10px 12px;
    }

    .token-info-content {
        padding: 15px;
    }

    .token-info .pixel-text {
        font-size: 12px;
    }

    .token-button {
        padding: 12px;
        font-size: 12px;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--dark-color);
    }

    h2.pixel-text {
        font-size: 24px;
    }

    footer {
        font-size: 11px;
        padding: 15px;
    }

    .token-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .token-data-item {
        padding: 12px;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--dark-color);
    }

    .token-data-item .label {
        font-size: 10px;
    }

    .token-data-item .value {
        font-size: 14px;
    }

    .contract-address {
        font-size: 10px;
    }

    .price-change {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 6px 6px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .container {
        margin: 80px auto 15px;
        padding: 0 15px;
    }

    .content-section {
        padding: 15px;
        margin-bottom: 15px;
        border-width: 2px;
        box-shadow: 3px 3px 0 var(--dark-color);
    }

    h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .pixel-text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .token-info h3 {
        width: calc(100% + 24px);
        margin: -12px -12px 12px -12px;
        padding: 8px 10px;
        border-bottom-width: 2px;
    }

    .token-info-content {
        padding: 12px;
    }

    .token-info .pixel-text {
        font-size: 10px;
    }

    .token-button {
        padding: 10px;
        font-size: 10px;
        box-shadow: 2px 2px 0 var(--dark-color);
    }

    h2.pixel-text {
        font-size: 20px;
    }

    footer {
        font-size: 10px;
        padding: 12px;
    }

    .token-grid {
        gap: 12px;
    }

    .token-data-item {
        padding: 10px;
        box-shadow: 2px 2px 0 var(--dark-color);
    }

    .token-data-item .label {
        font-size: 8px;
    }

    .token-data-item .value {
        font-size: 12px;
    }

    .contract-address {
        font-size: 8px;
    }

    .price-change {
        font-size: 10px;
    }
}

/* Vote Container Styles */
.vote-container h3 {
    font-size: 14px;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: 'Press Start 2P', cursive;
}

.vote-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.vote-btn {
    flex: 1;
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fun-btn {
    background: #00b894;
    color: white;
}

.not-fun-btn {
    background: #d63031;
    color: white;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 var(--dark-color);
}

.vote-btn:active {
    transform: translateY(2px);
    box-shadow: 1px 1px 0 var(--dark-color);
}

.vote-btn i {
    font-size: 16px;
}

.progress-container {
    margin-top: 20px;
}

.progress-bar {
    height: 30px;
    background: var(--primary-color);
    border: 3px solid var(--dark-color);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00b894;
    width: 0%;
    position: relative;
    transition: width 1.5s ease-in-out;
    float: left;
}

.progress-fill-not-fun {
    height: 100%;
    background: #d63031;
    width: 0%;
    position: relative;
    transition: width 1.5s ease-in-out;
    float: right;
}

.progress-fill::before,
.progress-fill-not-fun::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: loading 1.5s infinite linear;
    display: none;
}

.progress-fill.loading::before,
.progress-fill-not-fun.loading::before {
    display: block;
}

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

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--dark-color);
}

/* Hapus style warna untuk label */
.fun-label, .not-fun-label {
    font-weight: bold;
}

.percentage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.total-votes {
    text-align: center;
    margin-top: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-color);
}

.vote-result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    background-color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.vote-result.show {
    opacity: 1;
    transform: translateY(0);
    background-color: var(--secondary-color);
}

/* Responsive adjustments for voting */
@media (max-width: 768px) {
    .vote-container {
        padding: 15px;
    }

    .vote-btn {
        padding: 10px;
        font-size: 10px;
    }

    .vote-btn i {
        font-size: 14px;
    }

    .progress-labels {
        font-size: 8px;
    }

    .total-votes {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .vote-container {
        padding: 12px;
    }

    .vote-buttons {
        gap: 10px;
    }

    .vote-btn {
        padding: 8px;
        font-size: 8px;
    }

    .vote-btn i {
        font-size: 12px;
    }

    .progress-labels {
        font-size: 6px;
    }

    .total-votes {
        font-size: 8px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--primary-color);
    padding: 25px;
    border: 4px solid var(--dark-color);
    box-shadow: 10px 10px 0 var(--dark-color);
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    padding: 5px;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.modal-value {
    font-family: 'Jersey 10', sans-serif;
    font-size: 24px;
    color: var(--dark-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tambahkan style khusus untuk tombol copy di modal */
.modal-value .copy-btn {
    margin-left: auto; /* Mendorong tombol ke kanan */
    background: var(--fourth-color);
    padding: 6px 12px;
    min-width: 40px;
    min-height: 30px;
}

.modal-value .copy-btn:hover {
    background: var(--third-color);
}

.modal-value .copy-btn.copied {
    background: var(--secondary-color);
}

.modal-value .copy-icon,
.modal-value .check-icon {
    font-size: 16px;
}

@media (max-width: 768px) {
    .modal-value .copy-btn {
        padding: 4px 8px;
        min-width: 32px;
        min-height: 24px;
    }
    
    .modal-value .copy-icon,
    .modal-value .check-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-value .copy-btn {
        padding: 3px 6px;
        min-width: 28px;
        min-height: 20px;
    }
    
    .modal-value .copy-icon,
    .modal-value .check-icon {
        font-size: 12px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    display: none;
}

/* Disable zoom on mobile */
html {
    touch-action: manipulation;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Remove blue highlight on mobile */
button, 
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
}

button:focus,
a:focus {
    outline: none;
}

/* Copy Button Styles */
.copy-btn {
    background: var(--fourth-color);
    border: 2px solid var(--dark-color);
    padding: 4px 8px;
    margin-left: 8px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    position: relative;
    box-shadow: 2px 2px 0 var(--dark-color);
    transition: all 0.2s ease;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 24px;
    color: var(--dark-color);
}

.copy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 3px 3px 0 var(--dark-color);
    background: var(--third-color);
}

.copy-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 1px 1px 0 var(--dark-color);
}

.copy-icon, .check-icon {
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 14px;
}

.check-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    color: var(--dark-color);
}

.copy-btn.copied {
    background: var(--secondary-color);
    color: white;
}

.copy-btn.copied .copy-icon {
    transform: scale(0);
    opacity: 0;
}

.copy-btn.copied .check-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    color: white;
}

/* Responsive adjustments for copy button */
@media (max-width: 768px) {
    .copy-btn {
        padding: 3px 6px;
        font-size: 10px;
        margin-left: 6px;
        min-width: 28px;
        min-height: 20px;
    }
    
    .copy-icon, .check-icon {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .copy-btn {
        padding: 2px 4px;
        font-size: 8px;
        margin-left: 4px;
        min-width: 24px;
        min-height: 18px;
        border-width: 1px;
        box-shadow: 1px 1px 0 var(--dark-color);
    }
    
    .copy-icon, .check-icon {
        font-size: 10px;
    }
} 

.animation-emoji-logo {
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-color);
    margin: 20px 0;
    transform: scale(1.5);
}
.content-section {
    background: var(--third-color);
    border: 4px solid var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    padding: 20px;
    overflow: hidden;
    margin-top: 20px;
}
/* Chat Section Styles */
.chat-section {
    background: var(--primary-color);
    border: 4px solid var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    overflow: hidden;
    margin-top: 20px;
}

.chat-header {
    background: var(--third-color);
    padding: 10px;
    border-bottom: 4px solid var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-emoji {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: 3px solid var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--dark-color);
    object-fit: cover;
}

.chat-profile h3 {
    color: var(--dark-color);
    margin: 0;
    font-size: 14px;
}

.chat-container {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--primary-color);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--primary-color);
}

.chat-container::-webkit-scrollbar {
    width: 8px;
}

.chat-container::-webkit-scrollbar-track {
    background: var(--primary-color);
    border: 2px solid var(--dark-color);
}

.chat-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border: 2px solid var(--dark-color);
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: var(--third-color);
}

.message {
    max-width: 80%;
    padding: 6px 8px;
    font-family: 'Jersey 10', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.user-message {
    background: var(--third-color);
    color: var(--dark-color);
    margin-left: auto;
    border: 2px solid var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
}

.ai-message {
    background: var(--secondary-color);
    color: var(--dark-color);
    margin-right: auto;
    border: 2px solid var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
}

.chat-input-container {
    padding: 15px;
    border-top: 4px solid var(--dark-color);
    background: var(--primary-color);
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

#userInput {
    flex: 1;
    min-height: 45px;
    max-height: 120px;
    padding: 12px;
    border: 3px solid var(--dark-color);
    font-family: 'Jersey 10', sans-serif;
    font-size: 14px;
    resize: none;
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
    line-height: 1.4;
    overflow-y: auto;
}

#userInput:focus {
    outline: none;
    box-shadow: 4px 4px 0 var(--dark-color);
}

#sendMessage {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: 3px solid var(--dark-color);
    background: var(--secondary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--dark-color);
    transition: all 0.2s ease;
}

#sendMessage:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--dark-color);
}

#sendMessage:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chat-input-container {
        padding: 12px;
    }
    
    #userInput {
        min-height: 40px;
        padding: 10px;
        font-size: 13px;
    }
    
    #sendMessage {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .chat-input-container {
        padding: 10px;
    }
    
    #userInput {
        min-height: 35px;
        padding: 8px;
        font-size: 12px;
    }
    
    #sendMessage {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
}

.clear-chat-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--dark-color);
    background: var(--primary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--dark-color);
    transition: all 0.2s ease;
}

.clear-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--dark-color);
}

.clear-chat-btn:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 var(--dark-color);
}

@media (max-width: 768px) {
    .clear-chat-btn {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .clear-chat-btn {
        width: 25px;
        height: 25px;
    }
}

.chat-info {
    padding: 10px 15px;
    background: var(--secondary-color);
    border-bottom: 4px solid var(--dark-color);
}

.chat-info p {
    margin: 0;
    font-size: 12px;
    color: var(--dark-color);
    font-family: 'Jersey 10', sans-serif;
    text-align: center;
}

.chat-info code {
    background: var(--primary-color);
    padding: 2px 6px;
    border: 2px solid var(--dark-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    box-shadow: 2px 2px 0 var(--dark-color);
}

@media (max-width: 768px) {
    .chat-info p {
        font-size: 11px;
    }
    
    .chat-info code {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .chat-info {
        padding: 8px 12px;
    }
    
    .chat-info p {
        font-size: 10px;
    }
    
    .chat-info code {
        font-size: 8px;
        padding: 1px 4px;
    }
}

/* Typing Animation Styles */
.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 15px;
    background: var(--secondary-color);
    border: 2px solid var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
    max-width: 60px;
    margin-right: auto;
}

.typing span {
    width: 8px;
    height: 8px;
    background: var(--dark-color);
    animation: typingAnimation 1s infinite ease-in-out;
}

.typing span:nth-child(1) {
    animation-delay: 200ms;
}

.typing span:nth-child(2) {
    animation-delay: 300ms;
}

.typing span:nth-child(3) {
    animation-delay: 400ms;
}

@keyframes typingAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px) rotate(360deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive adjustments for typing animation */
@media (max-width: 768px) {
    .typing {
        padding: 10px 12px;
        max-width: 50px;
        gap: 3px;
    }
    
    .typing span {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .typing {
        padding: 8px 10px;
        max-width: 40px;
        gap: 2px;
    }
    
    .typing span {
        width: 4px;
        height: 4px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-emoji {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .profile-emoji {
        width: 30px;
        height: 30px;
    }
}

/* DEX Section Styles */
.dex-section {
    background: var(--primary-color);
    border: 4px solid var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    padding: 20px;
    overflow: hidden;
    margin-top: 20px;
}

.dex-header {
    background: var(--third-color);
    padding: 15px;
    border-bottom: 4px solid var(--dark-color);
    margin: -20px -20px 20px -20px;
}

.dex-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dex-logo {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: 3px solid var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--dark-color);
    object-fit: cover;
}

.dex-profile h3 {
    color: var(--dark-color);
    margin: 0;
    font-size: 14px;
}

.countdown-container {
    padding: 20px;
    text-align: center;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-item {
    background: var(--secondary-color);
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
    min-width: 80px;
}

.countdown-item span {
    display: block;
    font-family: 'Press Start 2P', cursive;
}

.countdown-item span:first-child {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.countdown-item .label {
    font-size: 10px;
    color: var(--dark-color);
}

.launch-info {
    font-family: 'Press Start 2P', cursive;
    color: var(--dark-color);
    font-size: 12px;
    line-height: 1.6;
}

.launch-time {
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive adjustments for DEX section */
@media (max-width: 768px) {
    .dex-logo {
        width: 35px;
        height: 35px;
    }

    .dex-profile h3 {
        font-size: 12px;
    }

    .countdown-wrapper {
        gap: 10px;
    }

    .countdown-item {
        padding: 10px;
        min-width: 60px;
    }

    .countdown-item span:first-child {
        font-size: 18px;
    }

    .countdown-item .label {
        font-size: 8px;
    }

    .launch-info {
        font-size: 10px;
    }

    .launch-time {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dex-logo {
        width: 30px;
        height: 30px;
    }

    .dex-profile h3 {
        font-size: 10px;
    }

    .countdown-item {
        padding: 8px;
        min-width: 50px;
    }

    .countdown-item span:first-child {
        font-size: 16px;
    }

    .countdown-item .label {
        font-size: 7px;
    }

    .launch-info {
        font-size: 9px;
    }

    .launch-time {
        font-size: 11px;
    }
}

.launched {
    color: var(--dark-color);
    font-size: 18px;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .launched {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .launched {
        font-size: 14px;
    }
}

/* Airdrop Section Styles */
.airdrop-section {
    background: var(--primary-color);
    border: 4px solid var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    padding: 20px;
    overflow: hidden;
    margin-top: 20px;
}

.airdrop-header {
    background: var(--third-color);
    padding: 15px;
    border-bottom: 4px solid var(--dark-color);
    margin: -20px -20px 20px -20px;
}

.airdrop-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.airdrop-logo {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: 3px solid var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--dark-color);
    object-fit: cover;
}

.airdrop-profile h3 {
    color: var(--dark-color);
    margin: 0;
    font-size: 14px;
}

.airdrop-profile i {
    color: var(--dark-color);
    margin: 0;
    font-size: 24px;
}

.airdrop-container {
    padding: 20px;
}

.airdrop-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#addressInput {
    flex: 1;
    min-height: 45px;
    padding: 12px;
    border: 3px solid var(--dark-color);
    font-family: 'Jersey 10', sans-serif;
    font-size: 14px;
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
    line-height: 1.4;
}

#addressInput:focus {
    outline: none;
    box-shadow: 4px 4px 0 var(--dark-color);
}

#checkAirdrop {
    width: 45px;
    height: 45px;
    border: 3px solid var(--dark-color);
    background: var(--secondary-color);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--dark-color);
    transition: all 0.2s ease;
}

#checkAirdrop:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--dark-color);
}

#checkAirdrop:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background: var(--primary-color);
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
}

.result-item.highlight {
    grid-column: 1 / -1;
    background: var(--secondary-color);
}

.result-item .label {
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.result-item .value {
    display: block;
    font-family: 'Jersey 10', sans-serif;
    font-size: 18px;
    color: var(--dark-color);
    font-weight: bold;
}

.airdrop-info {
    background: var(--primary-color);
    padding: 15px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
}

.airdrop-info p {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.contract-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Jersey 10', sans-serif;
    font-size: 14px;
    color: var(--dark-color);
}

.error-message {
    background: #ff6b6b;
    color: white;
    padding: 10px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
    margin-top: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    text-align: center;
}

/* Responsive adjustments for airdrop section */
@media (max-width: 768px) {
    .airdrop-logo {
        width: 35px;
        height: 35px;
    }

    .airdrop-profile h3 {
        font-size: 12px;
    }

    .airdrop-profile i {
        font-size: 20px;
    }

    #addressInput {
        min-height: 40px;
        padding: 10px;
        font-size: 13px;
    }

    #checkAirdrop {
        width: 40px;
        height: 40px;
    }

    .result-item .label {
        font-size: 10px;
    }

    .result-item .value {
        font-size: 16px;
    }

    .airdrop-info p {
        font-size: 10px;
    }

    .contract-display {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .airdrop-logo {
        width: 30px;
        height: 30px;
    }

    .airdrop-profile h3 {
        font-size: 10px;
    }

    .airdrop-profile i {
        font-size: 16px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-item .label {
        font-size: 9px;
    }

    .result-item .value {
        font-size: 14px;
    }

    .airdrop-info p {
        font-size: 9px;
    }

    .contract-display {
        font-size: 11px;
    }
}

.eligibility-message {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    padding: 10px;
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
}

.eligible {
    background: #00b894;
    color: white;
}

.not-eligible {
    background: #d63031;
    color: white;
}

@media (max-width: 768px) {
    .eligibility-message {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .eligibility-message {
        font-size: 10px;
        padding: 6px;
    }
}

/* Dex Buttons Styles */
.dex-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.dex-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--primary-color);
    border: 3px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dex-button:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--dark-color);
}

.dex-button:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.dex-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dex-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .dex-button {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .dex-button img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .dex-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .dex-button {
        padding: 6px 10px;
        font-size: 8px;
    }
    
    .dex-button img {
        width: 16px;
        height: 16px;
    }
}

/* Style khusus untuk halaman 403 */
.token-info.error-403 {
    border: 2px solid var(--third-color);
    animation: errorPulse 2s infinite;
}

@keyframes errorPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 102, 163, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 102, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 163, 0);
    }
}

.error-403-text {
    color: var(--third-color);
    text-shadow: 2px 2px var(--dark-color);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px var(--dark-color);
    }
    25% {
        text-shadow: -2px 2px var(--third-color);
    }
    50% {
        text-shadow: 2px -2px var(--fourth-color);
    }
    75% {
        text-shadow: -2px -2px var(--dark-color);
    }
    100% {
        text-shadow: 2px 2px var(--dark-color);
    }
}