:root {
    --main-orange: #333;
    --bg-white: #ffffff;
    --card-light: #f5f5f5;
    --header-gray: #f0f0f0;
}

[v-cloak] {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-white);
    color: #333;
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

header {
    height: 60px;
    background: var(--header-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--main-orange);
}

.search-bar {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    outline: none;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 5px;
    margin: 10px 0;
}

.nav-item {
    background: var(--card-light);
    color: #333;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

.nav-item:hover {
    border-color: var(--main-orange);
    background: #eee;
}

.mobile-search-box {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 0 10px;
    z-index: 101;
    
}

.mobile-search-input {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #b9b9b9;
    border-radius: 4px;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    outline: none;
}

footer {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #e0e0e0;
    padding-bottom: 60px;
}

.container {
    width: 80%;
    margin: auto;
}

.section-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 15px;
    border-left: 4px solid var(--main-orange);
    padding-left: 12px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--main-orange);
    padding: 10px;
    z-index: 2000;
}

.skip-link:focus {
    top: 0;
}

.news-scroll-wrapper {
    padding: 10px 0;
}

.news-card {
    background: #222;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        box-shadow: 0 0 5px rgba(233, 113, 50, 0.5),
                    0 0 10px rgba(233, 113, 50, 0.3),
                    0 0 15px rgba(233, 113, 50, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(233, 113, 50, 0.8),
                    0 0 25px rgba(233, 113, 50, 0.5),
                    0 0 35px rgba(233, 113, 50, 0.3);
        transform: scale(1.02);
    }
}

.news-card:hover {
    border-color: var(--main-orange);
}

.news-card h4 {
    color: var(--main-orange);
    font-size: 14px;
    margin-bottom: 3px;
    animation: text-sparkle 1.5s ease-in-out infinite;
}

.news-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    height: auto;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    animation: text-sparkle 1.5s ease-in-out infinite 0.3s;
}

.news-card div {
    animation: text-sparkle 1.5s ease-in-out infinite 0.6s;
}

.a-click { height:35px; line-height:35px; background:#ff4700; color:#fff; text-align:center; border-radius:5px; text-decoration:none; font-size:12px; }
.top-nav { background:#fff; padding:5px; top:0; z-index:100; box-shadow:0 2px 8px rgba(0,0,0,0.05); }
.a-link{height:35px;line-height:35px;background:#333;color:#fff;text-align:center;border-radius:5px;text-decoration:none;font-size:12px;display:inline-block;height:35px!important;line-height:35px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.btn-grid-next{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:2px}


@keyframes text-sparkle {
    0%, 100% {
        text-shadow: 0 0 2px rgba(233, 113, 50, 0.5),
                     0 0 5px rgba(233, 113, 50, 0.3);
        opacity: 0.9;
    }
    50% {
        text-shadow: 0 0 10px rgba(233, 113, 50, 1),
                     0 0 20px rgba(233, 113, 50, 0.7),
                     0 0 30px rgba(233, 113, 50, 0.5);
        opacity: 1;
    }
}

.news-card h4,
.news-card p,
.news-card div {
    animation: text-blink 1s ease-in-out infinite;
}

.news-card p {
    animation-delay: 0.2s;
}

.news-card div {
    animation-delay: 0.4s;
}

@keyframes text-blink {
    0%, 100% {
        text-shadow: 0 0 5px #fff,
                     0 0 10px #fff,
                     0 0 15px #fff,
                     0 0 20px #ffd700,
                     0 0 30px #ffd700;
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 2px #fff,
                     0 0 4px #fff;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .btn-grid-next{grid-template-columns:repeat(6,1fr)}
    .container {
        width: 96%;
        margin: auto;
    }
    
    .search-bar {
        display: none;
    }
    
    .nav-links {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .nav-item {
        padding: 5px;
        font-size: 12px;
    }
}