:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --accent: #38bdf8;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

header {
    text-align: center;
    margin-top: 2vh;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-weight: 500;
}

#link-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.02);
}

.link-card:hover, .link-card:active {
    background-color: var(--card-hover);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.link-icon {
    font-size: 1.5rem;
    margin-right: 1.25rem;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.link-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.link-url {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.link-arrow {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.link-card:hover .link-arrow {
    color: var(--accent);
}

/* Ajustes para móviles */
@media (max-width: 480px) {
    .link-url {
        max-width: 160px;
    }
}