@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Permanent+Marker&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #fefefe;
    --secondary-bg: #ffffff;
    --paper-color: #fdfdfb;
    --accent-color: #2c2c2c;
    --text-primary: #2c2c2c;
    --text-secondary: #6b6b6b;
    --border-color: #e8e8e8;
}

body {
    font-family: 'Caveat', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: 
        linear-gradient(135deg, #ffffff 0%, #fdfdfb 50%, #ffffff 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(200, 200, 200, 0.02) 2px, rgba(200, 200, 200, 0.02) 4px);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(220, 220, 220, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(220, 220, 220, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Caveat', cursive;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.x-icon {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
    text-decoration: none;
}

.x-icon:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.coin-image {
    margin-bottom: 2rem;
}

.rotating-coin {
    width: 260px;
    height: 260px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-family: 'Caveat', cursive;
    color: #2c2c2c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #6b6b6b;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    font-weight: 600;
    font-family: 'Caveat', cursive;
}

/* CTA Box */
.hero-cta {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 16px;
    padding: 2rem 3rem;
    margin: 2.5rem auto;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(0, 0, 0, 0.2);
}

.cta-label {
    font-size: 0.65rem;
    color: #666666;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.cta-text {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Caveat', cursive;
}

.cta-subtitle {
    font-size: 0.65rem;
    color: #666666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #3a3a3a 0%, #2c2c2c 50%, #1a1a1a 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    color: #2c2c2c;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
    border-color: #d0d0d0;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1);
}

/* Contract Section */
.contract-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fefefe 0%, #fdfdfb 100%);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.contract-container {
    max-width: 800px;
    margin: 0 auto;
}

.contract-label {
    display: block;
    font-size: 0.65rem;
    color: #999999;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

.contract-box {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfb 100%);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    align-items: center;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.contract-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    outline: none;
}

.copy-btn {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, #3a3a3a 0%, #2c2c2c 100%);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #fdfdfb 0%, #fafafa 100%);
    position: relative;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-badge {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    font-family: 'Caveat', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.info-text {
    font-size: 1.25rem;
    color: #4a9eff;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-cta {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.info-divider {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Chart Section */
.chart-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfb 100%);
}

.chart-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: #2c2c2c;
    font-family: 'Caveat', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.chart-embed {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #000000;
}

.chart-iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.chart-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.chart-stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.status-live {
    color: #00ff00;
}

.btn-chart {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-chart:hover::before {
    left: 100%;
}

.btn-chart:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #3a3a3a 0%, #2c2c2c 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--border-color);
}

/* ============================================
   GLOBAL CHAT SECTION - Modern Design
   ============================================ */

.chat-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fdfdfb 0%, #fafafa 100%);
    border-top: 2px solid var(--border-color);
}

.chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-icon {
    font-size: 1.75rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.chat-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chat-status-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-online,
.status-offline {
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.status-offline::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

.status-online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-offline {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

/* Chat Messages Area */
.chat-messages {
    height: 450px;
    overflow-y: auto;
    padding: 1.5rem;
    background: 
        linear-gradient(to bottom, #fafafa 0%, #ffffff 100%),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(200, 200, 200, 0.03) 40px, rgba(200, 200, 200, 0.03) 42px);
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 10px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
    margin: 8px 0;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a0a0a0 0%, #808080 100%);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #808080 0%, #606060 100%);
}

.chat-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    font-family: 'Caveat', cursive;
}

/* Individual Message */
.chat-message {
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.message-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.message-username {
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Caveat', cursive;
}

.message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.message-content {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-left: 3rem;
    font-family: 'Caveat', cursive;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Chat Input Container */
.chat-input-container {
    background: #f8f8f8;
    border-top: 3px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

/* Wallet Connect Section */
.wallet-connect-section {
    text-align: center;
    padding: 2rem 1rem;
}

.connect-wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Caveat', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.3);
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 44, 44, 0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.connect-wallet-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wallet-icon {
    font-size: 1.5rem;
}

.wallet-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Chat Input Section (after wallet connected) */
.chat-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wallet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

.wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Caveat', cursive;
    color: #2c2c2c;
}

.wallet-badge::before {
    content: '👛';
    font-size: 1rem;
}

.disconnect-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Caveat', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disconnect-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.input-row {
    display: flex;
    gap: 0.75rem;
}

.message-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Caveat', cursive;
    font-weight: 600;
    background: #ffffff;
    transition: all 0.3s ease;
    resize: none;
}

.message-input:focus {
    outline: none;
    border-color: #2c2c2c;
    box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.send-button {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Caveat', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.3);
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 44, 44, 0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.send-button:active {
    transform: translateY(0);
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.char-counter {
    font-family: monospace;
}

.chat-hint {
    font-style: italic;
}

/* Toast Notifications */
.chat-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2c2c2c;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.chat-toast.show {
    transform: translateX(0);
}

.chat-toast.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.chat-toast.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-section {
        padding: 3rem 1rem;
    }
    
    .chat-container {
        border-radius: 16px;
    }
    
    .chat-messages {
        height: 350px;
        padding: 1rem;
    }
    
    .wallet-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .disconnect-btn {
        width: 100%;
    }
    
    .input-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .send-button {
        width: 100%;
    }
    
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .message-content {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .chat-title h3 {
        font-size: 1.25rem;
    }
    
    .chat-messages {
        height: 300px;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .connect-wallet-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .wallet-hint {
        font-size: 0.8rem;
    }
}

/* ============================================
   END OF CHAT STYLES
   ============================================ */

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.footer-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Caveat', cursive;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-secondary);
}

.x-link {
    display: flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-title {
        font-size: 1.2rem;
    }

    .nav-icon {
        width: 32px;
        height: 32px;
    }

    .nav-buttons .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .x-icon {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 0px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .cta-text {
        font-size: 1.8rem;
    }

    .rotating-coin {
        width: 200px;
        height: 200px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        justify-content: center;
    }

    .contract-section {
        padding: 2rem 1.5rem;
    }

    .contract-box {
        flex-direction: column;
        gap: 1rem;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        padding: 1.5rem 2rem;
    }

    .info-section {
        padding: 3rem 1.5rem;
    }

    .info-title {
        font-size: 2.5rem;
        letter-spacing: 0px;
    }

    .info-text {
        font-size: 1.1rem;
    }

    .info-description {
        font-size: 1rem;
    }

    .chart-section {
        padding: 3rem 1.5rem;
    }

    .chart-title {
        font-size: 2.5rem;
        letter-spacing: 0px;
    }

    .chart-iframe {
        height: 400px;
    }

    .chart-info {
        gap: 2rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .nav-buttons .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .contract-input {
        font-size: 0.75rem;
    }

    .info-title {
        font-size: 2rem;
    }

    .chart-title {
        font-size: 2rem;
    }

    .chart-iframe {
        height: 350px;
    }

    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-icon {
        width: 40px;
        height: 40px;
    }

    .footer-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.5rem;
    }

    .rotating-coin {
        width: 180px;
        height: 180px;
    }

    .info-title {
        font-size: 1.75rem;
    }

    .chart-title {
        font-size: 1.75rem;
    }
}
