@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap');

.st-hero-wrap {
    background-color: #000; padding: 100px 20px 80px; text-align: center;
    position: relative; overflow: hidden; margin-bottom: 40px;
    border-bottom: 1px solid #222;
    box-shadow: inset 0 -50px 100px -50px rgba(255, 0, 0, 0.2);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}
.st-fog {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(180, 0, 0, 0.15) 0%, #000 80%);
    z-index: 0; animation: st-pulse 4s infinite alternate ease-in-out;
}
.st-pre {
    position: relative; z-index: 2; font-family: 'Merriweather', serif;
    text-transform: uppercase; color: #fff; font-size: 0.8rem; letter-spacing: 0.4em;
    margin-bottom: 10px; opacity: 0.8; text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.st-title {
    position: relative; z-index: 2; font-family: 'Merriweather', serif; font-weight: 900;
    font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; line-height: 0.9;
    margin: 10px 0; -webkit-text-stroke: 2px #ce0000; color: transparent; 
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.4), 0 0 50px rgba(200, 0, 0, 0.2);
    animation: st-zoom 10s infinite alternate ease-in-out; letter-spacing: -2px;
}
.st-solid { color: #ce0000; -webkit-text-stroke: 0; text-shadow: 0 0 20px rgba(255, 30, 30, 0.8); }
.st-bar {
    position: relative; z-index: 2; height: 3px; width: 0; background: #ce0000;
    margin: 20px auto; box-shadow: 0 0 15px #ff0000;
    animation: st-expand 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.st-bar.top { margin-bottom: 30px; }
.st-bar.bot { margin-top: 30px; animation-delay: 0.2s; }
.st-sub {
    position: relative; z-index: 2; font-family: 'Inter', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5em; font-size: 0.9rem;
    color: #aaa; margin-top: 20px; font-weight: 600;
}
@keyframes st-pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes st-zoom { 0% { transform: scale(1); letter-spacing: -2px; } 100% { transform: scale(1.05); letter-spacing: -1px; } }
@keyframes st-expand { 0% { width: 0; opacity: 0; } 100% { width: 60%; opacity: 1; max-width: 600px; } }
@media (max-width: 768px) { .st-title { -webkit-text-stroke: 1px #ce0000; } }

.mega-menu-wrap-primary, #mega-menu-wrap-primary, header.site-header, #site-header, .site-header { 
    display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important;
}

.ir-glass-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.ir-glass-btn {
    text-decoration: none !important; color: #ccc !important;
    background: #1a1a1a; border: 1px solid #333; 
    padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    display: flex; align-items: center; gap: 10px; transition: all 0.2s ease;
}
.ir-glass-btn svg { width: 20px; height: 20px; stroke: #888; transition: all 0.2s ease; }
.ir-glass-btn:hover, .ir-glass-btn.active {
    background: #222; border-color: #ce0000; color: #fff !important; transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.ir-glass-btn:hover svg, .ir-glass-btn.active svg { stroke: #ce0000; }
@media (max-width: 600px) { .ir-glass-nav { margin-top:20px; } .ir-glass-btn { width: 100%; justify-content: center; } }

#ir-library-wrap {
    max-width: 1200px; margin: 0 auto; padding: 40px 20px;
    font-family: "Inter", sans-serif; color: #e0e0e0;
}

.ir-lib-header {
    display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px;
    background: #121212; padding: 20px; border-radius: 12px; border: 1px solid #2a2a2a;
    align-items: center;
}
.ir-search-box { flex: 1; min-width: 250px; }
.ir-search-box input {
    width: 100%; padding: 12px 15px; background: #1a1a1a;
    border: 1px solid #333; color: #eee; border-radius: 8px; font-size: 0.95rem;
    transition: all 0.2s;
}
.ir-search-box input:focus { border-color: #ce0000; outline: none; background: #222; }

.ir-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.ir-filters select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-color: #1a1a1a; border: 1px solid #333; border-radius: 8px;
    color: #ccc; padding: 12px 40px 12px 16px; 
    font-family: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer; line-height: 1.5;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
    transition: all 0.2s ease;
}
.ir-filters select:hover {
    border-color: #666; background-color: #222; color: #fff;
}
.ir-filters select:focus {
    outline: none; border-color: #ce0000; background-color: #222;
}
.ir-filters select::-ms-expand { display: none; }

.ir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

.ir-card {
    background: #121212; border: 1px solid #2a2a2a; border-radius: 12px; overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.ir-card:hover {
    transform: translateY(-4px); border-color: #ce0000; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.ir-card-thumb {
    height: 180px; background-size: cover; background-position: center;
    position: relative; background-color: #1a1a1a; display: block; border-bottom: 1px solid #222;
}
.ir-card-meta-top { position: absolute; top: 10px; right: 10px; }
.ir-pill {
    background: rgba(0,0,0,0.8); color: #fff; font-size: 0.75rem; 
    padding: 4px 10px; border-radius: 4px; backdrop-filter: blur(4px); font-weight: 600;
}
.ir-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.ir-cat {
    text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px;
    color: #ce0000; font-weight: 700; margin-bottom: 8px; display: block; text-decoration: none;
}
.ir-cat:hover { text-decoration: underline; }
.ir-card-title { margin: 0 0 10px 0; line-height: 1.4; font-weight: 700; font-size: 1.15rem; }
.ir-card-title a { color: #e0e0e0; text-decoration: none; transition: color 0.2s; }
.ir-card-title a:hover { color: #ce0000; }

.ir-tags-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 15px; }
.ir-tag {
    background: #1a1a1a; color: #888; font-size: 0.75rem; padding: 4px 10px;
    border-radius: 4px; border: 1px solid #333; text-decoration: none; transition: 0.2s;
}
.ir-tag:hover { border-color: #666; color: #fff; background: #222; }

.ir-voice-list {
    font-size: 0.75rem; color: #ce0000; margin-bottom: 15px; font-weight: 600;
    background: rgba(206, 0, 0, 0.1); padding: 6px 12px; border-radius: 4px;
    display: inline-block; border: 1px solid rgba(206,0,0,0.2);
}
.ir-card-meta {
    margin-top: auto; display: flex; justify-content: space-between;
    font-size: 0.8rem; color: #666; border-top: 1px solid #222; padding-top: 12px;
}

.ir-voice-rows { margin-bottom: 15px; display: flex; flex-direction: column; gap: 5px; }
.ir-voice-row { 
    background: rgba(206, 0, 0, 0.1); border: 1px solid rgba(206, 0, 0, 0.2); 
    border-radius: 4px; padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; 
}
.ivr-name { font-size: 0.75rem; color: #ff5555; font-weight: 700; }
.ivr-play-btn { 
    width: 24px; height: 24px; border-radius: 50%; background: #ce0000; 
    border: none; color: #fff; display: flex; align-items: center; justify-content: center; 
    font-size: 10px; cursor: pointer; transition: transform 0.2s; 
}
.ivr-play-btn:hover { transform: scale(1.1); filter: brightness(1.2); }

.ir-loading, .ir-no-results { text-align: center; width: 100%; padding: 40px; color: #666; }
.ir-load-more { text-align: center; margin-top: 40px; }
#ir-load-btn {
    background: #1a1a1a; color: #fff; border: 1px solid #333;
    padding: 12px 30px; cursor: pointer; border-radius: 30px; transition: 0.2s;
    font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
}
#ir-load-btn:hover { background: #ce0000; color: #fff; border-color: #ce0000; }

#audio-dock {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120px);
    width: 90%; max-width: 600px; height: 60px;
    background: rgba(20,20,20,0.98); border: 1px solid #333;
    border-radius: 40px; display: flex; align-items: center; padding: 0 20px;
    z-index: 20000; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
#audio-dock.visible { transform: translateX(-50%) translateY(0); }
.dock-left { display: flex; gap: 15px; align-items: center; }
.dock-play-btn {
    width: 36px; height: 36px; border-radius: 50%; background: #ce0000;
    border: none; cursor: pointer; color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.dock-center { flex: 1; display: flex; align-items: center; gap: 10px; margin: 0 15px; }
.dock-progress-container {
    flex: 1; height: 4px; background: #333;
    border-radius: 2px; position: relative; cursor: pointer;
}
.dock-progress-fill { height: 100%; background: #ce0000; width: 0%; border-radius: 2px; }
.dock-time { font-size: 10px; color: #888; font-family: monospace; width: 30px; text-align: center; }
.dock-status {
    font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 100px;
}

@media (max-width: 768px) {
    .ir-lib-header { flex-direction: column; align-items: stretch; }
    .ir-filters { width: 100%; }
    .ir-filters select { flex: 1; }
    #audio-dock { width: 95%; bottom: 10px; }
}