/* Ghostline.tel specific styling */
.ghostline-page {
    background: linear-gradient(120deg, 
        #000000 0%,
        #111318 25%, 
        #1a1040 50%,
        #111318 75%,
        #000000 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #00FF9C;
    font-family: 'VT323', monospace;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    cursor: url('../images/ghostlinetel/mouse.png') 0 0, auto;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    z-index: -1;
    opacity: 0.5;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 156, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 156, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center;
    z-index: 0;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    opacity: 0.15;
    pointer-events: none;
}

.scanlines::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(0, 255, 156, 0.1),
        transparent 50%
    );
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzby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qYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    z-index: 1;
    opacity: 0.03;
    pointer-events: none;
}

.ghostline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 3px double rgba(0, 255, 156, 0.2);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 156, 0.1),
        0 0 15px rgba(0, 255, 156, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.ghostline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.phone-icon {
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.phone-icon svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.3));
    transition: all 0.3s ease;
}

.phone-icon path {
    fill: url(#teleGradient);
}

.gradient-animation {
    animation: moveGradient 4s linear infinite;
}

@keyframes moveGradient {
    to { offset-distance: 100%; }
}

.phone-icon:hover {
    transform: translateY(-2px) rotate(-15deg);
}

.phone-icon:hover svg {
    filter: drop-shadow(0 0 12px rgba(142, 255, 203, 0.5));
}

.site-name {
    font-size: 2.5rem;
    color: #00FF9C;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 156, 0.5),
                 4px 4px 0 rgba(255, 0, 128, 0.3);
    transform: skew(-5deg);
    background: linear-gradient(to right, 
        #00ff9c 0%,
        #00b4ff 33%,
        #ff00ff 66%,
        #00ff9c 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.error-code {
    font-size: 12rem;
    line-height: 0.8;
    margin: 1rem 0 0.5rem;
    font-weight: 700;
    color: transparent;
    font-family: 'Orbitron', sans-serif;
    -webkit-text-stroke: 2px #ff00ff;
    text-shadow: 
        4px 4px 0 #00ff9c,
        -4px -4px 0 #00b4ff;
    animation: textGlitch 3s infinite;
    position: relative;
}

.error-code::before {
    content: "ERROR";
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: #FF2E6C;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.5rem;
    text-shadow: none;
    opacity: 0.7;
}

@keyframes textGlitch {
    0%, 100% { transform: none; }
    92% { transform: skew(2deg); }
    94% { transform: skew(-3deg); }
    96% { transform: skew(0deg); }
}

.error-title {
    font-size: 3rem;
    color: #FFF;
    margin: 0 0 2rem;
    font-weight: 700;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 0 #00FF9C;
}

.subtitle {
    margin-bottom: 2.5rem;
}

.subtitle p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #00CC99;
    margin: 0 0 1rem;
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 1px 1px 2px rgba(0, 255, 156, 0.3);
}

.tech-note {
    font-family: 'VT323', monospace;
    font-size: 0.9rem !important;
    color: #00CC99 !important;
    opacity: 0.8;
    padding: 1rem;
    background: rgba(0, 255, 156, 0.05);
    border-radius: 3px;
    margin-top: 1rem !important;
    border: 1px solid #00FF9C;
    position: relative;
}

.tech-note::before {
    content: '>';
    position: absolute;
    left: 0.5rem;
    color: #00FF9C;
    animation: blink 1s infinite;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ghost-button {
    background: rgba(0, 255, 156, 0.05);
    color: #00FF9C;
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-family: 'VT323', monospace;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 156, 0.1),
        0 0 15px rgba(0, 255, 156, 0.1);
    outline: none;
    position: relative;
}

.ghost-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 1px solid rgba(0, 255, 156, 0.3);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ghost-button:hover {
    background: #00FF9C;
    color: #000;
    box-shadow: none;
    cursor: url('../images/ghostlinetel/mouse.png') 0 0, pointer;
}

.ghost-button:hover::after {
    opacity: 1;
}

.ghost-button:focus {
    outline: none;
}

.ghost-button:focus::after {
    opacity: 1;
}

.ghostline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    position: relative;
    z-index: 3;
}

.system-notices {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid;
    border-image: linear-gradient(45deg, 
        rgba(0, 255, 156, 0.3),
        rgba(0, 180, 255, 0.3)
    ) 1;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0, 255, 156, 0.1);
}

.system-notices h3 {
    color: #8EFFCB;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: normal;
}

.notice-log {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #00FF9C;
}

.notice-log p {
    margin: 0.5rem 0;
}

.alert {
    color: #FF2E6C;
}

