/*
Theme Name: Cryptoatics
Theme URI: https://cryptoatics.com
Author: Cryptoatics Team
Author URI: https://cryptoatics.com
Description: A modern WordPress theme for crypto enthusiasts and investors
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cryptoatics
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Import AOS (Animate On Scroll) */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* Global Variables */
:root {
    --primary-color: #FF008A;
    --secondary-color: #FCB900;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: #222222;
    --glow-color: rgba(255, 0, 166, 0.5);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 30px;
    --bg-light: rgba(255, 255, 255, 0.1);
    --accent-color: #00FF88;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    /* Default spacing variables */
    --nav-height: 77px;
    --admin-bar-height: 32px;
    --mobile-admin-bar-height: 46px;
    --mobile-padding: 16px; /* New variable for mobile side padding */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
}

html, body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Admin bar fix for all pages */
html {
    margin-top: 0 !important;
}

body.admin-bar {
    /* Remove any top margin that would cause jumping */
    margin-top: 0 !important;
}

a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main content layout - improved spacing */
main {
    position: relative;
    z-index: 1;
    background: var(--dark-bg);
}

/* Front page specific spacing */
body.home main {
    padding-top: 0;
}

/* Standard page spacing */
body:not(.home) main {
    padding-top: 30px;
}

/* Admin bar adjustments */
.admin-bar #wpadminbar {
    display: block !important;
    position: fixed !important;
}

/* Admin bar specific adjustments */
@media screen and (max-width: 782px) {
    body.admin-bar {
        --admin-bar-height: 46px;
    }
}

/* Main header title needs padding */
.page-content h1.entry-title,
.documentation-content h1, 
.archive-title, 
.entry-header h1,
.page-header h1 {
    padding-top: 30px;
}

/* For help center pages */
body.page-template-help-center main,
.help-center-page main {
    padding-top: 20px;
}

/* Adjust for inner pages */
.page:not(.home) .entry-content,
.single .entry-content {
    padding-top: 20px;
}

