@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Times+New+Roman:wght@400;600&display=swap');

/* THE ALL BLUE Font */
@font-face {
    font-family: 'disco70s';
    src: url('../fonts/70sdisco.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Additional newspaper fonts */
@font-face {
    font-family: 'FTY SKRADJHUWN NCV';
    src: url('../fonts/FtySkradjhuwnNcv2-yZv2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'thebarstain';
    src: url('../fonts/ThebarstaindemoExtrude-j9aY7.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Times New Roman', 'Playfair Display', serif;
    background: #f5f5f5;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.02) 2px,
            rgba(0,0,0,0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.01) 2px,
            rgba(0,0,0,0.01) 4px
        );
    color: #1a1a1a;
    line-height: 1.4;
    padding: 20px;
    min-height: 100vh;
}

.newspaper {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
    box-shadow: 
        0 0 40px rgba(0,0,0,0.3),
        inset 0 0 100px rgba(0,0,0,0.05);
    border: 4px solid #333;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.newspaper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.02) 3px,
            rgba(0,0,0,0.02) 6px
        );
    pointer-events: none;
    z-index: 1;
}

.magical-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #666;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.header {
    text-align: center;
    border-bottom: 4px solid #333;
    padding: 25px;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
    position: relative;
    z-index: 3;
    border-radius: 4px 4px 0 0;
}

.masthead {
    font-family: 'disco70s', 'thebarstain', 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.masthead-logo {
    height: 3.5rem;
    width: auto;
    margin: 0 15px;
    filter: brightness(0) invert(0.1);
}

.subtitle {
    font-family: 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #333;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.date-line {
    font-size: 1.1rem;
    font-weight: 600;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.05), rgba(0,0,0,0.08), rgba(0,0,0,0.05));
    color: #1a1a1a;
}

.top-content-container {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 3px solid #333;
}

.main-image-container {
    flex: 1;
    padding-right: 20px;
}

.main-gif {
    width: 100%;
    height: auto;
    border: 4px solid #333;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.welcome-section {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: left;
    box-shadow: none;
}

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

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.welcome-text {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2a2a2a;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    min-height: 600px;
    position: relative;
    z-index: 3;
}

.left-column {
    border-right: 2px solid #333;
    padding: 25px;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
}

.middle-column {
    border-right: 2px solid #333;
    padding: 25px;
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
}

.right-column {
    padding: 25px;
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
}

.section-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    border-bottom: 3px solid #666;
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #666);
    border-radius: 2px;
}

.small-section-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 2px solid #666;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.article {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    background: rgba(250,250,250,0.5);
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article:last-child {
    border-bottom: none;
}

.article-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #1a1a1a;
}

.article-text {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 10px;
    color: #2a2a2a;
    line-height: 1.5;
}

.byline {
    font-size: 0.9rem;
    font-style: italic;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-box {
    border: 3px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    background: #f0f0f0;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.service-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.service-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
    color: #444;
    position: relative;
    z-index: 1;
}

.service-credentials {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.08);
    border: 1px solid #666;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.service-link {
    display: inline-block;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #fafafa;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #666;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.service-link:hover {
    background: linear-gradient(135deg, #666, #888);
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.coming-soon {
    border: 3px solid rgba(0,0,0,0.3);
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    text-align: center;
    border-radius: 6px;
    opacity: 0.7;
    position: relative;
}

.coming-soon .service-title {
    color: #1a1a1a;
    opacity: 0.8;
}

.coming-soon .service-link {
    background: rgba(0,0,0,0.4);
    color: #fafafa;
    cursor: not-allowed;
    opacity: 0.8;
}

.weather-box {
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border: 3px solid #666;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.weather-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.weather-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a2a2a;
}

.ticker {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fafafa;
    padding: 15px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #666;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gold-price {
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border: 3px solid #666;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gold-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.gold-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a2a2a;
}

.advertisement {
    border: 3px solid #666;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.ad-title {
    font-family: 'FTY SKRADJHUWN NCV', 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.graph {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    line-height: 1;
    margin: 15px 0;
    text-align: center;
    color: #1a1a1a;
    background: rgba(250,250,250,0.5);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.2);
}

.horizontal-section {
    border-bottom: 2px solid #333;
    padding: 25px;
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
    position: relative;
    z-index: 3;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 2px solid #333;
    position: relative;
    z-index: 3;
}

.bottom-section .column {
    padding: 25px;
    border-right: 2px solid #333;
}

.bottom-section .column:nth-child(1) {
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
}

.bottom-section .column:nth-child(2) {
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
}

.bottom-section .column:nth-child(3) {
    background: linear-gradient(145deg, #fafafa, #f0f0f0);
    border-right: none;
}

.random-front-page-img {
    position: absolute;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #333;
    border-radius: 4px;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    filter: sepia(0.3) contrast(0.8);
}


@media (max-width: 768px) {
    .top-content-container {
        flex-direction: column;
    }

    .main-image-container {
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .left-column, .middle-column {
        border-right: none;
        border-bottom: 2px solid #333;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
    }
    
    .bottom-section .column {
        border-right: none;
        border-bottom: 2px solid #333;
    }
    
    .bottom-section .column:last-child {
        border-bottom: none;
    }
    
    .masthead {
        font-size: 2.5rem;
        flex-direction: column;
    }

    .masthead-logo {
        height: 2rem;
        margin: 10px 0;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
