/* PEPEBUG WordPress Custom CSS */

/* Import Orbitron font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');

/* WordPress Integration */
.wp-site-blocks,
.entry-content,
.post-inner,
.site-content,
.site {
    background-color: #000000 !important;
    color: #0f0 !important;
    min-height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Orbitron', sans-serif !important;
}

/* Override WordPress Theme Defaults */
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce),
.post-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Reset WordPress margins */
.entry-content > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure proper container behavior */
.site-content {
    overflow-x: hidden !important;
}

body,
html,
.page-template-default,
.page,
#page,
.site,
.site-content {
    background: #000000 !important;
    color: #0f0 !important;
    min-height: 100vh !important;
    font-family: 'Orbitron', sans-serif !important;
}

.main-site {
    overflow-y: auto !important;
    height: auto !important;
    background: #000000 !important;
    color: #0f0;
    padding: 0 !important;
}

.main-site-html {
    overflow-y: auto !important;
    height: auto !important;
    background: #000000 !important;
}

.left-panels {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 400px;
    align-items: center;
}

.dashboard {
    background: linear-gradient(145deg, #2a2a2a, #111);
    padding: 25px;
    border-radius: 12px;
    box-shadow:
        12px 12px 24px #0a0a0a,
        -8px -8px 20px #333,
        inset 2px 2px 5px rgba(255,255,255,0.1),
        inset -2px -2px 5px rgba(0,0,0,0.8);
    width: 400px;
    border: 3px solid #444;
    transform: perspective(1000px) rotateX(5deg);
    margin-bottom: 30px;
}

.frequency-display {
    background: #000;
    color: #0f0;
    padding: 12px;
    font-family: 'Orbitron', sans-serif !important;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow:
        0 0 15px rgba(0,255,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.8),
        inset 0 2px 3px rgba(0,255,0,0.2);
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 85px;
    justify-content: center;
}

.freq-number {
    font-size: 28px;
    font-family: 'Orbitron', sans-serif !important;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
    line-height: 1;
    margin-top: 5px;
}

.tuning-slider {
    background: #111;
    height: 8px;
    position: relative;
    border-radius: 4px;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.8),
        inset 0 -1px 1px rgba(255,255,255,0.1);
    border: 1px solid #333;
}