/* Section spacing consistency - SCOPED TO HOME PAGE ONLY */
body.home section {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* section h2 {
    margin-bottom: 50px;
    text-align: center;
} */

/* Basic chat widget styling - prevent layout shifts */
.chc-chat-widget {
    position: fixed;
    z-index: 9999;
}

/* Make transitions smoother on the chat widget */
.chc-chat-container {
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* Featured Symbols - Note: Ticker styling is now handled by the crypto-ticker plugin */
.featured-symbols {
    background: transparent;
    padding: 20px 0;
    overflow: hidden;
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Mobile Global Padding */
@media (max-width: 768px) {
    /* Apply 16px padding to all content containers for mobile */
    .container:not(.full-width),
    main > *:not(.full-width),
    .entry-content > *:not(.full-width),
    .page-content > *:not(.full-width),
    article > *:not(.full-width) {
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
    }
    
    /* Reset padding for containers with full-width class */
    .full-width {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Reset padding for containers with full-width class */
    .full-width {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container {
        padding: 0 15px;
    }

    .page-content {
        padding: 15px 0;
    }

    .entry-title {
        font-size: 1.8rem;
        padding: 15px 0;
    }

    .entry-content {
        padding: 10px 0;
    }

    .entry-content h2 {
        font-size: 1.5rem;
        margin: 1.2rem 0;
    }

    .entry-content h3 {
        font-size: 1.3rem;
        margin: 1rem 0;
    }

    /* Remove border from chc-container */
    .chc-container {
        border: none;
    }

    /* Optimize article spacing */
    article {
        padding: 15px 0;
    }

    /* Optimize search results */
    .search-results article {
        margin-bottom: 15px;
    }

    /* Optimize category pages */
    .category-content {
        padding: 10px 0;
    }

    /* Adjust list spacing */
    .entry-content ul,
    .entry-content ol {
        padding-left: 20px;
        margin: 0.8rem 0;
    }

    /* Optimize blockquote spacing */
    .entry-content blockquote {
        margin: 1rem 0;
        padding: 0.8rem 1rem;
    }

    /* Adjust image spacing */
    .entry-content img {
        margin: 0.8rem 0;
    }

    /* Featured Symbols Mobile Optimization */
    .featured-symbols {
        padding: 10px 0;
    }

    /* Hero Crypto Ticker Mobile Optimization */
    .hero-crypto-ticker .crypto-ticker-container {
        min-height: 120px;
    }

    .hero-crypto-ticker .ticker-item {
        min-height: 120px;
        padding: 0 20px;
    }

    .hero-crypto-ticker .token-logo,
    .hero-crypto-ticker img.token-logo {
        width: 60px;
        height: 60px;
    }

    .hero-crypto-ticker .crypto-symbol-icon {
        height: 100px;
    }

    .hero-crypto-ticker .symbol-name {
        font-size: 24px;
        margin-left: 15px;
    }

    .hero-crypto-ticker .ticker-price {
        font-size: 24px;
        margin-right: 15px;
    }

    .hero-crypto-ticker .ticker-change {
        font-size: 18px;
        padding: 4px 12px;
    }

    /* Section spacing consistency for mobile */
    section {
        padding: 40px 0;
    }
}

/* Further optimizations for very small screens */
@media (max-width: 480px) {
    /* Reset padding for very small screens */
    .container {
        padding: 0 10px;
    }

    .page-content {
        padding: 12px 0;
    }

    .entry-title {
        font-size: 1.6rem;
        padding: 12px 0;
    }

    .entry-content {
        padding: 8px 0;
    }

    .entry-content h2 {
        font-size: 1.4rem;
        margin: 1rem 0;
    }

    .entry-content h3 {
        font-size: 1.2rem;
        margin: 0.8rem 0;
    }

    /* Further reduce spacing for very small screens */
    article {
        padding: 12px 0;
    }

    .search-results article {
        margin-bottom: 12px;
    }

    .category-content {
        padding: 8px 0;
    }

    /* Featured Symbols Further Mobile Optimization */
    .featured-symbols {
        padding: 5px 0;
    }

    /* Hero Crypto Ticker Small Screen Optimization */
    .hero-crypto-ticker .crypto-ticker-container {
        min-height: 70px;
    }

    .hero-crypto-ticker .ticker-item {
        min-height: 70px;
        padding: 0 10px;
    }

    .hero-crypto-ticker .token-logo,
    .hero-crypto-ticker img.token-logo {
        width: 40px;
        height: 40px;
    }

    .hero-crypto-ticker .crypto-symbol-icon {
        height: 60px;
    }

    .hero-crypto-ticker .symbol-name {
        font-size: 16px;
        margin-left: 8px;
    }

    .hero-crypto-ticker .ticker-price {
        font-size: 16px;
        margin-right: 8px;
    }

    .hero-crypto-ticker .ticker-change {
        font-size: 12px;
        padding: 2px 6px;
    }

    /* Section spacing consistency for small screens */
    section {
        padding: 0;
    }
}

/*
==========================================================================
  Footer Styles (Consolidated from /components/footer/styles.css)
==========================================================================
*/
body .site-footer {
    background-color: var(--darker-bg);
    padding: 80px 5% 30px;
    position: relative;
    overflow: hidden;
}

body .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: shimmer 2s infinite;
    z-index: 1;
}

body .site-footer .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

body .site-footer .footer-sections-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
}

body .site-footer .footer-section {
    position: relative;
    flex: 1;
}

body .site-footer .footer-section h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
}

body .site-footer .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

body .site-footer .footer-section ul {
    list-style: none;
    padding: 0;
}

body .site-footer .footer-section ul li {
    margin-bottom: 12px;
}

body .site-footer .footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

body .site-footer .footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

body .site-footer .footer-section ul li a:hover {
    color: var(--light-text);
    transform: translateX(5px) !important;
}

body .site-footer .footer-section ul li a:hover::before {
    width: 100%;
}

body .site-footer .brand-section {
    max-width: 290px;
}

body .site-footer .footer-logo {
    margin-bottom: 20px;
}

body .site-footer .footer-logo img {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

body .site-footer .footer-logo img:hover {
    transform: scale(1.05);
}

body .site-footer .brand-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 24px;
}

body .site-footer .social-links {
    display: flex;
    gap: 16px;
}

body .site-footer .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

body .site-footer .social-link:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

body .site-footer .social-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker-bg);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--light-text);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-color);
}

