:root {
    --cypher-bg-primary: #0a0a0a;
    --cypher-bg-secondary: #1a1a1a;
    --cypher-bg-accent: #16213e;
    --cypher-text-primary: #ffffff;
    --cypher-text-secondary: #adb5bd;
    --cypher-text-accent: #00ffff;
    --cypher-border: rgba(255, 255, 255, 0.1);
    --cypher-shadow: rgba(0, 0, 0, 0.3);
    --bitcoin-price: #f7931a;
}

[data-theme="dark"] {
    --cypher-bg-primary: #000000;
    --cypher-bg-secondary: #0a0a0a;
    --cypher-bg-accent: #0f0f23;
    --cypher-text-primary: #ffffff;
    --cypher-text-secondary: #b8c5d6;
    --cypher-text-accent: #00ffff;
    --cypher-border: rgba(255, 255, 255, 0.15);
    --cypher-shadow: rgba(0, 0, 0, 0.5);
}

section.cypher-hero-section a:hover {
    color: #1e2123;
}

/* Hero Section - Compact Parallax Background System */
.cypher-hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--cypher-text-primary);
    padding: 0 2.5% 0 2.5%;
}

.cypher-hero-section .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.cypher-hero-section .row {
    min-height: 75vh;
}

/* Multi-layered Background System - Optimized */
.cypher-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            var(--cypher-bg-primary) 0%,
            var(--cypher-bg-secondary) 35%,
            var(--cypher-bg-accent) 70%,
            var(--cypher-bg-primary) 100%);
    z-index: 0;
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.cypher-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 800px 600px at 20% 20%, rgba(247, 147, 26, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 80%, rgba(255, 102, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 1000px 700px at 60% 40%, rgba(0, 255, 255, 0.04) 0%, transparent 50%);
    background-size: 300% 300%;
    background-position: 0% 0%;
    animation: parallaxDrift 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.8s ease, background-image 1s ease;
    will-change: transform;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cypher-hero-section::after {
        animation: none;
    }
}

/* Dark Mode Enhanced Background */
[data-theme="dark"] .cypher-hero-section::after {
    background-image:
        radial-gradient(ellipse 900px 700px at 20% 20%, rgba(247, 147, 26, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 700px 900px at 80% 80%, rgba(255, 102, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 1100px 800px at 60% 40%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 500px 600px at 10% 70%, rgba(138, 43, 226, 0.08) 0%, transparent 40%);
    opacity: 0.8;
    animation: darkParallaxDrift 25s ease-in-out infinite;
}

/* Floating Geometric Elements */
.cypher-hero-section .hero-content,
.cypher-hero-section .cypher-terminal {
    position: relative;
    z-index: 2;
}

/* Floating particles for light mode */
.cypher-hero-section .hero-content::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 180px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(247, 147, 26, 0.12) 0%, rgba(255, 102, 0, 0.06) 50%, transparent 100%);
    border-radius: 50%;
    animation: lightFloat 12s ease-in-out infinite;
    z-index: 0;
    filter: blur(1px);
}

.cypher-hero-section .hero-content::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -8%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, rgba(138, 43, 226, 0.04) 70%, transparent 100%);
    border-radius: 50%;
    animation: lightFloatReverse 14s ease-in-out infinite;
    z-index: 0;
    filter: blur(0.5px);
}

/* Dark mode floating elements */
[data-theme="dark"] .cypher-hero-section .hero-content::before {
    background: radial-gradient(ellipse, rgba(247, 147, 26, 0.18) 0%, rgba(255, 102, 0, 0.12) 50%, rgba(255, 20, 147, 0.08) 100%);
    animation: darkFloat 15s ease-in-out infinite;
    width: 220px;
    height: 220px;
    filter: blur(1.5px);
    z-index: 0;
}

[data-theme="dark"] .cypher-hero-section .hero-content::after {
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, rgba(138, 43, 226, 0.1) 70%, rgba(255, 20, 147, 0.06) 100%);
    animation: darkFloatReverse 16s ease-in-out infinite;
    width: 150px;
    height: 150px;
    filter: blur(1px);
    z-index: 0;
}

.cypher-main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cypher-highlight {
    color: #00ffff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.cypher-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.cypher-subtitle small {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    display: block;
    margin-top: 0.5rem;
    opacity: 0.85;
}

