:root {
    --psychedelic-purple: #8000ff;
    --psychedelic-purple-dark: #6600cc;
    --accent-pink: #ff00ff;
    --cosmic-blue: #00ffff;
    --terminal-white: #FFFFFF;
    --terminal-gray: #C0C0C0;
    --terminal-black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(135deg, #000000 0%, #0d0015 50%, #000000 100%);
    color: var(--terminal-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.4;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--psychedelic-purple);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(128, 0, 255, 0.6));
    transition: filter 0.3s ease;
}

.header-logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(128, 0, 255, 0.9)) drop-shadow(0 0 25px rgba(255, 0, 255, 0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--terminal-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--psychedelic-purple);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.logo-header {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 600px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(128, 0, 255, 0.8));
    animation: logo-glow 6s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(128, 0, 255, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(128, 0, 255, 1));
    }
}

/* ASCII Title */
.welcome-section {
    text-align: center;
    padding: 20px 40px 100px;
    max-width: 1800px;
    margin: 0 auto;
}

.ascii-title {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.1;
    color: #bf80ff;
    text-shadow: 0 0 20px rgba(128, 0, 255, 0.9);
    margin-bottom: 30px;
    display: inline-block;
    text-align: left;
    animation: ascii-glow 5s ease-in-out infinite;
}

@keyframes ascii-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(128, 0, 255, 0.9);
    }
    50% {
        text-shadow: 0 0 30px rgba(128, 0, 255, 1);
    }
}

/* Newspaper Section */
.headlines-section {
    padding: 60px 40px;
    width: 100%;
    background: #ffffff;
}

.newspaper-container {
    max-width: 1800px;
    margin: 0 auto;
    background: transparent;
    color: #000;
    padding: 0;
    box-shadow: none;
    border: none;
}

.newspaper-header {
    text-align: center;
    border-bottom: 4px double #000;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.paper-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #000;
    font-family: Impact, 'Arial Black', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.paper-tagline {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    letter-spacing: 3px;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.hero-headline {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #000;
}

.hero-headline h1 {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.95;
    color: #000;
    font-family: Impact, 'Arial Black', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.article-block {
    border-top: 3px solid #000;
    padding-top: 20px;
}

.article-label {
    font-size: 11px;
    font-weight: 900;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.article-block h3 {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.15;
    font-family: Impact, 'Arial Black', Arial, Helvetica, sans-serif;
}

.article-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
    margin-bottom: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 12px 0;
    border: 1px solid #ddd;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 12px 0;
    background: #000;
    border: 2px solid #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.video-logo-overlay img {
    width: 120px;
    height: auto;
    opacity: 0.7;
}

/* Image Banner */
.image-banner-section {
    width: 100%;
    background: #000;
    padding: 0;
    overflow: hidden;
    border-top: 3px solid var(--psychedelic-purple);
    border-bottom: 3px solid var(--psychedelic-purple);
}

.image-banner-wrapper {
    overflow: hidden;
    width: 100%;
}

.image-banner-scroll {
    display: flex;
    animation: banner-scroll 40s linear infinite;
    width: max-content;
}

.banner-image {
    height: 200px;
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    flex-shrink: 0;
}

@keyframes banner-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ASCII Scrolling Banner */
.ascii-banner-section {
    width: 100%;
    background: #000;
    padding: 20px 0;
    overflow: hidden;
    border-top: 3px solid var(--psychedelic-purple);
    border-bottom: 3px solid var(--psychedelic-purple);
}

.ascii-banner-wrapper {
    overflow: hidden;
    width: 100%;
}

.ascii-banner-scroll {
    display: inline-flex;
    animation: ascii-scroll 20s linear infinite;
}

.ascii-banner-text {
    font-family: Impact, 'Arial Black', Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 6px;
    color: var(--psychedelic-purple);
    text-shadow: 0 0 15px var(--psychedelic-purple), 0 0 30px var(--psychedelic-purple);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

@keyframes ascii-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Chat Section */
.chat-section {
    padding: 60px 40px;
    background: linear-gradient(180deg, #000000 0%, #0d0015 100%);
}

.chat-container-new {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--psychedelic-purple);
    overflow: hidden;
}

.chat-header {
    background: var(--psychedelic-purple);
    padding: 20px;
    text-align: center;
}

.chat-header h3 {
    font-size: 18px;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 5px;
}

.chat-header p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #000;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--psychedelic-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: #333;
}

.message-content {
    flex: 1;
}

.message-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 5px;
}

.message-time {
    font-size: 10px;
    color: #666;
}

.chat-input-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--psychedelic-purple);
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    background: #111;
    border: 1px solid var(--psychedelic-purple);
    color: #fff;
    font-size: 14px;
}

.chat-input input::placeholder {
    color: #666;
}

.chat-input button {
    padding: 15px 25px;
    background: var(--psychedelic-purple);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input button:hover {
    background: var(--psychedelic-purple-dark);
}

/* Typing indicator */
.typing {
    display: flex;
    gap: 4px;
    padding: 10px 0;
}

.typing .dot {
    width: 8px;
    height: 8px;
    background: var(--psychedelic-purple);
    border-radius: 50%;
    animation: typing-bounce 1s infinite;
}

.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Footer */
footer {
    background: #000;
    border-top: 2px solid var(--psychedelic-purple);
    padding: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 18px;
    font-weight: 900;
    color: var(--psychedelic-purple);
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--psychedelic-purple);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.copyright p {
    color: #666;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }

    .header-logo-img {
        height: 40px;
    }

    nav ul {
        gap: 15px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .main-logo {
        max-width: 300px;
    }

    .ascii-title {
        font-size: 6px;
    }

    .welcome-section {
        padding: 20px 20px 60px;
    }

    .headlines-section {
        padding: 40px 20px;
    }

    .paper-title {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .hero-headline h1 {
        font-size: 36px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .banner-image {
        height: 120px;
    }

    .chat-section {
        padding: 40px 20px;
    }

    .chat-messages {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
