@import url('./root.css');

@media (max-width: 480px) {
    .big-title {
        font-size: 1.3rem;
    }
    .terminal {
        font-size: 0.92rem;
        padding: 10px 2px 10px 2px;
    }
}
@media (max-width: 600px) {
    .main-content {
        padding-top: 18px;
    }
    .big-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    .big-title .hungry,
    .big-title .henry {
        display: block;
    }
    .terminal {
        font-size: 0.98rem;
        padding: 14px 4vw 14px 4vw;
        max-width: 98vw;
    }
}
@media (max-width: 400px) {
    .big-title {
        font-size: 1rem;
    }
    .terminal {
        font-size: 0.85rem;
        padding: 8px 2vw 8px 2vw;
    }
}
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 18px;
}
.big-title {
    font-family: 'Gothic', 'Segoe UI', Arial, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
    text-align: center;
}
/* Kali终端风格 */
.terminal {
    background: var(--terminal-bg);
    border-radius: 8px;
    padding: 28px 24px 24px 24px;
    width: 80%;
    max-width: 600px;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1.2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    color: var(--terminal-text);
    margin: 0 auto;
    border: 2px solid var(--terminal-border);
    position: relative;
}
.terminal .title-bar {
    display: flex;
    align-items: center;
    height: 18px;
    margin-bottom: 10px;
}
.terminal .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.terminal .dot.red { background: #ff5f56; }
.terminal .dot.yellow { background: #ffbd2e; }
.terminal .dot.green { background: #27c93f; }
.terminal .prompt {
    color: var(--terminal-prompt);
}
.terminal .user {
    color: var(--terminal-user);
}
.terminal .host {
    color: var(--terminal-host);
}
.terminal .cmd {
    color:rgb(221, 125, 0);
}
.terminal .cursor {
    display: inline-block;
    width: 10px;
    background: var(--terminal-text);
    animation: blink 1s steps(1) infinite;
    height: 1.2em;
    vertical-align: bottom;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.terminal .desc {
    color: var(--terminal-text);
    margin-top: 12px;
    line-height: 1.7;
}
.terminal .desc a {
    color: var(--link-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.terminal .desc a:hover {
    color: var(--link-hover-color);
}
.scroll-down-tip {
  text-align: center;
  color: var(--scroll-down-tip-color);
  font-size: 1.1rem;
  margin-top: 32px;
  animation: fadeInUp 1s;
}
.arrow-down {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-left: 4px solid var(--scroll-down-tip-color);
  border-bottom: 4px solid var(--scroll-down-tip-color);
  transform: rotate(-45deg);
  margin-top: 8px;
  animation: bounce 1.2s infinite;
  cursor: pointer;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-45deg);}
  50% { transform: translateY(10px) rotate(-45deg);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