.cypher-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cypher-btn-primary {
    background: linear-gradient(45deg, #f7931a, #ff6600);
    color: white;
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.3);
}

.cypher-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(247, 147, 26, 0.4);
}

.cypher-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cypher-btn:hover .cypher-arrow {
    transform: translateX(5px);
}

/* Enhanced Terminal Simulation - Optimized */
.cypher-terminal {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--cypher-border);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px var(--cypher-shadow);
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.cypher-terminal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--cypher-shadow);
}

@media (prefers-reduced-motion: reduce) {
    .cypher-terminal:hover {
        transform: none;
    }
}

.terminal-header {
    background: linear-gradient(90deg, var(--cypher-bg-secondary) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--cypher-border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dot:hover {
    transform: scale(1.1);
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.terminal-title {
    color: var(--cypher-text-secondary);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.terminal-body {
    padding: clamp(16px, 3vw, 24px);
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    line-height: 1.6;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    max-height: 400px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    animation: fadeInUp 0.5s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.3s; }
.terminal-line:nth-child(3) { animation-delay: 0.5s; }
.terminal-line:nth-child(4) { animation-delay: 0.7s; }
.terminal-line:nth-child(5) { animation-delay: 0.9s; }
.terminal-line:nth-child(6) { animation-delay: 1.1s; }

.terminal-prompt {
    color: var(--cypher-text-accent);
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.terminal-text {
    color: var(--cypher-text-primary);
    flex: 1;
}

.terminal-output {
    color: #00ff88;
    margin-left: 26px;
    font-weight: 500;
}

.bitcoin-price {
    color: var(--bitcoin-price);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
    animation: priceGlow 2s ease-in-out infinite alternate;
}

.terminal-cursor {
    color: var(--cypher-text-accent);
    animation: blink 1.2s infinite;
    font-weight: bold;
}

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

@keyframes priceGlow {
    from {
        text-shadow: 0 0 5px rgba(247, 147, 26, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(247, 147, 26, 0.8), 0 0 25px rgba(247, 147, 26, 0.4);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Optimized Parallax Background Animations - GPU Accelerated */
@keyframes parallaxDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(2%, 2%, 0) scale(1.02);
    }
}

@keyframes darkParallaxDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(3%, 3%, 0) scale(1.03);
    }
}

/* Compact Floating Element Animations */
@keyframes lightFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) translateX(5px) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes lightFloatReverse {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(10px) translateX(-5px) scale(0.95) rotate(45deg);
        opacity: 0.7;
    }
}

@keyframes darkFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) translateX(8px) scale(1.1) rotate(90deg);
        opacity: 1;
    }
}

@keyframes darkFloatReverse {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(15px) translateX(-8px) scale(1.05) rotate(-90deg);
        opacity: 0.9;
    }
}


/* Price Update Animations */
.price-update {
    animation: pricePulse 1s ease-out;
}

.price-update-subtle {
    animation: priceFade 0.5s ease-out;
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
        color: var(--bitcoin-price);
    }
    50% {
        transform: scale(1.05);
        color: #ffcc00;
    }
    100% {
        transform: scale(1);
        color: var(--bitcoin-price);
    }
}

