@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    image-rendering: pixelated;
    font-smooth: never;
    -webkit-font-smoothing: none;
    box-sizing: border-box;
}

:root {
    --pink: #d2738a;
    --beige: #c1b492;
    --black: #000000;
    --dark-bg: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("/static/images/bg-dis-03.gif"), url("/static/images/bg-main.gif");
    background-color: var(--pink);
    color: var(--beige);
    overflow-x: hidden;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

a:link, a:visited, a:active {
    color: var(--pink);
}

a:hover {
    color: var(--beige);
    animation: wiredB2 1s ease-out infinite;
}

#navbar {
    background-color: transparent;
    background-image: url("/static/images/bg-rip.gif");
    width: 800px;
    max-width: 95%;
    height: auto;
    margin: 40px auto;
    box-shadow: black 0px 5px 10px;
    text-align: center;
    padding: 40px 20px;
}


h1 {
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    clear: both;
    letter-spacing: 8px;
}

h2 {
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    letter-spacing: 4px;
}

h5 {
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 4px;
}

h6 {
    font-size: 9px;
    font-weight: normal;
}

.intro, .copy {
    font-size: 11px;
}

.mail {
    font-size: 9px;
}

.logo {
    margin: 20px;
    max-width: 80px;
}

#navline {
    font-size: 13px;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.blinkFrame {
    font-weight: bolder;
    font-size: 30px;
    color: var(--pink);
}

.corner-brackets {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 0;
}

.corner-brackets .top-left {
    position: absolute;
    left: 0;
    top: 0;
}

.corner-brackets .top-right {
    position: absolute;
    right: 0;
    top: 0;
}

.corner-brackets .bottom-left {
    position: absolute;
    left: 0;
    bottom: 0;
}

.corner-brackets .bottom-right {
    position: absolute;
    right: 0;
    bottom: 0;
}

hr {
    border: none;
    border-top: 2px solid var(--pink);
    margin: 20px auto;
    width: 80%;
}

#enterWired {
    display: block;
    background-image: url("/static/images/lain-character.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 838px;
    max-width: 95%;
    height: 650px;
    margin: 30px auto;
}

.article {
    width: 800px;
    max-width: 95%;
    background-color: transparent;
    background-image: url("/static/images/bg-rip.gif");
    height: auto;
    margin: 40px auto;
    box-shadow: black 0px 5px 10px;
    text-align: center;
    padding: 40px 20px;
}

.article h1 {
    margin-bottom: 10px;
}

.author {
    color: var(--pink);
    margin-bottom: 5px;
}

.date {
    color: var(--beige);
    opacity: 0.7;
}

.article p {
    text-align: left;
    line-height: 1.8;
    margin: 15px 0;
    padding: 0 20px;
}

.iconA {
    width: 24px;
    height: 24px;
    margin: 0 auto 20px;
    color: var(--pink);
    font-size: 20px;
    line-height: 24px;
}

.iconA::before {
    content: "◆";
    color: var(--pink);
}

.article-icon {
    display: block;
    margin: 0 auto 20px;
    max-width: 80px;
    height: auto;
    image-rendering: pixelated;
}

.article-icon-wide {
    max-width: 200px;
}

.article-icon-meb {
    max-width: 85px;
}

.article-icon-face {
    max-width: 100px;
}

.article-icon-lips {
    max-width: 100px;
}

.blink {
    animation: blink 2s linear infinite;
}

.Bfast {
    animation: blink 2s ease-out infinite;
}

.wiredAnim {
    animation: wiredB 2s ease-in-out infinite;
}

