/* Kindred Book Page Styles - Version B (Previous) */

.kindred-main {
    min-height: calc(100vh - 80px);
    padding: 2rem;
    margin-top: 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.kindred-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.kindred-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.kindred-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 3.5rem;
    align-items: start;
    padding-top: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Video Relic/Artifact */
.kindred-video-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 3/4;
    overflow: visible;
    clip-path: polygon(
        15px 0%,
        calc(100% - 15px) 0%,
        100% 15px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        15px 100%,
        0% calc(100% - 15px),
        0% 15px
    );
    border: none;
    background: transparent;
    flex-shrink: 0;
    margin: 0 auto;
    transform: scale(1.05);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.kindred-book-gif {
    position: absolute;
    top: 3%;
    left: 0;
    width: 100%;
    height: 97%;
    object-fit: contain;
    object-position: center top;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

.kindred-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.kindred-video-container:hover {
    transform: scale(1.18);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Content Section */
.kindred-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
    max-width: 100%;
    position: relative;
    margin-left: -2.5rem;
}

.kindred-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kindred-label {
    color: #ff3d1f;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.kindred-title {
    font-family: 'Heliosext', sans-serif;
    font-size: 1.62rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.kindred-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kindred-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kindred-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: justify;
}

.kindred-text em {
    font-style: italic;
    color: var(--text-white);
}

.kindred-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(
        15px 0%,
        calc(100% - 15px) 0%,
        100% 15px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        15px 100%,
        0% calc(100% - 15px),
        0% 15px
    );
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    font-family: 'Hudson', sans-serif;
    font-size: 0.75rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    font-family: 'Heliosext', sans-serif;
}

.kindred-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kindred-actions-split {
    display: none;
    flex-direction: row;
    gap: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kindred-buy-btn {
    background: #ff3d1f;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Hudson', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 0;
}

.kindred-actions-split .kindred-buy-btn {
    width: auto;
    flex: 1;
}

.kindred-buy-btn:hover {
    background: #ff5a3f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 61, 31, 0.4);
}

.kindred-preview-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Hudson', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kindred-preview-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kindred-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kindred-video-container {
        width: 150px;
        margin: 0 auto;
    }
    
    .kindred-title {
        font-size: 1.5rem;
    }
    
    .kindred-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .kindred-actions {
        flex-direction: column;
    }
    
    .kindred-buy-btn,
    .kindred-preview-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Bottom Section - uses landing-main styles */
.kindred-bottom-section {
    margin-top: 0;
}

.kindred-bottom-section .subtitle {
    color: #ff3d1f;
}

.kindred-bottom-section .play-cinematic-btn {
    border-color: #ff3d1f;
}

.kindred-bottom-section .play-cinematic-btn:hover {
    background: rgba(255, 61, 31, 0.1);
    border-color: #ff3d1f;
}

.kindred-bottom-section .play-icon-circle {
    background: #ff3d1f;
}

.kindred-bottom-section .kindred-buy-btn {
    width: auto;
    min-width: 250px;
    padding: 1rem 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.kindred-bottom-section .landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kindred-bottom-section .narrative-text-container {
    position: relative;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 120px;
}

.kindred-bottom-section .narrative-text {
    transition: opacity 2s ease;
}

.kindred-bottom-section .narrative-text-extended {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 2s ease;
}

.kindred-fading-subtitle {
    position: relative;
    min-height: 2rem;
    margin-bottom: 1rem;
}

.fading-subtitle-item {
    transition: opacity 2s ease;
}

.fading-subtitle-item#kindredSubtitle1 {
    animation: fadeOutKindred 8s ease-in-out infinite;
}

.fading-subtitle-item#kindredSubtitle2 {
    animation: fadeInKindred 8s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes fadeOutKindred {
    0%, 45% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInKindred {
    0%, 45% {
        opacity: 0;
    }
    50%, 95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}





