* { box-sizing: border-box; margin: 0; padding: 0; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }

.animated { animation-duration: 1s; animation-fill-mode: both; }
.bounce { animation-name: emg-bounce; transform-origin: center bottom; }
@keyframes emg-bounce {
    from, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0); }
    40%, 43% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -30px, 0); }
    70% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -15px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

:root {
    --primary-color: #ea3939; 
    --toxic-color: #ea3939;    
    --header-spacing: 60px;
    --section-spacing: 50px;
    --item-internal-spacing: 20px;
    --site-max-width: 1920px; 
    --hotspot-size: 40px; 
    --box-player-max-width: 460px; 
}

html {
    background-color: #2E7D32 !important; 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Roboto', sans-serif !important;
    color: #fff;
    background-color: transparent !important; 
    background-image: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%) !important;
    background-attachment: fixed;
    background-size: cover;
    margin: 0; padding: 0;
    overflow-x: hidden; 
    height: auto !important; 
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }

.left-group, .right-group { display: flex; align-items: center; height: 100%; }
.right-group { padding-right: 15px; }

.dsw-content {
    padding-top: 60px; 
    padding-bottom: 50px;
}

.section { 
    background: transparent !important;
    height: auto !important; 
    min-height: auto;
    margin-bottom: var(--section-spacing);
    display: block; 
}

.section.slide-1 {
    margin-bottom: 25px !important;
}

.dswcliw {
    display: flex !important; 
    flex-direction: column; 
    justify-content: flex-start;
    align-items: center;
    height: auto !important; 
    box-sizing: border-box;
    padding: 0 15px; 
    padding-top: 50px; 
    padding-bottom: 50px; 
    text-align: center;
    position: relative; 
}

.dswclicw-header { 
    flex: 0 0 auto; 
    text-align: center; 
    margin-bottom: 25px; 
    z-index: 10; 
    width: 100%;
}

.emg-intro-title {
    font-family: 'Phudu', cursive !important; 
    font-size: 42px; font-weight: 900; text-transform: uppercase; 
    margin-bottom: 10px; line-height: 1.3; letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}
.emg-intro-title span { color: var(--toxic-color); font-size: 1.2em; display: inline-block; }

.emg-intro-desc { 
    display: block; font-size: 14px; line-height: 1.8; max-width: 700px; 
    margin: 0 auto 20px; font-weight: 400; color: rgba(255,255,255,0.7); 
    font-family: 'Roboto', sans-serif !important; text-transform: none !important; letter-spacing: 0.5px;
}

.emg-section-head {
    font-family: 'Phudu', cursive !important; 
    font-size: 42px; font-weight: 900; text-transform: uppercase; 
    margin-bottom: 10px; line-height: 1.3; letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.dcwlic-info { 
    flex: 0 0 auto; 
    width: 100%; 
    text-align: center !important; 
    padding-top: 5px;
}

.emg-card-role { 
    display: block; font-size: 14px; text-transform: uppercase; opacity: 0.9; margin-bottom: 5px; 
    color: var(--primary-color); text-shadow: 1px 1px 2px #000; font-weight: 700; 
    font-family: 'Roboto', sans-serif !important;
}

.emg-card-name { 
    font-size: 20px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; 
    text-shadow: 2px 2px 4px #000;
    font-family: 'Phudu', cursive !important; 
}

.emg-card-btn { 
    display: inline-block; font-size: 12px; border: 1px solid rgba(255,255,255,0.8); 
    padding: 4px 15px; border-radius: 20px; background: rgba(0,0,0,0.3); 
    text-transform: uppercase; transition: all 0.3s; 
    font-family: 'Roboto', sans-serif !important;
}
.dcwli-content:hover .emg-card-btn { background: var(--toxic-color); border-color: var(--toxic-color); }

.dswclicwb-content-wrap { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    max-width: 2000px; 
    margin: 0 auto; 
    width: 100%;
    gap: 20px; 
}

.dcwli { 
    flex: 0 0 calc(25% - 15px); 
    max-width: var(--box-player-max-width); 
    padding: 0; 
    box-sizing: border-box; 
    text-align: center; 
    display: flex; 
    flex-direction: column;
    margin-bottom: 0; 
}

.dcwli-content {
    background: transparent !important; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    width: 100%;
    height: auto !important; 
    margin: 0 auto; 
    cursor: pointer; 
    position: relative;
    transition: transform 0.3s;
}
.dcwli-content:hover { transform: translateY(-10px) scale(1.02); }

.img-container { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-bottom: 5px; 
    position: relative;
    overflow: visible; 
    background: transparent; 
    border: none;
    box-shadow: none;
    border-radius: 0;
    flex: none !important; 
}

.dcwli-content img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5)); 
    transition: 0.3s; 
}

