/* ============================================
   THE BROKEN SEAL - Site Styles
   ============================================ */

:root {
    --color-void: #050507;
    --color-smoke: #0d0d10;
    --color-silver: #c0c0c8;
    --color-silver-bright: #e8e8ef;
    --color-silver-dim: rgba(192, 192, 200, 0.5);
    --color-emergency-blue: #4a9eff;
    --color-emergency-glow: rgba(74, 158, 255, 0.3);
}

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

html, body {
    background: var(--color-void);
    color: var(--color-silver);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   ATMOSPHERIC EFFECTS
   ============================================ */

.atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.smoke {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(100, 100, 120, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 20, 30, 0.8) 0%, transparent 70%);
    animation: drift 20s ease-in-out infinite;
}

.smoke:nth-child(2) {
    opacity: 0.5;
    animation: drift 25s ease-in-out infinite reverse;
    animation-delay: -5s;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(2%, -1%) scale(1.02); }
    50% { transform: translate(-1%, 2%) scale(0.98); }
    75% { transform: translate(-2%, -1%) scale(1.01); }
}

/* Subtle grain overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   LAYOUT
   ============================================ */

.main-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 40px 30px;
}

.content-grid {
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   LEFT COLUMN - COVER DISPLAY
   ============================================ */

.cover-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    padding-top: 40px;
}

.main-cover-container {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.cover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse, var(--color-emergency-glow) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.5;
    animation: pulse 4s ease-in-out infinite;
    transition: background 0.5s ease;
}

.cover-glow.warm {
    background: radial-gradient(ellipse, rgba(255, 150, 50, 0.25) 0%, transparent 70%);
}

.cover-glow.fire {
    background: radial-gradient(ellipse, rgba(255, 100, 50, 0.3) 0%, transparent 70%);
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

.main-cover {
    position: relative;
    max-width: 340px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 
        0 0 60px rgba(74, 158, 255, 0.15),
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 10px 30px rgba(0, 0, 0, 0.6);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.main-cover:hover {
    transform: scale(1.02);
}

/* ============================================
   THUMBNAIL NAVIGATION
   ============================================ */

.thumb-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.nav-arrow {
    background: transparent;
    border: 1px solid var(--color-silver-dim);
    color: var(--color-silver);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    border-color: var(--color-silver);
    background: rgba(192, 192, 200, 0.1);
}

.nav-arrow.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.thumb-list {
    display: flex;
    gap: 12px;
}

.thumb {
    width: 55px;
    height: auto;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.4;
    filter: grayscale(0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 0.7;
    filter: grayscale(0.2);
}

.thumb.active {
    opacity: 1;
    filter: grayscale(0);
    border-color: var(--color-silver-dim);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.2);
}

/* ============================================
   RIGHT COLUMN - BOOK INFO
   ============================================ */

.info-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 40px 40px 30px;
}

/* Author name - tight to title */
.author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-silver);
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

/* Title row - title and badge together */
.title-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.book-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.0rem;
    letter-spacing: 0.05em;
    color: var(--color-silver-bright);
    line-height: 0.90;
    margin: 0;
}

.coming-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.coming-label {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-silver-dim);
}

.coming-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--color-silver-bright);
    padding: 5px 20px;
    border: 1px solid var(--color-silver-dim);
}

.book-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-silver);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
    transition: opacity 0.3s ease;
}

.book-blurb {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-silver);
    max-width: 680px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.7s forwards;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    z-index: 1;
    padding: 15px 15px;
    text-align: center;
    border-top: 1px solid rgba(192, 192, 200, 0.1);
}

.footer-text {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(192, 192, 200, 0.35);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 960px) {
    .content-area {
        padding: 30px 20px;
    }
    
    .info-column {
        padding: 30px 20px;
    }
    
    .book-title {
        font-size: 3.5rem;
    }
    
    .main-cover {
        max-width: 280px;
    }
    
    .title-row {
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .content-grid {
        flex-direction: column !important;
    }
    
    .cover-column,
    .info-column {
        width: 100% !important;
        padding: 15px;
    }
    
    .cover-column {
        padding-top: 20px;
    }
    
    .info-column {
        text-align: center;
        padding-top: 10px;
    }
    
    .book-title {
        font-size: 3rem;
    }
    
    .book-blurb {
        max-width: 100%;
    }
    
    .title-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .coming-badge {
        margin-top: 0;
        justify-content: center;
    }
    
    .main-cover {
        max-width: 240px;
    }
    
    .thumb {
        width: 45px;
    }
}

