@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');

:root {
    --primary-color: #00ff9d;
    --secondary-color: #ff00ff;
    --background-color: #1e1e1e;
    --text-color: #d4d4d4;
    --border-color: #333333;
    --hover-color: #00ff9d;
    --code-bg: #252526;
    --terminal-bg: #000000;
}

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

body {
    font-family: 'Fira Code', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--code-bg);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.glitch {
    position: relative;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Language Switch */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--terminal-bg);
    border-color: var(--primary-color);
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Introduction Section */
.intro-section {
    padding: 20px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
    font-family: 'Fira Code', monospace;
}

.section-title::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
}

.bio-text.code-text {
    text-align: left;
    white-space: pre-line;
    padding: 18px 20px;
    font-size: 1rem;
    line-height: 1.8;
    word-break: break-word;
}

.personal-info {
    margin-top: 30px;
}

.personal-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.personal-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 157, 0.05);
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
}

/* Image Section */
.image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pixel-img {
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    object-fit: cover;
    background-color: var(--code-bg);
}

.image-caption {
    font-family: 'Fira Code', monospace;
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    background-color: var(--terminal-bg);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.pixel-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
    border-color: var(--primary-color);
}

.pixel-img:hover + .image-caption {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading {
    background: linear-gradient(
        90deg,
        var(--code-bg) 25%,
        var(--terminal-bg) 50%,
        var(--code-bg) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Social Links */
.social-section {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--code-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.9rem;
}

.social-btn:hover {
    background-color: var(--primary-color);
    color: var(--terminal-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Donation Section */
.donation-section {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background-color: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.donation-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.wallet-info, .bank-info {
    padding: 20px;
    background-color: var(--code-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 300px;
}

.wallet-info h3, .bank-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.wallet-address, .bank-account {
    margin-top: 10px;
    font-size: 0.9rem;
    word-break: break-all;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 255, 157, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.wallet-address:hover, .bank-account:hover {
    background-color: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
}

/* Code Effect */
.code-text {
    position: relative;
    color: var(--text-color);
    font-family: 'Fira Code', monospace;
    white-space: pre-wrap;
    overflow: hidden;
}

.code-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    animation: blink 1s step-end infinite;
}

.code-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 157, 0.03) 50%,
        transparent 100%
    );
    animation: scan 2s linear infinite;
}

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

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

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 4px;
    }
    .container {
        padding: 6px;
        max-width: 100vw;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    .intro-section, .iframe-section, .social-section, .donation-section {
        padding: 10px;
        margin: 8px 0;
    }
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .bio-text, .personal-info p {
        font-size: 0.95rem;
        padding: 8px;
    }
    .personal-info h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    .donation-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .wallet-info, .bank-info {
        max-width: 100%;
        width: 100%;
        padding: 10px;
    }
    .social-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .social-btn {
        width: 100%;
        font-size: 1rem;
        padding: 10px 0;
    }
    .iframe-section iframe {
        width: 100% !important;
        min-width: 0;
        border-radius: 10px;
    }
    footer {
        padding: 10px;
        font-size: 0.85rem;
    }
    .glitch {
        font-size: 2rem;
    }
    .image-container {
        grid-template-columns: 1fr;
    }
    .pixel-img {
        height: 250px; /* Smaller height on mobile */
    }
    .header-images {
        flex-direction: column;
    }
    .header-img-left, .header-img-right {
        width: 100%;
    }
    .header-gif {
        width: 98%;
        max-width: 400px;
        margin: 12px auto;
    }
}

.header-img {
    display: block;
    margin: 32px auto 24px auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 32px 0 rgba(0,255,157,0.18), 0 2px 24px 0 rgba(0,0,0,0.18);
    object-fit: cover;
    background: #111;
}

.header-gif {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 32px 0 rgba(0,255,157,0.18), 0 2px 24px 0 rgba(0,0,0,0.18);
    object-fit: cover;
    background: #111;
    margin: 0;
}

.header-images {
    display: flex;
    width: 100%;
    gap: 0;
}
.header-img-left, .header-img-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-gif {
    width: 95%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 32px 0 rgba(0,255,157,0.18), 0 2px 24px 0 rgba(0,0,0,0.18);
    object-fit: cover;
    background: #111;
    margin: 0;
}

#nft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.nft-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  width: 180px;
  background: var(--code-bg);
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0,255,157,0.05);
  font-family: 'Fira Code', monospace;
  color: var(--text-color);
  transition: box-shadow 0.2s;
}
.nft-card img {
  max-width: 100%;
  border-radius: 8px;
  background: #222;
}
.nft-card a {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.95em;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}
.nft-card a:hover {
  color: var(--secondary-color);
}
@media (max-width: 768px) {
  #nft-list {
    gap: 10px;
  }
  .nft-card {
    width: 98vw;
    max-width: 320px;
    margin: 0 auto;
    padding: 8px;
  }
}

.viet-gif {
  display: block;
  margin: 24px auto 0 auto;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 24px 0 rgba(0,255,157,0.12), 0 2px 16px 0 rgba(0,0,0,0.12);
  object-fit: cover;
  background: #111;
}
@media (max-width: 768px) {
  .viet-gif {
    max-width: 98vw;
    margin: 16px auto 0 auto;
  }
}

.donation-flex {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.donation-info-left {
  flex: 0 0 320px;
  min-width: 220px;
}
.donation-info-right {
  flex: 1;
  display: flex;
  align-items: stretch;
}
.nickname-explain {
  background: var(--code-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  color: var(--text-color);
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  line-height: 1.7;
  box-shadow: 0 0 16px 0 rgba(0,255,157,0.08);
}
.nickname-explain h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .donation-flex {
    flex-direction: column;
    gap: 18px;
  }
  .donation-info-left, .donation-info-right {
    width: 100%;
    min-width: 0;
  }
  .nickname-explain {
    margin-top: 8px;
    font-size: 0.98rem;
    padding: 12px 8px;
  }
} 