.audio-block {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid;
    border-image: linear-gradient(45deg, 
        rgba(0, 255, 156, 0.3),
        rgba(0, 180, 255, 0.3)
    ) 1;
    border-radius: 4px;
    padding: 1.5rem;
}

.audio-block h3 {
    color: #CCCCFF;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: normal;
}

.audio-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 3px;
    margin-bottom: 0.75rem;
    position: relative;
}

.audio-file::after {
    content: attr(data-format);
    position: absolute;
    left: 0.75rem;
    bottom: -1.2rem;
    font-size: 0.7rem;
    color: rgba(204, 204, 255, 0.5);
    font-family: 'Share Tech Mono', monospace;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.audio-file:hover::after {
    opacity: 1;
}

.audio-file:hover {
    animation: glitchPulse 0.3s ease;
}

@keyframes glitchPulse {
    0% { transform: none; }
    25% { transform: translateX(-1px); }
    50% { transform: translateX(1px); }
    75% { transform: translateX(-1px); }
    100% { transform: none; }
}

.play-button {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 3px;
    padding: 0.3rem 0.8rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
}

.play-button:not(:disabled):hover {
    background: rgba(204, 204, 255, 0.1);
    cursor: url('../images/ghostlinetel/mouse.png') 0 0, pointer;
    animation: buttonGlow 2s infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(204, 204, 255, 0.3); }
    50% { box-shadow: 0 0 10px rgba(204, 204, 255, 0.5); }
}

.play-button:focus {
    box-shadow: 0 0 0 1px rgba(204, 204, 255, 0.3);
    outline: none;
}

.play-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.audio-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 40px;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 3px;
}

.visualizer-bar {
    width: 18%;
    height: 5px;
    background: #CCCCFF;
    opacity: 0.8;
}

.ghostline-footer {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 5rem;
}

.footer-copy {
    color: #555555;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    margin: 0 0 0.5rem;
}

.footer-tagline {
    color: #717183;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.return-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
}

.return-link a {
    background: rgba(20, 20, 35, 0.7);
    color: #a9a5d9;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    border: 1px solid #3d3d5c;
}

.return-link a:hover {
    background: rgba(30, 30, 50, 0.9);
    color: #d0d0ff;
}

/* Retro widgets */
.retro-widgets {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.visitor-counter {
    background: #000;
    padding: 1rem;
    border: 1px solid #00FF9C;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 255, 156, 0.2);
}

.counter-label {
    font-family: 'VT323', monospace;
    color: #00FF9C;
    font-size: 1.2rem;
}

.counter-display {
    display: flex;
    gap: 2px;
}

.counter-display .digit {
    background: #111;
    color: #00FF9C;
    font-family: 'Digital-7', 'VT323', monospace;
    padding: 0.2rem 0.4rem;
    font-size: 1.4rem;
    position: relative;
    text-shadow: 0 0 5px #00FF9C;
}

.counter-display .digit:nth-child(3n) {
    animation: digitGlitch 2s infinite;
}

@keyframes digitGlitch {
    0%, 100% { transform: none; opacity: 1; }
    92% { transform: translateY(-1px); opacity: 0.8; }
    94% { transform: translateY(1px); opacity: 0.6; }
    96% { transform: none; opacity: 1; }
}

.ghost-guestbook {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FF9C;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.ghost-guestbook h3 {
    color: #00FF9C;
    font-family: 'VT323', monospace;
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1.4rem;
}

.guestbook-entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guestbook-entries .entry {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    padding: 0.75rem;
    gap: 1rem;
    background: rgba(0, 255, 156, 0.05);
    border-left: 3px solid #00FF9C;
    position: relative;
    animation: floatEntry 10s ease-in-out infinite;
}

.guestbook-entries .entry:nth-child(2) {
    animation-delay: -3s;
}

.guestbook-entries .entry:nth-child(3) {
    animation-delay: -6s;
}

@keyframes floatEntry {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.ghost-name {
    color: #00FF9C;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ghost-name::before {
    content: none;
}

.timestamp {
    font-size: 0.75rem;
    opacity: 0.5;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.entry p {
    margin: 0;
    padding-right: 1rem;
    color: #B5B5B5;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

/* Y2K styling */
.dead-links {
    margin: 1rem 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 1px;
}

.dead {
    color: #444;
    text-decoration: none;
    border-bottom: 1px dotted #333;
    padding: 0 0.5rem;
    transition: color 0.2s ease;
}

.dead:hover {
    color: #00FF9C;
    cursor: url('../images/ghostlinetel/mouse.png') 0 0, pointer;
}

.blink {
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.system-icon {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .button-row {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
        margin: 1rem auto;
    }
    
    .ghostline-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
