/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large, .download-btn-header, .btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.desktop-nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-btn-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-nav-header h3 {
    color: #667eea;
    margin: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.mobile-nav-menu a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 100px 0 50px;
}

.game-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.game-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0 2rem;
}

.tag {
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 1;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Game Introduction */
.game-intro {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.game-info-card, .story-card, .requirements-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-info-card h3, .story-card h3, .requirements-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    min-width: 100px;
}

.info-value {
    color: white;
    flex: 1;
}

.story-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.requirements-grid {
    display: grid;
    gap: 2rem;
}

.req-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.req-column ul {
    list-style: none;
}

.req-column li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.req-column li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
}

/* Game Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    font-size: 2rem;
    color: white;
}

/* Download Section */
.download-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.download-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.download-feature i {
    color: #4ade80;
    font-size: 1.1rem;
}

.btn-download-main {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    font-size: 1.2rem;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.btn-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
}

.download-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

/* Guides and News */
.guides-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card, .news-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.guide-card:hover, .news-card:hover {
    transform: translateY(-5px);
}

.guide-meta, .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.guide-category, .news-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.guide-date, .news-date {
    color: rgba(255, 255, 255, 0.7);
}

.guide-title, .news-title {
    margin-bottom: 1rem;
}

.guide-title a, .news-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-title a:hover, .news-title a:hover {
    color: #667eea;
}

