:root {
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --purple: #4B0082;
    --light-purple: #9370DB;
    --deep-purple: #8A2BE2;
    --white: #FFFFFF;
    --black: #000000;
    --bg-dark: #0a0a0f;
    --bg-section: #12121a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--purple) 50%, var(--bg-dark) 100%);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="100" fill="%23FFD70008">🐴</text></svg>') 0 0 / 100px 100px;
    animation: backgroundDrift 30s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4; /* Further reduce visibility */
}

@keyframes backgroundDrift {
    to { transform: translate(-100px, -100px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(10px) rotate(5deg); }
}

h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--light-purple);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--deep-purple);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    20% { text-shadow: 3px 3px 0 var(--purple); }
    40% { text-shadow: -3px -3px 0 var(--light-purple); }
}

@keyframes glitch-1 {
    0%, 100% { clip: rect(0, 9999px, 9999px, 0); }
    20% { clip: rect(20px, 9999px, 40px, 0); transform: translate(-2px, -2px); }
    40% { clip: rect(60px, 9999px, 80px, 0); transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
    0%, 100% { clip: rect(0, 9999px, 9999px, 0); }
    20% { clip: rect(30px, 9999px, 50px, 0); transform: translate(2px, 2px); }
    40% { clip: rect(70px, 9999px, 90px, 0); transform: translate(-2px, -2px); }
}

.tagline {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-style: italic;
    transition: all 0.3s ease;
}

.supply-counter {
    margin-bottom: 40px;
}

.counter {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold);
    display: block;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.label {
    display: block;
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.8;
}

.subtitle {
    display: block;
    font-size: 14px;
    opacity: 0.6;
    margin-top: 5px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn, a.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--purple), var(--deep-purple));
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.4);
}

.btn-tertiary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-tertiary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 50%; animation-delay: 5s; }
.particle:nth-child(3) { left: 80%; animation-delay: 10s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Stats Bar */
.stats-bar {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Price display styling */
#price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.price-value {
    font-weight: bold;
    background: linear-gradient(45deg, #00FF00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-indicator {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

/* GPM specific styling */
#gpm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gpm-value {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.gpm-horse {
    display: inline-block;
    font-size: 28px;
    animation: gallop-bounce 0.5s ease-in-out infinite alternate;
}

@keyframes gallop-bounce {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-5px) rotate(-5deg); }
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 5px;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-section) 0%, rgba(75, 0, 130, 0.2) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.about-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 24px;
}

/* Tokenomics */
.tokenomics {
    background: var(--bg-dark);
}

.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.chart-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pieChart {
    max-width: 100%;
    max-height: 100%;
}

.distribution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.distribution-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.distribution-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    flex-shrink: 0;
}

.percentage {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
    min-width: 60px;
}

.tokenomics-note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    opacity: 0.7;
}

