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

:root {
    --primary-color: #F7931A;
    --primary-dark: #E8820A;
    --secondary-color: #FFA726;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #2a2a2a;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

#binaryCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero {
    background: linear-gradient(135deg, #D9730A 0%, #E8820A 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.bio {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

main {
    padding: 3rem 2rem;
}

.links-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: var(--shadow);
}

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

.link-card:active {
    transform: translateY(-2px);
}

.link-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: inline-block;
    margin-right: 0.5rem;
    width: 1.2rem;
    text-align: center;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.link-title::after {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.link-card:hover .link-title::after {
    opacity: 1;
    transform: translateX(0);
}

.link-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.link-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.media-section {
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.media-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.coin-metrics-box {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.media-box {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.media-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.media-item:last-child {
    border-bottom: none;
}

.media-item:hover {
    background-color: var(--bg-secondary);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.media-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    padding: 4px;
}

.media-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.media-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.media-item:hover strong {
    color: var(--primary-dark);
}

.media-source {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: bold;
}

.contact-section {
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.contact-box {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

footer {
    background: var(--bg-secondary);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    main {
        padding: 2rem 1rem;
    }

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

    .media-section {
        padding: 2rem 1rem;
    }

    .coin-metrics-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .media-box {
        padding: 1.5rem;
    }

    .media-item strong {
        font-size: 1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .contact-item {
        font-size: 1rem;
    }
}

/* Animation for cards appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeInUp 0.5s ease forwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
