:root {
    --bg-dark: hsl(240, 15%, 5%);
    --bg-card: hsla(240, 15%, 12%, 0.7);
    --text-main: hsl(210, 20%, 95%);
    --text-muted: hsl(220, 10%, 70%);
    --accent-primary: hsl(340, 90%, 60%);
    --accent-secondary: hsl(190, 100%, 50%);
    --accent-tertiary: hsl(270, 80%, 65%);
    --glass-bg: hsla(240, 15%, 15%, 0.4);
    --glass-border: hsla(0, 0%, 100%, 0.1);
    --glass-shadow: 0 8px 32px 0 hsla(0, 0%, 0%, 0.8);
    --neon-blue: 0 0 10px hsla(190, 100%, 50%, 0.3), 0 0 20px hsla(190, 100%, 50%, 0.1);
    --neon-purple: 0 0 10px hsla(270, 80%, 65%, 0.3), 0 0 20px hsla(270, 80%, 65%, 0.1);
    --border-glow: 0 0 20px hsla(340, 90%, 60%, 0.2);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-tertiary);
    border-radius: 4px;
}

/* Typography elements */
.glitch {
    font-family: 'DotGothic16', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent-primary), -0.025em -0.05em 0 var(--accent-secondary),
                 0.025em 0.05em 0 var(--accent-tertiary);
    animation: glitch 1s infinite alternate;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 var(--accent-primary), -0.05em -0.025em 0 var(--accent-secondary), -0.025em 0.05em 0 var(--accent-tertiary); }
    14% { text-shadow: 0.05em 0 0 var(--accent-primary), -0.05em -0.025em 0 var(--accent-secondary), -0.025em 0.05em 0 var(--accent-tertiary); }
    15% { text-shadow: -0.05em -0.025em 0 var(--accent-primary), 0.025em 0.025em 0 var(--accent-secondary), -0.05em -0.05em 0 var(--accent-tertiary); }
    49% { text-shadow: -0.05em -0.025em 0 var(--accent-primary), 0.025em 0.025em 0 var(--accent-secondary), -0.05em -0.05em 0 var(--accent-tertiary); }
    50% { text-shadow: 0.025em 0.05em 0 var(--accent-primary), 0.05em 0 0 var(--accent-secondary), 0 -0.05em 0 var(--accent-tertiary); }
    99% { text-shadow: 0.025em 0.05em 0 var(--accent-primary), 0.05em 0 0 var(--accent-secondary), 0 -0.05em 0 var(--accent-tertiary); }
    100% { text-shadow: -0.025em 0 0 var(--accent-primary), -0.025em -0.025em 0 var(--accent-secondary), -0.025em -0.05em 0 var(--accent-tertiary); }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 30, 45, 1) 0%, var(--bg-dark) 70%);
    padding: 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgoJPHJlY3Qgd2lkdGg9IjQiIGhlaWdodD0iNCIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+Cjwvc3ZnPg==') repeat;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    z-index: 10;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin-top: 1rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    margin-top: 2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-main);
    border-bottom: 2px solid var(--text-main);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.era-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Cards (Glassmorphism) */
.era-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    display: flex;
    flex-direction: column;
}


.era-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.era-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--border-glow);
    border-color: var(--accent-primary);
}

.era-year {
    font-family: 'DotGothic16', sans-serif;
    font-size: 2rem;
    color: var(--accent-secondary);
    display: block;
    margin-bottom: 1rem;
}

.era-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.era-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-tertiary);
    color: var(--accent-tertiary);
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.era-card:hover .btn {
    background: var(--accent-tertiary);
    color: #fff;
    box-shadow: 0 0 15px rgba(179, 102, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .glitch { font-size: 3rem; }
    .subtitle { font-size: 1.2rem; }
    .container { padding: 2rem 1rem; }
}

/* Article Pages Shared Styles */
.article-header {
    padding: 6rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(25,25,35,0.8) 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.article-year {
    font-family: 'DotGothic16', sans-serif;
    font-size: 3rem;
    color: var(--accent-primary);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h3 {
    font-size: 1.6rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-secondary);
    padding-left: 1rem;
}

.article-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.affiliate-box {
    background: rgba(255, 51, 102, 0.05);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.affiliate-box h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.affiliate-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent-primary), #ff6b6b);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.affiliate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.6);
}

/* Premium Affiliate Card */
.premium-affiliate-card {
    background: linear-gradient(135deg, rgba(20,20,30,0.8) 0%, rgba(30,20,40,0.9) 100%);
    border: 1px solid var(--accent-tertiary);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 4rem auto;
    box-shadow: 0 10px 40px rgba(179, 102, 255, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 900px;
}

.premium-affiliate-card::before {
    content: 'RECOMMEND';
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-style: italic;
    pointer-events: none;
}

.premium-affiliate-image {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    position: relative;
}

.premium-affiliate-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.premium-affiliate-content h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 900;
}

.premium-affiliate-content p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.premium-affiliate-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary));
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-affiliate-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(179, 102, 255, 0.6);
}

