.th-footer-wrapper {
    background-color: var(--th-footer-bg);
    color: #ffffff;
    background: #1e1e1e;
    width: 100%;
    padding: 6rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #eb810e;
    box-sizing: border-box;
}

.th-footer-container {
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 45vh;
    justify-content: space-between;
}

.th-footer-middle-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 6rem;
}

.th-footer-col {
    display: flex;
    flex-direction: column;
}

.th-col-left,
.th-col-right {
    align-items: center;
    text-align: center;
}

.th-footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #eb810e;
}

.th-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.th-footer-nav a {
    color: var(--th-footer-text-dimmed);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
}

.th-col-left .th-footer-nav a:hover,
.th-col-right .th-footer-nav a:hover {
    color: #eab11b;
    transform: translateY(-4px);
}

.th-footer-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.th-hover-indicator {
    position: absolute;
    top: -40px;
    left: -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: th-bounce-arrow 2s infinite ease-in-out;
    pointer-events: none;
}

.th-hover-indicator span {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.95rem;
    color: #eab11b;
    transform: rotate(-10deg);
}

.th-hover-indicator svg {
    width: 50px;
    height: 50px;
    overflow: visible;
}

@keyframes th-bounce-arrow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

.th-footer-logo-wrapper {
    position: relative;
    width: 230px;
    height: 230px;
    cursor: pointer;
    perspective: 1000px;
    z-index: 10;
    display: block;
    text-decoration: none;
    margin-bottom: 45px;
}

.th-footer-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.th-footer-logo-normal {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.th-footer-logo-super {
    opacity: 0;
    transform: scale(0.5) rotate(-30deg);
    filter: drop-shadow(0 0 25px rgba(235, 129, 14, 0.6));
}

.th-footer-logo-wrapper:hover .th-footer-logo-normal {
    opacity: 0;
    transform: scale(0) rotate(90deg);
}

.th-footer-logo-wrapper:hover .th-footer-logo-super {
    opacity: 1;
    transform: scale(1.15) rotate(0deg);
}

.th-hero-book-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    font-size: 1.6rem;
    font-weight: 900;
    color: #eab11b;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(235, 129, 14, 0.9), 0 0 30px rgba(235, 129, 14, 0.5);
}

.th-footer-logo-wrapper:hover .th-hero-book-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.th-footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.th-brand-title-big {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.85;
    margin: 0;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.th-brand-title-big span {
    color: #eb810e;
}

.th-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.5rem;
}

.th-footer-copy,
.th-footer-credit {
    font-size: 0.95rem;
    color: var(--th-footer-text-dimmed);
    margin: 0;
}

.th-footer-credit a {
    color: #eb810e;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.th-footer-credit a:hover {
    color: #eab11b;
}

@media (max-width: 1024px) {
    .th-brand-title-big { font-size: 4rem; }
    .th-hover-indicator { left: -50px; top: -30px; }
    .th-footer-middle-grid { gap: 4rem; }
}

@media (max-width: 768px) {
    .th-footer-wrapper { padding: 4rem 0 2rem 0; }
    .th-footer-container { padding: 0 2rem; }

    .th-footer-middle-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .th-footer-center { display: none; }

    .th-footer-col h3 { font-size: 1.4rem; margin-bottom: 2rem; }
    .th-footer-nav a { font-size: 1.3rem; padding: 0.3rem 0; }

    .th-footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-top: none;
        gap: 3rem;
    }

    .th-brand-title-big {
        font-size: 3.6rem;
        white-space: normal;
        line-height: 1;
    }

    .th-footer-meta {
        align-items: center;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .th-footer-copy,
    .th-footer-credit {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}