body .site-footer .social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

body .site-footer .sign-up-section {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

body .site-footer .sign-up-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

body .site-footer .sign-up-section h3 {
    margin-bottom: 16px;
}

body .site-footer .sign-up-section p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

body .site-footer .footer-sign-up-btn {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition-property: transform, color, background-color, opacity;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}

body .site-footer .footer-sign-up-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 166, 0.3);
}

body .site-footer .footer-sign-up-btn i {
    transition: transform 0.3s ease;
}

body .site-footer .footer-sign-up-btn:hover i {
    transform: translateX(2px);
}

body .site-footer .footer-bottom {
    padding-top: 0;
    border-top: none;
    position: relative;
}

body .site-footer .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-top: 0;
    border-top: none;
}

body .site-footer .footer-bottom p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

body .site-footer .footer-links {
    display: flex;
    gap: 24px;
}

body .site-footer .footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

body .site-footer .footer-links a:hover {
    color: var(--primary-color);
}

body .site-footer .crypto-ticker-wrapper.footer-ticker {
    background: transparent;
    padding: 0;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 0;
}

body .site-footer .crypto-ticker-container {
    position: relative;
    overflow: hidden;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px 0;
    background: rgba(30, 30, 35, 0.4);
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

body .site-footer .crypto-ticker-wrapper.footer-ticker::before,
body .site-footer .crypto-ticker-wrapper.footer-ticker::after,
body .site-footer .crypto-ticker-container::before,
body .site-footer .crypto-ticker-container::after {
    display: none;
}

body .site-footer .crypto-ticker-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    grid-template-columns: none;
    grid-auto-flow: unset;
    animation: tickerAnimation var(--ticker-speed, 30s) linear infinite;
    will-change: transform;
    -webkit-animation: tickerAnimation var(--ticker-speed, 30s) linear infinite;
    animation-play-state: running;
    transform: translateX(0);
}

body .site-footer .crypto-ticker-wrapper:hover .crypto-ticker-track {
    animation-play-state: paused;
}

body .site-footer .footer-ticker .ticker-item {
    padding: 0 20px;
    border-right: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-template-columns: none;
    white-space: nowrap;
}