.guide-excerpt, .news-excerpt {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-footer, .news-footer {
    text-align: right;
}

.guide-link, .news-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.guide-link:hover, .news-link:hover {
    color: white;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #667eea;
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .download-content {
        grid-template-columns: 1fr auto;
    }
    
    .download-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .game-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .download-features {
        grid-template-columns: 1fr;
    }
    
    .btn-download-main {
        padding: 1.5rem 2rem;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .guides-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-info-card, .story-card, .requirements-card, .feature-card, .guide-card, .news-card {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.protocol-news-section{box-sizing:border-box;width:100%;max-width:1180px;margin:42px auto;padding:0 22px}.protocol-news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.protocol-news-card{padding:22px;border-radius:14px;background:rgba(255,255,255,.94);color:#263443;box-shadow:0 8px 24px rgba(0,0,0,.12)}.protocol-news-card a,.protocol-news-more{color:#2563a8}.protocol-news-card time{display:block;opacity:.7;margin:10px 0}.protocol-news-page{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;padding:110px 22px 60px}.protocol-news-page h1{text-align:center;margin:0 0 32px}.protocol-detail{box-sizing:border-box;max-width:900px;margin:0 auto;padding:30px;border-radius:14px;background:rgba(255,255,255,.96);color:#263443}.protocol-detail time{display:block;opacity:.72;margin:12px 0 22px}.protocol-detail-content{line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.protocol-back{display:inline-block;margin-top:24px}.Agent17-topHead-77d60f{width:100%}.protocol-news-shell{width:100%!important}.managed-download-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.76);display:grid;place-items:center;padding:20px}.managed-download-dialog{width:min(100%,500px);padding:28px;border-radius:14px;background:#171b28;color:#fff;box-sizing:border-box}.managed-download-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.managed-download-dialog button{padding:10px 18px;cursor:pointer}@media(max-width:700px){.protocol-news-page{padding:90px 14px 40px}.protocol-detail{padding:20px}.protocol-news-grid{grid-template-columns:1fr}.managed-download-dialog{padding:22px}}

.protocol-news-more{display:inline-block;margin:20px 0;padding:10px 18px;border-radius:8px;text-decoration:none}
a[data-seo-managed="download-link"]{display:inline-block;color:inherit;text-decoration:none}
.protocol-table-download{display:block;color:inherit;text-decoration:none}
.protocol-news-card{overflow-wrap:anywhere}
.protocol-news-card h2,.protocol-news-card h3{overflow-wrap:anywhere}

.protocol-dark-site .protocol-news-section,.protocol-dark-site .protocol-news-page{background:transparent;color:var(--text-light,#e5faff)}
.protocol-dark-site .protocol-news-card,.protocol-dark-site .protocol-detail{background:rgba(10,14,26,.94);color:var(--text-light,#e5faff);border:1px solid rgba(34,211,238,.22);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.protocol-dark-site .protocol-news-card h2,.protocol-dark-site .protocol-news-card h3,.protocol-dark-site .protocol-news-page>h1{color:var(--primary-cyan,#22d3ee)}
.protocol-dark-site .protocol-news-card p,.protocol-dark-site .protocol-news-card time{color:var(--text-gray,#a6b4c3)}
.protocol-dark-site .protocol-news-card a,.protocol-dark-site .protocol-news-more,.protocol-dark-site .protocol-back{color:var(--primary-cyan,#22d3ee)}

/* Dark news surfaces matching the original purple-gradient site. */
.protocol-news-page {
    max-width: 1280px;
    padding: 128px 28px 76px;
}
.protocol-news-page > h1 {
    margin: 0 0 34px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.2;
    text-shadow: 0 3px 18px rgba(0,0,0,.32);
}
.protocol-news-grid {
    gap: 24px;
}
.protocol-news-page .protocol-news-card,
.game-news .protocol-news-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 26px 26px 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(29,25,61,.92), rgba(30,22,52,.82));
    color: rgba(255,255,255,.88);
    box-shadow: 0 14px 34px rgba(27,12,58,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.protocol-news-page .protocol-news-card h2,
.protocol-news-page .protocol-news-card h3,
.game-news .protocol-news-card h2,
.game-news .protocol-news-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.45;
}
.protocol-news-page .protocol-news-card time,
.game-news .protocol-news-card time {
    margin: 12px 0 15px;
    color: rgba(255,255,255,.62);
    font-size: .9rem;
}
.protocol-news-page .protocol-news-card p,
.game-news .protocol-news-card p {
    margin: 0;
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.protocol-news-page .protocol-news-card a,
.game-news .protocol-news-card a {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 20px;
    color: #c4b5fd;
    font-weight: 600;
    text-decoration: none;
}
.protocol-news-page .protocol-news-card a:hover,
.game-news .protocol-news-card a:hover,
.protocol-news-more:hover,
.protocol-back:hover {
    color: #fff;
}
.protocol-news-page .protocol-news-more,
.protocol-news-page .protocol-back {
    margin-top: 28px;
    color: #c4b5fd;
    font-weight: 600;
}
.protocol-news-page .protocol-detail {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(29,25,61,.95), rgba(30,22,52,.9));
    color: rgba(255,255,255,.88);
    box-shadow: 0 16px 38px rgba(27,12,58,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.protocol-news-page .protocol-detail h1 {
    color: #fff;
    line-height: 1.35;
}
.protocol-news-page .protocol-detail time {
    color: rgba(255,255,255,.62);
}
.protocol-news-page .protocol-detail-content {
    color: rgba(255,255,255,.86);
}
@media (max-width: 700px) {
    .protocol-news-page {
        padding: 104px 16px 48px;
    }
    .protocol-news-page .protocol-news-card,
    .game-news .protocol-news-card {
        min-height: 0;
        padding: 22px 20px 18px;
    }
}

/* The homepage news slot lives directly inside #game-news.  Recreate the
   original container width that the source section provided, so cards do not
   stretch edge-to-edge after the slot replacement. */
.game-news > .section-header,
.game-news > .news-grid,
.game-news > .protocol-news-more {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 22px;
    padding-right: 22px;
}
.game-news > .section-header {
    margin-bottom: 2rem;
}
.game-news > .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.game-news > .protocol-news-more {
    display: block;
    margin-top: 24px;
    padding-top: 0;
    padding-bottom: 0;
    color: #c4b5fd;
    font-weight: 600;
    text-decoration: none;
}
.game-news > .protocol-news-more:hover {
    color: #fff;
}
@media (max-width: 900px) {
    .game-news > .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .game-news > .section-header,
    .game-news > .news-grid,
    .game-news > .protocol-news-more {
        padding-left: 16px;
        padding-right: 16px;
    }
    .game-news > .news-grid {
        grid-template-columns: 1fr;
    }
}
