/* Common styles for Bitaxe.JP website */
:root {
    --primary-blue: #3498db;
    --primary-accent: #9b59b6;
    --secondary-accent: #2ecc71;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1e1e1e;
}

body {
    background-color: var(--dark-bg);
    color: #f0f0f0;
    font-family: 'Noto Sans JP', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: var(--darker-bg) !important;
    border-bottom: 1px solid var(--primary-blue);
}

.navbar-brand, .nav-link {
    color: white !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero section for index.html */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../statics/images/bitcoin-1200x600.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-accent), var(--secondary-accent));
}

.hero-content {
    z-index: 1;
}

/* Page header for other pages */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../statics/images/bitcoin-1200x400.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-accent), var(--secondary-accent));
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
}

.neon-text {
    color: var(--primary-blue);
}

.neon-pink {
    color: var(--primary-accent);
}

.neon-green {
    color: var(--secondary-accent);
}

/* Color utility classes */
.primary-blue {
    color: var(--primary-blue);
}

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

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

/* Monospace font class */
.mono {
    font-family: 'Noto Sans JP', 'Consolas', monospace;
    font-weight: 500;
}

/* Content cards */
.content-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-card h3 {
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Feature cards for index.html */
.feature-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 8px var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Button styles */
.btn-neon {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 8px var(--primary-blue);
}

/* Carousel image styles */
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 500px;
}

.carousel-container {
    background-color: var(--card-bg);
    border-radius: 5px;
}

/* Footer styles */
.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--primary-blue);
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Blockchain diagram styles for bitcoin.html */
.blockchain-diagram {
    position: relative;
    padding: 20px 0;
}

.block {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-blue);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
}

.block::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-accent);
    transform: translateY(-50%);
}

.block:last-child::after {
    display: none;
}

.hash {
    font-family: 'Noto Sans JP', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--secondary-accent);
    word-break: break-all;
}

/* Mining diagram styles for bitcoin.html */
.mining-diagram {
    position: relative;
    margin: 30px 0;
}

.mining-step {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.mining-step:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-right: 10px;
}

/* Affiliate banner styles */
.affiliate-banner {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    margin: 30px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.affiliate-banner:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.3);
}

/* Step guide styles for guide.html */
.step-guide {
    counter-reset: step-counter;
}

.step-item {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.step-item::before {
    counter-increment: step-counter;
    content: "STEP " counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary-accent);
    color: white;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.step-item img {
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.step-item:hover img {
    border-color: var(--secondary-accent);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

/* Purchase option styles for guide.html */
.purchase-option {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.purchase-option:hover {
    transform: translateY(-3px);
    border-color: var(--primary-accent);
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.3);
}

.price-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Tip and warning boxes for guide.html */
.tip-box {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-blue);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.warning-box {
    background-color: rgba(155, 89, 182, 0.1);
    border-left: 4px solid var(--primary-accent);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

/* FAQ styles for faq.html */
.faq-section {
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 2rem;
}

.faq-question::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

.faq-answer {
    position: relative;
    padding-left: 2rem;
}

.faq-answer::before {
    content: 'A.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Category tabs for faq.html */
.category-tabs {
    margin-bottom: 2rem;
}

.category-tabs .nav-link {
    color: #f0f0f0;
    background-color: var(--card-bg);
    border: 1px solid #333;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-tabs .nav-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: var(--primary-blue);
}

.category-tabs .nav-link.active {
    background-color: rgba(52, 152, 219, 0.2);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Search box for faq.html */
.search-box {
    position: relative;
    margin-bottom: 2rem;
}

.search-box input {
    background-color: var(--card-bg);
    border: 1px solid #333;
    color: #f0f0f0;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
    background-color: rgba(10, 10, 10, 0.95);
    color: #ffffff;
}

.search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}
