/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #000;
    --card-bg-color: rgba(10, 10, 10, 0.75);
    --border-color: rgba(255, 255, 255, 0.2);
    --text-color: #f0f0f0;
    --icon-color: #a0a0a0;
    --icon-hover-color: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Roboto Mono', monospace;
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* --- Matrix Background --- */
.matrix-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  z-index: -1;
  animation: hue-cycle 30s linear infinite; /* Added for color changing effect */
}

.matrix-pattern {
  position: relative;
  width: 1000px;
  height: 100%;
  flex-shrink: 0;
}

.matrix-column {
  position: absolute;
  top: -100%;
  width: 20px;
  height: 100%;
  font-size: 16px;
  line-height: 18px;
  font-weight: bold;
  animation: fall linear infinite;
  white-space: nowrap;
}

.matrix-column::before {
  content: "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 5%,
    #00ff41 10%,
    #00ff41 20%,
    #00dd33 30%,
    #00bb22 40%,
    #009911 50%,
    #007700 60%,
    #005500 70%,
    #003300 80%,
    rgba(0, 255, 65, 0.5) 90%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  writing-mode: vertical-lr;
  letter-spacing: 1px;
}

@keyframes fall {
  0% { transform: translateY(-10%); opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* Added for color changing effect */
@keyframes hue-cycle {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* --- Main Content Layout --- */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Profile Card --- */
.profile-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.pfp {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.card-header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* New style for the verified icon image */
.verified-icon {
    height: 1.6rem; /* Adjust size as needed */
    width: auto;
    margin-left: 10px;
}

.subtitle {
    min-height: 24px;
    font-size: 1rem;
    color: var(--icon-color);
    margin-bottom: 2rem;
}

.cursor {
    display: inline-block;
    background-color: var(--text-color);
    width: 2px;
    margin-left: 4px;
    animation: blink 1s infinite;
}

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

.card-footer {
    display: flex;
    justify-content: flex-start; /* Changed from space-between */
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.view-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--icon-color);
}

/* New style for the views icon image */
.view-icon {
    height: 1rem; /* Adjust size as needed */
    width: auto;
}

/* --- Checkout Footer Link --- */
footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 20;
    font-size: 0.9rem;
    color: var(--icon-color);
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