/* Roadmap */
.roadmap {
    background: linear-gradient(135deg, var(--bg-section) 0%, rgba(138, 43, 226, 0.2) 100%);
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.roadmap-item.completed {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.roadmap-item.active {
    border-color: var(--light-purple);
    background: rgba(147, 112, 219, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(147, 112, 219, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(147, 112, 219, 0); }
}

.roadmap-item.mysterious {
    background: linear-gradient(45deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    animation: mysterious 3s ease-in-out infinite;
}

@keyframes mysterious {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.quarter {
    background: var(--gold);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

.roadmap-item h3 {
    color: var(--light-purple);
    margin-bottom: 15px;
}

.roadmap-item ul {
    list-style: none;
}

.roadmap-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.roadmap-item li::before {
    content: '🐴';
    position: absolute;
    left: 0;
}

.roadmap-item li.done::before {
    content: '✅';
}

/* Features */
.features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

/* Team */
.team {
    background: linear-gradient(135deg, var(--bg-section) 0%, rgba(75, 0, 130, 0.3) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px) rotate(-2deg);
    background: rgba(255, 215, 0, 0.1);
}

.member-avatar {
    font-size: 80px;
    margin-bottom: 20px;
}

.team-member h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

.role {
    color: var(--light-purple);
    font-weight: bold;
    margin-bottom: 10px;
}

.bio {
    opacity: 0.8;
    font-style: italic;
}

/* FAQ */
.faq {
    background: var(--bg-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
    background: rgba(255, 215, 0, 0.1);
}

.faq-item h3 {
    color: var(--light-purple);
    margin-bottom: 10px;
}

/* Community */
.community {
    background: linear-gradient(135deg, var(--bg-section) 0%, rgba(138, 43, 226, 0.2) 100%);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.live-feed {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    height: 400px;
    overflow: hidden;
}

.live-feed h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.feed-container {
    height: 320px;
    overflow-y: auto;
    padding-right: 10px;
}

.feed-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.big-stat {
    text-align: center;
    margin-bottom: 40px;
}

.big-stat .number {
    font-size: 64px;
    font-weight: bold;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    display: block;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-link {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.social-link:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

/* Calculator */
.calculator {
    background: var(--bg-dark);
    text-align: center;
}

.calc-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#calcInput {
    padding: 15px;
    font-size: 18px;
    border-radius: 10px;
    border: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

#calcBtn {
    padding: 15px;
    font-size: 18px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#calcBtn:hover {
    transform: scale(1.05);
}

#calcResult {
    font-size: 32px;
    color: var(--light-purple);
    margin-top: 20px;
    min-height: 40px;
}

.calc-note {
    margin-top: 20px;
    opacity: 0.7;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.copyright {
    opacity: 0.6;
    margin-bottom: 20px;
}

.legal-disclaimer {
    font-size: 8px;
    opacity: 0.3;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

/* K-Hole Button Container - Fixed to viewport */
#khole-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
    width: 60px;
    height: 60px;
}

/* K-Hole Button - Now positioned relative to container */
.khole-btn {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    right: auto !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--deep-purple));
    border: 3px solid var(--gold);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1 !important;
    animation: khole-pulse 3s ease-in-out infinite, spin 10s linear infinite;
    box-shadow: 0 4px 20px rgba(147, 112, 219, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    float: none !important;
    pointer-events: auto !important;
}

.khole-btn:hover {
    transform: scale(1.3);
    box-shadow: 0 6px 30px rgba(147, 112, 219, 1), 0 0 40px rgba(255, 215, 0, 0.8);
    opacity: 1;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes khole-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 20px rgba(147, 112, 219, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 6px 30px rgba(147, 112, 219, 1), 0 0 50px rgba(255, 215, 0, 1);
    }
}

/* Secret Modal */
.secret-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--purple), var(--deep-purple));
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

.modal-content ul {
    list-style: none;
    margin: 20px 0;
}

.modal-content li {
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#closeSecret {
    padding: 15px 30px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

/* K-Hole Mode */
.khole-mode {
    animation: khole 1s ease-in-out infinite !important;
    overflow: hidden !important;
}

/* Ensure K-Hole button is never affected by body transformations */
.khole-mode .khole-btn,
body.fast-gallop .khole-btn,
body.medium-gallop .khole-btn,
body.slow-gallop .khole-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 2147483647 !important;
    transform: none !important;
}

@keyframes khole {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: hue-rotate(0deg) blur(0px) saturate(1);
    }
    12.5% {
        transform: rotate(10deg) scale(1.15);
        filter: hue-rotate(45deg) blur(1px) saturate(1.5);
    }
    25% {
        transform: rotate(-8deg) scale(0.85);
        filter: hue-rotate(90deg) blur(3px) saturate(2);
    }
    37.5% {
        transform: rotate(15deg) scale(1.2);
        filter: hue-rotate(135deg) blur(2px) saturate(1.2);
    }
    50% {
        transform: rotate(-12deg) scale(0.8);
        filter: hue-rotate(180deg) blur(5px) saturate(3);
    }
    62.5% {
        transform: rotate(7deg) scale(1.1);
        filter: hue-rotate(225deg) blur(2px) saturate(1.8);
    }
    75% {
        transform: rotate(-5deg) scale(0.9);
        filter: hue-rotate(270deg) blur(4px) saturate(2.5);
    }
    87.5% {
        transform: rotate(3deg) scale(1.05);
        filter: hue-rotate(315deg) blur(1px) saturate(1.3);
    }
}

/* Spin animation for button */
.spinning {
    animation: spinFast 0.5s linear infinite !important;
}

@keyframes spinFast {
    to { transform: rotate(360deg); }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    border-radius: 25px;
    border: 1px solid var(--gold);
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    color: var(--white);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--black);
}

/* Market Condition Section */
.market-condition-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(75, 0, 130, 0.2));
    padding: 40px 0;
    margin: 0;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.market-condition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: sweep 8s linear infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Market Condition Display */
.market-condition {
    padding: 25px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(147, 112, 219, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    backdrop-filter: blur(10px);
}

.condition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.condition-label {
    font-size: 0.9em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #9370DB;
    font-weight: 600;
}

.condition-live {
    color: #00FF00;
    font-size: 0.85em;
    letter-spacing: 1px;
    animation: blink 2s ease-in-out infinite;
}

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

.condition-status {
    margin: 10px 0 15px 0;
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.condition-emoji {
    font-size: 1.4em;
    display: inline-block;
    animation: bounce 1s ease-in-out infinite;
}

.condition-text {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    letter-spacing: 2px;
    font-size: 1.1em;
}

.condition-description {
    font-size: 1.1em;
    opacity: 0.95;
    font-style: italic;
    margin-top: 5px;
    color: #E6E6FA;
    letter-spacing: 0.5px;
}

.market-condition.extreme {
    animation: shake 0.5s ease-in-out infinite;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.market-condition.high {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.market-condition.confused {
    animation: spin 10s linear infinite;
}

/* Galloping Horse Animation */
@keyframes gallop-across {
    from {
        left: -100px;
        transform: scaleX(1);
    }
    to {
        left: calc(100% + 100px);
        transform: scaleX(1);
    }
}

/* Body effects based on gallop speed */
body.fast-gallop {
    animation: subtle-shake 0.2s ease-in-out infinite;
}

body.medium-gallop {
    animation: gentle-bounce 1s ease-in-out infinite;
}

body.slow-gallop {
    animation: slow-sway 3s ease-in-out infinite;
}

@keyframes subtle-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-1px); }
    75% { transform: translateX(1px); }
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes slow-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(0.5deg); }
}

/* Live Feed Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-item {
    padding: 10px;
    margin: 5px 0;
    background: rgba(147, 112, 219, 0.1);
    border-left: 3px solid #9370DB;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feed-time {
    font-size: 0.8em;
    opacity: 0.6;
    font-family: monospace;
}

.feed-message {
    font-size: 0.95em;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 48px; }
    .section-title { font-size: 36px; }
    .counter { font-size: 36px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .tokenomics-content { grid-template-columns: 1fr; }
    .community-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .roadmap-timeline { grid-template-columns: 1fr; }

    /* Make background horses much more faded on mobile */
    body::before {
        opacity: 0.15 !important; /* Very faded on mobile */
        background-size: 80px 80px; /* Smaller pattern on mobile */
    }

    /* Ensure K-Hole button container is always visible on mobile */
    #khole-container {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        z-index: 2147483647 !important;
    }

    /* K-Hole button mobile styles */
    .khole-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        animation: khole-pulse 2s ease-in-out infinite, spin 8s linear infinite !important;
    }

    /* Market condition mobile fixes */
    .market-condition {
        margin: 15px;
        padding: 15px;
    }
    .condition-status {
        flex-direction: column;
        gap: 10px;
    }
    .condition-emoji {
        font-size: 1.5em;
    }
    .condition-text {
        font-size: 1.2em;
    }
}