@keyframes priceFade {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Terminal Visibility Animation */
.terminal-line {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.terminal-line.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* About Section */
.cypher-about-section {
    padding: 100px 0;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .cypher-about-section {
    background: #111111;
}

.cypher-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-section-title {
    color: #ffffff;
}

.cypher-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #f7931a, #ff6600);
    border-radius: 2px;
}

.cypher-about-content {
    max-width: 800px;
    margin: 0 auto;
}

.cypher-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
    text-align: center;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-about-text {
    color: #adb5bd;
}

/* Posts Section */
.cypher-posts-section {
    padding: 80px 0;
    background: white;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .cypher-posts-section {
    background: #0a0a0a;
}

.cypher-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-section-subtitle {
    color: #adb5bd;
}

/* Modern Posts Grid - Max 3 per row */
.cypher-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .cypher-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cypher-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .cypher-post-card {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cypher-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .cypher-post-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cypher-post-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cypher-post-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.cypher-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cypher-post-card:hover .cypher-post-thumb {
    transform: scale(1.05);
}

.cypher-post-card:hover {
    opacity: 1;
}

.cypher-read-more {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cypher-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cypher-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.cypher-post-date {
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-post-date {
    color: #adb5bd;
}

.cypher-post-category {
    background: linear-gradient(45deg, #f7931a, #ff6600);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cypher-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cypher-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-post-title a {
    color: #ffffff;
}

.cypher-post-title a:hover {
    color: #f7931a;
}

.cypher-post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-post-excerpt {
    color: #adb5bd;
}

.cypher-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .cypher-post-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.cypher-post-author span {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-post-author span {
    color: #ffffff;
}

.cypher-post-read-time span {
    color: #f7931a;
    font-weight: 600;
}

/* Dual Style Pagination */
.cypher-pagination-wrapper {
    margin-top: 4rem;
    text-align: center;
}

.cypher-pagination-toggle {
    margin-bottom: 2rem;
}

.pagination-style-btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: 2px solid #f7931a;
    background: white;
    color: #f7931a;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-style-btn.active {
    background: #f7931a;
    color: white;
}

.pagination-style-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 26, 0.3);
}

/* Light Mode Pagination */
.cypher-pagination-container .pagination {
    justify-content: center;
    margin-top: 2rem;
}

.cypher-pagination-container .pagination__item {
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 12px 18px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cypher-pagination-container .pagination__item:hover,
.cypher-pagination-container .page-item.active .pagination__item {
    background: #f7931a;
    color: white;
    border-color: #f7931a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 26, 0.3);
}

/* Dark Mode Pagination */
.cypher-pagination-container.dark-mode .pagination__item {
    border-color: #495057;
    color: #adb5bd;
    background: #343a40;
}

.cypher-pagination-container.dark-mode .pagination__item:hover,
.cypher-pagination-container.dark-mode .page-item.active .pagination__item {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* Services Section */
.cypher-services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: background 0.3s ease;
}

[data-theme="dark"] .cypher-services-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .service-card {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #f7931a;
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card:hover .service-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .service-card h3 {
    color: #ffffff;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    flex: 1;
    transition: color 0.3s ease;
}

[data-theme="dark"] .service-card p {
    color: #adb5bd;
}

/* Tools List */
.cypher-tools-list {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .cypher-tools-list {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.tools-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .tools-title {
    color: #ffffff;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tool-item {
    background: linear-gradient(45deg, #f7931a, #ff6600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-2px);
}

.cypher-warning {
    color: #dc3545;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-warning {
    color: #ff6b6b;
}

.cypher-contact-section {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .cypher-contact-section {
    background: #0a0a0a;
}

.cypher-contact-text {
    color: #adb5bd;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .cypher-contact-text {
    color: #ffffff;
}


.cypher-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item strong {
    color: #00ffff;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Shared Float Animation - GPU Accelerated */
@keyframes float {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(0, -10px, 0) rotate(120deg); }
    66% { transform: translate3d(0, 5px, 0) rotate(240deg); }
    100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

/* Responsive Design - Professional Layout */
@media (max-width: 1200px) {
    .cypher-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .cypher-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cypher-hero-section {
        min-height: auto;
        padding: 3rem 0 2rem 0;
    }

    .cypher-hero-section .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .cypher-hero-section .row {
        gap: 0rem;
    }

    .cypher-terminal {
        margin-top: 1rem;
        max-width: 100%;
		overflow: hidden;
    }

    .cypher-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .terminal-body { overflow: hidden;
        max-height: 300px;
    }

    /* Reduce floating elements on mobile */
    .cypher-hero-section .hero-content::before,
    .cypher-hero-section .hero-content::after {
        display: none;
    }

    .cypher-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .cypher-post-image {
        height: 200px;
    }

    .cypher-post-content {
        padding: 1.25rem;
    }

    .cypher-post-title {
        font-size: 1.1rem;
    }

    .cypher-about-section,
    .cypher-services-section,
    .cypher-posts-section,
    .cypher-contact-section {
        padding: 60px 0;
    }

    .tools-grid {
        flex-direction: column;
        align-items: center;
    }

    .tool-item {
        text-align: center;
    }

    .cypher-contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-item {
        min-width: 280px;
    }
}

@media (max-width: 576px) {
    .cypher-hero-section {
        min-height: auto;
        padding: 2rem 0 1.5rem 0;
    }

    .cypher-hero-section .container {
        padding: 0 1rem;
    }

    .cypher-terminal {
        margin-top: 1.5rem;
        border-radius: 8px;
    }

    .terminal-header {
        padding: 10px 14px;
    }

    .terminal-body { overflow: hidden;
        max-height: 250px;
    }

    .cypher-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .terminal-line {
        margin-bottom: 8px;
        font-size: 0.7rem;
    }

    /* Simplify background on small screens */
    .cypher-hero-section::after {
        opacity: 0.4;
        background-size: 200% 200%;
    }

    .cypher-posts-section {
        padding: 40px 0;
    }

    .cypher-posts-grid {
        gap: 2rem 1rem;
    }

    .cypher-post-card {
        border-radius: 12px;
    }

    .cypher-post-image {
        height: 180px;
    }

    .cypher-post-content {
        padding: 1rem;
    }

    .cypher-post-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .cypher-post-excerpt {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cypher-post-footer {
        padding-top: 0.75rem;
        font-size: 0.8rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .cypher-tools-list {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .tools-title {
        font-size: 1.3rem;
    }

    .cypher-contact-info {
        gap: 1rem;
    }

    .contact-item {
        min-width: 250px;
        padding: 1.25rem 1.5rem;
    }

    .cypher-footer-cta {
        padding: 60px 0;
    }

    .cypher-cta-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .cypher-cta-email {
        font-size: 1.2rem;
        padding: 0.875rem 1.5rem;
    }
}


/* ========================================
   Share Buttons with SVG Icons
   ======================================== */

.single-post__share {
    margin: 3rem 0;
}

.sharing-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .sharing-box {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-box__icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dots-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .dots-icon {
    background: #2a2a2a;
    color: #adb5bd;
}

.dots-icon:hover {
    background: #f7931a;
    color: white;
    transform: rotate(90deg);
}

.share-button-wrapper {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.share-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.share-button:hover::before {
    width: 100%;
    height: 100%;
}

.share-button svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.share-button:hover svg {
    transform: scale(1.1);
}

/* Twitter */
.share-twitter {
    background: #1DA1F2;
    color: white;
}

.share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

/* Facebook - Centered with special styling */
.share-facebook {
    background: #1877F2;
    color: white;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.5);
}

/* Pinterest */
.share-pinterest {
    background: #E60023;
    color: white;
}

.share-pinterest:hover {
    background: #c9001d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 0, 35, 0.4);
}

/* Copy Link */
.share-copy {
    background: #6c757d;
    color: white;
}

.share-copy:hover {
    background: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

.share-copy.copied {
    background: #28a745;
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Email */
.share-envelope {
    background: #ea4335;
    color: white;
}

.share-envelope:hover {
    background: #d33426;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .share-button {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .share-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 576px) {
    .share-box__icon {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-button-wrapper {
        width: 100%;
        justify-content: center;
    }
    
    .share-button {
        width: 40px;
        height: 40px;
    }
    
    .share-facebook {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   Single Post Content Typography
   ======================================== */

.ms-sp--article .entry-content p,
.ms-sp--article .entry-content li,
.ms-sp--article .entry-content a {
    font-size: 1.125rem;
    line-height: 1.8;
}

.ms-sp--article .entry-content ul,
.ms-sp--article .entry-content ol {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.ms-sp--article .entry-content li {
    margin-bottom: 0.75rem;
}

.ms-sp--article .entry-content a {
    color: #f7931a;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.ms-sp--article .entry-content a:hover {
    color: #ff6600;
    text-decoration-thickness: 2px;
}

[data-theme="dark"] .ms-sp--article .entry-content a {
    color: #00ffff;
}

[data-theme="dark"] .ms-sp--article .entry-content a:hover {
    color: #00cccc;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .ms-sp--article .entry-content p,
    .ms-sp--article .entry-content li,
    .ms-sp--article .entry-content a,
    .ms-sp--article .entry-content ul,
    .ms-sp--article .entry-content ol {
        font-size: 1.0625rem;
    }
}

@media (max-width: 576px) {
    .ms-sp--article .entry-content p,
    .ms-sp--article .entry-content li,
    .ms-sp--article .entry-content a,
    .ms-sp--article .entry-content ul,
    .ms-sp--article .entry-content ol {
        font-size: 1rem;
    }
}
