/* Daganda Top Event Banner Styles (v2.0) */
.daganda-top-banner {
    background-color: transparent;
    color: #fff;
    height: 48px;
    position: relative;
    overflow: hidden;
    z-index: 10001;
}

.banner-inner {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-slider {
    height: 48px;
    overflow: hidden;
    width: 100%;
}

.banner-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.banner-item {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.banner-item a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
    width: 100%;
    max-width: 1280px;
    justify-content: center;
    padding: 0 80px;
    margin: 0 auto;
}

.banner-icon {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.banner-text {
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ticker (검정 전광판 효과) */
.banner-ticker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.ticker-label {
    background: #ff3e3e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 800;
    text-transform: uppercase;
}

.ticker-box {
    background: #000;
    color: #ffd400; /* Digital Yellow */
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 0 5px rgba(255,212,0,0.3);
    min-width: 110px;
    text-align: center;
}

.banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.banner-close:hover {
    background: rgba(0,0,0,0.3);
    transform: translateY(-50%) rotate(90deg);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .banner-text { max-width: 300px; }
    .banner-item a { padding: 0 50px; }
}

@media screen and (max-width: 768px) {
    .daganda-top-banner { height: 42px; }
    .banner-slider { height: 42px; }
    .banner-item { height: 42px; }
    .banner-item a { font-size: 12px; gap: 8px; padding: 0 40px; }
    .ticker-box { font-size: 11px; min-width: 90px; padding: 2px 6px; }
    .ticker-label { display: none; }
}