@media (max-width: 768px) {
    .premium-affiliate-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
}

.back-link {
    display: inline-block;
    margin-top: 3rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-secondary);
}

/* Global Navigation */
.global-nav {
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'DotGothic16', sans-serif;
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-tertiary);
}

/* ページコンテンツの余白調整 */
body {
    padding-top: 60px;
}
.hero {
    margin-top: -60px;
}

.site-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

/* Contact Form */
.form-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--accent-tertiary);
    color: var(--accent-tertiary);
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-tertiary);
    color: #fff;
    box-shadow: 0 0 15px rgba(179, 102, 255, 0.5);
}

/* Search Modal */
.search-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-secondary);
    color: #000;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    z-index: 100;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

.search-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-search:hover {
    color: var(--accent-primary);
}

.search-container {
    width: 90%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--accent-secondary);
    color: #fff;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-results {
    margin-top: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    width: 100%;
}

.search-result-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: block;
    text-decoration: none;
    transition: background 0.3s;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-title {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.search-result-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* Other Eras Navigation */
.other-eras {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.other-eras h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.era-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.era-links a {
    display: block;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.era-links a:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.2);
}

@media (max-width: 600px) {
    .era-links {
        flex-direction: column;
        align-items: stretch;
    }
    .era-links a {
        text-align: center;
    }
}

/* Era Showcase Gallery */
.era-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-tertiary);
    transform: scale(1.02);
}

.showcase-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-tertiary);
    color: #fff;
    font-size: 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.showcase-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.showcase-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Game Comparison List (Hardware & Software Layout) */
.game-comparison {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.comparison-header {
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 1rem;
}

.comparison-header h3 {
    font-size: 2rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

.hardware-block {
    background: linear-gradient(180deg, rgba(30,30,45,0.8), rgba(15,15,20,0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 2rem;
}

.hardware-name {
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-secondary);
    border-radius: 30px;
    font-family: 'DotGothic16', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    z-index: 2;
}

.hardware-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.hardware-name a:hover {
    color: var(--accent-primary);
}

/* Social Share Section */
.share-section {
    margin-top: 6rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(25, 25, 35, 0.6), rgba(15, 15, 20, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.share-card-premium {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.share-card-premium:hover {
    transform: scale(1.01);
}

.share-card-visual {
    width: 280px;
    background: url('images/ogp.png') center/cover no-repeat;
    flex-shrink: 0;
}

.share-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.share-card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-secondary);
}

.share-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.share-title {
    font-family: 'DotGothic16', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(179, 102, 255, 0.5);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.share-btn-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    min-width: 200px;
}

.share-x { 
    background: #000; 
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.share-x::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.share-x:hover::after {
    left: 120%;
}

.share-fb { background: #1877f2; }
.share-line { background: #06c755; }
.share-copy { background: linear-gradient(45deg, var(--accent-tertiary), var(--accent-primary)); }

.share-btn-item:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .share-card-premium { flex-direction: column; }
    .share-card-visual { width: 100%; height: 180px; }
    .share-buttons { flex-direction: column; align-items: stretch; }
    .share-btn-item { min-width: auto; }
}

/* Individual Card Share Button */
.card-share-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(-10px);
}

.game-card:hover .card-share-btn,
.era-card:hover .card-share-btn,
.hw-card:hover .card-share-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-share-btn:hover {
    background: #000;
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    transform: scale(1.1);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Individual Game Card */
.game-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary));
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.game-card:hover::before {
    opacity: 1;
}

.type-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.game-card.representative .type-label {
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 229, 255, 0.4);
}

.game-card.maniac .type-label {
    background: rgba(179, 102, 255, 0.15);
    color: var(--accent-tertiary);
    border: 1px solid rgba(179, 102, 255, 0.4);
}

.game-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 900;
    line-height: 1.3;
}

.game-manufacturer {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 1.2rem !important;
    display: block;
}

.game-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .hardware-block {
        padding: 2.5rem 1.5rem;
    }
    .hardware-name {
        font-size: 1.1rem;
        left: 1rem;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}


/* Hardware Profile Page */
.hardware-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(110, 68, 255, 0.15) 0%, transparent 70%);
}

