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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    min-height: 100vh;
}

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

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: #ff6b6b;
    font-size: 1.5rem;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><text x="50%" y="50%" font-size="120" fill="%23333" text-anchor="middle" opacity="0.1">🪦</text></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

section {
    margin-bottom: 3rem;
}

h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

/* Token Grid */
.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.token-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.token-card.premium {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #f8f9fa 100%);
}

.token-card.premium::before {
    content: "⭐ PREMIUM";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
}

.token-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.token-card h4 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.token-card .symbol {
    font-weight: bold;
    color: #6c757d;
    font-size: 0.9rem;
}

.token-card .death-date {
    font-size: 0.85rem;
    color: #adb5bd;
    margin: 0.5rem 0;
}

.token-card .reason {
    color: #495057;
    margin: 1rem 0;
}

.token-card .value-lost {
    color: #dc3545;
    font-weight: bold;
}

.token-card .activity-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.token-card .chart-container {
    margin-top: 1rem;
    border-radius: 5px;
    overflow: hidden;
    height: 200px;
    background: #fff;
}

.token-card .chart-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.token-card .view-chart-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.token-card .view-chart-btn:hover {
    background: #5a6268;
}

/* Filters */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.filter-btn.active {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* Info Boxes */
.info-box {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.info-box h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.info-box ul {
    margin-left: 1.5rem;
    color: #495057;
}

/* Analysis Result */
.analysis-result {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #dee2e6;
}

.analysis-result.success {
    background: #d4edda;
    border-color: #c3e6cb;
}

.analysis-result.error {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.analysis-result h4 {
    margin-bottom: 1rem;
}

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

.stat-item {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.stat-item .label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stat-item .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 10px;
    color: white;
}

.cta h3 {
    color: white;
    border: none;
}

/* Admin Panel */
.admin-panel {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.wallet-info {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    border: 2px solid #dee2e6;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 1rem;
    border-radius: 5px;
    word-break: break-all;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* Shop */
.shovel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shovel-card {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.shovel-card.featured {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #f8f9fa 100%);
}

.shovel-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.shovel-card:hover {
    transform: scale(1.05);
    border-color: #ff6b6b;
}

.shovel-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.shovel-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin: 1rem 0;
}

.shovel-card .features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.shovel-card .features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.shovel-card .features li:last-child {
    border-bottom: none;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ff6b6b;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h4 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }

    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .token-grid,
    .shovel-grid {
        grid-template-columns: 1fr;
    }
}