@import url('https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:wght@400;600&display=swap');

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

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 24px 0;
}

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

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    width: auto;
    height: 14px;
    display: block;
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Spline Sans Mono', monospace;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.6;
}

/* Main Content */
main {
    flex: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 40px;
    min-height: 400px;
}

.hero-grid {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 30px;
    object-fit: fill;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: left;
    width: 90%;
    max-width: 720px;
    padding: 0 20px;
}

.hero-section .page-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #fff;
}

.subtitle-accent {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.hero-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 16px;
}

/* Main Content */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 120px;
}

.books-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.books-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    border-top: 1px solid #e5e5e5;
    padding: 32px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

footer p {
    font-family: 'Spline Sans Mono', monospace;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

footer a {
    font-family: 'Spline Sans Mono', monospace;
    color: #999;
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.6;
}

/* Responsive */
/* iPad Pro / Large Tablets */
@media (max-width: 1024px) {
    .header-container,
    .content-container,
    .hero-section {
        max-width: 90%;
    }
}

@media (max-width: 968px) {
    .books-image {
        max-width: 500px;
    }
    
    .hero-content {
        max-width: 650px;
    }
}

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

    .logo img {
        height: 13px;
    }

    .main-nav {
        gap: 24px;
    }

    .main-nav a {
        font-size: 15px;
        padding: 8px 4px;
    }

    .hero-section {
        padding: 0 20px;
        margin-bottom: 0;
        min-height: 280px;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        top: 0;
        bottom: 0;
        min-height: 280px;
        border-radius: 0;
        background: linear-gradient(180deg, #4b6cb6 0%, #1e2f54 100%);
        background-image: 
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 39px,
                rgba(255, 255, 255, 0.09) 39px,
                rgba(255, 255, 255, 0.09) 40px
            ),
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 39px,
                rgba(255, 255, 255, 0.09) 39px,
                rgba(255, 255, 255, 0.09) 40px
            ),
            linear-gradient(180deg, #4b6cb6 0%, #1e2f54 100%);
    }
    
    .hero-section::after {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        top: 0;
        bottom: 0;
        min-height: 280px;
        border-radius: 0;
        background-image: url('noisy-background.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.15;
        pointer-events: none;
        z-index: 1;
        mix-blend-mode: overlay;
    }

    .hero-grid {
        display: none;
    }

    .hero-content {
        padding: 28px 24px;
        z-index: 2;
        width: 93%;
        max-width: 93%;
    }

    .hero-section .page-title {
        font-size: 19px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .hero-text {
        font-size: 12.5px;
        margin-bottom: 10px;
        line-height: 1.65;
    }
    
    .hero-text:last-child {
        margin-bottom: 0;
    }

    .content-container {
        padding: 0;
    }

    .books-image {
        max-width: 100%;
    }
    
    footer {
        margin-top: 60px;
    }

    .footer-container {
        padding: 0 20px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }
    
    .logo img {
        height: 12px;
    }
    
    .main-nav {
        gap: 20px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 8px 4px;
    }
    
    .hero-section {
        padding: 0 16px;
        min-height: 240px;
        margin-bottom: 0;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        left: 16px;
        right: 16px;
        top: 0;
        bottom: 0;
        min-height: 240px;
        border-radius: 0;
        background: linear-gradient(180deg, #4b6cb6 0%, #1e2f54 100%);
        background-image: 
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 39px,
                rgba(255, 255, 255, 0.09) 39px,
                rgba(255, 255, 255, 0.09) 40px
            ),
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 39px,
                rgba(255, 255, 255, 0.09) 39px,
                rgba(255, 255, 255, 0.09) 40px
            ),
            linear-gradient(180deg, #4b6cb6 0%, #1e2f54 100%);
    }
    
    .hero-section::after {
        content: '';
        position: absolute;
        left: 16px;
        right: 16px;
        top: 0;
        bottom: 0;
        min-height: 240px;
        border-radius: 0;
        background-image: url('noisy-background.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.15;
        pointer-events: none;
        z-index: 1;
        mix-blend-mode: overlay;
    }
    
    .hero-grid {
        display: none;
    }
    
    .hero-content {
        padding: 20px 18px;
        z-index: 2;
        width: 95%;
        max-width: 95%;
    }
    
    .hero-section .page-title {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.35;
    }
    
    .subtitle-accent {
        display: inline;
    }
    
    .hero-text {
        font-size: 11.5px;
        margin-bottom: 8px;
        line-height: 1.65;
    }
    
    .hero-text:last-child {
        margin-bottom: 0;
    }
    
    .content-container {
        padding: 0;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    footer {
        margin-top: 50px;
    }
    
    footer p {
        font-size: 11px;
    }
}