@media (max-width: 1080px) {
    .dcwli {
        flex: 0 0 calc(50% - 10px); 
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    :root {
        --hotspot-size: 30px; 
    }

    html, body { 
        scroll-snap-type: none; 
        overflow-y: auto !important;
    }
    .dswcliw { 
        padding-top: 20px; 
        padding-bottom: 20px; 
        display: block !important; 
    }

    .dswclicw-header { 
        position: static; 
        background: transparent; 
        box-shadow: none; 
        padding: 0;
        margin-bottom: 15px; 
        backdrop-filter: none;
        border: none;
    }
    .emg-intro-title, .emg-section-head { 
        font-size: 28px; 
        margin-bottom: 10px;
    }

    .dswclicwb-content-wrap { 
        display: flex;
        flex-direction: row; 
        flex-wrap: wrap; 
        align-items: flex-start; 
        justify-content: center;
        gap: 15px; 
    }

    .dcwli { 
        flex: 0 0 calc(50% - 8px); 
        max-width: 50%;
        width: auto !important; 
        height: auto; 
        padding: 0;
        border-bottom: none; 
        scroll-margin-top: 80px; 
    }
    
    .dcwli-content {
        max-width: 100%; 
        width: 100%;
    }
    
    .dcwli-content img { max-height: 100%; }

    #target-p3 { order: 1; }
    #target-p6 { order: 1; }
    #target-p4 { order: 2; }
    #target-p5 { order: 2; }

    #target-p7 { order: 1; }
    #target-p10 { order: 1; }
    #target-p8 { order: 2; }
    #target-p9 { order: 2; }
}

.slide-1 .dswcliw { padding-top: 50px; padding-bottom: 0px; }

.map-container {
    position: relative;
    display: inline-block; 
    max-width: 660px; 
    width: 100%;
    height: auto;
    margin-top: 10px;
}

.tactical-map-img {
    display: block; 
    width: 100%; 
    height: auto;
    object-fit: contain;
}

.hotspot-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 20;
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%); 
    width: var(--hotspot-size); height: var(--hotspot-size); 
    cursor: pointer;
    pointer-events: auto;
    display: flex; justify-content: center; align-items: center;
}

.hotspot-radar {
    width: var(--hotspot-size); height: var(--hotspot-size);
    background-color: var(--toxic-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px var(--toxic-color);
    animation: pulse-red 2s infinite;
    display: flex; justify-content: center; align-items: center;
    color: #fff;
    font-weight: 900;
    font-family: 'Phudu', cursive !important;
    font-size: 16px; 
    user-select: none;
}
@media (max-width: 768px) {
    .hotspot-radar { font-size: 12px; }
}

.hotspot-radar::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 1px solid var(--toxic-color);
    border-radius: 50%;
    animation: radar-wave 2s infinite;
    z-index: -1; 
}
.hotspot-radar::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 1px solid var(--toxic-color);
    border-radius: 50%;
    animation: radar-wave 2s infinite 0.5s;
    z-index: -1;
}

@keyframes pulse-red { 0% { transform: scale(0.95); opacity: 0.9; } 50% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.9; } }
@keyframes radar-wave { 0% { width: 100%; height: 100%; opacity: 1; } 100% { width: 250%; height: 250%; opacity: 0; } }
.hotspot:hover .hotspot-radar { background-color: #fff; color: var(--toxic-color); box-shadow: 0 0 20px #fff; }

.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: #111; z-index: 100000; 
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease; overflow-y: auto; 
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.scrolly-container { display: none; flex-direction: row; width: 100%; min-height: 100vh; position: relative; }
.scrolly-container.active { display: flex; }

.player-content { flex: 1; padding: 80px 5% 80px 5%; box-sizing: border-box; z-index: 10; background: #111; -ms-overflow-style: none; scrollbar-width: none; }
.player-content::-webkit-scrollbar { display: none; }

.detail-header { margin-bottom: 20px; border-bottom: 2px solid #333; padding-bottom: 20px; }

.emg-modal-role-text { 
    color: var(--primary-color); font-size: 18px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; 
    display: block; margin-bottom: 10px; 
    font-family: 'Roboto', sans-serif !important;
}
.emg-modal-title-text { 
    font-family: 'Phudu', cursive !important; 
    font-size: 56px; font-weight: 700; text-transform: uppercase; margin: 0; color: #fff; line-height: 1.1; 
}

.emg-modal-body-content { 
    font-size: 20px; line-height: 1.8; color: #ddd; 
    font-family: 'Roboto', sans-serif !important;
}
.emg-modal-body-content p { margin-bottom: 30px; text-align: justify; }
.emg-modal-body-content h3 { 
    color: var(--primary-color); font-family: 'Phudu', cursive !important; 
    margin-top: 50px; margin-bottom: 20px; font-size: 32px; text-transform: uppercase; 
}

.detail-quote-box { background: #1a1a1a; border-left: 6px solid var(--toxic-color); padding: 40px; margin: 60px 0; font-style: italic; }
.emg-quote-content { 
    font-size: 24px; color: #fff; display: block; margin-bottom: 15px; 
    font-family: 'Roboto', sans-serif !important;
}
.emg-quote-source { 
    font-size: 16px; color: #888; text-align: right; display: block; 
    font-family: 'Roboto', sans-serif !important;
}

.player-coremedia { width: calc(100vh * 9 / 16); height: 100vh; flex: 0 0 auto; position: sticky; top: 0; right: 0; z-index: 5; background: #000; overflow: hidden; }
.media-aspect-ratio-box { width: 100%; height: 100%; position: relative; }
.core-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.iframe-mode-container { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 100002; background: #fff; }
.iframe-mode-container.active { display: block; }
.iframe-full { width: 100%; height: 100%; border: none; display: block; }

.modal-close-btn { position: fixed; top: 20px; right: 30px; font-size: 40px; color: var(--toxic-color); font-weight: 100; line-height: 1; cursor: pointer; z-index: 100005; transition: transform 0.3s; background: rgba(0,0,0,0.5); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; padding: 0; padding-bottom: 5px; }
.modal-close-btn:hover { transform: rotate(90deg) scale(1.1); background: rgba(0,0,0,0.8); }

@media (max-width: 900px) {
    .scrolly-container { display: none; }
    .scrolly-container.active { display: block; }
    .player-coremedia { width: 100%; height: 100vh; position: fixed; top: 0; left: 0; z-index: 0; }
    .player-content { width: 100%; margin-top: 80vh; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 10%, #111 20%); border-top: 1px solid rgba(255,255,255,0.1); min-height: 100vh; }
    .player-content::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #111; z-index: -1; backdrop-filter: blur(10px); opacity: 0.95; }
    .emg-modal-title-text { font-size: 36px; }
    .modal-close-btn { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 30px; }
}