.hardware-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spec-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.spec-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--accent-tertiary);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'DotGothic16', sans-serif;
}

.hardware-story {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.hardware-story h2 {
    font-size: 2rem;
    border-left: 4px solid var(--accent-secondary);
    padding-left: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hardware-story p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.detailed-game-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.detailed-game-card:nth-child(even) {
    grid-template-columns: 1fr 280px;
}

.game-icon-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.meta-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: bold;
}

.trivia-section {
    background: rgba(110, 68, 255, 0.05);
    border: 1px dashed var(--accent-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 4rem 0;
}

.trivia-section h4 {
    color: var(--accent-tertiary);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hardware-nav-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

@media (max-width: 900px) {
    .detailed-game-card, .detailed-game-card:nth-child(even) {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.game-manufacturer {
    font-size: 0.75rem;
    color: var(--accent-tertiary);
    font-weight: 900;
    margin-bottom: 0.8rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legendary Hardware Section */
.hardware-showcase {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.section-title {
    font-family: 'DotGothic16', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-secondary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.hw-card {
    background: linear-gradient(135deg, rgba(20,20,30,0.8), rgba(10,10,15,0.9));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.hw-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: linear-gradient(45deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
}

.hw-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.2);
}

.hw-card:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.hw-year {
    font-family: 'DotGothic16', sans-serif;
    color: var(--accent-primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hw-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hw-icon {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.hw-card:hover .hw-icon {
    transform: scale(1.2);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(25, 25, 35, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--accent-secondary);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.back-to-top.visible {
    bottom: 30px;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--accent-secondary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

/* Enhancing detailed-game-card hover */
.detailed-game-card {
    transition: all 0.3s ease;
}
.detailed-game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.15);
}

/* Era Banner styling */
.era-banner-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.era-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px; /* Make it a wide banner look */
}

/* CSS Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.carousel-card {
    width: 320px;
    height: 200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    border: 1px solid var(--accent-secondary);
}

.carousel-card:hover img {
    transform: scale(1.1);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--text-main);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-size: 1.1rem;
}

/* Timeline Section */
.timeline-section {
    margin: 4rem 0;
    position: relative;
    padding-left: 2rem;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-secondary);
    border: 2px solid var(--bg-dark);
}

.timeline-year {
    font-family: 'DotGothic16', sans-serif;
    color: var(--accent-secondary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.timeline-content h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Affiliate Banners Section */
.affiliate-banners {
    margin-top: 4rem;
    padding: 4rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.05));
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.banners-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.banner-item {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.banner-item:hover {
    transform: translateY(-10px) scale(1.05);
}

@media (max-width: 768px) {
    .banners-container {
        gap: 2rem;
    }
}

/* Premium Section Header */
.section-header-premium {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px hsla(340, 90%, 60%, 0.4);
}

.section-title-premium {
    font-family: 'DotGothic16', sans-serif;
    font-size: 2.5rem;
    color: var(--text-main);
    text-shadow: var(--neon-blue);
}

/* Daily Pick Card */
.daily-pick-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glass-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.daily-pick-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.2);
}

.daily-pick-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.daily-pick-label {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.daily-pick-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.daily-pick-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.daily-pick-btn {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-tertiary));
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.daily-pick-visual {
    width: 350px;
    background: linear-gradient(135deg, hsla(190, 100%, 50%, 0.1), hsla(270, 80%, 65%, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.visual-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(30px);
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(0.8); opacity: 0.1; }
    to { transform: scale(1.2); opacity: 0.3; }
}

.visual-icon {
    font-size: 8rem;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .daily-pick-card { flex-direction: column; }
    .daily-pick-visual { width: 100%; height: 200px; }
    .daily-pick-info { padding: 2rem; }
    .daily-pick-title { font-size: 1.5rem; }
}

/* Scroll Progress Refined */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    z-index: 1001;
    width: 0;
    transition: width 0.1s ease;
}

/* Back to Top Refined */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-secondary);
    color: #000;
    transform: translateY(-5px);
}
