/* Passively Crypto - Main Styles */

:root {
    --primary: #F9C349;
    --primary-dark: #FFB100;
    --dark: #1a1708;
    --light: #F8F7F3;
    --gray: #6b6565;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary: #fbbf24;
    --primary-dark: #f59e0b;
    --dark: #f9fafb;
    --light: #1f2937;
    --gray: #9ca3af;
    --white: #111827;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--gray);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--light);
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

/* Dark mode specific styles */
[data-theme="dark"] .theme-toggle {
    border-color: var(--gray);
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--primary);
    background: var(--light);
}

/* Resource Pages Styling */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.guide-section, .analysis-section, .security-section {
    padding: 4rem 2rem;
}

.guide-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-nav {
    position: sticky;
    top: 100px;
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.guide-nav h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.guide-nav ul {
    list-style: none;
    padding: 0;
}

.guide-nav li {
    margin-bottom: 0.5rem;
}

.guide-nav a {
    color: var(--gray);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.guide-nav a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
}

.guide-chapter {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.guide-chapter:last-child {
    border-bottom: none;
}

.guide-chapter h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.info-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.steps-container {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

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

.comparison-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.comparison-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.recommended-exchanges {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.purchase-steps {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.purchase-steps li {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.wallet-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.wallet-type {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.wallet-type h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.wallet-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.pros h4, .cons h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pros h4 {
    color: #10b981;
}

.cons h4 {
    color: #ef4444;
}

.security-checklist {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

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

.strategy {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.mistakes-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mistake {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.guide-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.guide-cta h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Market Analysis Styles */
.market-overview, .sentiment-section, .performers-section, .trends-section, .news-section, .tools-section {
    margin-bottom: 4rem;
}

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

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

.sentiment-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    font-size: 2rem;
    font-weight: bold;
}

.sentiment-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sentiment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.sentiment-item.positive .sentiment-percentage {
    color: #10b981;
}

.sentiment-item.negative .sentiment-percentage {
    color: #ef4444;
}

.performers-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.crypto-list {
    display: grid;
    gap: 1rem;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.crypto-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.crypto-rank {
    background: var(--primary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.crypto-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.crypto-meta span {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.price-change-24h {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

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

.trend-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.trend-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.trend-value.positive {
    color: #10b981;
}

.trend-value.negative {
    color: #ef4444;
}

.news-grid {
    display: grid;
    gap: 1rem;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    text-decoration: none;
    color: inherit;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.news-source {
    font-weight: 500;
    color: var(--primary);
}

.news-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-sentiment {
    font-size: 1.5rem;
}

.news-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.news-item:hover .news-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.error {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    text-align: center;
    font-weight: 500;
}

.api-status {
    margin-bottom: 1rem;
    text-align: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #1e40af;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    animation: pulse 2s infinite;
}

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

/* Crypto Recommendations Styles */
.crypto-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.crypto-recommendation {
    background: var(--light);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.crypto-recommendation:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.crypto-recommendation.primary {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.crypto-recommendation.secondary {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.crypto-recommendation.tertiary {
    border-color: #6b7280;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.crypto-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dark);
}

.crypto-rank {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.5rem;
    text-align: center;
}

.crypto-rank .rank-number {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.crypto-rank .rank-text {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.crypto-recommendation ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.crypto-recommendation li {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.crypto-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.crypto-stats .stat {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

/* Memecoin Section Styles */
.warning-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.warning-box h4 {
    color: #dc2626;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.warning-box p {
    color: #991b1b;
    font-weight: 600;
    margin: 0;
}

.success-stories {
    margin: 2rem 0;
}

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

.story-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-2px);
}

.story-card h4 {
    color: #166534;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.story-card p {
    color: #15803d;
    margin: 0;
    font-size: 0.9rem;
}

.pump-fun-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.pump-fun-info h4 {
    color: var(--dark);
    margin: 0 0 1rem 0;
}

.pump-fun-info ol {
    margin: 0;
    padding-left: 1.5rem;
}

.pump-fun-info li {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.risks-section {
    margin: 2rem 0;
}

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

.risk-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 1.25rem;
    transition: transform 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-2px);
}

.risk-card.high {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.risk-card h4 {
    color: #dc2626;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.risk-card p {
    color: #991b1b;
    margin: 0;
    font-size: 0.9rem;
}

.safe-approach {
    background: #f0f9ff;
    border: 1px solid #7dd3fc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.safe-approach h3 {
    color: #0369a1;
    margin: 0 0 1rem 0;
}

.safety-rules h4 {
    color: #0c4a6e;
    margin: 0 0 1rem 0;
}

.safety-rules ol {
    margin: 0;
    padding-left: 1.5rem;
}

.safety-rules li {
    margin-bottom: 0.75rem;
    color: #0c4a6e;
    font-weight: 500;
}

.final-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.final-warning h3 {
    color: #92400e;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.final-warning p {
    color: #78350f;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.final-warning p:last-child {
    margin-bottom: 0;
}

/* Privacy Tools Methodology */
.privacy-methodology {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.privacy-methodology h2 {
    color: #0369a1;
    margin-bottom: 1rem;
}

.privacy-methodology p {
    color: #0c4a6e;
    margin-bottom: 2rem;
}

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

.criteria-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.criteria-card h3 {
    color: var(--dark);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.criteria-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enhanced Tool Cards */
.tool-card {
    background: var(--light);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool-card.vpn {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.tool-card.browser {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.tool-card.email {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.tool-card.password {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.tool-card.storage {
    border-color: #06b6d4;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
}

.tool-card.messaging {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tool-header h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.25rem;
}

.tool-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tool-badge.audited {
    background: #10b981;
    color: white;
}

.tool-badge.open-source {
    background: #3b82f6;
    color: white;
}

.tool-description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.tool-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tool-card li {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.tool-features .feature {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
}

/* Hardware Wallets */
.hardware-section {
    margin: 3rem 0;
}

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

.hardware-card {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.hardware-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hardware-card h3 {
    color: var(--dark);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.hardware-card p {
    color: var(--gray);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Security Guide Styles */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-category {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.wallet-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.wallet-type {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.security-level {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.security-level.high {
    background: #dcfce7;
    color: #166534;
}

.security-level.medium {
    background: #fef3c7;
    color: #92400e;
}

.security-level.low {
    background: #fee2e2;
    color: #991b1b;
}

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

.scam-type {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.warning-signs, .prevention {
    margin: 1rem 0;
}

.warning-signs h4 {
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.prevention h4 {
    color: #10b981;
    margin-bottom: 0.5rem;
}

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

.tool-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.emergency-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.emergency-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.resource-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    margin-bottom: 0.5rem;
}

.resource-card a {
    color: var(--primary);
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* Dark mode body and text adjustments */
[data-theme="dark"] body {
    background-color: var(--white);
    color: var(--dark);
}

[data-theme="dark"] .header {
    background: var(--white);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--dark);
}

[data-theme="dark"] .hero h1 {
    color: var(--dark);
}

[data-theme="dark"] .hero-subtitle {
    color: #cbd5e1;
}

[data-theme="dark"] .hero-stats .stat-number {
    color: var(--dark);
}

[data-theme="dark"] .hero-stats .stat-label {
    color: #94a3b8;
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--dark);
}

[data-theme="dark"] .hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

[data-theme="dark"] .btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--dark);
}

[data-theme="dark"] .crypto-banner {
    background: var(--white);
}

[data-theme="dark"] .crypto-card {
    background: var(--light);
    border: 1px solid #374151;
}

[data-theme="dark"] .crypto-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(249, 195, 73, 0.2);
}

[data-theme="dark"] .meme-coin-card {
    background: var(--light);
    border: 1px solid #374151;
}

[data-theme="dark"] .meme-coin-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(249, 195, 73, 0.2);
}

[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(249, 195, 73, 0.4);
}

[data-theme="dark"] .features {
    background: var(--light);
}

[data-theme="dark"] .feature-card {
    background: var(--white);
    border: 1px solid #374151;
}

[data-theme="dark"] .feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .newsletter {
    background: var(--white);
}

[data-theme="dark"] .newsletter-form {
    background: var(--light);
    border: 1px solid #374151;
}

[data-theme="dark"] .newsletter input {
    background: var(--white);
    border: 1px solid #374151;
    color: var(--dark);
}

[data-theme="dark"] .newsletter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 195, 73, 0.1);
}

[data-theme="dark"] .footer {
    background: var(--light);
    color: var(--dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta.primary {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-cta.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-cta.primary:hover {
    background: #f8f8f8;
}

.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.7;
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: var(--white);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-block;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.feature-link:hover {
    color: var(--primary);
}

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tools Section */
.tools {
    padding: 5rem 2rem;
    background: var(--light);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-3px);
}

.tool-card h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Trading Page Styles */
.trading-section {
    padding: 3rem 2rem;
    background: var(--light);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Crypto Banner */
.crypto-banner {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.crypto-banner h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.crypto-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 0;
}

.crypto-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.crypto-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.crypto-name {
    font-size: 0.875rem;
    color: var(--gray);
}

.crypto-price {
    text-align: right;
    min-width: 0;
    flex-shrink: 0;
}

.price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.change {
    font-size: 0.875rem;
    font-weight: 500;
}

.change.positive {
    color: #10b981;
}

.change.negative {
    color: #ef4444;
}

.loading, .error {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    grid-column: 1 / -1;
}

/* Trading Platforms */
.trading-platforms, .dex-platforms, .trading-tools {
    margin-bottom: 3rem;
}

.trading-platforms h2, .dex-platforms h2, .trading-tools h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
}

.platform-grid, .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.platform-card, .tool-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover, .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.platform-logo h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.platform-info p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.platform-info ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.platform-info li {
    padding: 0.25rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.platform-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.platform-link, .tool-link {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-link:hover, .tool-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tool-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Trading Disclaimer */
.trading-disclaimer {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.trading-disclaimer h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.trading-disclaimer p {
    color: #92400e;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .crypto-grid {
        grid-template-columns: 1fr;
    }

    .platform-grid, .tools-grid {
        grid-template-columns: 1fr;
    }

    .crypto-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .crypto-price {
        text-align: center;
    }
}

/* Tools Page Styles */
.tools-section {
    padding: 3rem 2rem;
    background: var(--light);
    min-height: 100vh;
}

.tools-category {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.category-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.category-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.tool-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tool-card.featured {
    background: linear-gradient(135deg, var(--white) 0%, #fef7ed 100%);
    border: 2px solid var(--primary);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.tool-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tool-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.tool-logo h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
    font-weight: 700;
}

.tool-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.tool-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.feature-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.feature-item span:last-child {
    color: var(--gray);
    font-size: 0.95rem;
}

.tool-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(249, 195, 73, 0.3);
}

.tool-button:not(.primary) {
    background: var(--light);
    color: var(--dark);
    border: 2px solid var(--primary);
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tool-button.primary:hover {
    box-shadow: 0 8px 25px rgba(249, 195, 73, 0.4);
}

.tool-button svg {
    transition: transform 0.3s ease;
}

.tool-button:hover svg {
    transform: translate(2px, -2px);
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.community-content {
    position: relative;
    z-index: 1;
}

.community-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.community-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.community-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.community-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-button::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 ease;
}

.community-button:hover::before {
    left: 100%;
}

.community-button:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.community-button.primary {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.community-button span {
    font-size: 2rem;
    display: block;
}

.community-button h3 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.community-button p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design for Tools */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .category-header h2 {
        font-size: 2rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .community-actions {
        grid-template-columns: 1fr;
    }
    
    .community-button {
        flex-direction: column;
        text-align: center;
    }
    
    .community-button span {
        font-size: 1.5rem;
    }
}

/* Home Page Specific Styles */

/* Enhanced Crypto Banner */
.crypto-banner {
    background: var(--white);
    padding: 3rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.banner-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Market Sections */
.market-section {
    margin-bottom: 3rem;
}

.market-section h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.section-description a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.section-description a:hover {
    text-decoration: underline;
}

/* Meme Coins Grid */
.meme-coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.meme-coin-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 0;
}

.meme-coin-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.meme-coin-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meme-coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.meme-coin-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.meme-coin-name {
    font-size: 0.875rem;
    color: var(--gray);
}

.meme-coin-price {
    text-align: right;
}

.meme-coin-price-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.meme-coin-change {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.meme-coin-change.positive {
    color: #10b981;
}

.meme-coin-change.negative {
    color: #ef4444;
}

.meme-coin-rank {
    font-size: 0.75rem;
    color: var(--gray);
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(249, 195, 73, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 195, 73, 0.4);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(249, 195, 73, 0.3);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-stats .stat {
    background: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.feature-link svg {
    transition: transform 0.3s ease;
}

.feature-link:hover svg {
    transform: translate(2px, -2px);
}

/* Latest Posts Section */
.latest-posts {
    padding: 5rem 2rem;
    background: var(--light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-date {
    color: var(--gray);
}

.post-category {
    background: var(--primary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-dark);
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--light);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.posts-cta {
    text-align: center;
}

/* Tools Preview Section */
.tools-preview {
    padding: 5rem 2rem;
    background: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: var(--light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    cursor: pointer;
}

.tool-card:hover h4 {
    color: var(--primary-dark);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.tool-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.tool-status {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tools-cta {
    text-align: center;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.newsletter-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.email-form {
    position: relative;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    outline: none;
}

.form-group input::placeholder {
    color: var(--gray);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.form-disclaimer {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 195, 73, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 195, 73, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translate(2px, -2px);
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

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

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meme-coins-grid {
        grid-template-columns: 1fr;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}