body .site-footer .footer-ticker .ticker-symbol .token-logo {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

body .site-footer .footer-ticker .ticker-symbol .symbol-name {
    font-weight: 500;
    margin-left: 5px;
}

body .site-footer .footer-ticker .ticker-price {
    font-weight: 600;
}

body .site-footer .footer-ticker .ticker-change.positive {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: var(--accent-color);
}

body .site-footer .footer-ticker .ticker-change.negative {
    background: rgba(255, 0, 138, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: var(--primary-color);
}

.crypto-ticker-wrapper.loading::after {
    display: none;
}

.crypto-ticker-wrapper.loading {
    min-height: auto;
}

@keyframes tickerAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@-webkit-keyframes tickerAnimation {
    0% {
        -webkit-transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
    }
}

body .site-footer .crypto-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.site-footer,
.site-footer * {
    transition-property: transform, opacity, background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    backface-visibility: hidden;
}

@media (max-width: 992px) {
    body .site-footer .footer-container {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }

    body .site-footer .footer-sections-row {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        justify-content: space-between;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    body .site-footer .footer-sections-row::-webkit-scrollbar {
        display: initial;
    }

    body .site-footer .footer-section {
        flex: 0 0 auto;
        max-width: 80%;
    }

    body .site-footer .brand-section {
        max-width: 100%;
        text-align: center;
    }

    body .site-footer .social-links {
        justify-content: center;
    }

    body .site-footer .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    body .site-footer .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    body .site-footer {
        padding: 60px 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    body .site-footer .footer-sections-row {
        overflow-x: hidden;
        gap: 30px;
    }
    
    body .site-footer .footer-section {
        min-width: 0;
        width: 100%;
        flex: 1;
    }

    body .site-footer .footer-section:not(.brand-section):not(.sign-up-section) {
        text-align: left;
    }

    body .site-footer .footer-section h3 {
        margin-bottom: 20px;
    }

    body .site-footer .footer-section h3::after {
        left: 0;
        transform: none;
    }

    body .site-footer .footer-section ul {
        display: inline-block;
        text-align: left;
    }

    body .site-footer .footer-section ul li {
        margin-bottom: 10px;
    }

    body .site-footer .footer-section ul li a {
        font-size: 0.9rem;
    }

    body .site-footer .footer-section ul li a:hover {
        transform: translateX(3px);
    }

    body .site-footer .sign-up-section {
        padding: 30px 20px;
        margin: 0 auto;
        width: 100%;
    }

    body .site-footer .sign-up-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    }

    body .site-footer .social-links {
        gap: 12px;
    }

    body .site-footer .newsletter-form .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    body .site-footer .crypto-ticker-wrapper.footer-ticker {
        margin: 0 0 15px;
    }
    
    body .site-footer .crypto-ticker-container {
        padding: 12px 0;
    }
    
    body .site-footer .footer-ticker .ticker-item {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    body .site-footer {
        padding: 40px 10px 15px;
    }

    body .site-footer .footer-sections-row {
        gap: 15px;
    }

    body .site-footer .footer-section {

    }

    body .site-footer .footer-section h3 {
        font-size: 1rem;
    }

    body .site-footer .footer-section ul li a {
        font-size: 0.85rem;
    }

    body .site-footer .footer-logo img {
        width: 140px;
    }

    body .site-footer .footer-links {
        gap: 15px;
    }
}


/* Page Content Styles */
.page-content {
    padding: 80px 0;
    min-height: calc(100vh - 80px - 400px); /* Account for header and footer */
}

.page-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-header {
    margin-bottom: 40px;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.entry-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--light-text);
    margin: 1.5em 0 0.5em;
    font-weight: 600;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: var(--secondary-color);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: var(--radius-md);
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 2em 0;
    padding: 1em 2em;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.entry-content blockquote p {
    margin: 0;
    font-style: italic;
}

.page-links {
    margin: 2em 0;
    padding: 1em;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.page-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5em;
}

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

@media (max-width: 768px) {
    .page-content {
        padding: 60px 0;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-content h2 {
        font-size: 1.75rem;
    }

    .entry-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 40px 0;
    }

    .entry-title {
        font-size: 1.75rem;
    }

    .entry-content {
        font-size: 0.95rem;
    }
}

/* Admin bar adjustments */
.admin-bar .site-header,
.admin-bar header nav {
    top: var(--wp-admin--admin-bar--height);
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar header nav {
        top: var(--wp-admin--admin-bar--height);
    }
}

/* Navigation Menu Styling */
.nav-controls {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-controls .nav-item {
    display: inline-block;
    margin-left: 20px;
}

.nav-controls .nav-link {
    text-decoration: none;
}

.nav-controls .nav-link.log-in {
    color: var(--link-color, #fff);
    font-weight: 500;
}

.nav-controls .nav-link.get-started,
.nav-controls .menu-item-has-children:has(> a.get-started) > a {
    background-color: var(--accent-color, #3772FF);
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-controls .nav-link.get-started:hover,
.nav-controls .menu-item-has-children:has(> a.get-started) > a:hover {
    background-color: transparent;
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.logo-menu {
    display: contents;
}

/* Ensure fallback logo has same styling */
.logo a {
    display: block;
}

.logo img {
    max-height: 40px;
    width: auto;
}

/* End of theme styles */


/* Hero Content Mobile Spacing */
@media (max-width: 768px) {
    .hero-content {
        padding-left: var(--mobile-padding, 16px); /* Use existing variable or fallback */
        padding-right: var(--mobile-padding, 16px); /* Use existing variable or fallback */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center text within items */
    }

    .hero-content > * {
        margin-bottom: 20px; /* Add some bottom margin to each direct child */
    }

    .hero-content > *:last-child {
        margin-bottom: 0; /* Remove margin from the last child */
    }

    /* Specific adjustments if you have common element classes */
    .hero-content h1, .hero-content h2 { /* Assuming your title is an h1 or h2 */
        font-size: 2rem; /* Adjust as needed */
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem; /* Adjust as needed */
        margin-bottom: 25px;
    }

    .hero-content .button, .hero-content .wp-block-button__link { /* Common button classes */
        padding: 12px 25px;
        font-size: 1rem;
        width: auto; /* Allow button to size to its content */
        max-width: 100%; /* Ensure it doesn't overflow */
        border-radius: 30px; /* Set the border-radius on the default state */
        transition: all 0.3s ease; /* Add a smooth transition */
        border: 2px solid transparent; /* Prepare for the hover border */
        background-clip: padding-box; /* Important for gradient borders */
        background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); /* Default gradient background */
        color: white;
        text-decoration: none;
        display: inline-block; /* Ensure proper layout */
        text-align: center; /* Center text */
    }

    .hero-content .button:hover, .hero-content .wp-block-button__link:hover {
        background-image: none; /* Remove gradient on hover */
        background-color: var(--dark-bg); /* Set a dark background on hover */
        border-color: var(--primary-color); /* Show the border on hover */
    }
}

@media (max-width: 480px) {
    .hero-content h1, .hero-content h2 {
        font-size: 1.8rem; /* Further reduce for very small screens */
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-content .button, .hero-content .wp-block-button__link {
        padding: 10px 20px;
    }
}

/*
==========================================================================
  Extracted Inline Footer Styles
==========================================================================
*/
/* These styles were moved from footer.php for better code organization */
.crypto-ticker-wrapper {
    min-height: auto !important;
    opacity: 1 !important;
    transition: none !important;
}

.crypto-ticker-skeleton {
    opacity: 1 !important;
    transition: opacity 0.5s ease-out, visibility 0s 0.5s !important;
    position: absolute !important;
    z-index: 2 !important;
}

.crypto-ticker-track {
    opacity: 1 !important;
    transition: opacity 0.5s ease-in 0.1s !important;
    position: relative !important;
    z-index: 1 !important;
    transform: translateX(0);
}

.crypto-ticker-wrapper.ready .crypto-ticker-skeleton {
    opacity: 0 !important;
    visibility: hidden !important;
}

.crypto-ticker-wrapper.ready .crypto-ticker-track {
    opacity: 1 !important;
}

.footer-ticker .ticker-logo-skeleton,
.footer-ticker .ticker-name-skeleton,
.footer-ticker .ticker-price-skeleton {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.crypto-ticker-track,
.crypto-ticker-skeleton {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
}

.ticker-item,
.ticker-item-skeleton {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.site-footer a,
.site-footer .social-link,
.site-footer .footer-sign-up-btn,
.site-footer .social-links a {
    transition-property: transform, color, background-color, opacity !important;
    transition-duration: 0.3s !important;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
}

.site-footer a:hover,
.site-footer .social-link:hover,
.site-footer .footer-sign-up-btn:hover {
    transition-property: transform, color, background-color, opacity !important;
    transition-duration: 0.3s !important;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

.social-link {
    transform: translate3d(0, 0, 0) !important;
}

.social-link:hover {
    transform: translateY(-3px) !important;
}

.footer-sign-up-btn {
    transform: translate3d(0, 0, 0) !important;
}

.footer-sign-up-btn:hover {
    transform: translateY(-2px) !important;
}

.social-link i {
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    transform: translate3d(0, 0, 0) !important;
}

.social-link:hover i {
    transform: scale(1.1) !important;
}