.wdel1s {
    animation: wiredB 2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.wdel2s {
    animation: wiredB 2s ease-in-out infinite;
    animation-delay: 0.8s;
}

.wdel3s {
    animation: wiredB 2s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes blink {
    50% { color: black; }
}

@keyframes wiredB {
    50% {
        color: var(--beige);
        text-shadow: var(--pink) 1px 4px 5px;
    }
}

@keyframes wiredB2 {
    50% {
        color: var(--beige);
        text-shadow: var(--beige) 1px 1px 6px;
    }
}

.feature-list {
    list-style: none;
    text-align: left;
    padding: 20px 40px;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(210, 115, 138, 0.3);
}

.feature-list li::before {
    content: "⌈ ";
    color: var(--pink);
}

.feature-list li::after {
    content: " ⌋";
    color: var(--pink);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--pink);
    color: var(--beige);
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    letter-spacing: 3px;
    margin: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
}

.btn:link, .btn:visited, .btn:active {
    color: var(--beige);
}

.btn:hover {
    background: var(--pink);
    color: var(--black);
    box-shadow: var(--pink) 0 0 20px;
}

.btn-primary {
    background: var(--pink);
    color: var(--black);
}

.btn-primary:link, .btn-primary:visited, .btn-primary:active {
    color: var(--black);
}

.btn-primary:hover {
    background: var(--beige);
    border-color: var(--beige);
    color: var(--black);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.pricing-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--pink);
    padding: 30px 20px;
    width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card.featured {
    border-width: 2px;
    box-shadow: var(--pink) 0 0 15px;
}

.pricing-title {
    font-size: 16px;
    color: var(--pink);
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.pricing-price {
    font-size: 28px;
    color: var(--beige);
    margin: 15px 0;
}

.pricing-price span {
    font-size: 12px;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    font-size: 12px;
}

.pricing-features li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(210, 115, 138, 0.2);
}

.pricing-features li::before {
    content: "> ";
    color: var(--pink);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.voice-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(210, 115, 138, 0.3);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.voice-card:hover {
    border-color: var(--pink);
    box-shadow: var(--pink) 0 0 10px;
}

.voice-name {
    color: var(--pink);
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.voice-meta {
    font-size: 10px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.voice-price {
    color: var(--beige);
    font-size: 14px;
}

.waveform {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 10px 0;
}

.waveform span {
    width: 3px;
    background: var(--pink);
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 20%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 100%; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 60%; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 40%; animation-delay: 0.7s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

.footer {
    text-align: center;
    padding: 6px 20px 0;
    margin-top: 0;
    overflow: hidden;
}

.footer-finger-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -275px;
}

.footer-finger {
    width: 410px;
    height: auto;
    image-rendering: pixelated;
    margin-top: -110px;
}

.footer-text-overlay {
    position: absolute;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}

.footer-logo {
    font-size: 18px;
    color: var(--pink);
    letter-spacing: 6px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px #000, 0 0 4px #000, 0 0 25px #000, 0 0 35px rgba(0,0,0,0.8);
}

.footer-text {
    font-size: 10px;
    opacity: 0.95;
    text-shadow: 0 0 6px #000, 0 0 4px #000, 0 0 20px #000, 0 0 30px rgba(0,0,0,0.8);
}

.footer-social-overlay {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.footer-social-overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-overlay svg {
    width: 22px;
    height: 22px;
    fill: var(--pink);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 6px #000) drop-shadow(0 0 12px #000);
}

.footer-social-overlay svg:hover {
    fill: var(--beige);
    transform: scale(1.2);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--pink);
}

.social-links a svg {
    fill: var(--pink);
    width: 20px;
    height: 20px;
}

.social-links a:hover svg {
    fill: var(--black);
}

.phrase-container {
    height: 20px;
    line-height: 20px;
    display: block;
    font-size: 9px;
}

.music-player-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.music-player-trigger:hover {
    text-shadow: var(--pink) 0 0 10px;
}

.music-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--pink);
    padding: 15px;
    margin: 15px auto;
    max-width: 300px;
    font-size: 12px;
    overflow: hidden;
    transform-origin: center center;
}

.music-panel.hidden {
    display: none;
}

.music-panel.opening {
    display: block;
    animation: playerOpenWidth 0.25s ease-out forwards, 
               playerOpenHeight 0.35s ease-out 0.25s forwards;
    max-height: 2px;
    padding-top: 0;
    padding-bottom: 0;
}

.music-panel.opening .music-panel-content {
    animation: playerContentFade 0.3s ease-out 0.5s forwards;
    opacity: 0;
}

.music-panel.open {
    display: block;
}

@keyframes playerOpenWidth {
    0% {
        max-width: 0;
        border-left-width: 0;
        border-right-width: 0;
    }
    100% {
        max-width: 300px;
        border-left-width: 1px;
        border-right-width: 1px;
    }
}

@keyframes playerOpenHeight {
    0% {
        max-height: 2px;
        padding-top: 0;
        padding-bottom: 0;
    }
    100% {
        max-height: 120px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@keyframes playerContentFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.music-panel-content {
    opacity: 1;
}

.music-now-playing {
    text-align: center;
    margin-bottom: 10px;
}

#musicTrackTitle {
    display: block;
    color: var(--beige);
    font-size: 13px;
    margin-bottom: 3px;
}

#musicTrackArtist {
    display: block;
    color: var(--pink);
    font-size: 11px;
}

.music-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.music-progress span {
    color: var(--beige);
    font-size: 10px;
    min-width: 35px;
}

.music-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(210, 115, 138, 0.3);
    position: relative;
    cursor: pointer;
}

.music-progress-fill {
    height: 100%;
    background: var(--pink);
    width: 0%;
    transition: width 0.5s linear;
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.music-status-text {
    color: var(--pink);
    font-size: 10px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.music-play-btn {
    color: var(--beige);
    font-size: 14px;
    cursor: pointer;
    padding: 2px 8px;
    border: 1px solid var(--beige);
    opacity: 0.7;
    transition: all 0.2s ease;
    font-family: 'Times New Roman', Times, serif;
    margin-right: 8px;
}

.music-play-btn:hover {
    opacity: 1;
    border-color: var(--pink);
    color: var(--pink);
}

.music-mute {
    color: var(--beige);
    font-size: 14px;
    cursor: pointer;
    padding: 2px 6px;
    opacity: 0.7;
    transition: all 0.2s ease;
    font-family: 'Times New Roman', Times, serif;
}

.music-mute:hover {
    opacity: 1;
    color: var(--pink);
}

.music-live-indicator {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 850px) {
    #navbar, .article {
        width: 95%;
        margin: 20px auto;
        padding: 20px 15px;
        position: relative;
    }
    
    .corner-brackets {
        position: absolute;
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
    }
    
    .corner-brackets .top-left,
    .corner-brackets .top-right,
    .corner-brackets .bottom-left,
    .corner-brackets .bottom-right {
        position: absolute;
    }
    
    .corner-brackets .top-left {
        left: 0;
        top: 0;
    }
    
    .corner-brackets .top-right {
        right: 0;
        top: 0;
    }
    
    .corner-brackets .bottom-left {
        left: 0;
        bottom: 0;
    }
    
    .corner-brackets .bottom-right {
        right: 0;
        bottom: 0;
    }
    
    .blinkFrame {
        width: auto;
        float: none;
        font-size: 24px;
    }
    
    h1 {
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    #navline {
        font-size: 11px;
        letter-spacing: 4px;
    }
    
    #enterWired {
        height: 400px;
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 280px;
    }
}
