/*
Theme Name: Core Bitcoin Staking
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom theme for Core Bitcoin Staking platform
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: core-staking
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --black: #000000;
    --dark-bg: #111111;
    --primary-orange: #ff8a3d;
    --secondary-orange: #e67022;
    --dark-orange-gradient: linear-gradient(135deg, #ff8a3d, #2a1500);
    --light-gray: #aaaaaa;
    --white: #ffffff;
}

/* 彻底清除导航菜单的列表符号 */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}


body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.5;
}

/* 全局容器：统一增加左右留白 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* 核心：增加大量左右留白 */
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: bold;
}

.logo-icon {
    width: 20px;
    height: 20px;
    background-color: var(--primary-orange);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: 0.3s;
}

/* ========== Hero 左右结构 ========== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(100,40,0,0.3) 0%, rgba(0,0,0,1) 70%);
    padding-top: 80px;
}
.hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
}
.hero-content {
    max-width: 100%;
}
.hero-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.hero p {
    color: var(--light-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: var(--white);
    color: var(--black);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #f0f0f0;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--primary-orange);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 0 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.2rem;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.feature-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(90deg, #1a2a3a 0%, #ff8a3d 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.stats-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.stats-title a {
    color: var(--light-gray);
    font-size: 0.9rem;
    text-decoration: none;
}

.stats-cards {
    display: flex;
    gap: 2rem;
}

.stat-card {
    background-color: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.stat-card .label {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: bold;
}

/* Satoshi Plus Section */
.satoshi-section {
    padding: 6rem 0;
    background-color: var(--black);
}

.satoshi-card {
    background: linear-gradient(90deg, #111 0%, #ff8a3d 100%);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 3rem;
    flex-wrap: wrap;
}

.satoshi-visual {
    flex: 1;
    min-width: 220px;
    display: flex;
    justify-content: center;
}

.circle-diagram {
    width: 200px;
    height: 200px;
    position: relative;
}

.circle {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
}

.circle-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle-2 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.circle-center {
    width: 30%;
    height: 30%;
    background-color: var(--primary-orange);
    border-radius: 50%;
    top: 35%;
    left: 35%;
}

.bitcoin-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.bitcoin-icon-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.bitcoin-icon-2 { bottom: 10%; left: 50%; transform: translateX(-50%); }

.satoshi-content {
    flex: 1;
    min-width: 280px;
}

.satoshi-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.satoshi-content .subtitle {
    color: var(--light-gray);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.satoshi-content p {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-secondary {
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 0.8rem 2.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.25);
}

/* Fusion Section */
.fusion-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.fusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.fusion-card {
    text-align: center;
    padding: 0 1rem;
}

.fusion-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.2rem;
    opacity: 0.8;
}

.fusion-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.fusion-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.fusion-section .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Subscribe & Community Section */
.subscribe-section {
    padding: 0;
    margin: 5rem auto;
    background: linear-gradient(90deg, #1a2a3a 0%, #ff8a3d 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
}

.subscribe-box, .community-box {
    padding: 4rem;
}

.subscribe-box h3, .community-box h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 30px;
    border: none;
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 1rem;
}

.subscribe-form button {
    background-color: var(--white);
    color: var(--black);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: rgba(255,255,255,0.25);
}

/* Footer */
footer {
    background-color: var(--black);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: bold;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
}

.footer-nav a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--light-gray);
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    color: var(--light-gray);
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .hero-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 20px;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0,0,0,0.95);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .stats-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-cards {
        width: 100%;
        flex-direction: column;
    }

    .subscribe-section {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        margin-top: 1rem;
    }
}







/* ======================================
   通用页面样式（面包屑 / 标题区域）
====================================== */
.page-header-section {
  padding: 100px 0 40px;
  background: #000;
}
.page-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.4;
}
.breadcrumbs {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.breadcrumbs a {
  color: #ff8a3d;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #fff;
}

/* ======================================
   新闻列表页样式 archive.php
====================================== */
.news-archive-section {
  padding: 40px 0 80px;
  background: #000;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.news-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.news-card a {
  display: block;
  text-decoration: none;
}
.news-thumb {
  height: 200px;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.news-thumb img:hover {
  transform: scale(1.05);
}
.news-card .date {
  color: #ff8a3d;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.4;
}
.news-card p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ======================================
   分页样式
====================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  color: #fff;
  padding: 8px 14px;
  background: #111;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}
.pagination .page-numbers.current {
  background: #ff8a3d;
  color: #000;
  font-weight: bold;
}
.pagination .page-numbers:hover:not(.current) {
  background: #222;
}

/* 单页左右布局 */
.single-container {
  padding: 40px 0;
  background: #000;
}
.single-row {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.single-left {
  flex: 1;
  min-width: 0;
}
.single-right {
  width: 320px;
  flex-shrink: 0;
}

/* 右侧边栏 */
.sidebar-box {
  background: #111;
  border-radius: 12px;
  padding: 25px;
  position: sticky;
  top: 100px;
}
.sidebar-box h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}
.related-title-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-title-list li {
  margin-bottom: 12px;
}
.related-title-list a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  line-height: 1.4;
}
.related-title-list a:hover {
  color: #ff8a3d;
}

/* 上一篇下一篇 */
.post-nav {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #333;
}
.post-nav a {
  flex: 1;
  color: #fff;
  background: #111;
  padding: 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.post-nav a:hover {
  background: #222;
}

/* 底部最新文章板块 */
.latest-posts {
  background: #000;
  padding: 60px 0;
}
.latest-posts h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-align: center;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.latest-card {
  display: block;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}
.latest-thumb {
  height: 200px;
  overflow: hidden;
}
.latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-info {
  padding: 18px;
}
.latest-info h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.latest-info p {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.post-thumbnail img{
    width: 100%;
    height: auto;
}
.single-left p{
    margin-bottom: 15px;
}

/* 移动端适配 */
@media (max-width: 992px) {
  .single-row {
    flex-direction: column;
  }
  .single-right {
    width: 100%;
  }
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .latest-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .post-nav {
    flex-direction: column;
  }
}








/* index news */
.news-section {
    padding: 60px 0;
    background-color: #000;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 10px;
    color: #ff8a3d;
}

.news-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #aaa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-thumb {
    height: 200px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-info .date {
    color: #ff8a3d;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.news-info h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: #fff;
    line-height: 1.4;
}

.news-info p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.no-thumb {
    width: 100%;
    height: 100%;
    background: #222;
    display: grid;
    place-items: center;
    color: #666;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
