/* Base styles */
:root {
    --yolk-yellow: #FFC107;
    --crypto-blue: #1E88E5;
    --crypto-blue-dark: #1565C0;
    --dark-bg: #212121;
    --darker-bg: #121212;
    --text-light: #FFFFFF;
    --text-secondary: #BBBBBB;
    --neon-glow: 0 0 10px rgba(255, 193, 7, 0.8);
    --blue-glow: 0 0 10px rgba(30, 136, 229, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--yolk-yellow);
    text-shadow: var(--neon-glow);
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

/* Header styling - updated to match screenshot */
header {
    background-color: #121212;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    border-bottom: none;
    box-shadow: none;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.egg-logo {
    width: 120px;
    height: 160px;
    background: linear-gradient(to bottom, #FFFFFF, #F5F5F5);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform-origin: center bottom;
    animation: float 6s ease-in-out infinite;
}

.egg-shine {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    top: 10%;
    left: 20%;
    border-radius: 50%;
    animation: shine 4s ease-in-out infinite;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #b5bd00, #788000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

h1 .flation {
    font-weight: 400;
    background: linear-gradient(to right, #788000, #3f5b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Button styling to match screenshot */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: #ffc107;
    color: #000;
}

.btn-primary:hover {
    background-color: #ffca28;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
    color: #000;
    text-shadow: none;
}

.btn-secondary {
    background-color: #1e88e5;
    color: white;
}

.btn-secondary:hover {
    background-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
    color: white;
    text-shadow: none;
}

.btn-icon {
    padding: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
}

.btn-icon i {
    margin-right: 0;
}

.btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: var(--yolk-yellow);
}

/* Add X icon styling */
.btn-icon.x-icon {
    font-family: Arial, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

.btn-icon.x-icon:hover {
    color: white;
    background-color: #222;
}

/* Remove Twitter styling */
.btn-icon .fa-twitter {
    font-weight: bold;
    transform: scale(1.1);
}

/* Add X-Twitter specific styling */
.btn-icon .fa-x-twitter {
    font-size: 1rem;
}

/* Tools Container */
.tools-container {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
    max-width: 900px;
}

.tool-box {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-box.dex-screener {
    background-color: #0f1014;
    border-radius: 15px;
    padding: 20px;
    width: 450px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tool-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tool-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 12px;
}

.tool-logo {
    width: 35px;
    height: 35px;
    margin-right: 0;
}

.tool-box h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.tool-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 16px;
}

.tool-box a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-box a:hover {
    color: #64b5f6;
    text-decoration: underline;
}

/* Contract Address */
.contract-address-container {
    background-color: rgba(255, 193, 7, 0.05);
    padding: 1.5rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.1);
}

.contract-label {
    background-color: rgba(255, 193, 7, 0.3);
    color: var(--yolk-yellow);
    font-family: 'Orbitron', sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: var(--neon-glow);
    margin: 0 1rem;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.contract-box {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0 auto;
    flex: 1;
    max-width: 500px;
    justify-content: space-between;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

#contract-address {
    font-family: 'Courier New', monospace;
    color: var(--yolk-yellow);
    padding: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.btn-copy {
    background-color: var(--crypto-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background-color: var(--crypto-blue-dark);
    transform: translateY(-2px);
}

.social-links-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 1rem;
}

.social-links-bottom span {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-secondary);
    font-weight: bold;
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Ticker section */
.ticker-section {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.ticker {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    padding: 0.5rem 2rem;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.ticker-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.ticker-value {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    display: inline;
}

/* For ticker items without country name - center the value better */
.avg-price .ticker-country-value,
.countries-count .ticker-country-value,
.eggcoin-value .ticker-country-value,
.price-change .ticker-country-value {
    justify-content: center;
}

/* Color styles for different ticker values */
.ticker-up {
    color: #4CAF50;
}

.ticker-down {
    color: #F44336;
}

.highest-price .ticker-value {
    color: #4CAF50;
}

.lowest-price .ticker-value {
    color: #F44336;
}

.avg-price .ticker-value,
.countries-count .ticker-value,
.eggcoin-value .ticker-value {
    color: var(--yolk-yellow);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 1rem;
}

section {
    margin-bottom: 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 70px;
}

h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--crypto-blue);
    color: var(--crypto-blue);
    text-shadow: var(--blue-glow);
}

/* Chart section */
.chart-container {
    height: 400px;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.chart-info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-box {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    flex: 1;
    min-width: 200px;
    text-align: center;
    border: 1px solid rgba(30, 136, 229, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-box h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--crypto-blue);
}

#highest-price-value, #lowest-price-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

#highest-price-value {
    color: #4CAF50;
}

#lowest-price-value {
    color: #F44336;
}

/* Enhanced Oracle Thoughts section styling */
.thoughts-section {
    background: linear-gradient(to bottom, #121a29, #0e151f);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    border: 1px solid rgba(30, 136, 229, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.thoughts-section h2 {
    color: #1e88e5;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.4rem;
    text-shadow: 0 0 15px rgba(30, 136, 229, 0.7);
    letter-spacing: 1px;
}

.thoughts-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.thought {
    background: linear-gradient(to right, rgba(26, 32, 44, 0.9), rgba(18, 24, 38, 0.9));
    border-radius: 12px;
    padding: 1.8rem;
    border-left: 5px solid #ffc107;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.thought:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #ffca28;
}

.thought p {
    color: #f8f9fa;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced news source information */
.source-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.source-name {
    font-weight: bold;
    color: #42a5f5;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(30, 136, 229, 0.15);
    border: 1px solid rgba(30, 136, 229, 0.3);
}

.source-title {
    font-style: italic;
    color: #e0e0e0;
}

.source-date {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Enhanced highlight styling */
.highlight-pun {
    color: #ffca28;
    text-decoration: underline;
    text-decoration-color: rgba(255, 202, 40, 0.4);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 600;
}

/* Enhanced hashtag styling */
.hashtag {
    color: #2196f3;
    font-weight: bold;
    transition: all 0.2s ease;
    background: rgba(33, 150, 243, 0.1);
    padding: 0 6px;
    border-radius: 4px;
}

.hashtag:hover {
    color: #90caf9;
    background: rgba(33, 150, 243, 0.2);
    text-decoration: none;
}

/* News source information */
.source-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.source-name {
    font-weight: bold;
    color: #1e88e5;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: rgba(30, 136, 229, 0.1);
}

.source-title {
    font-style: italic;
}

.source-date {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.4);
}

.thought-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.thought-link:hover {
    text-decoration: none;
}

.highlight-pun {
    color: #ffc107;
    text-decoration: underline;
    text-decoration-color: rgba(255, 193, 7, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Hashtag styling */
.hashtag {
    color: #1e88e5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.hashtag:hover {
    color: #64b5f6;
    text-decoration: underline;
}

/* Enhanced EFI explained section styling */
.efi-explainer-section {
    background: linear-gradient(135deg, rgba(8, 16, 32, 0.8), rgba(13, 21, 40, 0.9));
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(30, 136, 229, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.efi-explainer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #1e88e5, #ffc107, #1e88e5);
    opacity: 0.7;
}

.efi-explainer-section h2 {
    color: #1e88e5;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 35px;
    text-shadow: 0 0 15px rgba(30, 136, 229, 0.6);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 10px;
}

.efi-explainer-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #1e88e5, transparent);
}

.efi-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.efi-explanation {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.efi-block {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, rgba(21, 25, 36, 0.8), rgba(15, 19, 28, 0.8));
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(30, 136, 229, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.efi-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    border-color: rgba(30, 136, 229, 0.4);
}

.efi-block h3 {
    color: #1e88e5;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    padding-bottom: 10px;
}

.efi-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: rgba(30, 136, 229, 0.5);
}

.efi-icon {
    width: 38px;
    height: 38px;
    filter: invert(1) brightness(0.8) sepia(1) hue-rotate(180deg) saturate(6);
    transition: transform 0.3s ease;
}

.efi-block:hover .efi-icon {
    transform: scale(1.1) rotate(5deg);
}

.efi-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Enhanced formula styling */
.efi-formula {
    background: linear-gradient(to right, rgba(30, 136, 229, 0.05), rgba(30, 136, 229, 0.1), rgba(30, 136, 229, 0.05));
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid rgba(30, 136, 229, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.efi-formula::before {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1.2rem;
    color: rgba(30, 136, 229, 0.4);
    font-style: italic;
}

.formula {
    font-size: 1.3rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    color: #f0f0f0;
    padding: 5px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.weight-info {
    font-size: 0.95rem;
    color: #bbb;
    font-style: italic;
}

.eggflation-chart {
    margin-top: 2rem;
    text-align: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-caption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
}

.memecoin-relation {
    background-color: rgba(18, 18, 18, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(30, 136, 229, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.impact-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.2);
}

.impact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: invert(1) brightness(0.8) sepia(1) hue-rotate(180deg) saturate(5);
}

.impact-item h4 {
    color: #1e88e5;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.world-vision-banner {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.07), rgba(30, 136, 229, 0.12), rgba(30, 136, 229, 0.07));
    border: 1px solid rgba(30, 136, 229, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.world-vision-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #1e88e5, transparent);
    opacity: 0.7;
}

.world-vision-banner p {
    max-width: 90%;
    line-height: 1.6;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.world-vision-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* Chicken impact image styling */
.chicken-impact-image {
    margin: 1rem auto;
    text-align: center;
    width: 75%;
    max-width: 250px;
    position: relative;
    z-index: 1;
}

@keyframes gentle-float {
    0% { transform: perspective(800px) rotateX(1deg) translateY(0px); }
    50% { transform: perspective(800px) rotateX(0deg) translateY(-2px); }
    100% { transform: perspective(800px) rotateX(1deg) translateY(0px); }
}

.chicken-impact-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.05);
    transform: perspective(800px) rotateX(2deg);
    animation: gentle-float 5s ease-in-out infinite;
}

.chicken-impact-photo:hover {
    transform: perspective(800px) rotateX(0deg) scale(1.01);
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
    filter: brightness(1.08) contrast(1.08);
    animation: none;
}

.chicken-impact-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.15), rgba(255, 193, 7, 0.15));
    border-radius: 15px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.chicken-impact-image:hover::before {
    opacity: 0.75;
}

.impact-caption {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-top: 0.8rem;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid rgba(255, 193, 7, 0.7);
    border-radius: 0 4px 4px 0;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.visit-wv-btn {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    background: linear-gradient(to right, #ffc107, #ffca28);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visit-wv-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    background: linear-gradient(to right, #ffca28, #ffd54f);
}

.visit-wv-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.8s ease;
}

.visit-wv-btn:hover::before {
    left: 100%;
}

.severity-mapping {
    background-color: rgba(18, 18, 18, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(30, 136, 229, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .efi-explanation {
        flex-direction: column;
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Navigation Menu */
.main-nav {
    background-color: var(--darker-bg);
    border-bottom: 1px solid rgba(30, 136, 229, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* When scrolling down, enhance the shadow to create depth */
.main-nav.scrolled {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
    height: 60px;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--yolk-yellow);
    background-color: rgba(255, 193, 7, 0.1);
    text-shadow: var(--neon-glow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--crypto-blue), var(--yolk-yellow));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-links a:hover::after {
    width: 80%;
    opacity: 1;
}

/* Active link styling */
.nav-links a.active {
    color: var(--yolk-yellow);
    background-color: rgba(30, 136, 229, 0.1);
}

.nav-links a.active::after {
    width: 80%;
    opacity: 1;
}

/* Responsive navigation for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        height: auto;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-radius: 0;
        font-size: 0.8rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 193, 7, 0.2);
    }
    
    .main-nav {
        position: relative;
    }
    
    .news-ticker-banner {
        top: 0;
    }
    
    /* Create a more compact menu for mobile */
    .nav-container {
        padding: 0;
    }
    
    /* Make icons smaller on mobile */
    .nav-links a::before {
        font-size: 0.8rem;
    }
    
    /* Show hamburger menu for very small screens */
    @media (max-width: 480px) {
        .mobile-menu-toggle {
            display: block;
        }
        
        .nav-links {
            display: none;
            padding: 0;
            margin: 0;
            height: auto;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .nav-links.active {
            display: flex;
        }
    }
}

/* Navigation icons */
.nav-links a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
}

.nav-links a[href="#global-stats"]::before {
    content: '\f201'; /* Chart icon */
}

.nav-links a[href="#efi-explained"]::before {
    content: '\f0e3'; /* Formula/dashboard icon */
}

.nav-links a[href="#screener-dashboard"]::before {
    content: '\f0ce'; /* Table icon */
}

.nav-links a[href="#oracle-thoughts"]::before {
    content: '\f075'; /* Comment icon */
}

.nav-links a[href="#ask-oracle"]::before {
    content: '\f128'; /* Question mark icon */
}

/* Bloomberg style news ticker banner */
.news-ticker-banner {
    background-color: #1C1C1C;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* News ticker enhancement for scrolling */
.news-ticker-banner.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ticker-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 60px; /* Slightly reduced height */
    justify-content: center;
}

.ticker-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.ticker-item-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    min-width: 160px;
    text-align: center;
    height: 100%;
    justify-content: center;
}

.ticker-separator {
    height: 24px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 6px;
    align-self: center;
}

.ticker-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.7px;
    margin-bottom: 5px;
}

/* Single line ticker items for highest/lowest price items */
.highest-price, .lowest-price {
    min-width: 200px; /* Increased width */
}

.ticker-country-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    line-height: 1;
    height: 24px; /* Ensure consistent height */
}

.ticker-country {
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    display: inline;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker-value {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    display: inline;
}

/* For ticker items without country name - center the value better */
.avg-price .ticker-country-value,
.countries-count .ticker-country-value,
.eggcoin-value .ticker-country-value,
.price-change .ticker-country-value {
    justify-content: center;
}

/* Responsive adjustments for the news ticker */
@media (max-width: 768px) {
    .ticker-item-banner {
        min-width: 120px;
        padding: 10px 4px;
    }
    
    .ticker-label {
        font-size: 0.7rem;
    }
    
    .ticker-value {
        font-size: 0.8rem;
    }
    
    .ticker-country {
        font-size: 0.8rem;
    }
    
    .news-ticker-banner {
        top: 0; /* When on mobile, navigation becomes vertical, so banner goes to top */
    }
}

/* Make sure section spacing accounts for the fixed banner */
section:first-of-type {
    margin-top: 20px;
}

/* Create more space for the content below the fixed elements */
main {
    padding-top: 30px;
}

/* Add a scroll-triggered animation to the news ticker for emphasis */
@keyframes tickerPulse {
    0% { background-color: #1C1C1C; }
    50% { background-color: #252525; }
    100% { background-color: #1C1C1C; }
}

.news-ticker-banner.pulse {
    animation: tickerPulse 2s ease-in-out;
}

.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    background-color: var(--darker-bg);
    color: var(--text-light);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(30, 136, 229, 0.1);
}

.mobile-menu-toggle i {
    margin-right: 5px;
}

/* Responsive navigation for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        height: auto;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-radius: 0;
        font-size: 0.8rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 193, 7, 0.2);
    }
    
    .main-nav {
        position: relative;
    }
    
    .news-ticker-banner {
        top: 0;
    }
    
    /* Create a more compact menu for mobile */
    .nav-container {
        padding: 0;
    }
    
    /* Make icons smaller on mobile */
    .nav-links a::before {
        font-size: 0.8rem;
    }
    
    /* Show hamburger menu for very small screens */
    @media (max-width: 480px) {
        .mobile-menu-toggle {
            display: block;
        }
        
        .nav-links {
            display: none;
            padding: 0;
            margin: 0;
            height: auto;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .nav-links.active {
            display: flex;
        }
    }
}

/* ==============================================
   BRAND NEW EGG DATA TABLE STYLING
   ============================================== */

/* Main section container */
.egg-screener-section {
    background: linear-gradient(180deg, rgba(8, 8, 16, 0.7), rgba(16, 16, 24, 0.7));
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(30, 136, 229, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.egg-screener-section h2 {
    color: #1e88e5;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.3);
    letter-spacing: 1px;
    border-bottom: none;
    padding-bottom: 0;
}

/* Controls area */
.eggdata-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Search box */
.eggdata-search {
    position: relative;
    width: 280px;
}

.eggdata-search input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(30, 136, 229, 0.3);
    border-radius: 30px;
    padding: 10px 40px 10px 15px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.eggdata-search input:focus {
    outline: none;
    border-color: rgba(30, 136, 229, 0.6);
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

.eggdata-search .search-btn {
    position: absolute;
    right: 3px;
    top: 3px;
    background: rgba(30, 136, 229, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e88e5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eggdata-search .search-btn:hover {
    background: rgba(30, 136, 229, 0.4);
    color: #fff;
}

/* Filter buttons */
.eggdata-filters {
    display: flex;
    gap: 10px;
}

.eggdata-filters .filter-btn {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(30, 136, 229, 0.3);
    border-radius: 20px;
    padding: 8px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.eggdata-filters .filter-btn.active {
    background-color: #1e88e5;
    color: white;
    font-weight: 600;
}

/* Counter display */
.eggdata-counter .counter-pill {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
}

.eggdata-counter span {
    font-weight: 600;
    color: #1e88e5;
}

/* Table wrapper and container - updated for scrollable view */
.eggdata-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(30, 136, 229, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.eggdata-container {
    width: 100%;
    overflow-y: auto;
    max-height: 550px; /* Set a fixed height for scrolling */
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 136, 229, 0.6) rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    scroll-behavior: smooth;
}

/* Make scrollbar more visible and prominent */
.eggdata-container::-webkit-scrollbar {
    width: 14px; /* Increased from 12px for better visibility */
    background: rgba(0, 0, 0, 0.3);
}

.eggdata-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 12px 12px 0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.eggdata-container::-webkit-scrollbar-thumb {
    background: rgba(30, 136, 229, 0.9); /* Brighter blue for better visibility */
    border-radius: 4px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.eggdata-container::-webkit-scrollbar-thumb:hover {
    background: #1e88e5; /* Solid color on hover */
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.5);
}

/* Add a stronger visual indicator that the table is scrollable */
.eggdata-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px; /* Increased from 20px */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

/* Add a subtle arrow indicator showing scrollability */
.eggdata-wrapper::before {
    content: '\f078'; /* Down arrow from Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(30, 136, 229, 0.8);
    font-size: 14px;
    z-index: 3;
    animation: scroll-hint 2s infinite;
    pointer-events: none;
}

@keyframes scroll-hint {
    0%, 100% { opacity: 0.5; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 5px); }
}

/* Update the table styling to match the screenshot design */
#eggdata-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-family: 'Roboto', sans-serif;
    background-color: #0f1014;
    font-size: 15px;
}

#eggdata-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

#eggdata-table th {
    position: relative;
    background-color: #0d0e13;
    color: #1e88e5;
    padding: 15px 10px;
    text-align: center;
    border-bottom: 2px solid rgba(30, 136, 229, 0.3);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#eggdata-table td {
    padding: 15px 12px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: 14px;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Row styling - darken the background */
#eggdata-table tbody tr {
    background-color: #0f1014;
    transition: background 0.2s ease;
}

#eggdata-table tbody tr:nth-child(even) {
    background-color: #13141a;
}

#eggdata-table tbody tr:hover {
    background-color: rgba(30, 136, 229, 0.1);
}

/* Country column - align left */
#eggdata-table td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
    font-weight: 500;
}

/* Price column - align right */
#eggdata-table td:nth-child(3) {
    text-align: right;
    padding-right: 20px;
    font-weight: 600;
}

/* Make analysis tooltip more visible */
.analysis-tooltip {
    display: none;
    position: absolute;
    top: -155px; /* Position above instead of below */
    right: -45px; /* Offset to the right */
    width: 300px;
    background-color: rgba(0, 0, 0, 0.95);
    border-left: 3px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    z-index: 100;
    text-align: left;
    color: #fff;
    font-style: italic;
    line-height: 1.5;
    font-size: 13px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container:hover .analysis-tooltip {
    display: block;
}

.analysis-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Arrow at bottom for tooltip appearing above */
    right: 45px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}

/* Make the analysis button more visible */
.analysis-btn {
    background-color: rgba(178, 142, 0, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.analysis-btn:hover {
    background-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 193, 7, 0.3);
}

/* Fix the counter displays */
.eggdata-counter .counter-pill {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
}

.eggdata-counter span {
    font-weight: 600;
    color: #1e88e5;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .eggdata-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .eggdata-search {
        width: 100%;
    }
    
    .eggdata-filters {
        justify-content: center;
    }
    
    .eggdata-counter {
        text-align: center;
    }
    
    #eggdata-table th:nth-child(5),
    #eggdata-table td:nth-child(5),
    #eggdata-table th:nth-child(6),
    #eggdata-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 576px) {
    .eggdata-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #eggdata-table th:nth-child(4),
    #eggdata-table td:nth-child(4) {
        display: none;
    }
    
    #eggdata-table td {
        padding: 10px 5px;
        font-size: 13px;
    }
}

/* EFI Formula styling */
.efi-formula {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.formula {
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.weight-info {
    font-size: 0.9rem;
    color: #aaa;
}

/* New EFI Calculation Box styling */
.efi-calculation-box {
    background: linear-gradient(145deg, rgba(18, 25, 40, 0.9), rgba(28, 35, 50, 0.9));
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(30, 136, 229, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.efi-calculation-box h4 {
    color: #1e88e5;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(30, 136, 229, 0.2);
    padding-bottom: 10px;
}

.efi-calculation-box h4 i {
    color: #ffc107;
}

.formula-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    border-left: 3px solid #ffc107;
}

.calculation-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.factor {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border-left: 2px solid #1e88e5;
    transition: all 0.3s ease;
}

.factor:hover {
    transform: translateY(-3px);
    background-color: rgba(30, 136, 229, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.factor-name {
    display: block;
    color: #1e88e5;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.factor p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Severity table styling */
.severity-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(18, 18, 18, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.severity-table th, 
.severity-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.severity-table th {
    background-color: rgba(30, 136, 229, 0.1);
    color: #fff;
    font-weight: bold;
}

.severity-table tr:last-child td {
    border-bottom: none;
}

.severity-emoji {
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 5px;
}

.multiplier {
    font-family: 'Courier New', monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.example-calculation {
    background-color: rgba(18, 18, 18, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.example {
    margin-bottom: 15px;
    padding: 10px;
    border-left: 3px solid #1e88e5;
    background-color: rgba(30, 136, 229, 0.05);
}

.data-source {
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
    margin-top: 15px;
}

.data-source a {
    color: #1e88e5;
    text-decoration: none;
}

.data-source a:hover {
    text-decoration: underline;
}

/* Chat input animation */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.chat-input input.highlight {
    animation: highlight-pulse 1s ease-out;
    border: 1px solid #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

/* Value indicators */
.efi-high, .impact-high {
    color: #f44336 !important;
    font-weight: 600;
}

.efi-medium, .impact-medium, .impact-moderate {
    color: #ffc107 !important;
    font-weight: 600;
}

.efi-low, .impact-low, .impact-stable {
    color: #4caf50 !important;
    font-weight: 600;
}

/* Custom table-specific styles to match the screenshot */
#eggdata-table .efi-high {
    color: #f44336 !important;
}

#eggdata-table .efi-medium {
    color: #ffc107 !important;
}

#eggdata-table .efi-low {
    color: #4caf50 !important;
}

/* Make hover preserve the text colors */
#eggdata-table tbody tr:hover td.efi-high,
#eggdata-table tbody tr:hover td.impact-high {
    color: #f44336 !important;
}

#eggdata-table tbody tr:hover td.efi-medium,
#eggdata-table tbody tr:hover td.impact-medium,
#eggdata-table tbody tr:hover td.impact-moderate {
    color: #ffc107 !important;
}

#eggdata-table tbody tr:hover td.efi-low,
#eggdata-table tbody tr:hover td.impact-low,
#eggdata-table tbody tr:hover td.impact-stable {
    color: #4caf50 !important;
}

/* Country flag styling */
.country-name-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Interactive News Headlines Ticker */
.news-headlines-ticker {
    background-color: #0d0d0d;
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 98;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.headlines-label {
    background-color: #f44336;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    height: 100%;
    letter-spacing: 0.8px;
    min-width: 100px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.headlines-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid #f44336;
}

.headlines-scroller {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    height: 100%;
}

.headline-item {
    display: inline-block;
    padding: 0 30px;
    font-size: 0.95rem;
    animation: scrollHeadlines 30s linear infinite;
    height: 100%;
    line-height: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.headline-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.headline-item .headline-source {
    color: #1e88e5;
    font-weight: bold;
    margin-right: 8px;
    position: relative;
    padding-right: 12px;
}

.headline-item .headline-source::after {
    content: '•';
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.3);
}

.headline-item .headline-text {
    color: #f0f0f0;
}

.headline-item .highlight-pun {
    color: #ffc107;
    font-weight: bold;
}

.headline-item .hashtag {
    color: #1e88e5;
    font-weight: 600;
}

.headlines-controls {
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.headline-control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.headline-control-btn:hover {
    opacity: 1;
}

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

/* Paused state */
.headlines-scroller.paused .headline-item {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .headlines-label {
        min-width: 80px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .headline-item {
        font-size: 0.85rem;
    }
}

/* Dex Screener Tool Box Styling */
.tool-box.dex-screener {
    background-color: #0f1014;
    border-radius: 15px;
    padding: 20px;
    width: 450px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tool-box.dex-screener .tool-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 12px;
}

.tool-box.dex-screener .tool-logo {
    width: 35px;
    height: 35px;
    margin-right: 0;
}

.tool-box.dex-screener h3 {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 700;
}

.tool-box.dex-screener p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 16px;
}

.tool-box.dex-screener a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-box.dex-screener a:hover {
    color: #64b5f6;
    text-decoration: underline;
}

/* Contract info styling to match screenshot */
.contract-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ca-label {
    background-color: rgba(255, 193, 7, 0.8);
    color: black;
    font-family: 'Orbitron', sans-serif;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    border: none;
}

.contract-value {
    font-family: 'Courier New', monospace;
    color: rgba(255, 193, 7, 0.9);
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 0;
}

.copy-btn {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Add missing egg animations */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(5px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes shine {
    0% { opacity: 0.8; transform: translateX(0); }
    50% { opacity: 0.3; transform: translateX(10px); }
    100% { opacity: 0.8; transform: translateX(0); }
}

/* Fix footer styles */
footer {
    background-color: #0c0c0c;
    color: #888;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    color: #aaa;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #1e88e5;
}

/* Scrollbar highlight animation to draw attention to scrollability */
@keyframes highlight-scrollbar {
    0% { box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7); }
    50% { box-shadow: 0 0 10px 3px rgba(30, 136, 229, 0.7); }
    100% { box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7); }
}

.highlight-scrollbar::-webkit-scrollbar-thumb {
    animation: highlight-scrollbar 1.5s ease-in-out;
    background: rgba(30, 136, 229, 1); /* Full brightness during animation */
}

.highlight-scrollbar {
    animation: highlight-scrollbar 1.5s ease-in-out;
}

/* EFI Benefits list styling */
.efi-benefits-list {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
}

.efi-benefits-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.efi-benefits-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #4caf50;
    font-size: 16px;
}

.efi-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 25px 0;
    gap: 12px;
}

.stat-item {
    flex: 1;
    min-width: 85px;
    padding: 15px 10px;
    background: rgba(30, 136, 229, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(30, 136, 229, 0.25);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 136, 229, 0.15);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 136, 229, 0.4);
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1e88e5;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(30, 136, 229, 0.2);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.examples-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.example {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #1e88e5;
    transition: all 0.3s ease;
}

.example:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: rgba(30, 136, 229, 0.08);
}

.example h4 {
    color: #1e88e5;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.example h4 i {
    font-size: 0.9rem;
}

.example p {
    margin: 0;
    line-height: 1.6;
}

/* Redesigned chicken donation layout */
.chicken-impact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 1rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.chicken-impact-image {
    margin: 0;
    text-align: center;
    width: 42%;
    max-width: 250px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.chicken-donation-content {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.impact-caption {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid rgba(255, 193, 7, 0.7);
    border-radius: 0 4px 4px 0;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    width: 100%;
    margin: 0;
}

.visit-wv-btn {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    background: linear-gradient(to right, #ffc107, #ffca28);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
}

/* Responsive adjustments for the donation section */
@media (max-width: 768px) {
    .chicken-impact-container {
        flex-direction: column;
    }
    
    .chicken-impact-image {
        width: 75%;
        margin: 0 auto;
    }
    
    .chicken-donation-content {
        align-items: center;
        text-align: center;
    }
    
    .impact-caption {
        text-align: center;
        border-left: none;
        border-top: 3px solid rgba(255, 193, 7, 0.7);
        border-radius: 0 0 4px 4px;
    }
}

/* Oracle Chat styling */
.oracle-chat {
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.9), rgba(20, 25, 40, 0.9));
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(30, 136, 229, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.oracle-chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #1e88e5, #ffc107, #1e88e5);
    opacity: 0.7;
}

.oracle-chat h2 {
    color: #1e88e5;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(30, 136, 229, 0.6);
    letter-spacing: 1px;
    border-bottom: none;
    position: relative;
}

.oracle-chat h2::after {
    content: '🔮';
    margin-left: 15px;
    font-size: 0.8em;
    animation: float 4s ease-in-out infinite;
    display: inline-block;
    position: relative;
    top: -5px;
}

.chat-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(30, 136, 229, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 450px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 136, 229, 0.6) rgba(0, 0, 0, 0.2);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(30, 136, 229, 0.6);
    border-radius: 4px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    animation: messageAppear 0.3s ease-out forwards;
    line-height: 1.5;
}

.message p {
    margin: 0;
    font-size: 1rem;
}

.message.oracle {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.15), rgba(30, 136, 229, 0.25));
    border-bottom-left-radius: 4px;
    margin-left: 40px;
    color: #f0f0f0;
    border-left: 1px solid rgba(30, 136, 229, 0.5);
    border-top: 1px solid rgba(30, 136, 229, 0.5);
}

.message.oracle::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/2257/2257295.png');
    background-size: cover;
    filter: invert(1) brightness(0.8) sepia(1) hue-rotate(180deg) saturate(6);
    border-radius: 50%;
    border: 1px solid rgba(30, 136, 229, 0.3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.25));
    border-bottom-right-radius: 4px;
    color: #f0f0f0;
    border-right: 1px solid rgba(255, 193, 7, 0.5);
    border-top: 1px solid rgba(255, 193, 7, 0.5);
}

.chat-input {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(30, 136, 229, 0.2);
    gap: 10px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 30px;
    border: 1px solid rgba(30, 136, 229, 0.4);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.chat-input input:focus {
    outline: none;
    border-color: rgba(30, 136, 229, 0.7);
    background: rgba(30, 136, 229, 0.05);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-input button {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-input button:hover {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.chat-input button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chat-input button::after {
    content: '🔮';
    font-size: 1.1em;
}

/* Typing indicator animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 18px;
    max-width: 90px;
    margin-left: 40px;
    border-bottom-left-radius: 4px;
    position: relative;
}

.typing-indicator::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/2257/2257295.png');
    background-size: cover;
    filter: invert(1) brightness(0.8) sepia(1) hue-rotate(180deg) saturate(6);
    border-radius: 50%;
    border: 1px solid rgba(30, 136, 229, 0.3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(30, 136, 229, 0.7);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .chat-container {
        height: 400px;
    }

    .message {
        max-width: 85%;
    }

    .chat-input {
        padding: 10px;
    }

    .chat-input input {
        padding: 10px;
    }

    .chat-input button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .oracle-chat {
        padding: 1.5rem;
    }

    .message {
        max-width: 95%;
    }

    .message.oracle {
        margin-left: 30px;
    }

    .message.oracle::before {
        left: -30px;
        width: 24px;
        height: 24px;
    }

    .typing-indicator {
        margin-left: 30px;
    }

    .typing-indicator::before {
        left: -30px;
        width: 24px;
        height: 24px;
    }
}

/* Egg hatching animation */
@keyframes eggCrack {
    0% { 
        transform: translateY(0) rotate(0deg); 
        filter: brightness(1);
    }
    10% { 
        transform: translateY(2px) rotate(2deg); 
        filter: brightness(1.1);
    }
    20% { 
        transform: translateY(-2px) rotate(-2deg); 
        filter: brightness(1);
    }
    30% { 
        transform: translateY(2px) rotate(2deg); 
        filter: brightness(1.1);
    }
    40% { 
        transform: translateY(-1px) rotate(-1deg); 
        filter: brightness(1.05);
    }
    50% { 
        transform: translateY(1px) rotate(1deg); 
        filter: brightness(1.1);
    }
    60% { 
        transform: translateY(0) rotate(0deg); 
        filter: brightness(1.15);
    }
    70% { 
        transform: translateY(0) rotate(0deg) scale(1.05); 
        filter: brightness(1.2);
        opacity: 1;
    }
    80% { 
        transform: translateY(0) rotate(0deg) scale(1.1); 
        opacity: 0.8;
        filter: brightness(1.3);
    }
    90% { 
        transform: translateY(0) rotate(0deg) scale(1.15); 
        opacity: 0.5;
        filter: brightness(1.4);
    }
    100% { 
        transform: translateY(0) rotate(0deg) scale(1.2); 
        opacity: 0;
        filter: brightness(1.5);
    }
}

@keyframes chichAppear {
    0% {
        transform: translateY(10px) scale(0.8);
        opacity: 0;
        filter: brightness(0.9);
    }
    60% {
        transform: translateY(0px) scale(1);
        opacity: 1;
        filter: brightness(1.1);
    }
    70% {
        transform: translateY(-2px) scale(1.05);
        filter: brightness(1.2);
    }
    80% {
        transform: translateY(1px) scale(1.02);
        filter: brightness(1.15);
    }
    90% {
        transform: translateY(-1px) scale(1.01);
        filter: brightness(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

@keyframes hopUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.egg-container {
    position: relative;
    width: 60px;
    height: 70px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.egg-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.egg-logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    transform: scale(1.05);
}

.egg-logo.hatching {
    animation: eggCrack 2s forwards;
}

.chick {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    cursor: pointer;
    z-index: 1;
}

.chick.visible {
    opacity: 1;
    z-index: 3;
    animation: chichAppear 1s forwards, float 6s ease-in-out infinite;
}

.chick.visible:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    animation: hopUp 0.5s ease-in-out, wiggle 0.5s ease-in-out;
}

/* Header Contract Address */
.header-ca {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 8px 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-ca .ca-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.header-ca .contract-value {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #1e88e5;
    padding: 2px 10px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.header-ca .copy-btn {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-ca .copy-btn:hover {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.header-ca .copy-btn i {
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .header-ca {
        padding: 6px 10px;
        max-width: 90%;
        font-size: 0.9rem;
    }
    
    .header-ca .ca-label,
    .header-ca .contract-value {
        font-size: 0.9rem;
    }
}

/* Background Chicks Animation */
.walking-chick {
    position: fixed;
    bottom: 0;
    width: 40px;
    height: 40px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.walking-chick svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.walking-chick-1 {
    animation: walkChick 30s linear infinite;
    bottom: 5%;
}

.walking-chick-2 {
    animation: walkChick 45s linear infinite;
    bottom: 8%;
    animation-delay: 5s;
}

.walking-chick-3 {
    animation: walkChick 35s linear infinite;
    bottom: 3%;
    animation-delay: 15s;
}

.walking-chick-4 {
    animation: walkChick 40s linear infinite;
    bottom: 12%;
    animation-delay: 10s;
}

.walking-chick-5 {
    animation: walkChick 38s linear infinite;
    bottom: 6%;
    animation-delay: 20s;
}

.walking-chick .legs {
    animation: chickLegs 0.5s infinite alternate;
    transform-origin: 50% 80%;
}

.walking-chick .head {
    animation: chickHead 1s infinite alternate;
    transform-origin: 50% 80%;
}

.walking-chick .beak {
    animation: chickBeak 2s infinite;
    transform-origin: 50% 50%;
}

@keyframes walkChick {
    0% {
        transform: translateX(-100px) scaleX(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    45% {
        transform: translateX(calc(50vw - 20px)) scaleX(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(calc(50vw + 20px)) scaleX(-1);
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) scaleX(-1);
        opacity: 0;
    }
}

@keyframes chickLegs {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

@keyframes chickHead {
    0% { transform: rotate(-3deg) translateY(0); }
    100% { transform: rotate(3deg) translateY(-2px); }
}

@keyframes chickBeak {
    0%, 90%, 100% { transform: scale(1); }
    95% { transform: scale(0.95, 1.05); }
}

/* Add media query to hide chicks on very small screens */
@media (max-width: 480px) or (max-height: 480px) {
    .walking-chick {
        display: none;
    }
}

/* Header Chicks */
.header-chicks {
    position: absolute;
    width: 100%;
    height: 80px;
    margin-top: -5px;
    overflow: visible;
}

.header-chick {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: auto;
    z-index: 2;
    opacity: 0.6;
}

.header-chick.walking-chick-1 {
    left: 15%;
    top: 10px;
    animation: walkHeaderChick 15s linear infinite;
}

.header-chick.walking-chick-2 {
    left: 65%;
    top: 15px;
    animation: walkHeaderChick 20s linear infinite reverse;
    animation-delay: 4s;
}

.header-chick.walking-chick-3 {
    left: 40%;
    top: 40px;
    animation: walkHeaderChick 18s linear infinite;
    animation-delay: 8s;
}

@keyframes walkHeaderChick {
    0% {
        transform: translateX(-20px) scaleX(1);
        opacity: 0.4;
    }
    10% {
        opacity: 0.6;
    }
    45% {
        transform: translateX(calc(25vw - 15px)) scaleX(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(calc(25vw + 15px)) scaleX(-1);
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(50vw + 20px)) scaleX(-1);
        opacity: 0.4;
    }
}

/* Make header chicks bounce subtly */
.header-chick .legs {
    animation: chickLegs 0.4s infinite alternate;
}

.header-chick .head {
    animation: chickHead 0.8s infinite alternate;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-chicks {
        height: 60px;
        margin-top: 10px;
    }
    
    .header-chick {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .header-chick.walking-chick-3 {
        display: none; /* Hide one chicken on very small screens */
    }
}

/* Improved Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header improvements */
    header {
        padding: 15px 10px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin-top: 5px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Header Contract Address */
    .header-ca {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 10px;
    }
    
    /* Header Chicks */
    .header-chicks {
        height: 60px;
    }
    
    /* Navigation improvements */
    .nav-container {
        padding: 0 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 15, 30, 0.95);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        border-bottom: 0 solid rgba(30, 136, 229, 0.3);
        z-index: 1000;
    }
    
    .nav-links.active {
        max-height: 300px;
        padding: 10px 0;
        border-bottom-width: 1px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        padding: 12px 15px;
        width: 100%;
        display: block;
    }
    
    /* News ticker adjustments */
    .news-ticker-banner {
        padding: 5px 0;
        overflow-x: auto;
    }
    
    .ticker-container {
        padding: 0 5px;
        justify-content: flex-start;
        min-width: max-content;
    }
    
    .ticker-item-banner {
        min-width: 110px;
        padding: 0 5px;
    }
    
    .ticker-separator {
        margin: 0 5px;
    }
    
    .ticker-label {
        font-size: 0.6rem;
    }
    
    .ticker-country, 
    .ticker-value {
        font-size: 0.75rem;
    }
    
    /* Headlines ticker */
    .headlines-label {
        padding: 5px 10px;
        min-width: 70px;
    }
    
    .headlines-label span {
        font-size: 0.75rem;
    }
    
    /* Main content adjustments */
    main {
        padding: 15px 10px;
    }
    
    section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .efi-icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }
    
    /* EFI content sections */
    .efi-content-wrapper {
        flex-direction: column;
    }
    
    .efi-explanation, 
    .memecoin-relation, 
    .severity-mapping {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .efi-block {
        padding: 15px;
    }
    
    .efi-stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .chicken-impact-container {
        flex-direction: column;
    }
    
    .chicken-impact-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .example-calculation .examples-container {
        flex-direction: column;
    }
    
    .example {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Calculation box */
    .efi-calculation-box {
        padding: 15px;
    }
    
    .calculation-factors {
        grid-template-columns: 1fr;
    }
    
    /* Severity table */
    .severity-table {
        font-size: 0.85rem;
    }
    
    /* Screener dashboard */
    .eggdata-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .eggdata-search {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .eggdata-filters {
        width: 100%;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 5px;
        font-size: 0.8rem;
    }
    
    .eggdata-container {
        overflow-x: auto;
    }
    
    /* Chat section */
    .chat-container {
        height: 400px;
    }
    
    .chat-input {
        padding: 10px;
    }
    
    .chat-input input {
        padding: 8px 12px;
    }
    
    .chat-input button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .logo-container {
        flex-direction: column;
    }
    
    .egg-container {
        margin-bottom: 5px;
    }
    
    .header-ca {
        max-width: 100%;
        padding: 6px 8px;
    }
    
    .contract-value {
        font-size: 0.8rem;
    }
    
    .news-ticker-banner {
        font-size: 0.7rem;
    }
    
    .ticker-item-banner {
        min-width: 90px;
    }
    
    .ticker-country-value {
        flex-direction: column;
        align-items: center;
    }
    
    .ticker-country {
        display: none;
    }
    
    .impact-item {
        padding: 10px;
    }
    
    .impact-item h4 {
        font-size: 1rem;
    }
    
    .impact-icon {
        width: 30px;
        height: 30px;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .message {
        max-width: 95%;
        padding: 10px 12px;
    }
    
    /* Fix table overflow */
    .severity-table th, 
    .severity-table td {
        padding: 8px 5px;
        font-size: 0.75rem;
    }
    
    .severity-emoji {
        font-size: 1rem;
    }
    
    .multiplier {
        font-size: 0.75rem;
    }
    
    /* Oracle chat responsive fixes */
    .oracle-chat {
        padding: 1.5rem 1rem;
    }
    
    .oracle-chat h2 {
        font-size: 1.8rem;
    }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 10px;
    }
    
    .action-buttons {
        margin-top: 10px;
    }
    
    .header-chicks {
        height: 40px;
    }
    
    .chat-container {
        height: 300px;
    }
    
    .nav-links.active {
        max-height: 200px;
    }
}

/* Fix for tables on small screens */
@media (max-width: 600px) {
    .eggdata-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .eggdata-table th, 
    .eggdata-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .stat-item {
        padding: 10px 5px;
    }
    
    .stat-number {
        font-size: 1.4rem;
        letter-spacing: -0.5px;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 136, 229, 0.6) rgba(0, 0, 0, 0.2);
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.2);
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: rgba(30, 136, 229, 0.6);
    border-radius: 4px;
}

.table-responsive table {
    width: 100%;
    margin-bottom: 0;
}

/* Add horizontal scrolling indicator for tables on mobile */
@media (max-width: 768px) {
    .table-responsive {
        position: relative;
    }
    
    .table-responsive::after {
        content: '⟷';
        position: absolute;
        bottom: -20px;
        right: 10px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
        animation: scroll-hint 2s infinite;
        opacity: 0.7;
    }
    
    @keyframes scroll-hint {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(-10px); }
    }
}

/* Mobile Touch Improvements */
@media (hover: hover) {
    /* Only apply hover effects on devices that support hover */
    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .btn-primary:hover {
        background: linear-gradient(135deg, #1976d2, #0d47a1);
    }
    
    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .btn-icon:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.15);
    }
    
    .nav-links a:hover {
        color: #1e88e5;
        background: rgba(30, 136, 229, 0.1);
    }
    
    .impact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .efi-block:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .factor:hover {
        transform: translateY(-3px);
        background-color: rgba(30, 136, 229, 0.1);
    }
    
    .filter-btn:hover {
        background: rgba(30, 136, 229, 0.2);
    }
}

/* Active states for touch devices */
@media (hover: none) {
    .btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: all 0.1s ease;
    }
    
    .btn-primary:active {
        background: linear-gradient(135deg, #1565c0, #0d47a1);
    }
    
    .btn-secondary:active {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .btn-icon:active {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .nav-links a:active {
        color: #1e88e5;
        background: rgba(30, 136, 229, 0.1);
    }
    
    /* Add tap highlight color */
    a, button {
        -webkit-tap-highlight-color: rgba(30, 136, 229, 0.2);
    }
    
    /* Fix for touch delay on mobile */
    .nav-links, .btn, .impact-item, .message, .copy-btn {
        touch-action: manipulation;
    }
}

/* HumptyRoll Game Section Styling */
.humpty-roll-section {
    background-color: #1a1a1a;
    padding: 5rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.humpty-roll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #FFC107, #FF9800, #FFC107);
    border-radius: 6px 6px 0 0;
}

.humpty-roll-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFC107, #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.humpty-roll-tagline {
    text-align: center;
    font-size: 1.6rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.humpty-roll-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.humpty-roll-description {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.humpty-roll-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.humpty-roll-description p:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFC107;
    text-align: center;
    margin-bottom: 1.5rem;
    display: none; /* Hide this since we already have the main heading */
}

.humpty-roll-description p:nth-child(2) {
    font-size: 1.2rem;
}

.humpty-roll-description p:nth-child(3) {
    font-style: italic;
    font-weight: 500;
    text-align: center;
    font-size: 1.2rem;
}

/* Add emoji line height fix */
.humpty-roll-description br + br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

/* Style the Why Play section */
.humpty-roll-description p:nth-child(9) {
    font-weight: bold;
    color: #FFC107;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

/* Style the conclusion section */
.humpty-roll-description p:nth-last-child(2) {
    font-weight: 500;
    text-align: center;
    margin-top: 1.5rem;
}

.humpty-roll-description p:last-child {
    text-align: center;
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.8;
}

.humpty-roll-howto,
.humpty-roll-efi,
.humpty-roll-example,
.humpty-roll-benefits,
.humpty-roll-coming-soon,
.humpty-roll-cta {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.humpty-roll-howto:hover,
.humpty-roll-efi:hover,
.humpty-roll-example:hover,
.humpty-roll-benefits:hover,
.humpty-roll-coming-soon:hover,
.humpty-roll-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 193, 7, 0.3);
}

.humpty-roll-howto h3,
.humpty-roll-efi h3,
.humpty-roll-example h3,
.humpty-roll-benefits h3,
.humpty-roll-coming-soon h3,
.humpty-roll-cta h3 {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.humpty-roll-steps,
.humpty-roll-payouts ul,
.humpty-roll-example ul,
.humpty-roll-benefits ul,
.humpty-roll-coming-soon ul,
.humpty-roll-cta ul {
    list-style: none;
    padding-left: 0.5rem;
}

.humpty-roll-steps li,
.humpty-roll-payouts li,
.humpty-roll-example li,
.humpty-roll-benefits li,
.humpty-roll-coming-soon li,
.humpty-roll-cta li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.05rem;
}

.humpty-roll-steps li::before,
.humpty-roll-payouts li::before,
.humpty-roll-example li::before,
.humpty-roll-benefits li::before,
.humpty-roll-coming-soon li::before,
.humpty-roll-cta li::before {
    content: '🥚';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

.humpty-roll-example.humpty-roll-example li::before {
    content: '💰';
}

.humpty-roll-benefits li::before {
    content: '✅';
}

.humpty-roll-coming-soon li::before {
    content: '🔜';
}

.humpty-roll-cta li::before {
    content: '🎮';
}

.humpty-roll-payouts {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.humpty-roll-payouts h4 {
    color: #FFF;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.humpty-roll-steps li.humpty-roll-example {
    background-color: rgba(255, 193, 7, 0.15);
    padding: 0.5rem 1rem 0.5rem 2rem;
    border-radius: 5px;
    margin: 0.5rem 0 1rem;
    border-left: 3px solid #FFC107;
    text-align: center;
}

.humpty-roll-steps li.humpty-roll-example::before {
    content: '🥚';
    position: static;
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.humpty-roll-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.humpty-btn {
    min-width: 150px;
}

.btn-tertiary {
    background-color: #4CAF50;
    color: white;
}

.btn-tertiary:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
    color: white;
    text-shadow: none;
}

/* Media Queries for Humpty Roll Section */
@media (max-width: 768px) {
    .humpty-roll-section {
        padding: 3rem 1rem;
    }
    
    .humpty-roll-section h2 {
        font-size: 2.2rem;
    }
    
    .humpty-roll-tagline {
        font-size: 1.3rem;
    }
    
    .humpty-roll-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .humpty-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .humpty-roll-section h2 {
        font-size: 1.8rem;
    }
    
    .humpty-roll-tagline {
        font-size: 1.1rem;
    }
    
    .humpty-roll-content {
        padding: 0 1rem;
    }
}