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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.fullscreen-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1410 50%, #0a0a0a 100%);
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanlineMove 8s linear infinite;
    z-index: 10;
    opacity: 0.5;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

/* Bitcoin pattern background */
.bitcoin-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 100px,
        #F7931A 100px,
        #F7931A 101px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 100px,
        #F7931A 100px,
        #F7931A 101px
    );
}

/* Header */
.header {
    position: relative;
    padding: 25px 40px;
    border-bottom: 2px solid #F7931A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 5;
    box-shadow: 0 2px 20px rgba(247, 147, 26, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.header-center {
    flex: 2;
    text-align: center;
    overflow: hidden;
}

.header-right {
    flex: 1;
    text-align: right;
}

.bitcoin-symbol {
    color: #F7931A;
    font-size: 32px;
    font-weight: bold;
    animation: bitcoin-pulse 2s ease-in-out infinite;
    text-shadow: 
        0 0 10px #F7931A,
        0 0 20px #F7931A,
        0 0 30px rgba(247, 147, 26, 0.5);
}

@keyframes bitcoin-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.status-text {
    color: #FFB700;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.block-hash {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
}

.timestamp {
    color: #F7931A;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Main content area */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    position: relative;
    z-index: 5;
}

/* Bitcoin logo decoration */
.bitcoin-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.05;
    pointer-events: none;
}

.btc-icon {
    font-size: 500px;
    color: #F7931A;
    font-weight: bold;
    line-height: 1;
}

/* Text container */
.text-container {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin-bottom: 60px;
}

.text-block {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border: 2px solid rgba(247, 147, 26, 0.3);
    box-shadow: 
        0 0 30px rgba(247, 147, 26, 0.2),
        inset 0 0 20px rgba(247, 147, 26, 0.05);
}

.typewriter {
    color: #FFB700;
    font-size: 32px;
    line-height: 1.8;
    letter-spacing: 2px;
    font-weight: bold;
    word-wrap: break-word;
    text-align: center;
    min-height: 120px;
    display: inline-block;
    text-shadow: 
        0 0 5px rgba(255, 183, 0, 0.5),
        0 0 10px rgba(255, 183, 0, 0.3);
}

/* Cursor */
.cursor {
    display: inline-block;
    width: 15px;
    height: 35px;
    background: #F7931A;
    margin-left: 8px;
    animation: cursor-blink 1s infinite;
    vertical-align: middle;
    box-shadow: 0 0 10px #F7931A;
}

@keyframes cursor-blink {
    0%, 49% {
        background: #F7931A;
        opacity: 1;
    }
    50%, 100% {
        background: transparent;
        opacity: 0;
    }
}

.cursor.hidden {
    display: none;
}

/* Author section */
.author-section {
    text-align: center;
    position: relative;
    z-index: 3;
}

.divider {
    width: 500px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F7931A, transparent);
    margin: 0 auto 30px;
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.5);
}

.author-signature {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px #F7931A,
        0 0 20px #F7931A,
        0 0 30px rgba(247, 147, 26, 0.5);
    min-height: 50px;
    background: linear-gradient(90deg, #F7931A, #FFB700, #F7931A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    position: relative;
    padding: 25px 40px;
    border-top: 2px solid #F7931A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 5;
    box-shadow: 0 -2px 20px rgba(247, 147, 26, 0.3);
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer .label {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer .value {
    color: #F7931A;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .typewriter {
        font-size: 24px;
    }
    
    .btc-icon {
        font-size: 350px;
    }
    
    .block-hash {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .header-left,
    .header-center,
    .header-right {
        text-align: center;
    }
    
    .block-hash {
        font-size: 9px;
        overflow-wrap: break-word;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .text-block {
        padding: 20px;
    }
    
    .typewriter {
        font-size: 18px;
        min-height: 80px;
    }
    
    .author-signature {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .divider {
        width: 90%;
    }
    
    .btc-icon {
        font-size: 200px;
    }
    
    .cursor {
        width: 12px;
        height: 25px;
    }
    
    .footer {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bitcoin-symbol {
        font-size: 24px;
    }
    
    .status-text {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .timestamp {
        font-size: 14px;
    }
    
    .typewriter {
        font-size: 16px;
    }
    
    .author-signature {
        font-size: 20px;
    }
    
    .btc-icon {
        font-size: 150px;
    }
}

/* Additional glow animation */
@keyframes bitcoin-glow {
    0%, 100% {
        text-shadow: 
            0 0 5px #F7931A,
            0 0 10px #F7931A,
            0 0 15px #F7931A;
    }
    50% {
        text-shadow: 
            0 0 10px #F7931A,
            0 0 20px #F7931A,
            0 0 30px #F7931A,
            0 0 40px rgba(247, 147, 26, 0.5);
    }
}

.typewriter.glow {
    animation: bitcoin-glow 2s infinite;
}