.tuning-indicator {
    width: 8px;
    height: 16px;
    background: linear-gradient(90deg, #0a0, #0f0);
    position: absolute;
    top: -4px;
    left: 0;
    border-radius: 2px;
    transition: left 0.1s;
    box-shadow:
        0 0 10px rgba(0,255,0,0.5),
        2px 2px 4px rgba(0,0,0,0.4);
}

.radio-controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

.knob-section {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.knob {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    box-shadow:
        6px 6px 12px #0a0a0a,
        -4px -4px 12px #444,
        inset 2px 2px 4px rgba(255,255,255,0.2),
        inset -2px -2px 4px rgba(0,0,0,0.8);
    border: 2px solid #555;
}

.knob-section {
    position: relative;
    margin-bottom: 30px;
}

.knob-section::before {
    content: "POWER";
    position: absolute;
    bottom: -25px;
    left: 18%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 12px;
    font-family: Orbitron;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.knob-section::after {
    content: "TUNE";
    position: absolute;
    bottom: -25px;
    left: 85%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 12px;
    font-family: Orbitron;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.button-section {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.preset-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #333, #222);
    border: 2px solid #444;
    border-radius: 6px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow:
        5px 5px 10px #0a0a0a,
        -3px -3px 8px #444,
        inset 1px 1px 2px rgba(255,255,255,0.1);
    font-size: 16px;
    font-family: Orbitron;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preset-button:hover {
    background: linear-gradient(145deg, #444, #333);
    color: #fff;
    box-shadow:
        3px 3px 6px #0a0a0a,
        -2px -2px 6px #444,
        inset 1px 1px 2px rgba(255,255,255,0.2);
}

.preset-button:active {
    background: linear-gradient(145deg, #222, #333);
    box-shadow:
        inset 3px 3px 6px #0a0a0a,
        inset -1px -1px 3px #444;
}

.station-info {
    margin-top: 15px;
    color: #0f0;
    text-align: center;
    font-family: Orbitron;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
}

.about-dashboard {
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,255,0,0.2);
    border: 2px solid #333;
    padding: 35px;
    width: 800px;
    display: flex;
    gap: 60px;
    position: relative;
    margin-bottom: 30px !important;
}

.about-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content, .about-image {
    flex: 1;
    background: #000;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #333;
    box-shadow:
        0 0 15px rgba(0,255,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.about-content::before, .about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
}

.power-indicator {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
    animation: power-blink 2s infinite;
}

@keyframes power-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.about-image {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #333;
    box-shadow:
        0 0 15px rgba(0,255,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
}

.about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 4px;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    margin: 0;
}

.site-title {
    width: 100%;
    padding: 10px;
    margin-bottom: 0;
}

.title-glitch {
    color: #0f0;
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: bold;
    text-shadow:
        0 0 10px rgba(0, 255, 0, 0.8),
        0 0 20px rgba(0, 255, 0, 0.4);
    letter-spacing: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contract-address {
    width: 85%;
    padding: 20px;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.address-label {
    color: #0f0;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    letter-spacing: 3px;
}

.address-value {
    color: #0f0;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    letter-spacing: 1.5px;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 4px;
    width: 100%;
}

.copy-button {
    color: #0f0;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.3);
    padding: 10px 25px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    width: auto;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    margin: 0 auto;
    animation: pulse 2s infinite;
    position: relative;
}

.copy-button:hover {
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow:
        0 0 15px rgba(0, 255, 0, 0.4),
        inset 0 0 10px rgba(0, 255, 0, 0.2);
    transform: translateY(-2px);
    background: rgba(0, 255, 0, 0.2);
}

.copy-button:active {
    transform: translateY(1px);
    box-shadow:
        0 0 5px rgba(0, 255, 0, 0.4),
        inset 0 0 5px rgba(0, 255, 0, 0.3);
}

.about-bottom {
    background: #000;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #333;
    box-shadow:
       0 0 15px rgba(255,0,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.8);
    height: auto;
    width: calc(100% - 64px);
    margin: 0 auto;
}

.about-bottom .about-value {
    line-height: 1.8;
    font-size: 14px;
    padding: 0 20px;
    font-family: 'Orbitron', sans-serif;
    white-space: pre-line;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.about-bottom .about-value > *:nth-child(even) {
    margin-bottom: 12px;
    opacity: 0.8;
}

.about-content .about-item {
    background: rgba(0,255,0,0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,255,0,0.2);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.8),
        inset 0 -1px 1px rgba(255,255,255,0.1);
    margin: 0;
    margin-bottom: 20px !important;
}

.about-content .about-items-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-header {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #333;
    box-shadow:
        0 0 15px rgba(0,255,0,0.2),
        inset 0 0 10px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.about-items-container {
    position: relative;
    z-index: 0;
}

.about-item {
    background: rgba(0,255,0,0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,255,0,0.2);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.8),
        inset 0 -1px 1px rgba(255,255,255,0.1);
    margin: 0;
    margin-bottom: 20px !important;
}

.about-label {
    color: #0f0;
    font-size: 14px;
    margin-bottom: 18px;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
    letter-spacing: 1px;
    font-family: Orbitron;
}

.about-value {
    color: #0f0;
    font-size: 16px;
    line-height: 1.4;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
    font-family: Orbitron;
}

.page-flex-container {
    display: flex;
    gap: 125px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 40px 60px !important;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    padding-bottom: 80px !important;
}

.about-dashboard {
    flex: 1 1 800px;
    min-width: 0;
    max-width: 1000px;
    margin: 0 auto 50px auto !important;
    box-sizing: border-box;
    width: 100%;
    padding: 35px !important;
}

.left-panels {
    flex: 0 1 400px;
    min-width: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.dashboard,
.tokenomics-dashboard,
.buy-dashboard {
    margin-bottom: 40px !important;
    padding: 25px !important;
}

@media (max-width: 1400px) {
    .page-flex-container {
        padding: 30px 40px !important;
        gap: 40px;
    }

    .about-dashboard {
        padding: 25px !important;
    }
}

@media (max-width: 1024px) {
    .page-flex-container {
        padding: 25px 30px !important;
    }
}

@media (max-width: 768px) {
    .page-flex-container {
        padding: 20px !important;
    }

    .about-dashboard {
        padding: 20px !important;
        margin-bottom: 30px !important;
    }

    .dashboard,
    .tokenomics-dashboard,
    .buy-dashboard {
        margin-bottom: 30px !important;
        padding: 20px !important;
    }

    .left-panels {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-flex-container {
        padding: 15px !important;
    }

    .about-dashboard {
        padding: 15px !important;
        margin-bottom: 25px !important;
    }

    .dashboard,
    .tokenomics-dashboard,
    .buy-dashboard {
        margin-bottom: 25px !important;
        padding: 15px !important;
    }

    .left-panels {
        padding: 0 5px;
    }
}

.tokenomics-dashboard {
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,255,0,0.2);
    border: 2px solid #333;
    padding: 20px;
    width: 420px;
    height: 100%;
    margin-bottom: 30px !important;
}

.display-header {
    color: #0f0;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
    letter-spacing: 2px;
    border-bottom: 2px solid #0f0;
    padding-bottom: 10px;
    width: 100%;
}

.dashboard-display {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    font-family: Orbitron;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.metric-item {
    background: rgba(0,255,0,0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,255,0,0.2);
    text-align: center;
}

.metric-item:hover {
    background: rgba(0,255,0,0.08);
    box-shadow: 0 0 15px rgba(0,255,0,0.2);
}

.metric-label {
    color: #0f0;
    font-size: 12px;
    margin-bottom: 6px;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
    letter-spacing: 1px;
}

.metric-value {
    color: #0f0;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
}

@keyframes scrollText {
    0% { transform: translateX(20%); }
    100% { transform: translateX(-100%); }
}

.about-content .display-header {
    position: relative;
    z-index: 2;
    background: transparent;
    box-shadow: none;
    border: none !important;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.about-content .display-header::before {
    content: '$PBUG.exe: PEPEBUG_v3.01.exe has successfully started to infiltrate devices on MARCH 1, 2025... ';
    display: inline-block;
    animation: scrollText 30s linear infinite;
    color: #0f0;
    font-family: Orbitron;
    font-size: 24px;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
    letter-spacing: 2px;
    line-height: 60px;
}

.about-content .display-header span {
    display: none;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(0,255,0,0.8); }
    50% { text-shadow: 0 0 10px rgba(0,255,0,0.8), 0 0 20px rgba(0,255,0,0.4); }
    100% { text-shadow: 0 0 5px rgba(0,255,0,0.8); }
}

.metric-value {
    animation: glow 2s infinite;
}

.twitter-container {
    background: rgba(0,255,0,0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,255,0,0.2);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.8),
        inset 0 -1px 1px rgba(255,255,255,0.1);
    margin-top: 30px !important;
    height: auto;
}

.twitter-timeline-wrapper {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    height: 760px;
}

.twitter-timeline {
    border-radius: 8px !important;
    height: 760px !important;
}

iframe.twitter-timeline {
    border-radius: 8px !important;
    background: transparent !important;
    height: 500px !important;
}

.buy-dashboard {
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,255,0,0.2);
    border: 2px solid #333;
    padding: 20px;
    width: 420px;
    margin-top: 0px;
    margin-bottom: 30px !important;
}

.buy-button-container {
    padding: 5px 0;
    text-align: center;
}

.buy-button {
    background: linear-gradient(45deg, #0a0, #0f0);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    letter-spacing: 2px;
    box-shadow:
        0 0 20px rgba(0,255,0,0.4),
        inset 0 0 10px rgba(255,255,255,0.2);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(0,255,0,0.6),
        inset 0 0 15px rgba(255,255,255,0.3);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: glow-move 3s infinite linear;
}

@keyframes glow-move {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    padding: 20px 5px 0 5px;
}

.social-button {
    background: rgba(0,255,0,0.1);
    color: #0f0;
    border: 1px solid rgba(0,255,0,0.3);
    padding: 4px 9px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.social-button:hover {
    background: rgba(0,255,0,0.2);
    border-color: rgba(0,255,0,0.8);
    box-shadow: 0 0 15px rgba(0,255,0,0.3);
    transform: translateY(-2px);
}

.social-button i {
    font-size: 16px;
}

.buy-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
}

.ascii-art {
    color: #0f0;
    font-family: monospace;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    margin: 60px auto 30px auto;
    padding: 10px;
    white-space: pre;
    text-shadow: 0 0 8px rgba(0,255,0,0.8);
}

@media screen and (max-width: 480px) {
    html,
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page-flex-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 10px !important;
        margin: 0 !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }

    .social-links {
        gap: 6px; /* Further reduced gap on mobile */
        padding: 15px 5px 0 5px;
    }

    .social-button {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 0; /* Remove min-width constraint */
    }

    .social-button i {
        font-size: 12px; /* Reduced icon size */
        margin-right: 3px; /* Added margin between icon and text */
    }
}

.visitor-counter .metric-value > * {
    color: #0f0 !important;
    font-family: 'Orbitron', monospace !important;
    text-shadow: 0 0 8px rgba(0,255,0,0.8) !important;
    background: transparent !important;
}

/* Update container widths for WordPress */
.page-flex-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Ensure proper z-index stacking in WordPress */
.about-dashboard,
.dashboard,
.tokenomics-dashboard,
.buy-dashboard {
    position: relative;
    z-index: 1;
}

/* Fix WordPress image handling */
.about-image img {
    max-width: 90% !important;
    height: auto !important;
    display: block !important;
}

/* Ensure proper font loading in WordPress */
@font-face {
    font-family: 'Orbitron';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
    font-display: swap;
}

/* Fix WordPress mobile responsiveness */
@media screen and (max-width: 782px) {
    .admin-bar .site-content {
        padding-top: 0 !important;
    }
    
    html {
        margin-top: 0 !important;
    }
}

/* Ensure proper container behavior in WordPress themes */
.site-content > .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix WordPress theme conflicts */
body.page-template-default {
    background: #000000 !important;
}

.entry-content {
    color: #0f0 !important;
}

/* Override theme-specific styles */
.entry-content a {
    color: #0f0 !important;
    text-decoration: none !important;
}

.entry-content a:hover {
    color: #0f0 !important;
    text-decoration: none !important;
}

/* Fix container width issues */
.about-dashboard {
    width: 800px !important;
    max-width: calc(100% - 40px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.dashboard,
.tokenomics-dashboard,
.buy-dashboard {
    width: 400px !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Ensure proper text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix WordPress editor conflicts */
.wp-block {
    max-width: 100% !important;
}

/* Fix theme header/footer conflicts */
.site-header,
.site-footer {
    background: #000000 !important;
    color: #0f0 !important;
}

/* Fix WordPress menu conflicts */
.main-navigation {
    background: transparent !important;
}

.main-navigation a {
    color: #0f0 !important;
}

/* Fix WordPress widget areas */
.widget-area {
    background: transparent !important;
    color: #0f0 !important;
}

/* Fix WordPress content width */
.wp-block-group__inner-container {
    max-width: 100% !important;
}

/* Ensure proper font loading */
.frequency-display,
.station-info,
.title-glitch,
.address-label,
.address-value,
.metric-label,
.metric-value,
.display-header,
.about-value,
.about-label {
    font-family: 'Orbitron', sans-serif !important;
}

/* Fix container overflow issues */
* {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ensure text remains readable */
.about-value,
.metric-value,
.station-info {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Fix Twitter container responsiveness */
.twitter-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.twitter-timeline-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Ensure proper scaling of radio controls */
.radio-controls {
    max-width: 100%;
}

.knob-section {
    max-width: 100%;
    gap: 30px;
}

.button-section {
    max-width: 100%;
    gap: 10px;
}

.preset-button {
    flex: 0 0 auto;
}

/* Fix dashboard displays */
.dashboard-display {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure proper text scaling */
@media (max-width: 360px) {
    .title-glitch {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .display-header {
        font-size: 20px;
    }

    .about-label {
        font-size: 12px;
    }

    .metric-label {
        font-size: 10px;
    }

    .metric-value {
        font-size: 14px;
    }

    .social-button {
        font-size: 10px;
        padding: 6px;
    }

    .ascii-art {
        font-size: 16px;
    }
}

/* Fix orientation changes */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .page-flex-container {
        padding: 10px;
    }

    .about-dashboard {
        margin-bottom: 20px !important;
    }

    .title-glitch {
        font-size: 28px;
    }

    .twitter-timeline-wrapper {
        height: 400px;
    }
}

/* Force Container Spacing */
body .page-flex-container,
html .page-flex-container,
.entry-content .page-flex-container,
.page-flex-container {
    display: flex !important;
    gap: 80px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 60px auto !important;
    padding: 0 60px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: calc(100vh - 120px) !important;
}

body .about-dashboard,
.entry-content .about-dashboard,
.about-dashboard {
    flex: 1 1 800px !important;
    min-width: 0 !important;
    max-width: 1000px !important;
    margin: 0 auto 60px auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 40px !important;
}

body .left-panels,
.entry-content .left-panels,
.left-panels {
    flex: 0 1 400px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
}

/* Force Component Spacing */
body .dashboard,
body .tokenomics-dashboard,
body .buy-dashboard,
.entry-content .dashboard,
.entry-content .tokenomics-dashboard,
.entry-content .buy-dashboard {
    margin-bottom: 50px !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 400px !important;
    box-sizing: border-box !important;
}

/* Force Responsive Adjustments */
@media (max-width: 1400px) {
    body .page-flex-container,
    .entry-content .page-flex-container {
        padding: 0 40px !important;
        margin: 40px auto !important;
        gap: 60px !important;
    }

    body .about-dashboard,
    .entry-content .about-dashboard {
        padding: 30px !important;
        margin-bottom: 50px !important;
    }
}

@media (max-width: 1024px) {
    body .page-flex-container,
    .entry-content .page-flex-container {
        padding: 0 30px !important;
        margin: 30px auto !important;
        gap: 40px !important;
    }

    body .about-dashboard,
    .entry-content .about-dashboard {
        padding: 25px !important;
    }
}

@media (max-width: 768px) {
    body .page-flex-container,
    .entry-content .page-flex-container {
        padding: 0 25px !important;
        margin: 25px auto !important;
        gap: 30px !important;
    }

    body .about-dashboard,
    .entry-content .about-dashboard {
        padding: 20px !important;
        margin-bottom: 40px !important;
    }

    body .dashboard,
    body .tokenomics-dashboard,
    body .buy-dashboard,
    .entry-content .dashboard,
    .entry-content .tokenomics-dashboard,
    .entry-content .buy-dashboard {
        margin-bottom: 35px !important;
        padding: 20px !important;
    }

    body .left-panels,
    .entry-content .left-panels {
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    body .page-flex-container,
    .entry-content .page-flex-container {
        padding: 0 20px !important;
        margin: 20px auto !important;
        gap: 25px !important;
    }

    body .about-dashboard,
    .entry-content .about-dashboard {
        padding: 15px !important;
        margin-bottom: 30px !important;
    }

    body .dashboard,
    body .tokenomics-dashboard,
    body .buy-dashboard,
    .entry-content .dashboard,
    .entry-content .tokenomics-dashboard,
    .entry-content .buy-dashboard {
        margin-bottom: 25px !important;
        padding: 15px !important;
    }

    body .left-panels,
    .entry-content .left-panels {
        padding: 0 10px !important;
    }
}

/* Force WordPress Container Reset */
.entry-content,
.site-content,
.post-inner,
#page,
.site {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}